/cts/suite/audio_quality/lib/src/ |
D | GenericFactory.cpp | 28 TaskGeneric* task; in createTask() local 31 task = new TaskBatch(); in createTask() 34 task = new TaskCase(); in createTask() 37 task = new TaskSequential(); in createTask() 40 task = new TaskProcess(); in createTask() 43 task = new TaskInput(); in createTask() 46 task = new TaskOutput(); in createTask() 49 task = new TaskSound(); in createTask() 52 task = new TaskSave(); in createTask() 57 task = new TaskGeneric(type); in createTask() [all …]
|
D | Report.cpp | 74 void Report::addCasePassed(const TaskCase* task) in addCasePassed() argument 77 task->getCaseName(name); in addCasePassed() 78 StringPair pair(name, task->getDetails()); in addCasePassed() 82 void Report::addCaseFailed(const TaskCase* task) in addCaseFailed() argument 85 task->getCaseName(name); in addCaseFailed() 86 StringPair pair(name, task->getDetails()); in addCaseFailed()
|
/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 …]
|
/cts/suite/audio_quality/test/ |
D | ModelBuilderTest.cpp | 53 TaskGeneric* task = mModelBuilder.parseTestDescriptionXml(xmlFile, true); in TEST_F() local 54 ASSERT_TRUE(task == NULL); in TEST_F() 56 delete task; in TEST_F() 61 TaskGeneric* task = mModelBuilder.parseTestDescriptionXml(xmlFile); in TEST_F() local 62 ASSERT_TRUE(task == NULL); in TEST_F() 63 delete task; in TEST_F() 68 TaskGeneric* task = mModelBuilder.parseTestDescriptionXml(xmlFile); in TEST_F() local 69 ASSERT_TRUE(task == NULL); in TEST_F() 70 delete task; in TEST_F() 75 TaskGeneric* task = mModelBuilder.parseTestDescriptionXml(xmlFile); in TEST_F() local [all …]
|
D | TaskTest.cpp | 117 TestTaskDummy* task = reinterpret_cast<TestTaskDummy*>(mTaskSetup); in TEST_F() local 118 ASSERT_TRUE(task->addStringAttributePublic(AAA, aaaVal)); in TEST_F() 119 ASSERT_TRUE(task->addStringAttributePublic(BBB, bbbVal)); in TEST_F() 121 ASSERT_TRUE(!task->addStringAttributePublic(CCC, bbbVal)); in TEST_F() 122 ASSERT_TRUE(task->findStringAttributePublic(AAA, read)); in TEST_F() 124 ASSERT_TRUE(task->findStringAttributePublic(BBB, read)); in TEST_F() 128 ASSERT_TRUE(!task->findStringAttributePublic(VERSION, read)); in TEST_F() 129 ASSERT_TRUE(!task->findStringAttributePublic(NAME, read)); in TEST_F()
|
/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/suite/audio_quality/lib/src/task/ |
D | TaskGeneric.cpp | 67 TaskGeneric* task = this; in getTestCase() local 69 while (task != NULL) { in getTestCase() 70 if (task->getType() == ETaskCase) { in getTestCase() 72 return reinterpret_cast<TaskCase*>(task); in getTestCase() 74 task = task->getParent(); in getTestCase()
|
D | TaskSequential.cpp | 92 bool TaskSequential::queueAsyncTask(TaskAsync* task) in queueAsyncTask() argument 95 it = std::find(mAsyncTasks.begin(), mAsyncTasks.end(), task); in queueAsyncTask() 99 mAsyncTasks.push_back(task); in queueAsyncTask()
|
/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 | 60 public void execute(Runnable task) { in execute() argument 61 tasks.add(task); in execute() 65 Runnable task = tasks.poll(); in runAll() local 66 while (task != null) { in runAll() 67 task.run(); in runAll() 68 task = tasks.poll(); in runAll()
|
/cts/suite/audio_quality/lib/include/ |
D | Report.h | 41 void addCasePassed(const TaskCase* task); 42 void addCaseFailed(const TaskCase* task);
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TouchHelper.java | 121 public void tapOnTaskCenter(WindowManagerState.Task task) { in tapOnTaskCenter() argument 122 tapOnCenter(task.getBounds(), task.mDisplayId); in tapOnTaskCenter() 167 public void tapOnTaskCenterAsync(WindowManagerState.Task task) { in tapOnTaskCenterAsync() argument 168 final Rect bounds = task.getBounds(); in tapOnTaskCenterAsync() 171 tapOnDisplay(x, y, task.mDisplayId, false /* sync*/); in tapOnTaskCenterAsync()
|
D | WindowManagerState.java | 379 Task task = display.mRootTasks.get(i); in updateForDisplayContent() local 380 mRootTasks.add(task); in updateForDisplayContent() 381 addResumedActivity(task); in updateForDisplayContent() 390 private void addResumedActivity(Task task) { in addResumedActivity() argument 391 final int numChildTasks = task.mTasks.size(); in addResumedActivity() 394 addResumedActivity(task.mTasks.get(i)); in addResumedActivity() 396 } else if (task.mResumedActivity != null) { in addResumedActivity() 397 mResumedActivitiesInRootTasks.add(task.mResumedActivity); in addResumedActivity() 659 final Task task = getTaskByActivity(activityComponent); in getDisplayByActivity() local 660 if (task == null) { in getDisplayByActivity() [all …]
|
D | WindowManagerStateHelper.java | 233 final Task task = amState.getTaskByActivity(activityName); in waitForActivityOrientation() 234 if (task == null) { in waitForActivityOrientation() 237 return task.mFullConfiguration.orientation == orientation; in waitForActivityOrientation() 535 for (Task task : rootTask.getTasks()) { 537 task.mRootTaskId); 738 for (Task task : tasks) { 739 task.forAllTasks((t) -> assertWithMessage("Empty task was found, id = " + t.mTaskId) 741 if (task.isLeafTask()) { 744 assertWithMessage("Non-leaf task cannot have affinity set, id = " + task.mTaskId) 745 .that(task.mAffinity).isEmpty();
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
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() 465 mTaskOrganizer.getTaskInfo(task.mTaskId).getToken(), in testDisallowUpdateWindowingModeWhenInLockedTask() 485 final WindowManagerState.Task task = mWmState in testDisallowHierarchyOperationWhenInLockedTask() local 493 mAtm.startSystemLockTaskMode(task.mTaskId); in testDisallowHierarchyOperationWhenInLockedTask() 505 mTaskOrganizer.getTaskInfo(task.mTaskId).getToken(); in testDisallowHierarchyOperationWhenInLockedTask() 512 mTaskOrganizer.getTaskInfo(task.mTaskId).getParentTaskId() in testDisallowHierarchyOperationWhenInLockedTask()
|
D | PinnedStackTests.java | 809 final Task task = mWmState.getTaskByActivity(LAUNCH_ENTER_PIP_ACTIVITY); in testEnterPipFromTaskWithMultipleActivities() local 810 assertEquals(1, task.mActivities.size()); in testEnterPipFromTaskWithMultipleActivities() 824 final Task task = mWmState.getTaskByActivity(LAUNCH_ENTER_PIP_ACTIVITY); in testPipFromTaskWithMultipleActivitiesAndExpandPip() local 825 assertEquals(2, task.mActivities.size()); in testPipFromTaskWithMultipleActivitiesAndExpandPip() 838 final Task task = mWmState.getTaskByActivity(LAUNCH_ENTER_PIP_ACTIVITY); in testPipFromTaskWithMultipleActivitiesAndDismissPip() local 839 assertFalse(task.mHasChildPipActivity); in testPipFromTaskWithMultipleActivitiesAndDismissPip() 924 Task task = mWmState.getRootTaskByActivity(PIP_ACTIVITY); in testDisallowEnterPipActivityLocked() local 930 mAtm.startSystemLockTaskMode(task.mTaskId); in testDisallowEnterPipActivityLocked() 1142 Task task = mWmState.getStandardRootTaskByWindowingMode(WINDOWING_MODE_PINNED); in testNoResumeAfterTaskOverlayFinishes() local 1143 int taskId = task.getTopTask().mTaskId; in testNoResumeAfterTaskOverlayFinishes() [all …]
|
D | WindowMetricsActivityTests.java | 131 WindowManagerState.Task task = wmState.getTaskByActivity(activityName); in waitForEnterPipAnimationComplete() 132 if (task == null) { in waitForEnterPipAnimationComplete() 135 WindowManagerState.Activity activity = task.getActivity(activityName); in waitForEnterPipAnimationComplete() 147 WindowManagerState.Task task = wmState.getTaskByActivity(activityName); in waitForEnterPip() 148 return task != null && task.getWindowingMode() == WINDOWING_MODE_PINNED; in waitForEnterPip()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | ErrorLoggingService.java | 383 SettableFuture<List<LogEvent>> task = mFuturesQueue.poll(); in handleMessage() local 384 if (task == null) break; in handleMessage() 390 task.setResult(res); in handleMessage() 585 SettableFuture<List<LogEvent>> task = new SettableFuture<>(); in retrieveLog() local 593 mReplyHandler.addFuture(task); in retrieveLog() 604 res = (timeout < 0) ? task.get() : task.get(timeout, TimeUnit.MILLISECONDS); in retrieveLog()
|
/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/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/suite/audio_quality/lib/include/task/ |
D | TaskSequential.h | 37 bool queueAsyncTask(TaskAsync* task);
|
/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/inputmethod/src/android/view/inputmethod/cts/util/ |
D | TestUtils.java | 53 public static void runOnMainSync(@NonNull Runnable task) { in runOnMainSync() argument 54 InstrumentationRegistry.getInstrumentation().runOnMainSync(task); in runOnMainSync()
|