Home
last modified time | relevance | path

Searched refs:task (Results 1 – 25 of 30) 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/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/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/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/tests/telephony/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/activitymanager/util/src/android/server/am/
DActivityManagerState.java318 for (ActivityTask task : stack.mTasks) { in getStackIndexByActivity()
319 for (Activity activity : task.mActivities) { in getStackIndexByActivity()
332 final ActivityManagerState.ActivityTask task = getTaskByActivity(activityComponent); in getDisplayByActivity() local
333 if (task == null) { in getDisplayByActivity()
336 return getStackById(task.mStackId).mDisplayId; in getDisplayByActivity()
354 for (ActivityTask task : stack.mTasks) { in containsActivity()
355 for (Activity activity : task.mActivities) { in containsActivity()
368 for (ActivityTask task : stack.mTasks) { in containsActivityInWindowingMode()
369 for (Activity activity : task.mActivities) { in containsActivityInWindowingMode()
383 for (ActivityTask task : stack.mTasks) { in isActivityVisible()
[all …]
DWindowManagerState.java587 WindowTask task = new WindowTask(taskProto); in WindowStack() local
588 mTasks.add(task); in WindowStack()
589 mSubWindows.addAll(task.getWindows()); in WindowStack()
596 for (WindowTask task : mTasks) { in getTask()
597 if (taskId == task.mTaskId) { in getTask()
598 return task; in getTask()
/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/suite/audio_quality/lib/include/
DReport.h41 void addCasePassed(const TaskCase* task);
42 void addCaseFailed(const TaskCase* task);
/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/framework/base/activitymanager/src/android/server/am/
DActivityManagerFreeformStackTests.java79 final ActivityTask task = in testNonResizeableActivityHasFullDisplayBounds() local
81 final ActivityStack stack = mAmWmState.getAmState().getStackById(task.mStackId); in testNonResizeableActivityHasFullDisplayBounds()
83 if (task.isFullscreen()) { in testNonResizeableActivityHasFullDisplayBounds()
92 task.getBounds()); in testNonResizeableActivityHasFullDisplayBounds()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DTestUtils.java39 public static void runOnMainSync(@NonNull Runnable task) { in runOnMainSync() argument
40 InstrumentationRegistry.getInstrumentation().runOnMainSync(task); in runOnMainSync()
/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/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java133 switch (step.task.getStatus()) { in onClick()
135 step.task.execute(); in onClick()
150 step.task.cancel(false); in onClick()
199 if (step.task.getStatus() == AsyncTask.Status.PENDING) { in updateUi()
471 AsyncTask<Void, Void, Void> task; field in KeyChainTest.Step
473 public Step(int instructionTextId, boolean skippable, AsyncTask<Void, Void, Void> task) { in Step() argument
476 this.task = task; in Step()
/cts/suite/audio_quality/lib/include/task/
DTaskSequential.h37 bool queueAsyncTask(TaskAsync* task);
DModelBuilder.h52 virtual bool parseAttributes(const tinyxml2::XMLElement& elem, TaskGeneric& task);
/cts/tests/tests/keystore/src/android/server/am/
DActivityManagerState.java206 for (ActivityTask task : stack.mTasks) { in isActivityVisible()
207 for (Activity activity : task.mActivities) { in isActivityVisible()
289 for (ActivityTask task : mTasks) { in getTask()
290 if (taskId == task.mTaskId) { in getTask()
291 return task; in getTask()
DWindowManagerState.java323 WindowTask task = new WindowTask(taskProto); in WindowStack() local
324 mTasks.add(task); in WindowStack()
325 mSubWindows.addAll(task.getWindows()); in WindowStack()
331 for (WindowTask task : mTasks) { in getTask()
332 if (taskId == task.mTaskId) { in getTask()
333 return task; in getTask()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java124 FutureTask<Point> task = new FutureTask<>(() -> { in testActionOutsideDoesNotContainedObscuredInformation() local
129 mActivity.runOnUiThread(task); in testActionOutsideDoesNotContainedObscuredInformation()
130 Point viewLocation = task.get(5, TimeUnit.SECONDS); in testActionOutsideDoesNotContainedObscuredInformation()
DSSLConscryptPlainTextExposureTest.java398 Runnable task; in doHandshake() local
399 while((task = engine.getDelegatedTask()) != null) { in doHandshake()
400 executor.execute(task); in doHandshake()
762 Runnable task; in doHandshake() local
763 while((task = engine.getDelegatedTask()) != null) { in doHandshake()
764 executor.execute(task); in doHandshake()

12