Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/os/
DServiceManagerNative.java27 public abstract class ServiceManagerNative extends Binder implements IServiceManager
33 static public IServiceManager asInterface(IBinder obj) in asInterface()
38 IServiceManager in = in asInterface()
39 (IServiceManager)obj.queryLocalInterface(descriptor); in asInterface()
56 case IServiceManager.GET_SERVICE_TRANSACTION: { in onTransact()
57 data.enforceInterface(IServiceManager.descriptor); in onTransact()
64 case IServiceManager.CHECK_SERVICE_TRANSACTION: { in onTransact()
65 data.enforceInterface(IServiceManager.descriptor); in onTransact()
72 case IServiceManager.ADD_SERVICE_TRANSACTION: { in onTransact()
73 data.enforceInterface(IServiceManager.descriptor); in onTransact()
[all …]
DServiceManager.java33 private static IServiceManager sServiceManager;
101 private static IServiceManager getIServiceManager() { in getIServiceManager()
155 addService(name, service, false, IServiceManager.DUMP_FLAG_PRIORITY_DEFAULT); in addService()
168 addService(name, service, allowIsolated, IServiceManager.DUMP_FLAG_PRIORITY_DEFAULT); in addService()
215 return getIServiceManager().listServices(IServiceManager.DUMP_FLAG_PRIORITY_ALL); in listServices()
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp87 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL; in ConvertPriorityTypeToBitmask()
91 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_HIGH; in ConvertPriorityTypeToBitmask()
95 bitmask = IServiceManager::DUMP_FLAG_PRIORITY_NORMAL; in ConvertPriorityTypeToBitmask()
102 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL) { in ConvertBitmaskToPriorityType()
105 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_HIGH) { in ConvertBitmaskToPriorityType()
108 if (bitmask == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) { in ConvertBitmaskToPriorityType()
124 int priorityFlags = IServiceManager::DUMP_FLAG_PRIORITY_ALL; in main()
276 Vector<String16> protoServices = sm_->listServices(IServiceManager::DUMP_FLAG_PROTO); in listServices()
294 if ((priorityFlags == IServiceManager::DUMP_FLAG_PRIORITY_ALL) || in setServiceArgs()
295 (priorityFlags == IServiceManager::DUMP_FLAG_PRIORITY_NORMAL) || in setServiceArgs()
[all …]
Ddumpsys.h29 Dumpsys(android::IServiceManager* sm) : sm_(sm) { in Dumpsys()
119 android::IServiceManager* sm_;
Dmain.cpp33 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/native/cmds/lshal/
DLshal.h40 sp<hidl::manager::V1_0::IServiceManager> serviceManager,
41 sp<hidl::manager::V1_0::IServiceManager> passthroughManager);
47 const sp<hidl::manager::V1_0::IServiceManager> &serviceManager() const;
48 const sp<hidl::manager::V1_0::IServiceManager> &passthroughManager() const;
69 sp<hidl::manager::V1_0::IServiceManager> mServiceManager;
70 sp<hidl::manager::V1_0::IServiceManager> mPassthroughManager;
DListCommand.h87 Status fetchPassthrough(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager);
88 Status fetchBinderized(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager);
89 Status fetchAllLibraries(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager);
91 Status fetchBinderizedEntry(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager,
DLshal.cpp35 using ::android::hidl::manager::V1_0::IServiceManager;
43 sp<hidl::manager::V1_0::IServiceManager> serviceManager, in Lshal()
44 sp<hidl::manager::V1_0::IServiceManager> passthroughManager) in Lshal()
240 const sp<IServiceManager> &Lshal::serviceManager() const { in serviceManager()
244 const sp<IServiceManager> &Lshal::passthroughManager() const { in passthroughManager()
Dtest.cpp40 using ::android::hidl::manager::V1_0::IServiceManager;
48 using InstanceDebugInfo = IServiceManager::InstanceDebugInfo;
87 class MockServiceManager : public IServiceManager {
94 #define MOCK_METHOD_CB(name) MOCK_METHOD1(name, R<void>(IServiceManager::name##_cb))
98 MOCK_METHOD2(getTransport, R<IServiceManager::Transport>(String, String));
345 [] (IServiceManager::list_cb cb) { in initMockServiceManager()
357 [] (IServiceManager::debugDump_cb cb) { in initMockServiceManager()
366 [] (IServiceManager::debugDump_cb cb) { in initMockServiceManager()
/frameworks/native/cmds/dumpsys/tests/
Ddumpsys_test.cpp50 class ServiceManagerMock : public IServiceManager {
135 EXPECT_CALL(sm_, listServices(IServiceManager::DUMP_FLAG_PRIORITY_ALL)) in ExpectListServices()
279 … ExpectListServicesWithPriority({"Locksmith", "Valet"}, IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F()
290 ExpectListServicesWithPriority({}, IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F()
300 IServiceManager::DUMP_FLAG_PRIORITY_ALL); in TEST_F()
301 ExpectListServicesWithPriority({"Valet", "Car"}, IServiceManager::DUMP_FLAG_PROTO); in TEST_F()
371 IServiceManager::DUMP_FLAG_PRIORITY_NORMAL); in TEST_F()
386 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in TEST_F()
401 IServiceManager::DUMP_FLAG_PRIORITY_HIGH); in TEST_F()
450 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in TEST_F()
[all …]
/frameworks/native/libs/dumputils/
Ddump_utils.cpp76 using android::hidl::manager::V1_0::IServiceManager; in get_interesting_hal_pids()
80 sp<IServiceManager> manager = IServiceManager::getService(); in get_interesting_hal_pids()
85 if (info.pid == static_cast<int>(IServiceManager::PidConstant::NO_PID)) { in get_interesting_hal_pids()
/frameworks/native/libs/binder/
DIServiceManager.cpp38 sp<IServiceManager> defaultServiceManager() in defaultServiceManager()
45 gDefaultServiceManager = interface_cast<IServiceManager>( in defaultServiceManager()
136 class BpServiceManager : public BpInterface<IServiceManager>
140 : BpInterface<IServiceManager>(impl) in BpServiceManager()
181 data.writeInterfaceToken(IServiceManager::getInterfaceDescriptor()); in checkService()
190 data.writeInterfaceToken(IServiceManager::getInterfaceDescriptor()); in addService()
205 data.writeInterfaceToken(IServiceManager::getInterfaceDescriptor()); in listServices()
/frameworks/native/libs/binder/include/binder/
DBinderService.h38 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
39 sp<IServiceManager> sm(defaultServiceManager());
46 int dumpFlags = IServiceManager::DUMP_FLAG_PRIORITY_DEFAULT) {
DIServiceManager.h29 class IServiceManager : public IInterface
81 sp<IServiceManager> defaultServiceManager();
86 const sp<IServiceManager> sm = defaultServiceManager(); in getService()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DBroadcastRadioService.java27 import android.hidl.manager.V1_0.IServiceManager;
46 IServiceManager manager = IServiceManager.getService(); in listByInterface()
/frameworks/native/services/surfaceflinger/
Dmain_surfaceflinger.cpp103 sp<IServiceManager> sm(defaultServiceManager()); in main()
105 IServiceManager::DUMP_FLAG_PRIORITY_CRITICAL); in main()
/frameworks/av/media/audioserver/
Dmain_audioserver.cpp111 sp<IServiceManager> sm = defaultServiceManager(); in main()
137 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java34 import android.hidl.manager.V1_0.IServiceManager;
383 IServiceManager serviceManager = IServiceManager.getService(); in getInterestingHalPids()
384 ArrayList<IServiceManager.InstanceDebugInfo> dump = in getInterestingHalPids()
387 for (IServiceManager.InstanceDebugInfo info : dump) { in getInterestingHalPids()
388 if (info.pid == IServiceManager.PidConstant.NO_PID) { in getInterestingHalPids()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHostapdHal.java24 import android.hidl.manager.V1_0.IServiceManager;
52 private IServiceManager mIServiceManager = null;
377 protected IServiceManager getServiceManagerMockable() throws RemoteException { in getServiceManagerMockable()
379 return IServiceManager.getService(); in getServiceManagerMockable()
/frameworks/native/libs/binder/include/private/binder/
DStatic.h40 extern sp<IServiceManager> gDefaultServiceManager;
/frameworks/av/drm/drmserver/
Dmain_drmserver.cpp34 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/av/services/mediadrm/
Dmain_mediadrmserver.cpp38 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/av/media/libmediaplayerservice/
DActivityManager.cpp31 sp<IServiceManager> sm = defaultServiceManager(); in openContentProviderFile()
/frameworks/av/camera/cameraserver/
Dmain_cameraserver.cpp33 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/av/services/mediaanalytics/
Dmain_mediametrics.cpp41 sp<IServiceManager> sm(defaultServiceManager()); in main()

1234