/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/hal/ |
D | RemoteAccessHalWrapperUnitTest.java | 318 when(mRemoteAccessHal.isTaskScheduled(TEST_CLIENT_ID, TEST_SCHEDULE_ID)).thenReturn(true); in testIsTaskScheduled() 320 assertThat(mHalWrapper.isTaskScheduled(TEST_CLIENT_ID, TEST_SCHEDULE_ID)).isTrue(); in testIsTaskScheduled() 326 doThrow(new RemoteException()).when(mRemoteAccessHal).isTaskScheduled(any(), any()); in testIsTaskScheduled_remoteException() 328 assertThrows(RemoteException.class, () -> mHalWrapper.isTaskScheduled( in testIsTaskScheduled_remoteException() 335 doThrow(new ServiceSpecificException(0)).when(mRemoteAccessHal).isTaskScheduled( in testIsTaskScheduled_serviceSpecificException() 338 assertThrows(ServiceSpecificException.class, () -> mHalWrapper.isTaskScheduled( in testIsTaskScheduled_serviceSpecificException()
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/ |
D | CarRemoteAccessManagerUnitTest.java | 573 when(mService.isTaskScheduled(TEST_SCHEDULE_ID)).thenReturn(true); in testIsTaskScheduled() 576 .isTaskScheduled(TEST_SCHEDULE_ID)).isTrue(); in testIsTaskScheduled() 584 mRemoteAccessManager.getInVehicleTaskScheduler().isTaskScheduled(null)); in testIsTaskScheduled_nullScheduleId() 590 when(mService.isTaskScheduled(any())).thenThrow(new ServiceSpecificException( in testIsTaskScheduled_ServiceSpecificException() 594 mRemoteAccessManager.getInVehicleTaskScheduler().isTaskScheduled(TEST_SCHEDULE_ID)); in testIsTaskScheduled_ServiceSpecificException()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/ |
D | JobSchedulerHelperTest.java | 186 public void isTaskScheduled() { in isTaskScheduled() method in JobSchedulerHelperTest 187 assertThat(mJobSchedulerHelper.isTaskScheduled(mContext, TRAINING_TASK)).isFalse(); in isTaskScheduled()
|
/packages/services/Car/car-lib/src/android/car/remoteaccess/ |
D | ICarRemoteAccessService.aidl | 92 boolean isTaskScheduled(in String scheduleId); in isTaskScheduled() method
|
D | CarRemoteAccessManager.java | 1022 public boolean isTaskScheduled(@NonNull String scheduleId) in isTaskScheduled() method in CarRemoteAccessManager.InVehicleTaskScheduler 1026 return mService.isTaskScheduled(scheduleId); in isTaskScheduled()
|
/packages/services/Car/service/src/com/android/car/remoteaccess/hal/ |
D | RemoteAccessHalWrapper.java | 246 public boolean isTaskScheduled(String clientId, String scheduleId) in isTaskScheduled() method in RemoteAccessHalWrapper 250 return remoteAccessHal.isTaskScheduled(clientId, scheduleId); in isTaskScheduled()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/ |
D | JobSchedulerHelper.java | 107 public boolean isTaskScheduled(Context context, FederatedTrainingTask task) { in isTaskScheduled() method in JobSchedulerHelper
|
D | FederatedComputeJobManager.java | 265 && (!mJobSchedulerHelper.isTaskScheduled(mContext, existingTask) in onTrainerStartCalled()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessServiceUnitTest.java | 1584 when(mRemoteAccessHalWrapper.isTaskScheduled(CLIENT_ID_SERVERLESS, TEST_SCHEDULE_ID)) in testIsTaskScheduled() 1587 assertThat(mService.isTaskScheduled(TEST_SCHEDULE_ID)).isTrue(); in testIsTaskScheduled() 1594 assertThrows(IllegalStateException.class, () -> mService.isTaskScheduled( in testIsTaskScheduled_unsupported() 1601 doThrow(new RemoteException()).when(mRemoteAccessHalWrapper).isTaskScheduled(any(), any()); in testIsTaskScheduled_RemoteException() 1604 mService.isTaskScheduled(TEST_SCHEDULE_ID)); in testIsTaskScheduled_RemoteException() 1612 .isTaskScheduled(any(), any()); in testIsTaskScheduled_serviceSpecificException() 1615 mService.isTaskScheduled(TEST_SCHEDULE_ID)); in testIsTaskScheduled_serviceSpecificException()
|
/packages/services/Car/service/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessService.java | 931 public boolean isTaskScheduled(String scheduleId) { in isTaskScheduled() method in CarRemoteAccessService 936 return mRemoteAccessHalWrapper.isTaskScheduled(clientId, scheduleId); in isTaskScheduled()
|
/packages/services/Car/car-lib-module/api/ |
D | system-current.txt | 2241 …ion(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduled(@NonNull Stri…
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 2241 …ion(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduled(@NonNull Stri…
|
D | test-current.txt | 2322 …ion(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduled(@NonNull Stri…
|