/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | SequentialSensorOperation.java | 38 for (SensorOperation operation : operations) { in add() 39 if (operation == null) { in add() 42 mOperations.add(operation); in add() 54 SensorOperation operation = mOperations.get(i); in execute() local 56 operation.execute(currentNode); in execute() 62 addSensorStats(STATS_TAG, i, operation.getStats()); in execute() 72 SequentialSensorOperation operation = new SequentialSensorOperation(); in clone() local 74 operation.add(subOperation.clone()); in clone() 76 return operation; in clone()
|
D | ParallelSensorOperation.java | 71 for (SensorOperation operation : operations) { in add() 72 if (operation == null) { in add() 75 mOperations.add(operation); in add() 97 for (final SensorOperation operation : mOperations) { in execute() 101 operation.execute(currentNode); in execute() 102 return operation; in execute() 120 SensorOperation operation = getFutureResult(future, executionTimeNs); in execute() local 121 addSensorStats(STATS_TAG, i, operation.getStats()); in execute() 154 ParallelSensorOperation operation = new ParallelSensorOperation(); in clone() local 156 operation.add(subOperation.clone()); in clone() [all …]
|
D | RepeatingSensorOperation.java | 39 public RepeatingSensorOperation(SensorOperation operation, int iterations) { in RepeatingSensorOperation() argument 40 if (operation == null) { in RepeatingSensorOperation() 43 mOperation = operation; in RepeatingSensorOperation() 55 SensorOperation operation = mOperation.clone(); in execute() local 57 operation.execute(new TestNode(currentNode, i)); in execute() 63 addSensorStats(STATS_TAG, i, operation.getStats()); in execute()
|
D | WakeLockOperation.java | 42 public WakeLockOperation(SensorOperation operation, Context context, int wakeLockFlags) { in WakeLockOperation() argument 43 super(operation.getStats()); in WakeLockOperation() 44 mOperation = operation; in WakeLockOperation() 55 public WakeLockOperation(SensorOperation operation, Context context) { in WakeLockOperation() argument 56 this(operation, context, PowerManager.PARTIAL_WAKE_LOCK); in WakeLockOperation()
|
D | DelaySensorOperation.java | 40 public DelaySensorOperation(SensorOperation operation, long delay, TimeUnit timeUnit) { in DelaySensorOperation() argument 41 super(operation.getStats()); in DelaySensorOperation() 42 mOperation = operation; in DelaySensorOperation()
|
D | AlarmOperation.java | 64 SensorOperation operation, in AlarmOperation() argument 68 super(operation.getStats()); in AlarmOperation() 69 mOperation = operation; in AlarmOperation()
|
D | SensorOperation.java | 100 public SensorTestNode(ISensorTestNode parent, SensorOperation operation) { in SensorTestNode() argument 102 mOperation = operation; in SensorTestNode()
|
D | TestSensorOperation.java | 169 TestSensorOperation operation = new TestSensorOperation(mEnvironment, mExecutor); in clone() local 171 operation.addVerification(verification.clone()); in clone() 173 return operation; in clone()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorIntegrationTests.java | 79 ParallelSensorOperation operation = new ParallelSensorOperation(); in testSensorsWithSeveralClients() local 89 operation.add(new RepeatingSensorOperation(continuousOperation, ITERATIONS)); in testSensorsWithSeveralClients() 102 operation.add(new RepeatingSensorOperation(batchingOperation, ITERATIONS)); in testSensorsWithSeveralClients() 104 operation.execute(getCurrentTestNode()); in testSensorsWithSeveralClients() 105 operation.getStats().log(TAG); in testSensorsWithSeveralClients() 135 ParallelSensorOperation operation = new ParallelSensorOperation(); in testSensorsMovingRates() local 158 operation.add(sequentialOperation); in testSensorsMovingRates() 162 operation.execute(getCurrentTestNode()); in testSensorsMovingRates() 163 operation.getStats().log(TAG); in testSensorsMovingRates() 249 ParallelSensorOperation operation = new ParallelSensorOperation(); in verifySensorReconfigureWhileActive() local [all …]
|
D | SensorBatchingTests.java | 289 TestSensorOperation operation = in runBatchingSensorTest() local 292 operation.addVerification( in runBatchingSensorTest() 298 executeTest(environment, operation, false /* flushExpected */); in runBatchingSensorTest() 312 TestSensorOperation operation = TestSensorOperation in runFlushSensorTest() local 315 executeTest(environment, operation, true /* flushExpected */); in runFlushSensorTest() 320 TestSensorOperation operation, in executeTest() argument 323 operation.addDefaultVerifications(); in executeTest() 326 operation.execute(getCurrentTestNode()); in executeTest() 328 SensorStats stats = operation.getStats(); in executeTest()
|
D | SensorTest.java | 607 TestSensorOperation operation = TestSensorOperation.createOperation( in verifyLongActivation() local 612 operation.addVerification(ContinuousEventSanitizedVerification in verifyLongActivation() 615 operation.addVerification(EventGapVerification.getDefault(environment)); in verifyLongActivation() 616 operation.addVerification(EventOrderingVerification.getDefault(environment)); in verifyLongActivation() 617 operation.addVerification(EventTimestampSynchronizationVerification in verifyLongActivation() 621 operation.execute(getCurrentTestNode()); in verifyLongActivation() 655 TestSensorOperation operation = new TestSensorOperation(environment, executor, handler); in verifyRegisterListenerCallFlush() local 658 operation.execute(getCurrentTestNode()); in verifyRegisterListenerCallFlush()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | BatchingTestActivity.java | 138 TestSensorOperation operation = in runBatchTest() local 140 return executeTest(operation); in runBatchTest() 158 TestSensorOperation operation = TestSensorOperation in runFlushTest() local 160 return executeTest(operation); in runFlushTest() 163 private String executeTest(TestSensorOperation operation) throws Exception { in executeTest() argument 164 operation.addDefaultVerifications(); in executeTest() 165 operation.execute(getCurrentTestNode()); in executeTest()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Utils.java | 50 public static void enableAppOps(String packageName, String operation, in enableAppOps() argument 52 setAppOps(packageName, operation, instrumentation, true); in enableAppOps() 55 public static void disableAppOps(String packageName, String operation, in disableAppOps() argument 57 setAppOps(packageName, operation, instrumentation, false); in disableAppOps() 81 private static void setAppOps(String packageName, String operation, in setAppOps() argument 87 cmd.append(operation); in setAppOps() 95 query.append(operation); in setAppOps()
|
D | VolumeShaperTest.java | 530 for (VolumeShaper.Operation operation : ALL_STANDARD_OPERATIONS) { in testVolumeShaperOperationParcelable() 532 0 /* expected */, operation.describeContents()); in testVolumeShaperOperationParcelable() 535 operation.writeToParcel(srcParcel, 0 /* flags */); in testVolumeShaperOperationParcelable() 547 operation, restoredOperation); in testVolumeShaperOperationParcelable()
|
/cts/hostsidetests/statsd/ |
D | PROCSTATSQ_PROCS_STATE_TOP_DURATION.pbtxt | 25 operation: NOT 55 operation: OR
|
D | PROCSTATSQ_PROCS_STATE_CACHED_EMPTY_DURATION.pbtxt | 25 operation: NOT
|
/cts/tests/tests/effect/src/android/effect/cts/ |
D | GLEnv.java | 101 public void checkForEGLErrors(String operation) { in checkForEGLErrors() argument 105 throw new RuntimeException("Operation '" + operation + "' caused EGL error: " + error); in checkForEGLErrors()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | float16_gen.c | 225 void printReferenceOutput(const char *fieldName, operation_t operation, in printReferenceOutput() argument 236 result = operation(input[x].value, input[y].value); in printReferenceOutput()
|
D | Float16ArithmeticTest.java | 84 String operation) in checkFloat16Output() argument 115 message.append("Incorrect output for float16 " + operation + ":"); in checkFloat16Output()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_AllUriTest.java | 607 private void checkExecutable(String operation, Uri uri, boolean shouldWork, Runnable r) { in checkExecutable() argument 612 addFailure(operation + " for '" + uri + "' failed: " + e.getMessage(), e); in checkExecutable() 617 addFailure(operation + " for '" + uri + "' NOT failed.", null); in checkExecutable()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/ |
D | poc.cpp | 114 const sp<VolumeShaper::Operation> &operation) { in applyVolumeShaper() argument
|