/cts/tests/tests/media/libmediandkjni/ |
D | md5_utils.cpp | 79 memcpy((md5byte *)ctx->in + 64 - t, buf, len); in MD5Update() 84 memcpy((md5byte *)ctx->in + 64 - t, buf, t); in MD5Update() 85 byteSwap(ctx->in, 16); in MD5Update() 86 MD5Transform(ctx->buf, ctx->in); in MD5Update() 92 memcpy(ctx->in, buf, 64); in MD5Update() 93 byteSwap(ctx->in, 16); in MD5Update() 94 MD5Transform(ctx->buf, ctx->in); in MD5Update() 100 memcpy(ctx->in, buf, len); in MD5Update() 110 md5byte *p = (md5byte *)ctx->in + count; in MD5Final() 120 byteSwap(ctx->in, 16); in MD5Final() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | KernelTest.java | 65 Allocation in = Allocation.createTyped(mRS, t); in testForEach() local 68 kernel_all.forEach_test_i8(in, out); in testForEach() 71 kernel_all.forEach_test_i8(in, badOut); in testForEach() 76 in.destroy(); in testForEach() 81 in = Allocation.createTyped(mRS, t); in testForEach() 84 kernel_all.forEach_test_i8_2(in, out); in testForEach() 87 kernel_all.forEach_test_i8_2(in, badOut); in testForEach() 92 in.destroy(); in testForEach() 97 in = Allocation.createTyped(mRS, t); in testForEach() 100 kernel_all.forEach_test_i8_3(in, out); in testForEach() [all …]
|
D | ForEachTest.java | 65 Allocation in = Allocation.createTyped(mRS, t); in testForEach() local 68 fe_all.forEach_test_i8(in, out); in testForEach() 71 fe_all.forEach_test_i8(in, badOut); in testForEach() 76 in.destroy(); in testForEach() 81 in = Allocation.createTyped(mRS, t); in testForEach() 84 fe_all.forEach_test_i8_2(in, out); in testForEach() 87 fe_all.forEach_test_i8_2(in, badOut); in testForEach() 92 in.destroy(); in testForEach() 97 in = Allocation.createTyped(mRS, t); in testForEach() 100 fe_all.forEach_test_i8_3(in, out); in testForEach() [all …]
|
D | CoreMathVerifier.java | 241 Target.Floaty in = t.newFloaty(d); in acos() local 243 Math.acos(in.mid()), in acos() 244 Math.acos(in.min()), in acos() 245 Math.acos(in.max())); in acos() 250 Target.Floaty in = t.new32(f); in acos() local 252 acos(in.mid32()), in acos() 253 acos(in.min32()), in acos() 254 acos(in.max32())); in acos() 260 Target.Floaty in = t.newFloaty(d); in acosh() local 262 acosh((float) in.mid()), in acosh() [all …]
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/api/1/test_package/ |
D | ITest.aidl | 22 ParcelFileDescriptor RepeatFd(in ParcelFileDescriptor fd); in RepeatFd() 23 @nullable ParcelFileDescriptor RepeatNullableFd(in @nullable ParcelFileDescriptor fd); in RepeatNullableFd() 26 test_package.RegularPolygon RepeatPolygon(in test_package.RegularPolygon value); in RepeatPolygon() 28 boolean[] RepeatBooleanArray(in boolean[] input, out boolean[] repeated); in RepeatBooleanArray() 29 byte[] RepeatByteArray(in byte[] input, out byte[] repeated); in RepeatByteArray() 30 char[] RepeatCharArray(in char[] input, out char[] repeated); in RepeatCharArray() 31 int[] RepeatIntArray(in int[] input, out int[] repeated); in RepeatIntArray() 32 long[] RepeatLongArray(in long[] input, out long[] repeated); in RepeatLongArray() 33 float[] RepeatFloatArray(in float[] input, out float[] repeated); in RepeatFloatArray() 34 double[] RepeatDoubleArray(in double[] input, out double[] repeated); in RepeatDoubleArray() [all …]
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/api/2/test_package/ |
D | ITest.aidl | 22 ParcelFileDescriptor RepeatFd(in ParcelFileDescriptor fd); in RepeatFd() 23 @nullable ParcelFileDescriptor RepeatNullableFd(in @nullable ParcelFileDescriptor fd); in RepeatNullableFd() 26 test_package.RegularPolygon RepeatPolygon(in test_package.RegularPolygon value); in RepeatPolygon() 28 boolean[] RepeatBooleanArray(in boolean[] input, out boolean[] repeated); in RepeatBooleanArray() 29 byte[] RepeatByteArray(in byte[] input, out byte[] repeated); in RepeatByteArray() 30 char[] RepeatCharArray(in char[] input, out char[] repeated); in RepeatCharArray() 31 int[] RepeatIntArray(in int[] input, out int[] repeated); in RepeatIntArray() 32 long[] RepeatLongArray(in long[] input, out long[] repeated); in RepeatLongArray() 33 float[] RepeatFloatArray(in float[] input, out float[] repeated); in RepeatFloatArray() 34 double[] RepeatDoubleArray(in double[] input, out double[] repeated); in RepeatDoubleArray() [all …]
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/test_package/ |
D | ITest.aidl | 61 ParcelFileDescriptor RepeatFd(in ParcelFileDescriptor fd); in RepeatFd() 62 @nullable ParcelFileDescriptor RepeatNullableFd(in @nullable ParcelFileDescriptor fd); in RepeatNullableFd() 67 RegularPolygon RepeatPolygon(in RegularPolygon value); in RepeatPolygon() 73 boolean[] RepeatBooleanArray(in boolean[] input, out boolean[] repeated); in RepeatBooleanArray() 74 byte[] RepeatByteArray(in byte[] input, out byte[] repeated); in RepeatByteArray() 75 char[] RepeatCharArray(in char[] input, out char[] repeated); in RepeatCharArray() 76 int[] RepeatIntArray(in int[] input, out int[] repeated); in RepeatIntArray() 77 long[] RepeatLongArray(in long[] input, out long[] repeated); in RepeatLongArray() 78 float[] RepeatFloatArray(in float[] input, out float[] repeated); in RepeatFloatArray() 79 double[] RepeatDoubleArray(in double[] input, out double[] repeated); in RepeatDoubleArray() [all …]
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_foreach.cpp | 52 sp<Allocation> in = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach() local 55 fe_all->forEach_test_i8(in, out); in Java_android_cts_rscpp_RSForEachTest_testForEach() 60 in = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach() 63 fe_all->forEach_test_i8_2(in, out); in Java_android_cts_rscpp_RSForEachTest_testForEach() 68 in = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach() 71 fe_all->forEach_test_i8_3(in, out); in Java_android_cts_rscpp_RSForEachTest_testForEach() 76 in = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach() 79 fe_all->forEach_test_i8_4(in, out); in Java_android_cts_rscpp_RSForEachTest_testForEach() 84 in = Allocation::createTyped(mRS, t); in Java_android_cts_rscpp_RSForEachTest_testForEach() 87 fe_all->forEach_test_i16(in, out); in Java_android_cts_rscpp_RSForEachTest_testForEach() [all …]
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_parcel.cpp | 66 void ExpectInOut(std::vector<T> in) { in ExpectInOut() argument 68 [](transaction_code_t, const AParcel* in, AParcel* out) { in ExpectInOut() argument 70 EXPECT_OK(read(in, &readTarget)); in ExpectInOut() 74 ExpectLifetimeTransactions(in.size())); in ExpectInOut() 76 for (const auto& value : in) { in ExpectInOut() 79 [&](AParcel* in) { in ExpectInOut() argument 80 EXPECT_OK(write(in, value)); in ExpectInOut() 145 SampleData::transact(binder, kCode, [&](AParcel* in) { in TEST_F() argument 150 AParcel_writeStatusHeader(in, status)); in TEST_F() 156 AParcel_writeStatusHeader(in, status)); in TEST_F() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 233 private void nextTest(@NonNull UsbDeviceConnection connection, @NonNull UsbEndpoint in, in nextTest() argument 257 int numReceived = connection.bulkTransfer(in, lastTestResultBytes, in nextTest() 277 @NonNull UsbEndpoint in) { in receiveZeroSizedTransfer() argument 279 int numReceived = connection.bulkTransfer(in, buffer, 1, TIMEOUT_MILLIS); in receiveZeroSizedTransfer() 292 @NonNull UsbEndpoint in, @NonNull UsbEndpoint out, int size) { in echoBulkTransfer() argument 301 int numReceived = connection.bulkTransfer(in, receivedBuffer, receivedBuffer.length, in echoBulkTransfer() 307 if (isZeroTransferExpected(size, in)) { in echoBulkTransfer() 308 receiveZeroSizedTransfer(connection, in); in echoBulkTransfer() 321 @NonNull UsbEndpoint in, @NonNull UsbEndpoint out, int offset, int size) { in echoBulkTransferOffset() argument 330 int numReceived = connection.bulkTransfer(in, receivedBuffer, offset, size, TIMEOUT_MILLIS); in echoBulkTransferOffset() [all …]
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | TransitionActivity.java | 38 public WindowInsets onApplyWindowInsets(View v, WindowInsets in) { in onApplyWindowInsets() argument 39 if (in.isRound()) { in onApplyWindowInsets() 41 params.setMargins(in.getSystemWindowInsetLeft(), in.getSystemWindowInsetTop(), in onApplyWindowInsets() 42 in.getSystemWindowInsetRight(), in.getSystemWindowInsetBottom()); in onApplyWindowInsets() 45 return in; in onApplyWindowInsets()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | HwRngTest.java | 127 InputStream in = null; in readyFullyAsciiFile() local 129 in = new FileInputStream(file); in readyFullyAsciiFile() 130 return new String(readyFully(in), "US-ASCII"); in readyFullyAsciiFile() 132 closeSilently(in); in readyFullyAsciiFile() 136 private static byte[] readyFully(InputStream in) throws IOException { in readyFully() argument 140 while ((chunkSize = in.read(buffer)) != -1) { in readyFully() 152 BufferedReader in = null; in parseUeventFile() local 154 in = new BufferedReader(new InputStreamReader(new FileInputStream(file), "US-ASCII")); in parseUeventFile() 156 while ((line = in.readLine()) != null) { in parseUeventFile() 180 closeSilently(in); in parseUeventFile() [all …]
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
D | AddAccountTx.java | 16 public AddAccountTx createFromParcel(Parcel in) { 17 return new AddAccountTx(in); 32 private AddAccountTx(Parcel in) { in AddAccountTx() argument 33 accountType = in.readString(); in AddAccountTx() 34 authTokenType = in.readString(); in AddAccountTx() 35 in.readStringList(requiredFeatures); in AddAccountTx() 36 options = in.readBundle(); in AddAccountTx() 37 result = in.readBundle(); in AddAccountTx()
|
D | GetAuthTokenTx.java | 14 public GetAuthTokenTx createFromParcel(Parcel in) { 15 return new GetAuthTokenTx(in); 29 private GetAuthTokenTx(Parcel in) { in GetAuthTokenTx() argument 30 account = in.readParcelable(null); in GetAuthTokenTx() 31 authTokenType = in.readString(); in GetAuthTokenTx() 32 options = in.readBundle(); in GetAuthTokenTx() 33 result = in.readBundle(); in GetAuthTokenTx()
|
D | UpdateCredentialsTx.java | 14 public UpdateCredentialsTx createFromParcel(Parcel in) { 15 return new UpdateCredentialsTx(in); 29 private UpdateCredentialsTx(Parcel in) { in UpdateCredentialsTx() argument 30 account = in.readParcelable(null); in UpdateCredentialsTx() 31 authTokenType = in.readString(); in UpdateCredentialsTx() 32 options = in.readBundle(); in UpdateCredentialsTx() 33 result = in.readBundle(); in UpdateCredentialsTx()
|
D | StartAddAccountSessionTx.java | 16 public StartAddAccountSessionTx createFromParcel(Parcel in) { 17 return new StartAddAccountSessionTx(in); 31 private StartAddAccountSessionTx(Parcel in) { in StartAddAccountSessionTx() argument 32 accountType = in.readString(); in StartAddAccountSessionTx() 33 authTokenType = in.readString(); in StartAddAccountSessionTx() 34 in.readStringList(requiredFeatures); in StartAddAccountSessionTx() 35 options = in.readBundle(); in StartAddAccountSessionTx()
|
D | StartUpdateCredentialsSessionTx.java | 14 public StartUpdateCredentialsSessionTx createFromParcel(Parcel in) { 15 return new StartUpdateCredentialsSessionTx(in); 28 private StartUpdateCredentialsSessionTx(Parcel in) { in StartUpdateCredentialsSessionTx() argument 29 account = in.readParcelable(null); in StartUpdateCredentialsSessionTx() 30 authTokenType = in.readString(); in StartUpdateCredentialsSessionTx() 31 options = in.readBundle(); in StartUpdateCredentialsSessionTx()
|
D | ConfirmCredentialsTx.java | 14 public ConfirmCredentialsTx createFromParcel(Parcel in) { 15 return new ConfirmCredentialsTx(in); 28 private ConfirmCredentialsTx(Parcel in) { in ConfirmCredentialsTx() argument 29 account = in.readParcelable(null); in ConfirmCredentialsTx() 30 options = in.readBundle(); in ConfirmCredentialsTx() 31 result = in.readBundle(); in ConfirmCredentialsTx()
|
D | HasFeaturesTx.java | 17 public HasFeaturesTx createFromParcel(Parcel in) { 18 return new HasFeaturesTx(in); 31 private HasFeaturesTx(Parcel in) { in HasFeaturesTx() argument 32 account = in.readParcelable(null); in HasFeaturesTx() 33 in.readStringList(features); in HasFeaturesTx() 34 result = in.readBundle(); in HasFeaturesTx()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2109/ |
D | poc.c | 34 BIO *in = BIO_new(BIO_s_mem()); in main() local 35 if(in != NULL){ in main() 36 BIO_write(in, bad_bio, sizeof(bad_bio)); in main() 37 cert = d2i_X509_bio(in, NULL); // x509 should be present on all Android systems in main() 38 BIO_free(in); in main()
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | AccessoryTestCompanion.java | 117 UsbEndpoint in = getEndpoint(iface, UsbConstants.USB_DIR_IN); in runTest() local 125 testName = nextTest(connection, in, out, true); in runTest() 133 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0); in runTest() 145 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0); in runTest() 147 numTransferred = connection.bulkTransfer(in, buffer, 16, 32, 0); in runTest() 158 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0); in runTest() 174 in, buffer, MAX_BUFFER_SIZE, 0); in runTest() 181 int numTransferred = connection.bulkTransfer(in, buffer, 1, TIMEOUT_MILLIS); in runTest() 211 int numTransferred = connection.bulkTransfer(in, buffer, MAX_BUFFER_SIZE, in runTest() 218 numTransferred = connection.bulkTransfer(in, buffer, 1, TIMEOUT_MILLIS); in runTest() [all …]
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 13 CPU/compiler performance measurement, in particular in the area of 17 which, in their literal meaning (million instructions per second), 24 o Dhrystone has been published in Ada [1], and Versions in Ada, Pascal 45 statements. It has turned out in the past that optimizing compilers 53 statements, operand types and operand locality described in [1] should 63 published in [1]. However, I do recognize the need for a larger number 69 2.0 distributed via the UNIX Network Usenet in March 1988 only in a few 72 obtain a copy in machine-readable form on floppy disk (MS-DOS or XENIX 76 In general, version 2 follows - in the parts that are significant for 82 their impact on execution time in all likelihood has been negligible.) [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileUtilsTest.java | 65 try (ByteArrayInputStream in = new ByteArrayInputStream(data); in testCopyByteStream() argument 67 FileUtils.copy(in, out); in testCopyByteStream() 73 try (FileInputStream in = new FileInputStream(mExpected); in testCopyFileStream() argument 75 FileUtils.copy(in, out); in testCopyFileStream() 83 try (FileInputStream in = new FileInputStream(mExpected); in testCopyFileStreamListener() argument 85 FileUtils.copy(in, out, null, executor, (progress) -> { in testCopyFileStreamListener() 94 try (FileInputStream in = new FileInputStream(mExpected); in testCopyFileDescriptor() argument 96 FileUtils.copy(in.getFD(), out.getFD()); in testCopyFileDescriptor() 104 try (FileInputStream in = new FileInputStream(mExpected); in testCopyFileDescriptorListener() argument 106 FileUtils.copy(in.getFD(), out.getFD(), null, executor, (progress) -> { in testCopyFileDescriptorListener()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapColorSpaceTest.java | 236 try (InputStream in = mResources.getAssets().open("green-p3.png")) { in p3() argument 237 Bitmap b = BitmapFactory.decodeStream(in); in p3() 258 try (InputStream in = mResources.getAssets().open("blue-16bit-srgb.png")) { in extendedSRGB() argument 259 Bitmap b = BitmapFactory.decodeStream(in); in extendedSRGB() 281 try (InputStream in = mResources.getAssets().open(assetInLinearSRGB)) { in linearSRGB() argument 282 Bitmap b = BitmapFactory.decodeStream(in); in linearSRGB() 290 try (InputStream in = mResources.getAssets().open(assetInLinearSRGB)) { in linearSRGB() argument 293 Bitmap b = BitmapFactory.decodeStream(in, null, options); in linearSRGB() 322 try (InputStream in = mResources.getAssets().open(asset.name)) { in reconfigure() argument 327 Bitmap b = BitmapFactory.decodeStream(in, null, opts); in reconfigure() [all …]
|
/cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/ |
D | TrustedVoiceHostTest.java | 94 Scanner in = null; in testUnlock() local 111 in = new Scanner(logs); in testUnlock() 114 while (in.hasNextLine()) { in testUnlock() 115 String line = in.nextLine(); in testUnlock() 126 if (in != null) { in testUnlock() 127 in.close(); in testUnlock()
|