Searched refs:IStateCallback (Results 1 – 11 of 11) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarRemoteDeviceManagerUnitTest.java | 38 import android.car.occupantconnection.IStateCallback; 113 IStateCallback[] binderCallback = new IStateCallback[1]; in testRegisterStateCallbackWithOccupantZoneStateChange() 121 binderCallback[0] = (IStateCallback) args[1]; in testRegisterStateCallbackWithOccupantZoneStateChange() 140 IStateCallback[] binderCallback = new IStateCallback[1]; in testRegisterStateCallbackWithAppStateChange() 145 binderCallback[0] = (IStateCallback) args[1]; in testRegisterStateCallbackWithAppStateChange()
|
/packages/modules/Connectivity/thread/framework/java/android/net/thread/ |
D | IThreadNetworkController.aidl | 25 import android.net.thread.IStateCallback; 33 void registerStateCallback(in IStateCallback callback); in registerStateCallback() 34 void unregisterStateCallback(in IStateCallback callback); in unregisterStateCallback()
|
D | IStateCallback.aidl | 22 oneway interface IStateCallback { interface
|
D | ThreadNetworkController.java | 243 private static final class StateCallbackProxy extends IStateCallback.Stub {
|
/packages/services/Car/car-lib/src/android/car/occupantconnection/ |
D | ICarRemoteDevice.aidl | 20 import android.car.occupantconnection.IStateCallback; 26 void registerStateCallback(String packageName, in IStateCallback callback); in registerStateCallback()
|
D | IStateCallback.aidl | 22 oneway interface IStateCallback { interface
|
/packages/services/Car/service/src/com/android/car/occupantconnection/ |
D | CarRemoteDeviceService.java | 54 import android.car.occupantconnection.IStateCallback; 157 private final BinderKeyValueContainer<ClientId, IStateCallback> mCallbackMap; 282 BinderKeyValueContainer<ClientId, IStateCallback> callbackMap, in CarRemoteDeviceService() 319 IStateCallback callback = mCallbackMap.valueAt(i); in dump() 350 public void registerStateCallback(String packageName, IStateCallback callback) { in registerStateCallback() 691 private void updateAllOccupantZoneStateLocked(@Nullable IStateCallback callbackToNotify) { in updateAllOccupantZoneStateLocked() 705 @Nullable IStateCallback callbackToNotify) { in updateOccupantZoneStateLocked() 724 IStateCallback callback = mCallbackMap.valueAt(i); in updateOccupantZoneStateLocked() 792 IStateCallback callbackToNotify) { in updateAllAppStateWithPackageNameLocked() 906 @Nullable IStateCallback callbackToNotify) { in setAppStateLocked() [all …]
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarRemoteDeviceManager.java | 29 import android.car.occupantconnection.IStateCallback; 195 private final IStateCallback mBinderCallback = new IStateCallback.Stub() {
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/ |
D | CarRemoteDeviceServiceTest.java | 62 import android.car.occupantconnection.IStateCallback; 134 private IStateCallback mCallback; 139 private final BinderKeyValueContainer<ClientId, IStateCallback> mCallbackMap = 440 () -> mService.registerStateCallback(PACKAGE_NAME, any(IStateCallback.class))); in testRegisterStateCallbackWithoutPermission_throwsException() 446 () -> mService.registerStateCallback(FAKE_PACKAGE_NAME, any(IStateCallback.class))); in testRegisterStateCallbackWithFakePackageName_throwsException() 456 () -> mService.registerStateCallback(PACKAGE_NAME, any(IStateCallback.class))); in testRegisterDuplicateStateCallback_throwsException() 862 IStateCallback callback2 = mock(IStateCallback.class); in testUnregisterStateCallbackWithOtherDiscoverers()
|
/packages/modules/Connectivity/thread/tests/unit/src/android/net/thread/ |
D | ThreadNetworkControllerTest.java | 102 private static IStateCallback getStateCallback(InvocationOnMock invocation) { in getStateCallback() 103 return (IStateCallback) invocation.getArguments()[0]; in getStateCallback() 146 .registerStateCallback(any(IStateCallback.class)); in registerStateCallback_callbackIsInvokedWithCallingAppIdentity()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkControllerService.java | 96 import android.net.thread.IStateCallback; 966 public void registerStateCallback(IStateCallback stateCallback) throws RemoteException { 972 public void unregisterStateCallback(IStateCallback stateCallback) throws RemoteException { 1375 private final Map<IStateCallback, CallbackMetadata> mStateCallbacks = new HashMap<>(); 1383 public void registerStateCallback(IStateCallback callback) { 1407 public void unregisterStateCallback(IStateCallback callback) { 1464 for (IStateCallback callback : mStateCallbacks.keySet()) {
|