Home
last modified time | relevance | path

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

12

/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/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/
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/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/src/android/media/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.py181 for step in range(1, len(reqs)):
182 sens_prev, _ = settings[step - 1]
183 sens, sens_boost = settings[step]
186 ratio_per_step = raw_means[step-1][ch] / raw_means[step][ch]
188 step - 1, step, _COLORS[ch], raw_means[step - 1][ch],
189 raw_means[step][ch], ratio_per_step)
190 if raw_means[step][ch] <= _RAW_PIXEL_THRESH:
205 for step in range(len(vals)):
206 ratio_mean = vals[step] / mean
/cts/tests/tests/view/src/android/view/cts/
DVelocityTrackerTest.java183 private void move(long duration, long step) { in move() argument
186 duration -= step; in move()
187 mTime += step; in move()
188 mPx += (mAx / 2 * step + mVx) * step; in move()
189 mPy += (mAy / 2 * step + mVy) * step; in move()
190 mVx += mAx * step; in move()
191 mVy += mAy * step; in move()
/cts/apps/CameraITS/utils/
Dsensor_fusion_utils.py373 def _generate_pwl_waveform(self, pts, step, amplitude): argument
376 for t in range(pts[0], pts[1], step):
378 for t in range(pts[1], pts[2], step):
380 for t in range(pts[2], pts[3], step):
382 for t in range(pts[3], pts[4], step):
384 for t in range(pts[4], pts[5], step):
386 for t in range(pts[5], pts[6], step):
388 for t in range(pts[6], pts[7], step):
390 for t in range(pts[7], pts[8], step):
392 for t in range(pts[8], pts[9], step):
/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/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsAnimationTestBase.java128 assertListElements(steps, step -> step.fraction, in assertAnimationSteps()
130 assertListElements(steps, step -> step.interpolatedFraction, in assertAnimationSteps()
132 assertListElements(steps, step -> step.alpha, alpha -> alpha >= 0f); in assertAnimationSteps()
133 assertListElements(steps, step -> step.insets, compareInsets(types, showAnimation)); in assertAnimationSteps()
/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/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/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestLib.java32 public static native void step(); in step() method in GLtestLib
/cts/tests/tests/media/aidl/android/media/cts/
DIRemoteService.aidl22 boolean run(int testId, int step, in Bundle args); in run() argument
/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()
/cts/tests/tests/opengl/src/android/opengl/cts/
DGL2JniLibOne.java25 public static native void step(); in step() method in GL2JniLibOne
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestHelper.java41 public PowerPolicyTestHelper(String testcase, String step, in PowerPolicyTestHelper() argument
44 mStep = step; in PowerPolicyTestHelper()
/cts/tests/tests/util/src/android/util/cts/
DEventLogTest.java145 for (int step = 1; step < 256; step += 2) { // all odds are relatively prime to 256 in testOversizeStringMayBeTruncated()
147 longBuilder.append(String.valueOf((char) (((step * i) % 256) + 1))); // never emit 0 in testOversizeStringMayBeTruncated()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java101 final double step = twoPi / NUM_STEPS; in verifyColors() local
104 for (double rad = step; rad <= twoPi - step; rad += step) { in verifyColors()
/cts/apps/CameraITS/tests/scene1_1/
Dtest_ev_compensation_advanced.py76 ev_shifts = [pow(2, step * ev_per_step) for step in ev_steps]
/cts/tests/tests/view/src/android/view/animation/cts/
DLayoutAnimationControllerTest.java286 long step = duration / 4;
288 animation.getTransformation(baseTime + step * 1, transformation);
290 animation.getTransformation(baseTime + step * 2, transformation);
292 animation.getTransformation(baseTime + step * 3, transformation);
294 animation.getTransformation(baseTime + step * 4, transformation);
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSweepTests.java135 } while (modifierAccessor.step()); in sweepModifiersForMask()

12