/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaPlayerStressTest.java | 62 private void writeTestOutput(String filename, Writer output) throws Exception{ in writeTestOutput() argument 63 output.write("File Name: " + filename); in writeTestOutput() 64 output.write(" Complete: " + CodecTest.mOnCompleteSuccess); in writeTestOutput() 65 output.write(" Error: " + CodecTest.mPlaybackError); in writeTestOutput() 66 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); in writeTestOutput() 67 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); in writeTestOutput() 68 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); in writeTestOutput() 69 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); in writeTestOutput() 70 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); in writeTestOutput() 71 output.write("\n"); in writeTestOutput() [all …]
|
D | MediaRecorderStressTest.java | 176 Writer output = new BufferedWriter(new FileWriter(stressOutFile, true)); in testStressCamera() local 177 output.write("Camera start preview stress:\n"); in testStressCamera() 178 output.write("Total number of loops:" + in testStressCamera() 182 output.write("No of loop: "); in testStressCamera() 206 output.write(" ," + i); in testStressCamera() 209 output.write("\n\n"); in testStressCamera() 210 output.close(); in testStressCamera() 220 Writer output = new BufferedWriter(new FileWriter(stressOutFile, true)); in testStressRecorder() local 226 output.write("No camera found. Skipping recorder stress test\n"); in testStressRecorder() 250 output.write("H263 video record- reset after prepare Stress test\n"); in testStressRecorder() [all …]
|
/cts/suite/audio_quality/test_description/processing/ |
D | playback_sample.py | 26 output = [] 38 output.append(RESULT_ERROR) 39 output.append(outputData) 40 output.append(outputTypes) 41 return output 52 output.append(RESULT_PASS) 54 output.append(RESULT_OK) 57 output.append(outputData) 58 output.append(outputTypes) 59 return output
|
D | playback_thd.py | 30 output = [] 42 output.append(RESULT_ERROR) 43 output.append(outputData) 44 output.append(outputTypes) 45 return output 55 output.append(RESULT_PASS) 57 output.append(RESULT_OK) 60 output.append(outputData) 61 output.append(outputTypes) 62 return output
|
D | recording_thd.py | 37 output = [] 51 output.append(RESULT_ERROR) 52 output.append(outputData) 53 output.append(outputTypes) 54 return output 69 output.append(RESULT_PASS) 71 output.append(RESULT_OK) 76 output.append(outputData) 77 output.append(outputTypes) 78 return output
|
D | gen_random.py | 63 output = [] 77 output.append(RESULT_ERROR) 78 output.append(outputData) 79 output.append(outputTypes) 80 return output 84 output.append(RESULT_OK) 87 output.append(outputData) 88 output.append(outputTypes) 89 return output
|
D | example.py | 41 output = [] 60 output.append(RESULT_OK) 61 output.append(outputData) 62 output.append(outputTypes) 64 return output
|
D | check_spectrum_playback.py | 70 output = [] 88 output.append(RESULT_ERROR) 89 output.append(outputData) 90 output.append(outputTypes) 91 return output 102 output.append(RESULT_PASS) 104 output.append(RESULT_OK) 111 output.append(outputData) 112 output.append(outputTypes) 113 return output
|
D | check_spectrum.py | 82 output = [] 103 output.append(RESULT_ERROR) 104 output.append(outputData) 105 output.append(outputTypes) 106 return output 136 output.append(RESULT_PASS) 138 output.append(RESULT_OK) 145 output.append(outputData) 146 output.append(outputTypes) 147 return output
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_AudioPolicyBinderTest.cpp | 34 static bool init(sp<IAudioPolicyService>& aps, audio_io_handle_t *output, int *session) in init() argument 37 if (output != NULL) { in init() 38 *output = AUDIO_IO_HANDLE_NONE; in init() 61 if (output != NULL) { in init() 64 *output = AudioSystem::getOutput((audio_stream_type_t)stream); in init() 65 if (*output != AUDIO_IO_HANDLE_NONE) { in init() 69 if (*output == AUDIO_IO_HANDLE_NONE) { in init() 93 audio_io_handle_t output; in android_security_cts_AudioPolicy_test_startOutput() local 96 if (!init(aps, &output, &session)) { in android_security_cts_AudioPolicy_test_startOutput() 100 status_t status = aps->startOutput(output, (audio_stream_type_t)(AUDIO_STREAM_MIN -1), in android_security_cts_AudioPolicy_test_startOutput() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | PresentationSyncTest.java | 89 InputSurface output = new InputSurface(holder.getSurface()); in testThroughput() local 90 mWidth = output.getWidth(); in testThroughput() 91 mHeight = output.getHeight(); in testThroughput() 93 output.makeCurrent(); in testThroughput() 98 long baseTimeNsec = runThroughputTest(output, 0L, -1.0f); in testThroughput() 127 runThroughputTest(output, refreshNsec, 1.0f); in testThroughput() 128 runThroughputTest(output, refreshNsec, 2.0f); in testThroughput() 129 runThroughputTest(output, refreshNsec, 4.0f); in testThroughput() 134 output.release(); in testThroughput() 145 private long runThroughputTest(InputSurface output, long frameTimeNsec, float mult) { in runThroughputTest() argument [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/differencevisualizers/ |
D | PassFailVisualizer.java | 31 int[] output = new int[ideal.length]; in getDifferences() local 32 for (int y = 0; y < output.length; y++) { in getDifferences() 34 output[y] = Color.WHITE; in getDifferences() 36 output[y] = Color.RED; in getDifferences() 39 return output; in getDifferences()
|
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/ |
D | Utils.java | 107 final String output = device.executeShellCommand("pm get-max-users"); in isMultiUserSupportedOnDevice() local 109 return Integer.parseInt(output.substring(output.lastIndexOf(" ")).trim()) > 1; in isMultiUserSupportedOnDevice() 111 throw new AssertionError("Failed to parse result: " + output); in isMultiUserSupportedOnDevice() 141 final String output = device.executeShellCommand("pm create-user " + name); in createUserOnDevice() local 142 if (output.startsWith("Success")) { in createUserOnDevice() 145 output.substring(output.lastIndexOf(" ")).trim()); in createUserOnDevice() 149 throw new AssertionError("Failed to parse result: " + output); in createUserOnDevice() 152 throw new AssertionError("Failed to create user: " + output); in createUserOnDevice() 159 final String output = device.executeShellCommand("pm remove-user " + userId); in removeUserOnDevice() local 160 if (output.startsWith("Error")) { in removeUserOnDevice() [all …]
|
/cts/suite/audio_quality/test_description/ |
D | processing_main.py | 40 output = [] 42 output.append(RESULT_OK) 43 output.append(inputData) 44 output.append(inputTypes) 45 return output 48 output = [] 49 output.append(RESULT_OK) 56 output.append(outputData) 57 output.append(outputTypes) 58 return output [all …]
|
/cts/libs/vogar-expect/src/vogar/ |
D | Outcome.java | 35 private final String output; field in Outcome 41 this.output = sanitizeOutputLines(outputLines); in Outcome() 48 this.output = sanitizeOutputLine(outputLine); in Outcome() 55 this.output = sanitizeOutputLine(outputLine); in Outcome() 62 this.output = sanitizeOutputLines(throwableToLines(throwable)); in Outcome() 91 return output; in getOutput() 95 return Arrays.asList(output.split("\n")); in getOutputLines() 156 && output.equals(outcome.output); in equals() 165 hashCode = 37 * hashCode + output.hashCode(); in hashCode() 170 return "Outcome[name=" + outcomeName + " output=" + output + "]"; in toString()
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
D | CtsXmlResultReporterTest.java | 151 String output = getOutput(); in testSinglePass() local 153 assertTrue(output.contains( in testSinglePass() 155 assertTrue(output.contains("<TestPackage name=\"\" appPackageName=\"run\" abi=\"" + in testSinglePass() 157 assertTrue(output.contains("<TestCase name=\"FooTest\" priority=\"\">")); in testSinglePass() 161 assertTrue(output.contains(testCaseTag)); in testSinglePass() 182 String output = getOutput(); in testSingleFail() local 184 assertTrue(output.contains( in testSingleFail() 189 assertTrue(output.contains(failureTag)); in testSingleFail() 193 assertFalse(output, output.contains(testLogTag)); in testSingleFail() 220 final String output = getOutput(); in testIncludeTestLogTags() local [all …]
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | WrappedGTestResultParser.java | 73 List<String> output = new ArrayList<String>(); in parseInstrumentation() local 88 output.add(line.replace("INSTRUMENTATION_STATUS: gtest=", "")); in parseInstrumentation() 99 output.add(line); in parseInstrumentation() 103 return output.toArray(new String[output.size()]); in parseInstrumentation()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | PackageSignatureTest.java | 120 ByteArrayOutputStream output = new ByteArrayOutputStream(); in getSignature() local 126 output.write(buffer, 0, numBytes); in getSignature() 128 return new Signature(output.toByteArray()); in getSignature() 131 output.close(); in getSignature() 159 FileOutputStream output = null; in writeSignature() local 161 output = new FileOutputStream(signatureFile); in writeSignature() 162 output.write(signatureBytes); in writeSignature() 164 if (output != null) { in writeSignature() 165 output.close(); in writeSignature()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni.cpp | 91 jbyte * output = (jbyte *) env->GetPrimitiveArrayCritical(outputByteArray, 0); in Java_android_cts_rscpp_RSBlurTest_blurTest() local 112 outputAlloc->copy2DRangeTo(0, 0, X, Y, output); in Java_android_cts_rscpp_RSBlurTest_blurTest() 115 env->ReleasePrimitiveArrayCritical(outputByteArray, output, 0); in Java_android_cts_rscpp_RSBlurTest_blurTest() 131 jbyte * output = (jbyte *) env->GetPrimitiveArrayCritical(outputByteArray, 0); in Java_android_cts_rscpp_RSConvolveTest_convolveTest() local 157 outputAlloc->copy2DRangeTo(0, 0, X, Y, output); in Java_android_cts_rscpp_RSConvolveTest_convolveTest() 160 env->ReleasePrimitiveArrayCritical(outputByteArray, output, 0); in Java_android_cts_rscpp_RSConvolveTest_convolveTest() 177 jbyte * output = (jbyte *) env->GetPrimitiveArrayCritical(outputByteArray, 0); in Java_android_cts_rscpp_RSLUTTest_lutTest() local 198 outputAlloc->copy2DRangeTo(0, 0, X, Y, output); in Java_android_cts_rscpp_RSLUTTest_lutTest() 201 env->ReleasePrimitiveArrayCritical(outputByteArray, output, 0); in Java_android_cts_rscpp_RSLUTTest_lutTest() 220 jbyte * output = (jbyte *) env->GetPrimitiveArrayCritical(outputByteArray, 0); in Java_android_cts_rscpp_RS3DLUTTest_lutTest() local [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | DeviceReportLog.java | 38 Bundle output = new Bundle(); in submit() local 39 output.putSerializable(RESULT, this); in submit() 40 instrumentation.sendStatus(INST_STATUS_IN_PROGRESS, output); in submit()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
D | RawConverter.java | 317 Allocation output = Allocation.createFromBitmap(rs, argbOutput); in convertToSRGB() local 355 converterKernel.forEach_convert_RAW_To_ARGB(output); in convertToSRGB() 356 output.copyTo(argbOutput); // Force RS sync with bitmap (does not do an extra copy). in convertToSRGB() 452 … private static void convertColorspaceTransform(ColorSpaceTransform xform, /*out*/float[] output) { in convertColorspaceTransform() argument 455 output[i * 3 + j] = xform.getElement(j, i).floatValue(); in convertColorspaceTransform() 635 private static void map(float[] matrix, float[] input, /*out*/float[] output) { in map() argument 636 output[0] = input[0] * matrix[0] + input[1] * matrix[1] + input[2] * matrix[2]; in map() 637 output[1] = input[0] * matrix[3] + input[1] * matrix[4] + input[2] * matrix[5]; in map() 638 output[2] = input[0] * matrix[6] + input[1] * matrix[7] + input[2] * matrix[8]; in map() 647 private static void multiply(float[] a, float[] b, /*out*/float[] output) { in multiply() argument [all …]
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | DeviceReportLog.java | 48 Bundle output = new Bundle(); in deliverReportToHost() local 49 output.putString(CTS_RESULT_KEY, report); in deliverReportToHost() 50 instrumentation.sendStatus(INST_STATUS_IN_PROGRESS, output); in deliverReportToHost()
|
/cts/hostsidetests/os/src/com/android/cts/app/os/ |
D | OsHostTests.java | 59 final String output = outputReceiver.getOutput(); in testNonExportedActivities() local 61 assertTrue(output.contains("Permission Denial") && output.contains(" not exported")); in testNonExportedActivities()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | BlockCipherTestBase.java | 659 byte[] output = update(new byte[getBlockSize()]); in assertUpdateDoesNotProduceOutputWhenInsufficientInput() 660 assertEquals(getBlockSize(), output.length); in assertUpdateDoesNotProduceOutputWhenInsufficientInput() 721 byte[] output = update(new byte[] {plaintext[plaintextIndex]}); in testKatEncryptOneByteAtATime() 722 assertEquals("plaintext index: " + plaintextIndex, 1, output.length); in testKatEncryptOneByteAtATime() 724 expectedCiphertext[plaintextIndex], output[0]); in testKatEncryptOneByteAtATime() 742 byte[] output = update(new byte[] {plaintext[plaintextIndex]}); in testKatEncryptOneByteAtATime() 751 output); in testKatEncryptOneByteAtATime() 754 assertEquals("plaintext index: " + plaintextIndex, null, output); in testKatEncryptOneByteAtATime() 756 if (output != null) { in testKatEncryptOneByteAtATime() 757 ciphertextIndex += output.length; in testKatEncryptOneByteAtATime() [all …]
|
/cts/hostsidetests/theme/ |
D | android_device.py | 48 (output, err) = self.runShellCommand("getprop dev.bootcomplete") 49 output = output.strip() 50 if output == "1":
|