Home
last modified time | relevance | path

Searched refs:task (Results 1 – 25 of 39) sorted by relevance

12

/cts/suite/audio_quality/lib/src/
DGenericFactory.cpp28 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 …]
DReport.cpp74 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/
DModelBuilderTest.cpp53 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 …]
DTaskTest.cpp117 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/
DCtsVisualVoicemailService.java31 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 …]
DVisualVoicemailServiceActivity.java59 public void onCellServiceConnected(VisualVoicemailTask task,
68 public void onSimRemoved(VisualVoicemailTask task, PhoneAccountHandle phoneAccountHandle) {
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerState.java359 for (ActivityTask task : stack.mTasks) { in getStackIndexByActivity()
360 for (Activity activity : task.mActivities) { in getStackIndexByActivity()
373 final ActivityManagerState.ActivityTask task = getTaskByActivity(activityComponent); in getDisplayByActivity() local
374 if (task == null) { in getDisplayByActivity()
377 return getStackById(task.mStackId).mDisplayId; in getDisplayByActivity()
399 for (ActivityTask task : stack.mTasks) { in containsActivity()
400 for (Activity activity : task.mActivities) { in containsActivity()
415 for (ActivityTask task : stack.mTasks) { in containsNoneOf()
416 for (Activity activity : task.mActivities) { in containsNoneOf()
431 for (ActivityTask task : stack.mTasks) { in containsActivityInWindowingMode()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DTestTaskQueue.java46 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/app/src/android/app/cts/
DAppTaskTests.java158 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/suite/audio_quality/lib/src/task/
DTaskGeneric.cpp67 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()
DTaskSequential.cpp92 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()
DModelBuilder.cpp251 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/
DMockVisualVoicemailService.java38 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/framework/base/windowmanager/src/android/server/wm/
DFreeformWindowingModeTests.java91 final ActivityTask task = in testNonResizeableActivityHasFullDisplayBounds() local
93 final ActivityStack stack = mAmWmState.getAmState().getStackById(task.mStackId); in testNonResizeableActivityHasFullDisplayBounds()
95 if (task.isFullscreen()) { in testNonResizeableActivityHasFullDisplayBounds()
104 task.getBounds()); in testNonResizeableActivityHasFullDisplayBounds()
/cts/tests/tests/permission/src/android/permission/cts/
DNoActivityRelatedPermissionTest.java77 ActivityManager.RecentTaskInfo task = tasks.get(i); in removeHomeTasks() local
78 if (task.baseIntent != null && isHomeIntent(task.baseIntent)) { in removeHomeTasks()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java383 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/suite/audio_quality/lib/include/
DReport.h41 void addCasePassed(const TaskCase* task);
42 void addCaseFailed(const TaskCase* task);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java136 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/tests/inputmethod/src/android/view/inputmethod/cts/util/
DTestUtils.java40 public static void runOnMainSync(@NonNull Runnable task) { in runOnMainSync() argument
41 InstrumentationRegistry.getInstrumentation().runOnMainSync(task); in runOnMainSync()
/cts/tests/tests/keystore/src/android/server/am/
DActivityManagerState.java208 for (ActivityTask task : stack.mTasks) { in isActivityVisible()
209 for (Activity activity : task.mActivities) { in isActivityVisible()
291 for (ActivityTask task : mTasks) { in getTask()
292 if (taskId == task.mTaskId) { in getTask()
293 return task; in getTask()
DWindowManagerState.java319 WindowTask task = new WindowTask(taskProto); in WindowStack() local
320 mTasks.add(task); in WindowStack()
321 mSubWindows.addAll(task.getWindows()); in WindowStack()
327 for (WindowTask task : mTasks) { in getTask()
328 if (taskId == task.mTaskId) { in getTask()
329 return task; in getTask()
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayApp/src/com/android/cts/overlay/app/
DOverlayableTest.java72 FutureTask<Boolean> task = new FutureTask<>(() -> { in assertOverlayEnabled() local
83 mExecutor.execute(task); in assertOverlayEnabled()
84 assertTrue("Failed to load overlay " + overlayPackage, task.get(TIMEOUT, TimeUnit.SECONDS)); in assertOverlayEnabled()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java534 for (ActivityManagerState.ActivityTask task : stack.getTasks()) { in StackState()
535 this.mTasks.add(new TaskState(task)); in StackState()
542 for (TaskState task : mTasks) { in toJson()
543 jsonTasks.put(task.toJson()); in toJson()
633 TaskState task = (TaskState) o; in equals()
634 return Objects.equals(mActivities, task.mActivities); in equals()
/cts/suite/audio_quality/lib/include/task/
DTaskSequential.h37 bool queueAsyncTask(TaskAsync* task);
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DBasePackageInstallTest.java179 … private boolean executeAndWaitForPckageInstallCallback(ExceptionRunnable task) throws Exception { in executeAndWaitForPckageInstallCallback() argument
184 task.run(); in executeAndWaitForPckageInstallCallback()

12