Home
last modified time | relevance | path

Searched refs:work (Results 1 – 10 of 10) sorted by relevance

/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DEnqueueJobWorkTest.java79 JobWorkItem work = received.get(i); in compareWork() local
88 + work); in compareWork()
90 if (!intentEquals(work.getIntent(), expectedArray.get(i).intent)) { in compareWork()
91 … fail("Received work #" + i + " " + work.getIntent() + " but expected " + expected[i]); in compareWork()
93 if (work.getDeliveryCount() != expectedArray.get(i).deliveryCount) { in compareWork()
94 fail("Received work #" + i + " " + work.getIntent() + " delivery count is " in compareWork()
95 + work.getDeliveryCount() + " but expected " in compareWork()
110 TestWorkItem[] work = new TestWorkItem[] { new TestWorkItem(work1) }; in testEnqueueOneWork() local
112 kTestEnvironment.setExpectedWork(work); in testEnqueueOneWork()
117 compareWork(work, kTestEnvironment.getLastReceivedWork()); in testEnqueueOneWork()
[all …]
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DMockJobService.java103 JobWorkItem work; in onStartJob() local
105 while ((work = params.dequeueWork()) != null) { in onStartJob()
106 Log.i(TAG, "Received work #" + index + ": " + work.getIntent()); in onStartJob()
107 mReceivedWork.add(work); in onStartJob()
113 int grantFlags = work.getIntent().getFlags(); in onStartJob()
198 mPendingCompletions.add(work); in onStartJob()
200 mPendingCompletions.add(0, work); in onStartJob()
202 mParams.completeWork(work); in onStartJob()
227 if ((work = params.dequeueWork()) != null) { in onStartJob()
230 "Expected no remaining work after dequeue pending, but got: " + work); in onStartJob()
[all …]
/cts/tests/JobScheduler/src/android/jobscheduler/
DMockJobService.java103 JobWorkItem work; in onStartJob() local
105 while ((work = params.dequeueWork()) != null) { in onStartJob()
106 Log.i(TAG, "Received work #" + index + ": " + work.getIntent()); in onStartJob()
107 mReceivedWork.add(work); in onStartJob()
113 int grantFlags = work.getIntent().getFlags(); in onStartJob()
198 mPendingCompletions.add(work); in onStartJob()
200 mPendingCompletions.add(0, work); in onStartJob()
202 mParams.completeWork(work); in onStartJob()
227 if ((work = params.dequeueWork()) != null) { in onStartJob()
230 "Expected no remaining work after dequeue pending, but got: " + work); in onStartJob()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DLaunchRunner.java172 LaunchSequence.LaunchSequenceExecutionInfo work = launch.fold(); in run() local
175 if (work.setup.isEmpty() || work.acts.isEmpty()) { in run()
180 LaunchFromIntent firstIntent = work.setup.get(0); in run()
187 for (int i = 1; i < work.setup.size(); i++) { in run()
188 LaunchFromIntent launchFromIntent = work.setup.get(i); in run()
199 for (LaunchFromIntent launchFromIntent : work.acts) { in run()
/cts/tests/tests/telecom/src/android/telecom/cts/
DVideoCallTest.java718 final int expectedVideoQuality, final Work work) { in assertVideoQualityReceived() argument
720 work, in assertVideoQualityReceived()
745 final int expectedEvent, final Work work) { in assertCallSessionEventReceived() argument
747 work, in assertCallSessionEventReceived()
772 final int expectedWidth, final Work work) { in assertPeerWidthChanged() argument
774 work, in assertPeerWidthChanged()
956 final int expected, final Work work) { in assertRequestVideoProfileReceived() argument
958 work, in assertRequestVideoProfileReceived()
DBaseTelecomTestWithMockServices.java1789 void doWorkAndWaitUntilConditionIsTrueOrTimeout(Work work, Condition condition, long timeout, in doWorkAndWaitUntilConditionIsTrueOrTimeout() argument
1792 work.doWork(); in doWorkAndWaitUntilConditionIsTrueOrTimeout()
1796 work.doWork(); in doWorkAndWaitUntilConditionIsTrueOrTimeout()
/cts/tests/tests/content/BinderPermissionTestService/
DREADME.txt4 work correctly.
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dcamera_response_fast.rsh20 // The typical work flow is to first remove the response from a photograph,
Dcamera_response.rsh20 // The typical work flow is to first remove the response from a photograph,
/cts/hostsidetests/theme/
DREADME109 native density; however, many of the tests will also work in a scaled density.