Home
last modified time | relevance | path

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

/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/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.cpp248 bool ModelBuilder::parseAttributes(const TiXmlElement& elem, TaskGeneric& task) in parseAttributes() argument
257 if (!task.parseAttribute(name, value)) { in parseAttributes()
259 attr->Name(), attr->Value(), task.getType()); in parseAttributes()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Drichards.js167 Scheduler.prototype.addRunningTask = function (id, priority, queue, task) { argument
168 this.addTask(id, priority, queue, task);
179 Scheduler.prototype.addTask = function (id, priority, queue, task) { argument
180 this.currentTcb = new TaskControlBlock(this.list, id, priority, queue, task);
260 function TaskControlBlock(link, id, priority, queue, task) { argument
265 this.task = task;
337 return this.task.run(packet);
345 TaskControlBlock.prototype.checkPriorityAdd = function (task, packet) { argument
349 if (this.priority > task.priority) return this;
353 return task;
[all …]
/cts/tests/tests/holo/src/android/holo/cts/
DThemeTestActivity.java66 int task = getIntent().getIntExtra(EXTRA_TASK, -1); in onCreate() local
67 switch (task) { in onCreate()
82 throw new IllegalArgumentException("Bad task: " + task); in onCreate()
93 mIterator = new AllThemesIterator(task, adapterMode); in onCreate()
95 mIterator = new SingleThemeLayoutIterator(themeIndex, layoutIndex, task, adapterMode); in onCreate()
97 mIterator = new SingleLayoutIterator(layoutIndex, task, adapterMode); in onCreate()
99 mIterator = new SingleThemeIterator(themeIndex, task, adapterMode); in onCreate()
DSingleThemeLayoutIterator.java32 SingleThemeLayoutIterator(int themeIndex, int layoutIndex, int task, int layoutAdapterMode) { in SingleThemeLayoutIterator() argument
35 mTask = task; in SingleThemeLayoutIterator()
DSingleLayoutIterator.java35 SingleLayoutIterator(int layoutIndex, int task, int layoutAdapterMode) { in SingleLayoutIterator() argument
36 mTask = task; in SingleLayoutIterator()
DSingleThemeIterator.java35 SingleThemeIterator(int themeIndex, int task, int layoutAdapterMode) { in SingleThemeIterator() argument
36 mTask = task; in SingleThemeIterator()
DAllThemesIterator.java36 AllThemesIterator(int task, int adapterMode) { in AllThemesIterator() argument
37 mTask = task; in AllThemesIterator()
DHoloTestUtilitiesActivity.java85 Task task = getListAdapter().getItem(position); in onListItemClick() local
86 switch (task.mTaskId) { in onListItemClick()
116 throw new IllegalArgumentException("Bad task id: " + task.mTaskId); in onListItemClick()
DLayoutTestActivity.java70 int task = getIntent().getIntExtra(EXTRA_TASK, -1); in onCreate() local
74 " mode:" + layoutMode + " task:" + task); in onCreate()
102 switch (task) { in onCreate()
/cts/suite/audio_quality/lib/include/
DReport.h41 void addCasePassed(const TaskCase* task);
42 void addCaseFailed(const TaskCase* task);
/cts/suite/audio_quality/lib/include/task/
DTaskSequential.h37 bool queueAsyncTask(TaskAsync* task);
DModelBuilder.h51 virtual bool parseAttributes(const TiXmlElement& elem, TaskGeneric& task);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java216 TimerTask task = new TimerTask() { in beginNotification() local
229 mNotificationTimer.schedule(task, 0, 1000); in beginNotification()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex48123 java.util.TimerTask task
51936 private final java.util.concurrent.Callable task
51989 private final java.util.concurrent.Callable task
52099 final java.lang.Runnable task