/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | DevicePolicySafetyCheckerIntegrationTester.java | 93 for (int operation : OPERATIONS) { in testAllOperations() 94 safeOperationTest(dpm, admin, failures, operation, /* overloaded= */ false); in testAllOperations() 97 for (int operation : OVERLOADED_OPERATIONS) { in testAllOperations() 98 safeOperationTest(dpm, admin, failures, operation, /* overloaded= */ true); in testAllOperations() 101 for (int operation : getSafetyAwareOperations()) { in testAllOperations() 102 safeOperationTest(dpm, admin, failures, operation, /* overloaded= */ false); in testAllOperations() 105 for (int operation : getOverloadedSafetyAwareOperations()) { in testAllOperations() 106 safeOperationTest(dpm, admin, failures, operation, /* overloaded= */ true); in testAllOperations() 144 int operation = OPERATION_LOCK_NOW; in testUnsafeStateException() local 147 + ", operation=" + operationToString(operation)); in testUnsafeStateException() [all …]
|
D | OperationSafetyChangedCallback.java | 114 public OperationSafetyChangedEvent getNextEvent(int operation) { in getNextEvent() argument 126 + operationToString(operation) + " in " + TIMEOUT_MS + "ms on " + this; in getNextEvent()
|
/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 | 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 | 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 | 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 | 177 TestSensorOperation operation = new TestSensorOperation(mEnvironment, mExecutor); in clone() local 179 operation.addVerification(verification.clone()); in clone() 181 return operation; in clone() 384 WaitForUserOperation operation) { in createOperation() argument 391 operation.waitForUser(); in createOperation()
|
/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 | 290 TestSensorOperation operation = in runBatchingSensorTest() local 293 operation.addVerification( in runBatchingSensorTest() 300 operation.addVerification( in runBatchingSensorTest() 304 executeTest(environment, operation, false /* flushExpected */); in runBatchingSensorTest() 318 TestSensorOperation operation = TestSensorOperation in runFlushSensorTest() local 321 executeTest(environment, operation, true /* flushExpected */); in runFlushSensorTest() 326 TestSensorOperation operation, in executeTest() argument 329 operation.addDefaultVerifications(); in executeTest() 332 operation.execute(getCurrentTestNode()); in executeTest() 334 SensorStats stats = operation.getStats(); in executeTest()
|
D | SensorTest.java | 658 TestSensorOperation operation = TestSensorOperation.createOperation( in verifyLongActivation() local 663 operation.addVerification(ContinuousEventSanitizedVerification in verifyLongActivation() 666 operation.addVerification(EventGapVerification.getDefault(environment)); in verifyLongActivation() 667 operation.addVerification(EventOrderingVerification.getDefault(environment)); in verifyLongActivation() 668 operation.addVerification(EventTimestampSynchronizationVerification in verifyLongActivation() 672 operation.execute(getCurrentTestNode()); in verifyLongActivation() 706 TestSensorOperation operation = new TestSensorOperation(environment, executor, handler); in verifyRegisterListenerCallFlush() local 709 operation.execute(getCurrentTestNode()); in verifyRegisterListenerCallFlush()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | BatchingTestActivity.java | 133 TestSensorOperation operation = in runBatchTest() local 140 operation.addVerification(verification); in runBatchTest() 142 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/telephony/current/src/android/telephony/ims/cts/ |
D | TestRcsCapabilityExchangeImpl.java | 70 public void setPublishOperator(PublishOperation operation) { in setPublishOperator() argument 71 mPublishOperation = operation; in setPublishOperator() 78 public void setOptionsOperation(OptionsOperation operation) { in setOptionsOperation() argument 79 mOptionsOperation = operation; in setOptionsOperation()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Utils.java | 51 public static void enableAppOps(String packageName, String operation, in enableAppOps() argument 53 setAppOps(packageName, operation, instrumentation, true); in enableAppOps() 56 public static void disableAppOps(String packageName, String operation, in disableAppOps() argument 58 setAppOps(packageName, operation, instrumentation, false); in disableAppOps() 82 private static void setAppOps(String packageName, String operation, in setAppOps() argument 88 cmd.append(operation); in setAppOps() 96 query.append(operation); in setAppOps()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | PerformanceTestBase.java | 164 KeystoreKeyGenerator generator, String operation, int keySize, int messageSize) in KeystoreMeasurable() argument 169 mName = (operation in KeystoreMeasurable() 174 mName = (operation in KeystoreMeasurable() 182 KeystoreMeasurable(KeystoreKeyGenerator generator, String operation, int keySize) in KeystoreMeasurable() argument 184 this(generator, operation, keySize, -1); in KeystoreMeasurable()
|
/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/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | DevicePolicySafetyCheckerIntegrationTest.java | 143 protected void runOperation(DevicePolicyManager dpm, ComponentName admin, int operation, 145 switch (operation) { 237 throwUnsupportedOperationException(operation, overloaded);
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/ |
D | DevicePolicy.java | 240 Runnable operation, Runnable terminalCheck, in retryIfNotTerminal() argument 245 operation.run(); in retryIfNotTerminal() 256 operation.run(); in retryIfNotTerminal() 266 operation.run(); in retryIfNotTerminal()
|
/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/contactsprovider/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/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | Utils.java | 155 int sensorId, int operation) { in numberOfSpecifiedOperations() argument 160 if (i == operation) { in numberOfSpecifiedOperations()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 433 Operation operation) { in assertThrows() argument 435 operation.run(); in assertThrows()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/ |
D | poc.cpp | 116 const sp<VolumeShaper::Operation> &operation) { in applyVolumeShaper() argument
|