/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/ |
D | CtsVisualVoicemailService.java | 31 public abstract void onCellServiceConnected(VisualVoicemailTask task, in onCellServiceConnected() argument 34 public abstract void onSimRemoved(VisualVoicemailTask task, in onSimRemoved() argument 45 public void onCellServiceConnected(VisualVoicemailTask task, in onCellServiceConnected() argument 48 sCallback.onCellServiceConnected(task, phoneAccountHandle); in onCellServiceConnected() 50 task.finish(); in onCellServiceConnected() 54 public void onSmsReceived(VisualVoicemailTask task, VisualVoicemailSms sms) { in onSmsReceived() argument 55 task.finish(); in onSmsReceived() 59 public void onSimRemoved(VisualVoicemailTask task, PhoneAccountHandle phoneAccountHandle) { in onSimRemoved() argument 61 sCallback.onSimRemoved(task, phoneAccountHandle); in onSimRemoved() 63 task.finish(); in onSimRemoved() [all …]
|
D | VisualVoicemailServiceActivity.java | 59 public void onCellServiceConnected(VisualVoicemailTask task, 68 public void onSimRemoved(VisualVoicemailTask task, PhoneAccountHandle phoneAccountHandle) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | TestTaskQueue.java | 46 for (Runnable task : mTasks) { in quit() 47 mHandler.removeCallbacks(task); in quit() 75 Runnable task = new Runnable() { in addTask() local 82 mTasks.add(task); in addTask() 83 mHandler.postDelayed(task, delay); in addTask()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | MockVisualVoicemailService.java | 38 public void onCellServiceConnected(VisualVoicemailTask task, in onCellServiceConnected() argument 44 public void onSmsReceived(VisualVoicemailTask task, VisualVoicemailSms sms) { in onSmsReceived() argument 51 public void onSimRemoved(VisualVoicemailTask task, PhoneAccountHandle phoneAccountHandle) { in onSimRemoved() argument 56 public void onStopped(VisualVoicemailTask task) { in onStopped() argument
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoActivityRelatedPermissionTest.java | 74 ActivityManager.RecentTaskInfo task = tasks.get(i); in removeHomeRecentsTasks() local 75 if (task.baseIntent != null && isHomeIntent(task.baseIntent)) { in removeHomeRecentsTasks() 83 ActivityManager.RunningTaskInfo task = tasks.get(i); in removeHomeRunningTasks() local 84 if (task.baseIntent != null && isHomeIntent(task.baseIntent)) { in removeHomeRunningTasks()
|
/cts/tests/app/src/android/app/cts/ |
D | AppTaskTests.java | 169 final ActivityManager.AppTask task = getAppTask(a1); in testStartActivityInTask_NoNewTask() local 172 task.startActivity(mTargetContext, intent, null); in testStartActivityInTask_NoNewTask() 177 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NoNewTask() 190 final ActivityManager.AppTask task = getAppTask(a1); in testStartActivityInTask_NewTask() local 194 task.startActivity(mTargetContext, intent, null); in testStartActivityInTask_NewTask() 196 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NewTask() 236 for (ActivityManager.AppTask task : appTasks) { in getAppTask() 237 if (task.getTaskInfo().taskId == activity.getTaskId()) { in getAppTask() 238 return task; in getAppTask() 249 for (ActivityManager.AppTask task : appTasks) { in removeAllAppTasks() [all …]
|
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/ |
D | WifiNl80211ManagerTest.java | 61 public void execute(Runnable task) { in execute() argument 62 tasks.add(task); in execute() 66 Runnable task = tasks.poll(); in runAll() local 67 while (task != null) { in runAll() 68 task.run(); in runAll() 69 task = tasks.poll(); in runAll()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 125 public void tapOnTaskCenter(WindowManagerState.Task task) { in tapOnTaskCenter() argument 126 tapOnCenter(task.getBounds(), task.mDisplayId); in tapOnTaskCenter() 171 public void tapOnTaskCenterAsync(WindowManagerState.Task task) { in tapOnTaskCenterAsync() argument 172 final Rect bounds = task.getBounds(); in tapOnTaskCenterAsync() 175 tapOnDisplay(x, y, task.mDisplayId, false /* sync*/); in tapOnTaskCenterAsync()
|
D | WindowManagerState.java | 389 Task task = display.mRootTasks.get(i); in updateForDisplayContent() local 390 mRootTasks.add(task); in updateForDisplayContent() 391 addResumedActivity(task); in updateForDisplayContent() 400 private void addResumedActivity(Task task) { in addResumedActivity() argument 401 final int numChildTasks = task.mTasks.size(); in addResumedActivity() 404 addResumedActivity(task.mTasks.get(i)); in addResumedActivity() 406 } else if (task.mResumedActivity != null) { in addResumedActivity() 407 mResumedActivitiesInRootTasks.add(task.mResumedActivity); in addResumedActivity() 695 final Task task = getTaskByActivity(activityComponent); in getDisplayByActivity() local 696 if (task == null) { in getDisplayByActivity() [all …]
|
D | WindowManagerStateHelper.java | 545 for (Task task : rootTask.getTasks()) { 547 task.mRootTaskId); 752 for (Task task : tasks) { 753 task.forAllTasks((t) -> assertWithMessage("Empty task was found, id = " + t.mTaskId) 756 if (task.isLeafTask()) { 759 assertWithMessage("Non-leaf task cannot have affinity set, id = " + task.mTaskId) 760 .that(task.mAffinity).isEmpty();
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | PinnedStackTests.java | 580 final Task task = mWmState.getTaskByActivity(activity.getComponentName()); in testShouldDockBigOverlaysWithExpandedPip() local 581 final TaskInfo info = mTaskOrganizer.getTaskInfo(task.getTaskId()); in testShouldDockBigOverlaysWithExpandedPip() 1012 final Task task = mWmState.getTaskByActivity(LAUNCH_ENTER_PIP_ACTIVITY); in testEnterPipFromTaskWithMultipleActivities() local 1013 assertEquals(1, task.mActivities.size()); in testEnterPipFromTaskWithMultipleActivities() 1027 final Task task = mWmState.getTaskByActivity(LAUNCH_ENTER_PIP_ACTIVITY); in testPipFromTaskWithMultipleActivitiesAndExpandPip() local 1028 assertEquals(2, task.mActivities.size()); in testPipFromTaskWithMultipleActivitiesAndExpandPip() 1041 final Task task = mWmState.getTaskByActivity(LAUNCH_ENTER_PIP_ACTIVITY); in testPipFromTaskWithMultipleActivitiesAndDismissPip() local 1042 assertFalse(task.mHasChildPipActivity); in testPipFromTaskWithMultipleActivitiesAndDismissPip() 1138 Task task = mWmState.getRootTaskByActivity(PIP_ACTIVITY); in testDisallowEnterPipActivityLocked() local 1144 mAtm.startSystemLockTaskMode(task.mTaskId); in testDisallowEnterPipActivityLocked() [all …]
|
D | MultiWindowTests.java | 346 WindowManagerState.Task task = mWmState.getTaskByActivity(targetActivityName, in launchTargetToSide() local 349 if (task != null) { in launchTargetToSide() 350 secondaryTaskId2 = task.mTaskId; in launchTargetToSide() 449 final WindowManagerState.Task task = in testDisallowUpdateWindowingModeWhenInLockedTask() local 455 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(task.mTaskId)); in testDisallowUpdateWindowingModeWhenInLockedTask() 463 mTaskOrganizer.getTaskInfo(task.mTaskId).getToken(), in testDisallowUpdateWindowingModeWhenInLockedTask() 488 final WindowManagerState.Task task = mWmState in testDisallowHierarchyOperationWhenInLockedTask() local 496 mAtm.startSystemLockTaskMode(task.mTaskId); in testDisallowHierarchyOperationWhenInLockedTask() 508 mTaskOrganizer.getTaskInfo(task.mTaskId).getToken(); in testDisallowHierarchyOperationWhenInLockedTask() 515 mTaskOrganizer.getTaskInfo(task.mTaskId).getParentTaskId() in testDisallowHierarchyOperationWhenInLockedTask()
|
D | WindowMetricsActivityTests.java | 134 WindowManagerState.Task task = wmState.getTaskByActivity(activityName); in waitForEnterPipAnimationComplete() 135 if (task == null) { in waitForEnterPipAnimationComplete() 138 WindowManagerState.Activity activity = task.getActivity(activityName); in waitForEnterPipAnimationComplete() 150 WindowManagerState.Task task = wmState.getTaskByActivity(activityName); in waitForEnterPip() 151 return task != null && task.getWindowingMode() == WINDOWING_MODE_PINNED; in waitForEnterPip()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | Persistence.java | 459 for (WindowManagerState.Task task : trimTasks(activityTasks, baseStacks)) { in fromTasks() 460 tasks.add(new TaskState(task)); in fromTasks() 471 for (TaskState task : mTasks) { in toJson() 472 tasks.put(task.toJson()); in toJson() 498 for (WindowManagerState.Task task : trimFrom) { in trimTasks() 499 toTrim.removeIf(t -> t.getRootTaskId() == task.getRootTaskId()); in trimTasks() 581 TaskState task = (TaskState) o; in equals() 582 return Objects.equals(mResumedActivity, task.mResumedActivity) in equals() 583 && Objects.equals(mActivities, task.mActivities); in equals()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | ErrorLoggingService.java | 384 SettableFuture<List<LogEvent>> task = mFuturesQueue.poll(); in handleMessage() local 385 if (task == null) break; in handleMessage() 391 task.setResult(res); in handleMessage() 600 SettableFuture<List<LogEvent>> task = new SettableFuture<>(); in retrieveLog() local 608 mReplyHandler.addFuture(task); in retrieveLog() 619 res = (timeout < 0) ? task.get() : task.get(timeout, TimeUnit.MILLISECONDS); in retrieveLog()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 136 switch (step.task.getStatus()) { in onClick() 138 step.task.execute(); in onClick() 153 step.task.cancel(false); in onClick() 202 if (step.task.getStatus() == AsyncTask.Status.PENDING) { in updateUi() 523 AsyncTask<Void, Void, Void> task; field in KeyChainTest.Step 525 public Step(int instructionTextId, boolean skippable, AsyncTask<Void, Void, Void> task) { in Step() argument 528 this.task = task; in Step()
|
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/ |
D | WindowManagerUtil.java | 152 final TaskProto task = child.getTask(); in collectWindowStates() local 153 collectWindowStates(task.getWindowContainer(), out); in collectWindowStates() 195 final TaskProto task = child.getTask(); in collectActivityRecords() local 196 collectActivityRecords(task.getWindowContainer(), out); in collectActivityRecords()
|
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayApp/src/com/android/cts/overlay/app/ |
D | OverlayableTest.java | 74 FutureTask<Boolean> task = new FutureTask<>(() -> { in assertOverlayEnabled() local 85 mExecutor.execute(task); in assertOverlayEnabled() 86 assertTrue("Failed to load overlay " + overlayPackage, task.get(TIMEOUT, TimeUnit.SECONDS)); in assertOverlayEnabled()
|
/cts/tests/tests/systemui/src/android/systemui/cts/tv/ |
D | BasicPipTests.kt | 153 state.getTaskByActivity(PIP_ACTIVITY)?.let { task -> in <lambda>() method 154 task.windowingMode == WindowConfiguration.WINDOWING_MODE_PINNED in <lambda>()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
D | TaskInfoHelperTest.java | 131 for (AppTask task : appTasks) { in getTaskInfo() 132 TaskInfo taskInfo = task.getTaskInfo(); in getTaskInfo()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioOutColdStartLatencyActivity.java | 119 TimerTask task = new TimerTask() { in startOutTimer() local 144 mTimer.schedule(task, 500L /*delay*/); in startOutTimer()
|
D | MidiTestActivityBase.java | 433 TimerTask task = new TimerTask() { in startTimeoutHandler() local 445 mTimeoutTimer.schedule(task, TEST_TIMEOUT_MS); in startTimeoutHandler()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | BasePackageInstallTest.java | 179 … private boolean executeAndWaitForPckageInstallCallback(ExceptionRunnable task) throws Exception { in executeAndWaitForPckageInstallCallback() argument 184 task.run(); in executeAndWaitForPckageInstallCallback()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/ |
D | GarageModeChecker.java | 111 GarageModeCheckerTask task = new GarageModeCheckerTask(this, job, msg.arg1); 112 task.execute();
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 59 public static void runOnMainSync(@NonNull Runnable task) { in runOnMainSync() argument 60 InstrumentationRegistry.getInstrumentation().runOnMainSync(task); in runOnMainSync()
|