Home
last modified time | relevance | path

Searched refs:isTaskScheduleSupported (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/
DCarRemoteAccessManagerUnitTest.java428 when(mService.isTaskScheduleSupported()).thenReturn(true); in testIsTaskScheduleSupported()
430 assertThat(mRemoteAccessManager.isTaskScheduleSupported()).isTrue(); in testIsTaskScheduleSupported()
435 when(mService.isTaskScheduleSupported()).thenReturn(true); in testGetInVehicleTaskScheduler()
442 when(mService.isTaskScheduleSupported()).thenReturn(false); in testGetInVehicleTaskScheduler_notSupported()
460 when(mService.isTaskScheduleSupported()).thenReturn(true); in testScheduleTask()
473 when(mService.isTaskScheduleSupported()).thenReturn(true); in testScheduleTask_nullScheduleInfo()
481 when(mService.isTaskScheduleSupported()).thenReturn(true); in testScheduleTask_ServiceSpecificException()
494 when(mService.isTaskScheduleSupported()).thenReturn(true); in testUnscheduleTask()
503 when(mService.isTaskScheduleSupported()).thenReturn(true); in testUnscheduleTask_nullScheduleId()
511 when(mService.isTaskScheduleSupported()).thenReturn(true); in testUnscheduleTask_ServiceSpecificException()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapperUnitTest.java200 when(mRemoteAccessHal.isTaskScheduleSupported()).thenReturn(true); in testIsTaskScheduleSupported()
202 assertThat(mHalWrapper.isTaskScheduleSupported()).isTrue(); in testIsTaskScheduleSupported()
210 assertThat(mHalWrapper.isTaskScheduleSupported()).isFalse(); in testIsTaskScheduleSupported_halVersionNotSupported()
211 verify(mRemoteAccessHal, times(0)).isTaskScheduleSupported(); in testIsTaskScheduleSupported_halVersionNotSupported()
217 when(mRemoteAccessHal.isTaskScheduleSupported()).thenThrow(new RemoteException()); in testIsTaskScheduleSupported_remoteException()
219 assertThat(mHalWrapper.isTaskScheduleSupported()).isFalse(); in testIsTaskScheduleSupported_remoteException()
220 verify(mRemoteAccessHal).isTaskScheduleSupported(); in testIsTaskScheduleSupported_remoteException()
226 when(mRemoteAccessHal.isTaskScheduleSupported()).thenThrow(new ServiceSpecificException(0)); in testIsTaskScheduleSupported_serviceSpecificException()
228 assertThat(mHalWrapper.isTaskScheduleSupported()).isFalse(); in testIsTaskScheduleSupported_serviceSpecificException()
229 verify(mRemoteAccessHal).isTaskScheduleSupported(); in testIsTaskScheduleSupported_serviceSpecificException()
/packages/services/Car/car-lib/src/android/car/remoteaccess/
DICarRemoteAccessService.aidl69 boolean isTaskScheduleSupported(); in isTaskScheduleSupported() method
DCarRemoteAccessManager.java533 public boolean isTaskScheduleSupported() { in isTaskScheduleSupported() method in CarRemoteAccessManager
535 return mService.isTaskScheduleSupported(); in isTaskScheduleSupported()
558 if (!isTaskScheduleSupported()) { in getInVehicleTaskScheduler()
/packages/services/Car/service/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapper.java169 public boolean isTaskScheduleSupported() { in isTaskScheduleSupported() method in RemoteAccessHalWrapper
177 return remoteAccessHal.isTaskScheduleSupported(); in isTaskScheduleSupported()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DCarRemoteAccessServiceUnitTest.java272 when(mRemoteAccessHalWrapper.isTaskScheduleSupported()).thenReturn(false); in setUp()
1337 when(mRemoteAccessHalWrapper.isTaskScheduleSupported()).thenReturn(true); in enableTaskScheduling()
1351 assertThat(mService.isTaskScheduleSupported()).isTrue(); in testIsTaskScheduleSupported_true()
1358 assertThat(mService.isTaskScheduleSupported()).isFalse(); in testIsTaskScheduleSupported_halNotSupported()
1372 assertThat(mService.isTaskScheduleSupported()).isFalse(); in testIsTaskScheduleSupported_clientNotConfigured()
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java492 mIsHalTaskScheduleSupported = mRemoteAccessHalWrapper.isTaskScheduleSupported(); in init()
817 public boolean isTaskScheduleSupported() { in isTaskScheduleSupported() method in CarRemoteAccessService
987 if (!isTaskScheduleSupported()) { in getSupportedTaskTypesForScheduling()
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt2228 …mission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduleSupported();
/packages/services/Car/car-lib/api/
Dsystem-current.txt2228 …mission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduleSupported();
Dtest-current.txt2307 …mission(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduleSupported();