Home
last modified time | relevance | path

Searched refs:createTask (Results 1 – 7 of 7) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DSetDevicePolicyTaskTest.java90 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testEnableDevicePolicyApp_DefaultToDefault()
108 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testEnableDevicePolicyApp_DisabledToDefault()
127 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testEnableDevicePolicyApp_EnabledToEnabled()
145 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testEnableDevicePolicyApp_PackageNotFound()
161 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testSetActiveAdmin()
175 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testSetDeviceOwner()
190 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testSetDeviceOwner_PreconditionsNotMet()
207 createTask(ACTION_PROVISION_MANAGED_DEVICE); in testSetDeviceOwner_ReturnFalse()
224 createTask(ACTION_PROVISION_MANAGED_PROFILE); in testSetProfileOwner()
239 private void createTask(String action) { in createTask() method in SetDevicePolicyTaskTest
DCopyAccountToUserTaskTest.java90 createTask(TEST_SOURCE_USER_ID, TEST_ACCOUNT); in testRun()
114 createTask(TEST_SOURCE_USER_ID, TEST_ACCOUNT); in testRun_error()
138 createTask(TEST_SOURCE_USER_ID, null); in testRun_nullAccount()
154 createTask(TEST_SOURCE_USER_ID, TEST_ACCOUNT); in testRun_sameUser()
170 createTask(TEST_SOURCE_USER_ID, TEST_ACCOUNT); in testMaybeCopyAccount_success()
183 createTask(TEST_SOURCE_USER_ID, TEST_ACCOUNT); in testMaybeCopyAccount_error()
196 createTask(TEST_SOURCE_USER_ID, TEST_ACCOUNT); in testMaybeCopyAccount_timeout()
208 private void createTask(int sourceUserId, Account account) { in createTask() method in CopyAccountToUserTaskTest
/packages/apps/TV/src/com/android/tv/dvr/provider/
DEpisodicProgramLoadTask.java166 mProgramQueryTask = createTask(); in execute()
188 private AsyncProgramQueryTask createTask() { in createTask() method in EpisodicProgramLoadTask
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTasks.java45 public static Task createTask(Context context, Bundle extras) throws TaskCreationException { in createTask() method in Tasks
DTaskReceiver.java74 Task task = Tasks.createTask(context.getApplicationContext(), intent.getExtras()); in onReceive()
DTaskQueue.java54 Task task = Tasks.createTask(context, pendingTask); in fromBundles()
DTaskSchedulerJobService.java115 queue.add(Tasks.createTask(context, pendingTask)); in scheduleJob()