Home
last modified time | relevance | path

Searched refs:IServiceCallback (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/binder/aidl/android/os/
DIServiceManager.aidl20 import android.os.IServiceCallback;
89 void registerForNotifications(@utf8InCpp String name, IServiceCallback callback); in registerForNotifications()
94 void unregisterForNotifications(@utf8InCpp String name, IServiceCallback callback); in unregisterForNotifications()
DIServiceCallback.aidl22 oneway interface IServiceCallback { interface
/frameworks/base/services/core/java/com/android/server/audio/
DServiceHolder.java23 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/
DServiceManager.h29 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>>>;
DServiceManager.cpp498 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/
DServiceHolderTest.java32 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/
DHealthServiceWrapperAidl.java31 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/
DServiceManagerNative.java79 public void registerForNotifications(String name, IServiceCallback cb) in registerForNotifications()
84 public void unregisterForNotifications(String name, IServiceCallback cb) in unregisterForNotifications()
DServiceManager.java362 @NonNull String name, @NonNull IServiceCallback callback) throws RemoteException { in registerForNotifications()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DBroadcastRadioServiceImplTest.java40 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/
DBroadcastRadioServiceImpl.java28 import android.os.IServiceCallback;
65 private final IServiceCallback.Stub mServiceListener = new IServiceCallback.Stub() {
/frameworks/base/services/tests/servicestests/src/com/android/server/health/
DHealthServiceWrapperTest.java27 import android.os.IServiceCallback;
124 argThat(isOneOf(aidlInstances)), any(IServiceCallback.class));
177 ((IServiceCallback) invocation.getArguments()[1])
/frameworks/native/libs/binder/
Dservicedispatcher.cpp141 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
DAndroid.bp750 "aidl/android/os/IServiceCallback.aidl",