Searched refs:notifyApStateChange (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessServiceUnitTest.java | 269 when(mRemoteAccessHalWrapper.notifyApStateChange(anyBoolean(), anyBoolean())) in setUp() 447 verify(mRemoteAccessHalWrapper, timeout(1000)).notifyApStateChange( in testCarRemoteAccessServiceInit() 453 when(mRemoteAccessHalWrapper.notifyApStateChange(anyBoolean(), anyBoolean())) in testCarRemoteAccessServiceInit_retryNotifyApState() 459 verify(mRemoteAccessHalWrapper, timeout(WAIT_TIMEOUT_MS).times(3)).notifyApStateChange( in testCarRemoteAccessServiceInit_retryNotifyApState() 465 when(mRemoteAccessHalWrapper.notifyApStateChange(anyBoolean(), anyBoolean())) in testCarRemoteAccessServiceInit_maxRetryNotifyApState() 470 verify(mRemoteAccessHalWrapper, timeout(WAIT_TIMEOUT_MS).times(10)).notifyApStateChange( in testCarRemoteAccessServiceInit_maxRetryNotifyApState() 476 verify(mRemoteAccessHalWrapper, times(10)).notifyApStateChange( in testCarRemoteAccessServiceInit_maxRetryNotifyApState() 482 when(mRemoteAccessHalWrapper.notifyApStateChange(anyBoolean(), anyBoolean())) in testCarRemoteAccessServiceInit_resetRetryCountAfterSuccess() 487 verify(mRemoteAccessHalWrapper, timeout(WAIT_TIMEOUT_MS).times(3)).notifyApStateChange( in testCarRemoteAccessServiceInit_resetRetryCountAfterSuccess() 497 verify(mRemoteAccessHalWrapper, times(13)).notifyApStateChange( in testCarRemoteAccessServiceInit_resetRetryCountAfterSuccess() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/hal/ |
D | RemoteAccessHalWrapperUnitTest.java | 154 mHalWrapper.notifyApStateChange(/* isReadyForRemoteTask= */ false, in testNotifyApStateChange() 156 verify(mRemoteAccessHal).notifyApStateChange(captor.capture()); in testNotifyApStateChange() 167 assertWithMessage("Return value").that(mHalWrapper.notifyApStateChange( in testNotifyApStateChange_noHalService() 169 verify(mRemoteAccessHal, never()).notifyApStateChange(any(ApState.class)); in testNotifyApStateChange_noHalService()
|
/packages/services/Car/service/src/com/android/car/remoteaccess/hal/ |
D | RemoteAccessHalWrapper.java | 149 public boolean notifyApStateChange(boolean isReadyForRemoteTask, boolean isWakeupRequired) { in notifyApStateChange() method in RemoteAccessHalWrapper 155 remoteAccessHal.notifyApStateChange(state); in notifyApStateChange()
|
/packages/services/Car/service/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessService.java | 243 if (!mRemoteAccessHalWrapper.notifyApStateChange( 1589 private void notifyApStateChange() { in notifyApStateChange() method in CarRemoteAccessService 1605 if (!mRemoteAccessHalWrapper.notifyApStateChange(isReadyForRemoteTask, isWakeupRequired)) { in notifyApStateChange() 2329 service.notifyApStateChange(); in handleMessage()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessManagerTest.java | 370 verify(mRemoteAccessHal, timeout(DEFAULT_TIME_OUT_MS)).notifyApStateChange( in testNotifyApInitialState()
|