Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 55) sorted by relevance

123

/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DTestSequence.java37 .flatMap(step -> step.createUiElements().stream()) in init()
56 .filter(step -> !step.hasPassed()) in getFailureDetails()
57 .map(step -> step.getFailureDetails()) in getFailureDetails()
63 boolean allTestStepsPass = steps.stream().allMatch(step -> step.hasPassed()); in onAllStepsDone()
/cts/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(HOST_OUT_INTERMEDIATES)/EXECUTABLES/vm-tests-tf_intermediates)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/host/common/obj/JAVA_LIBRARIES/cts-tradefed_intermediates/…
49 $(call add-clean-step, rm -rf $(HOST_OUT)/cts/android-cts/testcases/CtsUiHostTestCases*)
50 $(call add-clean-step, rm -rf $(HOST_OUT)/cts_instant/android-cts_instant/testcases/CtsJobScheduler…
51 $(call add-clean-step, rm -rf $(HOST_OUT)/cts_instant/android-cts_instant/testcases/CtsUiHostTestCa…
52 $(call add-clean-step, rm -rf $(HOST_OUT)/cts_instant/android-cts_instant/testcases/CtsDpiTestCases…
53 $(call add-clean-step, rm -rf $(HOST_OUT_INTERMEDIATES)/JAVA_LIBRARIES/CtsSecurityHostTestCases_int…
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestStep.rscript26 return step(inEdge, inV);
31 return step(inEdge, inV);
36 return step(inEdge, inV);
41 return step(inEdge, inV);
46 return step(inEdge, inV);
51 return step(inEdge, inV);
56 return step(inEdge, inV);
61 return step(inEdge, inV);
66 return step(inEdge, inV);
71 return step(inEdge, inV);
[all …]
/cts/tests/app/app/src/android/app/stubs/
DSearchManagerStubActivity.java75 public boolean doStep(int step) throws FailException { in testOnCancelListener() argument
76 switch (step) { in testOnCancelListener()
89 throw new IllegalArgumentException("Bad step " + step); in testOnCancelListener()
106 public boolean doStep(int step) throws FailException { in testOnDismissListener() argument
107 switch (step) { in testOnDismissListener()
126 throw new IllegalArgumentException("Bad step " + step); in testOnDismissListener()
135 public boolean doStep(int step) throws FailException { in testStopSearch() argument
136 switch (step) { in testStopSearch()
149 throw new IllegalArgumentException("Bad step " + step); in testStopSearch()
226 protected abstract boolean doStep(int step) throws FailException; in doStep() argument
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSessionTestService.java113 public void onRun(int testId, int step, @Nullable Bundle args) throws Exception { in onRun() argument
115 if (step == STEP_SET_UP) { in onRun()
117 } else if (step == STEP_CHECK) { in onRun()
119 } else if (step == STEP_CLEAN_UP) { in onRun()
122 throw new IllegalArgumentException("Unknown step=" + step); in onRun()
125 if (step == STEP_SET_UP) { in onRun()
127 } else if (step == STEP_CHECK) { in onRun()
129 } else if (step == STEP_CLEAN_UP) { in onRun()
132 throw new IllegalArgumentException("Unknown step=" + step); in onRun()
DRemoteService.java79 public abstract void onRun(int testId, int step, @Nullable Bundle args) throws Exception; in onRun() argument
108 public boolean run(int testId, int step, Bundle args) throws RemoteException { in run() argument
109 return runOnHandlerSync(() -> onRun(testId, step, args)); in run()
173 public void run(int step) throws RemoteException { in run() argument
174 run(step, null); in run()
184 public void run(int step, @Nullable Bundle args) throws RemoteException { in run() argument
185 assertTrue(ASSERTION_MESSAGE, mBinder.run(mTestId, step, args)); in run()
DMediaBrowserServiceTestService.java96 public void onRun(int testId, int step, @Nullable Bundle args) throws Exception { in onRun() argument
98 if (step == STEP_SET_UP) { in onRun()
100 } else if (step == STEP_CHECK) { in onRun()
102 } else if (step == STEP_CLEAN_UP) { in onRun()
105 throw new IllegalArgumentException("Unknown step=" + step); in onRun()
/cts/apps/CameraITS/tests/scene1_2/
Dtest_post_raw_sensitivity_boost.py182 for step in range(1, len(reqs)):
183 sens_prev, _ = settings[step - 1]
184 sens, sens_boost = settings[step]
187 ratio_per_step = raw_means[step-1][ch] / raw_means[step][ch]
189 step - 1, step, _COLORS[ch], raw_means[step - 1][ch],
190 raw_means[step][ch], ratio_per_step)
191 if raw_means[step][ch] <= _RAW_PIXEL_THRESH:
207 for step in range(len(vals)):
208 ratio_mean = vals[step] / mean
/cts/apps/CameraITS/utils/
Dsensor_fusion_utils_tests.py31 def _generate_pwl_waveform(self, pts, step, amplitude): argument
34 for t in range(pts[0], pts[1], step):
36 for t in range(pts[1], pts[2], step):
38 for t in range(pts[2], pts[3], step):
40 for t in range(pts[3], pts[4], step):
42 for t in range(pts[4], pts[5], step):
44 for t in range(pts[5], pts[6], step):
46 for t in range(pts[6], pts[7], step):
48 for t in range(pts[7], pts[8], step):
50 for t in range(pts[8], pts[9], step):
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteRawStatementTest.java142 for (int i = 0; s.step() && i < 5; i++) { in testSingleTransaction()
165 for (int i = 0; s.step() && i < 5; i++) { in testMultipleTransactions()
166 boolean r = t.step(); in testMultipleTransactions()
171 assertFalse(t.step()); in testMultipleTransactions()
199 boolean r = s.step(); in testInsert()
209 assertFalse(s.step()); in testInsert()
222 boolean r = s.step(); in testInsert()
237 assertTrue(s.step()); in testInsert()
258 assertFalse(s.step()); in testInsert()
269 assertTrue(s.step()); in testInsert()
[all …]
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DStep.java111 Step<E> step; in execute() local
113 step = stepClass.newInstance(); in execute()
125 if (sAutomator.canAutomate(step)) { in execute()
131 E returnValue = sAutomator.automate(step); in execute()
134 Log.i(LOG_TAG, "Succeeded with automatic resolution of " + step); in execute()
143 Log.e(LOG_TAG, "Error attempting automation of " + step, t); in execute()
157 .terminalValue((b) -> step.hasFailed()) in execute()
186 Log.i(LOG_TAG, "No automation for " + step); in execute()
191 if (!step.getValue().isPresent() && !step.hasFailed()) { in execute()
193 step.interact(); in execute()
[all …]
DAutomator.java233 public boolean canAutomate(Step step) { in canAutomate() argument
236 return (mAutomationClasses.containsKey(step.getClass().getCanonicalName())); in canAutomate()
244 public <E> E automate(Step<E> step) throws Exception { in automate() argument
246 return ((Automation<E>)mAutomationClasses.get(step.getClass().getCanonicalName())) in automate()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/steps/
DCompositionStep.java52 for (Class<? extends Step<Nothing>> step : mSteps) { in interact()
54 Step.execute(step); in interact()
59 "Error while executing " + step.getCanonicalName() in interact()
/cts/tests/input/src/android/input/cts/
DVelocityTrackerTest.kt257 private fun move(duration: Long, step: Long) { in move()
261 remainingDuration -= step in move()
262 mTime += step in move()
264 mPx += (mAx / 2 * step + mVx) * step in move()
265 mPy += (mAy / 2 * step + mVy) * step in move()
270 mScroll = (mAscroll / 2 * step + mVscroll) * step in move()
272 mVx += mAx * step in move()
273 mVy += mAy * step in move()
274 mVscroll += mAscroll * step in move()
/cts/hostsidetests/multidevices/
DREADME.md3 Refer to go/cts-multi-device-module for step-by-step instructions on creating
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tunnelmode/
DVolumeLevelChangesActivity.java107 private void process(int step) { in process() argument
108 switch (step) { in process()
125 boolean shouldUseTunnelMode = (step == STEP_ASK_USER_ABOUT_TUNNEL_VOLUME); in process()
160 private int getNextStep(int step) { in getNextStep() argument
161 switch (step) { in getNextStep()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/
DModeSwitchingTestActivity.java184 boolean allTestStepsPass = mSteps.stream().allMatch(step -> step.hasPassed()); in onAllStepsDone()
253 .filter(step -> !step.hasPassed()) in getTestDetails()
254 .map(step -> step.getFailureDetails()) in getTestDetails()
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestLib.java32 public static native void step(); in step() method in GLtestLib
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowInsetsAnimationTestBase.java136 assertListElements(steps, step -> step.fraction, in assertAnimationSteps()
138 assertListElements(steps, step -> step.interpolatedFraction, in assertAnimationSteps()
140 assertListElements(steps, step -> step.alpha, alpha -> alpha >= 0f); in assertAnimationSteps()
141 assertListElements(steps, step -> step.insets, compareInsets(types, showAnimation)); in assertAnimationSteps()
/cts/tests/tests/media/bettertogether/aidl/android/media/bettertogether/cts/
DIRemoteService.aidl22 boolean run(int testId, int step, in Bundle args); in run() argument
/cts/tests/tests/opengl/src/android/opengl/cts/
DGL2JniLibOne.java25 public static native void step(); in step() method in GL2JniLibOne
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java183 int step = 1; in getInstruction() local
185 step = sTestCount.get(widgetId) + 1; in getInstruction()
190 title = "Step " + step + ": Verify dimensions"; in getInstruction()
196 title = "Step " + step + ": Verify resizeability"; in getInstruction()
209 title = "Step " + step + ": Verify collections"; in getInstruction()
213 title = "Step " + step + ": Verify category"; in getInstruction()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java134 Step step = mSteps.get(mCurrentStep); in onClick() local
136 switch (step.task.getStatus()) { in onClick()
138 step.task.execute(); in onClick()
153 step.task.cancel(false); in onClick()
201 final Step step = mSteps.get(mCurrentStep); in updateUi() local
202 if (step.task.getStatus() == AsyncTask.Status.PENDING) { in updateUi()
203 mInstructionView.setText(step.instructionTextId); in updateUi()
205 mSkipButton.setVisibility(step.skippable ? View.VISIBLE : View.INVISIBLE); in updateUi()
/cts/tests/camera/src/android/hardware/camera2/cts/
DZoomCaptureTest.java144 for (int step = 0; step < (ZOOM_RATIO_STEPS - 1); step++) { in test10bitLogicalZoomCapture()
145 candidateZoomRatios.add(step, zoomRatioRange.getLower() + step * zoomStep); in test10bitLogicalZoomCapture()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMotionIndicatorView.java339 RangeCoveredRegister(int low, int high, int step) { in RangeCoveredRegister() argument
341 mStep = step; in RangeCoveredRegister()
347 RangeCoveredRegister(int step) { in RangeCoveredRegister() argument
349 mStep = step; in RangeCoveredRegister()

123