Home
last modified time | relevance | path

Searched refs:manager (Results 1 – 25 of 190) sorted by relevance

12345678

/system/chre/core/tests/
Dmemory_manager_test.cc33 MemoryManager manager; in TEST() local
34 EXPECT_EQ(manager.getTotalAllocatedBytes(), 0); in TEST()
38 MemoryManager manager; in TEST() local
40 void *ptr = manager.nanoappAlloc(&app, 1); in TEST()
42 EXPECT_EQ(manager.getTotalAllocatedBytes(), 1); in TEST()
43 EXPECT_EQ(manager.getAllocationCount(), 1); in TEST()
44 manager.nanoappFree(&app, ptr); in TEST()
45 EXPECT_EQ(manager.getTotalAllocatedBytes(), 0); in TEST()
46 EXPECT_EQ(manager.getAllocationCount(), 0); in TEST()
50 MemoryManager manager; in TEST() local
[all …]
/system/hwservicemanager/
Dservice.cpp59 using android::hidl::manager::implementation::ServiceManager;
60 using android::hidl::manager::V1_0::IServiceManager;
96 …c sp<ClientCallbackCallback> setupTo(const sp<Looper>& looper, const sp<ServiceManager>& manager) { in setupTo() argument
97 sp<ClientCallbackCallback> cb = new ClientCallbackCallback(manager); in setupTo()
137 ClientCallbackCallback(const sp<ServiceManager>& manager) : mManager(manager) {} in ClientCallbackCallback() argument
146 sp<ServiceManager> manager = new ServiceManager(); in main() local
147 setRequestingSid(manager, true); in main()
149 if (!manager->add(serviceName, manager).withDefault(false)) { in main()
154 if (!manager->add(serviceName, tokenManager).withDefault(false)) { in main()
159 sp<IBinder> binder = toBinder<IServiceManager>(manager); in main()
[all …]
DHidlService.h27 namespace manager {
35 using ::android::hidl::manager::V1_0::IServiceNotification;
36 using ::android::hidl::manager::V1_1::IServiceManager;
37 using ::android::hidl::manager::V1_2::IClientCallback;
/system/libhidl/transport/
Dcurrent.txt9 4d046a598e85f1c2d383c3a9096c3c0578e97458072ee7e67f704e99d5fb0d3f android.hidl.manager@1.0::IService…
10 50552b700ef67c7ed8c8d776d323f8c629a9b43b965e10a916a66f3c946c50fb android.hidl.manager@1.0::IService…
17 0b94dc876f749ed24a98f61c41d46ad75a27511163f1968a084213a33c684ef6 android.hidl.manager@1.1::IService…
24 85394f8a0d15e7fb2ee45c52d1fb8b8fd3c13c333e63c78c4aa1ff86840cf6dc android.hidl.manager@1.0::IService…
25 fcde1d0788066a62d5766f4dc19d4c1ec76967d5ddb636f59ccc66603460bcf8 android.hidl.manager@1.0::IService…
31 a570fd436aed5eeeea2495b9267e7f9c4808d51efd4c9ba0913b9102eb93aeed android.hidl.manager@1.2::IClientC…
32 6f3a8a3fd4bfbd02e4e61c732d2df616ff69434a1ed83cda337303adc6d714df android.hidl.manager@1.2::IService…
DHidlLazyUtils.cpp33 class ClientCounterCallback : public ::android::hidl::manager::V1_2::IClientCallback {
106 auto manager = hardware::defaultServiceManager1_2(); in registerService() local
118 bool ret = manager->registerClientCallback(getDescriptor(service.get()), name, service, this); in registerService()
160 auto manager = hardware::defaultServiceManager1_2(); in tryShutdown() local
167 bool success = manager->tryUnregister(descriptor, entry.name, entry.service); in tryShutdown()
/system/libhidl/transport/include/hidl/
DServiceManagement.h29 namespace manager {
72 sp<::android::hidl::manager::V1_0::IServiceManager> defaultServiceManager();
73 sp<::android::hidl::manager::V1_1::IServiceManager> defaultServiceManager1_1();
74 sp<::android::hidl::manager::V1_2::IServiceManager> defaultServiceManager1_2();
75 sp<::android::hidl::manager::V1_0::IServiceManager> getPassthroughServiceManager();
76 sp<::android::hidl::manager::V1_1::IServiceManager> getPassthroughServiceManager1_1();
/system/tools/aidl/tests/lazy_test/
Dmain.cpp43 sp<IServiceManager> manager; in waitForService() local
44 manager = android::defaultServiceManager(); in waitForService()
45 EXPECT_NE(manager, nullptr); in waitForService()
47 return manager->waitForService(name); in waitForService()
51 sp<IServiceManager> manager; in isServiceRunning() local
52 manager = android::defaultServiceManager(); in isServiceRunning()
53 EXPECT_NE(manager, nullptr); in isServiceRunning()
55 return manager->checkService(name) != nullptr; in isServiceRunning()
60 sp<IServiceManager> manager; member in AidlLazyTest
63 manager = android::defaultServiceManager(); in SetUp()
[all …]
/system/libhidl/transport/manager/1.2/
DAndroid.bp4 name: "android.hidl.manager@1.2",
12 "android.hidl.manager@1.0",
13 "android.hidl.manager@1.1",
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal17 package android.hidl.manager@1.0;
26 * the service manager, "android.hidl.manager@1.0::IServiceManager/manager"
29 * Package: "android.hidl.manager"
34 * Fully-qualified interface name: "android.hidl.manager@1.0::IServiceManager"
35 * Instance name: "manager"
36 * Fully-qualified instance name: "android.hidl.manager@1.0::IServiceManager/manager"
55 * Register a service. The service manager must retrieve the (inherited)
157 * When the passthrough service manager returns a service via
159 * to the binderized service manager to indicate the current process has
160 * called get(). Binderized service manager must record this PID, which can
/system/libhidl/
DAndroid.bp162 "android.hidl.manager@1.0_genc++",
163 "android.hidl.manager@1.1_genc++",
164 "android.hidl.manager@1.2_genc++",
168 "android.hidl.manager@1.0_genc++_headers",
169 "android.hidl.manager@1.1_genc++_headers",
170 "android.hidl.manager@1.2_genc++_headers",
174 "android.hidl.manager@1.0_genc++_headers",
175 "android.hidl.manager@1.1_genc++_headers",
176 "android.hidl.manager@1.2_genc++_headers",
/system/libhidl/adapter/
DHidlBinderAdapter.cpp131 using android::hidl::manager::V1_0::IServiceManager; in adapterMain()
153 sp<IServiceManager> manager = IServiceManager::getService(); in adapterMain() local
154 if (manager == nullptr) { in adapterMain()
159 sp<IBase> implementation = manager->get(interfaceName, args.instanceName).withDefault(nullptr); in adapterMain()
171 bool replaced = manager->add(args.registerInstanceName, adapter).withDefault(false); in adapterMain()
199 bool restored = manager->add(args.instanceName, implementation).withDefault(false); in adapterMain()
/system/libhidl/transport/manager/1.1/
DAndroid.bp4 name: "android.hidl.manager@1.1",
11 "android.hidl.manager@1.0",
/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp40 using ::android::hidl::manager::V1_2::IServiceManager;
52 sp<IServiceManager> manager; member in HidlLazyTest
55 manager = IServiceManager::getService(); in SetUp()
56 ASSERT_NE(manager, nullptr); in SetUp()
81 EXPECT_TRUE(manager->listByInterface(instance.getFqName().string(), in isServiceRunning()
/system/bt/stack/test/common/
Dmock_btm_layer.cc21 static bluetooth::manager::MockBtmSecurityInternalInterface*
24 void bluetooth::manager::SetMockSecurityInternalInterface( in SetMockSecurityInternalInterface()
/system/bt/gd/l2cap/le/
Dfixed_channel_service.h49 …FixedChannelService(Cid cid, internal::FixedChannelServiceManagerImpl* manager, os::Handler* handl… in FixedChannelService() argument
50 : cid_(cid), manager_(manager), l2cap_layer_handler_(handler) {} in FixedChannelService()
Ddynamic_channel_service.h51 …DynamicChannelService(Psm psm, internal::DynamicChannelServiceManagerImpl* manager, os::Handler* h… in DynamicChannelService() argument
52 : psm_(psm), manager_(manager), l2cap_layer_handler_(handler) { in DynamicChannelService()
/system/bt/gd/l2cap/classic/
Dfixed_channel_service.h49 …FixedChannelService(Cid cid, internal::FixedChannelServiceManagerImpl* manager, os::Handler* handl… in FixedChannelService() argument
50 : cid_(cid), manager_(manager), l2cap_layer_handler_(handler) {} in FixedChannelService()
Ddynamic_channel_service.h51 …DynamicChannelService(Psm psm, internal::DynamicChannelServiceManagerImpl* manager, os::Handler* h… in DynamicChannelService() argument
52 : psm_(psm), manager_(manager), l2cap_layer_handler_(handler) { in DynamicChannelService()
/system/core/fs_mgr/libfiemap/
Dbinder.cpp52 ImageManagerBinder(android::sp<IGsiService>&& service, android::sp<IImageService>&& manager);
90 android::sp<IImageService>&& manager) in ImageManagerBinder() argument
91 : service_(std::move(service)), manager_(std::move(manager)) {} in ImageManagerBinder()
230 android::sp<IImageService> manager; in Open() local
232 auto status = service->openImageService(dir, &manager); in Open()
233 if (!status.isOk() || !manager) { in Open()
237 return std::make_unique<ImageManagerBinder>(std::move(service), std::move(manager)); in Open()
/system/gsid/
Dpartition_installer.cpp71 auto manager = ImageManager::Open(MetadataDir(active_dsu_), install_dir_); in PostInstallCleanup() local
72 if (!manager) { in PostInstallCleanup()
76 return PostInstallCleanup(manager.get()); in PostInstallCleanup()
79 void PartitionInstaller::PostInstallCleanup(ImageManager* manager) { in PostInstallCleanup() argument
81 if (manager->IsImageMapped(file)) { in PostInstallCleanup()
83 manager->UnmapImageDevice(file); in PostInstallCleanup()
85 manager->DeleteBackingImage(file); in PostInstallCleanup()
/system/iorap/src/binder/
Diiorap_impl.h32 namespace iorap::manager {
45 static bool Start(std::shared_ptr<iorap::manager::EventManager> event_manager);
/system/sepolicy/prebuilts/api/26.0/public/
Dhwservicemanager.te1 # hwservicemanager - the Binder context manager for HAL services
6 # hwservicemanager provides name service (aka context manager)
/system/sepolicy/prebuilts/api/27.0/public/
Dhwservicemanager.te1 # hwservicemanager - the Binder context manager for HAL services
6 # hwservicemanager provides name service (aka context manager)
/system/sepolicy/prebuilts/api/28.0/public/
Dhwservicemanager.te1 # hwservicemanager - the Binder context manager for HAL services
6 # hwservicemanager provides name service (aka context manager)
/system/sepolicy/public/
Dhwservicemanager.te1 # hwservicemanager - the Binder context manager for HAL services
6 # hwservicemanager provides name service (aka context manager)

12345678