Home
last modified time | relevance | path

Searched refs:isTaskScheduled (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapperUnitTest.java318 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/
DCarRemoteAccessManagerUnitTest.java573 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/
DJobSchedulerHelperTest.java186 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/
DICarRemoteAccessService.aidl92 boolean isTaskScheduled(in String scheduleId); in isTaskScheduled() method
DCarRemoteAccessManager.java1022 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/
DRemoteAccessHalWrapper.java246 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/
DJobSchedulerHelper.java107 public boolean isTaskScheduled(Context context, FederatedTrainingTask task) { in isTaskScheduled() method in JobSchedulerHelper
DFederatedComputeJobManager.java265 && (!mJobSchedulerHelper.isTaskScheduled(mContext, existingTask) in onTrainerStartCalled()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DCarRemoteAccessServiceUnitTest.java1584 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/
DCarRemoteAccessService.java931 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/
Dsystem-current.txt2241 …ion(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduled(@NonNull Stri…
/packages/services/Car/car-lib/api/
Dsystem-current.txt2241 …ion(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduled(@NonNull Stri…
Dtest-current.txt2322 …ion(android.car.Car.PERMISSION_CONTROL_REMOTE_ACCESS) public boolean isTaskScheduled(@NonNull Stri…