Home
last modified time | relevance | path

Searched refs:IServiceManager (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/native/libs/fakeservicemanager/
Dtest_sm.cpp33 using android::IServiceManager;
50 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST()
56 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST()
58 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST()
66 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST()
81 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT), OK); in TEST()
83 IServiceManager::DUMP_FLAG_PRIORITY_NORMAL), OK); in TEST()
85 IServiceManager::DUMP_FLAG_PRIORITY_HIGH), OK); in TEST()
87 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL), OK); in TEST()
89 android::Vector<String16> out = sm->listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL); in TEST()
[all …]
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp35 using android::os::IServiceManager;
81 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST()
87 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST()
93 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST()
99 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST()
105 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST()
111 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST()
125 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST()
133 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST()
135 IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT).isOk()); in TEST()
[all …]
/frameworks/native/libs/binder/include/binder/
DIServiceManager.h34 class IServiceManager : public IInterface
40 IServiceManager();
41 virtual ~IServiceManager();
101 sp<IServiceManager> defaultServiceManager();
109 void setDefaultServiceManager(const sp<IServiceManager>& sm);
113 const sp<IServiceManager> sm = defaultServiceManager(); in waitForService()
119 const sp<IServiceManager> sm = defaultServiceManager(); in waitForDeclaredService()
126 const sp<IServiceManager> sm = defaultServiceManager(); in checkDeclaredService()
148 const sp<IServiceManager> sm = defaultServiceManager(); in getService()
DBinderService.h38 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
39 sp<IServiceManager> sm(defaultServiceManager());
46 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
/frameworks/native/include/binder/
DIServiceManager.h34 class IServiceManager : public IInterface
40 IServiceManager();
41 virtual ~IServiceManager();
101 sp<IServiceManager> defaultServiceManager();
109 void setDefaultServiceManager(const sp<IServiceManager>& sm);
113 const sp<IServiceManager> sm = defaultServiceManager(); in waitForService()
119 const sp<IServiceManager> sm = defaultServiceManager(); in waitForDeclaredService()
126 const sp<IServiceManager> sm = defaultServiceManager(); in checkDeclaredService()
148 const sp<IServiceManager> sm = defaultServiceManager(); in getService()
DBinderService.h38 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
39 sp<IServiceManager> sm(defaultServiceManager());
46 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
/frameworks/native/libs/binder/
DIServiceManager.cpp44 using AidlServiceManager = android::os::IServiceManager;
51 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_CRITICAL == IServiceManager::DUMP_FLAG_PRIORIT…
52 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_HIGH == IServiceManager::DUMP_FLAG_PRIORITY_HI…
53 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_NORMAL == IServiceManager::DUMP_FLAG_PRIORITY_…
54 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_DEFAULT == IServiceManager::DUMP_FLAG_PRIORITY…
55 static_assert(AidlServiceManager::DUMP_FLAG_PRIORITY_ALL == IServiceManager::DUMP_FLAG_PRIORITY_ALL…
56 static_assert(AidlServiceManager::DUMP_FLAG_PROTO == IServiceManager::DUMP_FLAG_PROTO);
58 const String16& IServiceManager::getInterfaceDescriptor() const { in getInterfaceDescriptor()
61 IServiceManager::IServiceManager() {} in IServiceManager() function in android::IServiceManager
62 IServiceManager::~IServiceManager() {} in ~IServiceManager()
[all …]
/frameworks/native/cmds/lshal/
DLshal.h39 sp<hidl::manager::V1_0::IServiceManager> serviceManager,
40 sp<hidl::manager::V1_0::IServiceManager> passthroughManager);
46 const sp<hidl::manager::V1_0::IServiceManager> &serviceManager() const;
47 const sp<hidl::manager::V1_0::IServiceManager> &passthroughManager() const;
68 sp<hidl::manager::V1_0::IServiceManager> mServiceManager;
69 sp<hidl::manager::V1_0::IServiceManager> mPassthroughManager;
DLshal.cpp37 using ::android::hidl::manager::V1_0::IServiceManager;
45 sp<hidl::manager::V1_0::IServiceManager> serviceManager, in Lshal()
46 sp<hidl::manager::V1_0::IServiceManager> passthroughManager) in Lshal()
246 const sp<IServiceManager> &Lshal::serviceManager() const { in serviceManager()
250 const sp<IServiceManager> &Lshal::passthroughManager() const { in passthroughManager()
DListCommand.h98 Status fetchPassthrough(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager);
99 Status fetchBinderized(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager);
100 Status fetchAllLibraries(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager);
104 Status fetchBinderizedEntry(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager,
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp89 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL; in ConvertPriorityTypeToBitmask()
93 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_HIGH; in ConvertPriorityTypeToBitmask()
97 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_NORMAL; in ConvertPriorityTypeToBitmask()
104 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL) { in ConvertBitmaskToPriorityType()
107 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_HIGH) { in ConvertBitmaskToPriorityType()
110 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) { in ConvertBitmaskToPriorityType()
127 int priorityFlags = IServiceManager::DUMP_FLAG_PRIORITY_ALL; in main()
288 Vector<String16> protoServices = sm_->listServices(IServiceManager::DUMP_FLAG_PROTO); in listServices()
306 if ((priorityFlags == IServiceManager::DUMP_FLAG_PRIORITY_ALL) || in setServiceArgs()
307 (priorityFlags == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) || in setServiceArgs()
[all …]
Ddumpsys.h29 explicit Dumpsys(android::IServiceManager* sm) : sm_(sm) { in Dumpsys()
125 android::IServiceManager* sm_;
/frameworks/native/cmds/dumpsys/tests/
Ddumpsys_test.cpp50 class ServiceManagerMock : public IServiceManager {
136 EXPECT_CALL(sm_, listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL)) in ExpectListServices()
292 … ExpectListServicesWithPriority({"Locksmith", "Valet"}, IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F()
303 ExpectListServicesWithPriority({}, IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F()
313 IServiceManager::DUMP_FLAG_PRIORITY_ALL); in TEST_F()
314 ExpectListServicesWithPriority({"Valet", "Car"}, IServiceManager::DUMP_FLAG_PROTO); in TEST_F()
384 IServiceManager::DUMP_FLAG_PRIORITY_NORMAL); in TEST_F()
399 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in TEST_F()
414 IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F()
463 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in TEST_F()
[all …]
/frameworks/native/libs/binder/ndk/
Dservice_manager.cpp26 using ::android::IServiceManager;
36 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_addService()
45 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_checkService()
57 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_getService()
/frameworks/base/core/java/android/os/
DServiceManagerNative.java38 public static IServiceManager asInterface(IBinder obj) { in asInterface()
50 class ServiceManagerProxy implements IServiceManager {
53 mServiceManager = IServiceManager.Stub.asInterface(remote); in ServiceManagerProxy()
110 private IServiceManager mServiceManager;
DServiceManager.java35 private static IServiceManager sServiceManager;
109 private static IServiceManager getIServiceManager() { in getIServiceManager()
165 addService(name, service, false, IServiceManager.DUMP_FLAG_PRIORITY_DEFAULT); in addService()
179 addService(name, service, allowIsolated, IServiceManager.DUMP_FLAG_PRIORITY_DEFAULT); in addService()
229 return getIServiceManager().listServices(IServiceManager.DUMP_FLAG_PRIORITY_ALL); in listServices()
/frameworks/native/libs/dumputils/
Ddump_utils.cpp130 using android::hidl::manager::V1_0::IServiceManager; in get_interesting_hal_pids()
134 sp<IServiceManager> manager = IServiceManager::getService(); in get_interesting_hal_pids()
141 if (info.pid == static_cast<int>(IServiceManager::PidConstant::NO_PID)) { in get_interesting_hal_pids()
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp107 sp<IServiceManager> sm(defaultServiceManager()); in main()
109 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL | IServiceManager::DUMP_FLAG_PROTO); in main()
/frameworks/native/libs/binder/ndk/tests/
DbinderVendorDoubleLoadTest.cpp122 using aidl::android::os::IServiceManager; in TEST()
123 std::shared_ptr<IServiceManager> manager = IServiceManager::fromBinder(binder); in TEST()
129 manager->listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL, &services).getStatus()); in TEST()
/frameworks/av/media/libaudiohal/
DFactoryHalHidl.cpp73 using ::android::hidl::manager::V1_0::IServiceManager; in hasHalService()
74 sp<IServiceManager> sm = ::android::hardware::defaultServiceManager(); in hasHalService()
82 using Transport = IServiceManager::Transport; in hasHalService()
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp37 using ::android::hidl::manager::V1_0::IServiceManager;
71 sp<IServiceManager> sm = IServiceManager::getService(); in onFirstRef()
153 if (debugInfo.pid == (int)IServiceManager::PidConstant::NO_PID) { in getHalPids()
/frameworks/av/media/utils/fuzzers/
DSchedulingPolicyServiceFuzz.cpp26 using android::IServiceManager;
34 const sp<IServiceManager> sm(defaultServiceManager()); in getBatteryService()
/frameworks/base/cmds/statsd/src/
Dmain.cpp84 IServiceManager::DUMP_FLAG_PRIORITY_NORMAL | IServiceManager::DUMP_FLAG_PROTO) in main()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java24 import android.hidl.manager.V1_0.IServiceManager;
473 IServiceManager serviceManager = IServiceManager.getService(); in getInterestingHalPids()
474 ArrayList<IServiceManager.InstanceDebugInfo> dump = in getInterestingHalPids()
477 for (IServiceManager.InstanceDebugInfo info : dump) { in getInterestingHalPids()
478 if (info.pid == IServiceManager.PidConstant.NO_PID) { in getInterestingHalPids()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DBroadcastRadioService.java28 import android.hidl.manager.V1_0.IServiceManager;
122 IServiceManager manager = IServiceManager.getService(); in BroadcastRadioService()

12345