/frameworks/base/core/java/android/os/ |
D | ServiceManagerNative.java | 27 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 …]
|
D | ServiceManager.java | 30 private static IServiceManager sServiceManager; 33 private static IServiceManager getIServiceManager() { in getIServiceManager()
|
D | IServiceManager.java | 29 public interface IServiceManager extends IInterface interface
|
/frameworks/native/cmds/lshal/ |
D | Lshal.h | 37 sp<hidl::manager::V1_0::IServiceManager> serviceManager, 38 sp<hidl::manager::V1_0::IServiceManager> passthroughManager); 43 const sp<hidl::manager::V1_0::IServiceManager> &serviceManager() const; 44 const sp<hidl::manager::V1_0::IServiceManager> &passthroughManager() const; 59 sp<hidl::manager::V1_0::IServiceManager> mServiceManager; 60 sp<hidl::manager::V1_0::IServiceManager> mPassthroughManager;
|
D | Lshal.cpp | 34 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() 247 const sp<IServiceManager> &Lshal::serviceManager() const { in serviceManager() 251 const sp<IServiceManager> &Lshal::passthroughManager() const { in passthroughManager()
|
D | ListCommand.h | 48 Status fetchPassthrough(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 49 Status fetchBinderized(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager); 50 Status fetchAllLibraries(const sp<::android::hidl::manager::V1_0::IServiceManager> &manager);
|
D | test.cpp | 37 using ::android::hidl::manager::V1_0::IServiceManager; 80 class MockServiceManager : public IServiceManager { 87 #define MOCK_METHOD_CB(name) MOCK_METHOD1(name, R<void>(IServiceManager::name##_cb)) 91 MOCK_METHOD2(getTransport, R<IServiceManager::Transport>(String, String));
|
D | ListCommand.cpp | 42 using ::android::hidl::manager::V1_0::IServiceManager; 408 Status ListCommand::fetchAllLibraries(const sp<IServiceManager> &manager) { in fetchAllLibraries() 412 auto ret = timeoutIPC(manager, &IServiceManager::debugDump, [&] (const auto &infos) { in fetchAllLibraries() 438 Status ListCommand::fetchPassthrough(const sp<IServiceManager> &manager) { in fetchPassthrough() 443 auto ret = timeoutIPC(manager, &IServiceManager::debugDump, [&] (const auto &infos) { in fetchPassthrough() 468 Status ListCommand::fetchBinderized(const sp<IServiceManager> &manager) { in fetchBinderized() 477 auto listRet = timeoutIPC(manager, &IServiceManager::list, [&] (const auto &names) { in fetchBinderized() 494 auto getRet = timeoutIPC(manager, &IServiceManager::get, serviceName, instanceName); in fetchBinderized()
|
/frameworks/native/libs/binder/ |
D | IServiceManager.cpp | 34 sp<IServiceManager> defaultServiceManager() in defaultServiceManager() 41 gDefaultServiceManager = interface_cast<IServiceManager>( in defaultServiceManager() 127 class BpServiceManager : public BpInterface<IServiceManager> 131 : BpInterface<IServiceManager>(impl) in BpServiceManager() 157 data.writeInterfaceToken(IServiceManager::getInterfaceDescriptor()); in checkService() 167 data.writeInterfaceToken(IServiceManager::getInterfaceDescriptor()); in addService() 182 data.writeInterfaceToken(IServiceManager::getInterfaceDescriptor()); in listServices()
|
/frameworks/native/libs/binder/include/binder/ |
D | IServiceManager.h | 30 class IServiceManager : public IInterface 66 sp<IServiceManager> defaultServiceManager(); 71 const sp<IServiceManager> sm = defaultServiceManager(); in getService()
|
D | BinderService.h | 38 sp<IServiceManager> sm(defaultServiceManager());
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.h | 26 Dumpsys(android::IServiceManager* sm) : sm_(sm) { in Dumpsys() 31 android::IServiceManager* sm_;
|
D | main.cpp | 33 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/base/core/jni/ |
D | android_os_HwBinder.cpp | 284 using ::android::hidl::manager::V1_0::IServiceManager; in JHwBinder_native_getService() 326 Return<IServiceManager::Transport> transportRet = in JHwBinder_native_getService() 334 IServiceManager::Transport transport = transportRet; in JHwBinder_native_getService() 339 const bool vintfLegacy = (transport == IServiceManager::Transport::EMPTY) in JHwBinder_native_getService() 345 const bool vintfLegacy = (transport == IServiceManager::Transport::EMPTY); in JHwBinder_native_getService() 348 if (transport != IServiceManager::Transport::HWBINDER && !vintfLegacy) { in JHwBinder_native_getService()
|
/frameworks/base/services/core/java/com/android/server/ |
D | Watchdog.java | 29 import android.hidl.manager.V1_0.IServiceManager; 363 IServiceManager serviceManager = IServiceManager.getService(); in getInterestingHalPids() 364 ArrayList<IServiceManager.InstanceDebugInfo> dump = in getInterestingHalPids() 367 for (IServiceManager.InstanceDebugInfo info : dump) { in getInterestingHalPids() 368 if (info.pid == IServiceManager.PidConstant.NO_PID) { in getInterestingHalPids()
|
/frameworks/av/media/audioserver/ |
D | main_audioserver.cpp | 106 sp<IServiceManager> sm = defaultServiceManager(); in main() 131 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioBinderClient.cpp | 39 using android::IServiceManager; 60 sp<IServiceManager> sm = defaultServiceManager(); in getAAudioService()
|
/frameworks/native/libs/binder/include/private/binder/ |
D | Static.h | 38 extern sp<IServiceManager> gDefaultServiceManager;
|
/frameworks/av/drm/drmserver/ |
D | main_drmserver.cpp | 34 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/av/services/mediadrm/ |
D | main_mediadrmserver.cpp | 39 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/av/media/libmediaplayerservice/ |
D | ActivityManager.cpp | 31 sp<IServiceManager> sm = defaultServiceManager(); in openContentProviderFile()
|
/frameworks/av/camera/cameraserver/ |
D | main_cameraserver.cpp | 33 sp<IServiceManager> sm = defaultServiceManager(); in main()
|
/frameworks/av/services/mediaanalytics/ |
D | main_mediametrics.cpp | 41 sp<IServiceManager> sm(defaultServiceManager()); in main()
|
/frameworks/av/media/mediaserver/ |
D | main_mediaserver.cpp | 39 sp<IServiceManager> sm(defaultServiceManager()); in main()
|
/frameworks/av/services/mediaextractor/ |
D | main_extractorservice.cpp | 64 sp<IServiceManager> sm = defaultServiceManager(); in main()
|