/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/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/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/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()
|
D | ModelBuilder.cpp | 251 bool ModelBuilder::parseAttributes(const XMLElement& elem, TaskGeneric& task) in parseAttributes() argument 260 if (!task.parseAttribute(name, value)) { in parseAttributes() 262 attr->Name(), attr->Value(), task.getType()); in parseAttributes()
|
/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/app/src/android/app/cts/ |
D | AppTaskTests.java | 158 final ActivityManager.AppTask task = getAppTask(a1); in testStartActivityInTask_NoNewTask() local 161 task.startActivity(mTargetContext, intent, null); in testStartActivityInTask_NoNewTask() 166 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NoNewTask() 179 final ActivityManager.AppTask task = getAppTask(a1); in testStartActivityInTask_NewTask() local 183 task.startActivity(mTargetContext, intent, null); in testStartActivityInTask_NewTask() 185 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NewTask() 225 for (ActivityManager.AppTask task : appTasks) { in getAppTask() 226 if (task.getTaskInfo().taskId == activity.getTaskId()) { in getAppTask() 227 return task; in getAppTask() 238 for (ActivityManager.AppTask task : appTasks) { in removeAllAppTasks() [all …]
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerState.java | 371 ActivityTask task = display.mRootTasks.get(i); in updateForDisplayContent() local 372 mRootTasks.add(task); in updateForDisplayContent() 373 if (task.mResumedActivity != null) { in updateForDisplayContent() 374 mResumedActivitiesInStacks.add(task.mResumedActivity); in updateForDisplayContent() 626 final ActivityTask task = getTaskByActivity(activityComponent); in getDisplayByActivity() local 627 if (task == null) { in getDisplayByActivity() 630 return getRootTask(task.mRootTaskId).mDisplayId; in getDisplayByActivity() 775 final ActivityTask task = getTaskByActivity(activityName); in getStackIdByActivity() local 776 return (task == null) ? INVALID_STACK_ID : task.mRootTaskId; in getStackIdByActivity() 788 if (activity != null) return activity.task; in getTaskByActivity() [all …]
|
D | TestTaskOrganizer.java | 89 for (ActivityManager.RunningTaskInfo task : children) { in dismissedSplitScreen() 90 t.reparent(task.getToken(), null /* parent */, true /* onTop */); in dismissedSplitScreen() 115 final ActivityManager.RunningTaskInfo task = rootTasks.get(i); in processRootPrimaryTaskInfoChanged() local 116 if (task.getConfiguration().windowConfiguration.getWindowingMode() in processRootPrimaryTaskInfoChanged() 118 t.reparent(task.getToken(), mRootSecondary.getToken(), true /* onTop */); in processRootPrimaryTaskInfoChanged()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | FreeformWindowingModeTests.java | 89 final ActivityTask task = in testNonResizeableActivityHasFullDisplayBounds() local 91 final ActivityTask stack = mWmState.getRootTask(task.mRootTaskId); in testNonResizeableActivityHasFullDisplayBounds() 93 if (task.isFullscreen()) { in testNonResizeableActivityHasFullDisplayBounds() 102 task.getBounds()); in testNonResizeableActivityHasFullDisplayBounds()
|
D | PinnedStackTests.java | 848 ActivityTask task = mWmState.getStandardStackByWindowingMode( in testDisallowEnterPipActivityLocked() local 855 mAtm.startSystemLockTaskMode(task.mTaskId); in testDisallowEnterPipActivityLocked() 1317 ActivityTask task = wmState.getTaskByActivity(activityName); in waitForEnterPip() 1318 return task != null && task.getWindowingMode() == WINDOWING_MODE_PINNED; in waitForEnterPip() 1328 ActivityTask task = wmState.getTaskByActivity(activityName); in waitForEnterPipAnimationComplete() 1329 if (task == null) { in waitForEnterPipAnimationComplete() 1332 WindowManagerState.Activity activity = task.getActivity(activityName); in waitForEnterPipAnimationComplete() 1352 final ActivityTask task = wmState.getTaskByActivity(activityName); in waitForExitPipToFullscreen() 1353 if (task == null) { in waitForExitPipToFullscreen() 1356 final WindowManagerState.Activity activity = task.getActivity(activityName); in waitForExitPipToFullscreen() [all …]
|
/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/src/android/server/wm/intent/ |
D | Persistence.java | 453 for (WindowManagerState.ActivityTask task : trimTasks(activityTasks, baseStacks)) { in fromTasks() 454 tasks.add(new TaskState(task)); in fromTasks() 465 for (TaskState task : mTasks) { in toJson() 466 tasks.put(task.toJson()); in toJson() 492 for (WindowManagerState.ActivityTask task : trimFrom) { in trimTasks() 493 toTrim.removeIf(t -> t.getRootTaskId() == task.getRootTaskId()); in trimTasks() 575 TaskState task = (TaskState) o; in equals() 576 return Objects.equals(mResumedActivity, task.mResumedActivity) in equals() 577 && Objects.equals(mActivities, task.mActivities); in equals()
|
/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/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/hostsidetests/appsecurity/test-apps/rro/OverlayApp/src/com/android/cts/overlay/app/ |
D | OverlayableTest.java | 72 FutureTask<Boolean> task = new FutureTask<>(() -> { in assertOverlayEnabled() local 82 mExecutor.execute(task); in assertOverlayEnabled() 83 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 | 46 public static void runOnMainSync(@NonNull Runnable task) { in runOnMainSync() argument 47 InstrumentationRegistry.getInstrumentation().runOnMainSync(task); in runOnMainSync()
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskSequential.h | 37 bool queueAsyncTask(TaskAsync* task);
|
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/ |
D | WindowManagerUtil.java | 123 final TaskProto task = child.getTask(); in collectWindowStates() local 124 collectWindowStates(task.getWindowContainer(), out); in collectWindowStates()
|