Home
last modified time | relevance | path

Searched refs:IServiceManager (Results 1 – 25 of 90) 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.java30 private static IServiceManager sServiceManager;
33 private static IServiceManager getIServiceManager() { in getIServiceManager()
DIServiceManager.java29 public interface IServiceManager extends IInterface interface
/frameworks/native/cmds/lshal/
DLshal.h37 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;
DLshal.cpp34 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()
DListCommand.h48 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);
Dtest.cpp37 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));
DListCommand.cpp42 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/
DIServiceManager.cpp34 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/
DIServiceManager.h30 class IServiceManager : public IInterface
66 sp<IServiceManager> defaultServiceManager();
71 const sp<IServiceManager> sm = defaultServiceManager(); in getService()
DBinderService.h38 sp<IServiceManager> sm(defaultServiceManager());
/frameworks/native/cmds/dumpsys/
Ddumpsys.h26 Dumpsys(android::IServiceManager* sm) : sm_(sm) { in Dumpsys()
31 android::IServiceManager* sm_;
Dmain.cpp33 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/base/core/jni/
Dandroid_os_HwBinder.cpp284 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/
DWatchdog.java29 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/
Dmain_audioserver.cpp106 sp<IServiceManager> sm = defaultServiceManager(); in main()
131 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/av/media/libaaudio/src/binding/
DAAudioBinderClient.cpp39 using android::IServiceManager;
60 sp<IServiceManager> sm = defaultServiceManager(); in getAAudioService()
/frameworks/native/libs/binder/include/private/binder/
DStatic.h38 extern sp<IServiceManager> gDefaultServiceManager;
/frameworks/av/drm/drmserver/
Dmain_drmserver.cpp34 sp<IServiceManager> sm = defaultServiceManager(); in main()
/frameworks/av/services/mediadrm/
Dmain_mediadrmserver.cpp39 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()
/frameworks/av/media/mediaserver/
Dmain_mediaserver.cpp39 sp<IServiceManager> sm(defaultServiceManager()); in main()
/frameworks/av/services/mediaextractor/
Dmain_extractorservice.cpp64 sp<IServiceManager> sm = defaultServiceManager(); in main()

1234