Searched refs:IServiceCallback (Results 1 – 14 of 14) sorted by relevance
/frameworks/native/libs/binder/aidl/android/os/ |
D | IServiceManager.aidl | 20 import android.os.IServiceCallback; 89 void registerForNotifications(@utf8InCpp String name, IServiceCallback callback); in registerForNotifications() 94 void unregisterForNotifications(@utf8InCpp String name, IServiceCallback callback); in unregisterForNotifications()
|
D | IServiceCallback.aidl | 22 oneway interface IServiceCallback { interface
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | ServiceHolder.java | 23 import android.os.IServiceCallback; 65 private final IServiceCallback mServiceListener = 66 new IServiceCallback.Stub() { 75 public void registerForNotifications(String name, IServiceCallback listener); in registerForNotifications() 92 public void registerForNotifications(String name, IServiceCallback listener) { in ServiceHolder()
|
/frameworks/native/cmds/servicemanager/ |
D | ServiceManager.h | 29 using os::IServiceCallback; 44 const sp<IServiceCallback>& callback) override; 46 const sp<IServiceCallback>& callback) override; 87 using ServiceCallbackMap = std::map<std::string, std::vector<sp<IServiceCallback>>>;
|
D | ServiceManager.cpp | 498 for (const sp<IServiceCallback>& cb : it->second) { in addService() 534 const std::string& name, const sp<IServiceCallback>& callback) { in registerForNotifications() 580 const std::string& name, const sp<IServiceCallback>& callback) { in unregisterForNotifications() 700 std::vector<sp<IServiceCallback>>& listeners = (*it)->second; in removeRegistrationCallback()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | ServiceHolderTest.java | 32 import android.os.IServiceCallback; 233 ArgumentCaptor<IServiceCallback> cb = ArgumentCaptor.forClass(IServiceCallback.class); in testSet_whenServiceSet_isIgnored() 274 ArgumentCaptor<IServiceCallback> cb = ArgumentCaptor.forClass(IServiceCallback.class); in initializeViaCallback()
|
/frameworks/base/services/core/java/com/android/server/health/ |
D | HealthServiceWrapperAidl.java | 31 import android.os.IServiceCallback; 54 private final IServiceCallback mServiceCallback = new ServiceCallback(); 64 @NonNull String name, @NonNull IServiceCallback callback) throws RemoteException { in registerForNotifications() 233 private class ServiceCallback extends IServiceCallback.Stub {
|
/frameworks/base/core/java/android/os/ |
D | ServiceManagerNative.java | 79 public void registerForNotifications(String name, IServiceCallback cb) in registerForNotifications() 84 public void unregisterForNotifications(String name, IServiceCallback cb) in unregisterForNotifications()
|
D | ServiceManager.java | 362 @NonNull String name, @NonNull IServiceCallback callback) throws RemoteException { in registerForNotifications()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | BroadcastRadioServiceImplTest.java | 40 import android.os.IServiceCallback; 217 IServiceCallback serviceCallback = (IServiceCallback) invocation.getArguments()[1]; in mockServiceManager() 222 any(IServiceCallback.class))); in mockServiceManager()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
D | BroadcastRadioServiceImpl.java | 28 import android.os.IServiceCallback; 65 private final IServiceCallback.Stub mServiceListener = new IServiceCallback.Stub() {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/health/ |
D | HealthServiceWrapperTest.java | 27 import android.os.IServiceCallback; 124 argThat(isOneOf(aidlInstances)), any(IServiceCallback.class)); 177 ((IServiceCallback) invocation.getArguments()[1])
|
/frameworks/native/libs/binder/ |
D | servicedispatcher.cpp | 141 const std::string&, const android::sp<android::os::IServiceCallback>&) override { in registerForNotifications() argument 146 const std::string&, const android::sp<android::os::IServiceCallback>&) override { in unregisterForNotifications() argument
|
D | Android.bp | 750 "aidl/android/os/IServiceCallback.aidl",
|