Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 3566) sorted by relevance

12345678910>>...143

/cts/tests/tests/media/libmediandkjni/
Dmd5_utils.cpp79 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/appop/aidl/AppOpsUserService/src/android/app/appops/cts/
DIAppOpsUserService.aidl22 void disableCollectorAndCallSyncOpsWhichWillNotBeCollected(in IAppOpsUserClient client); in disableCollectorAndCallSyncOpsWhichWillNotBeCollected()
23 void disableCollectorAndCallASyncOpsWhichWillBeCollected(in IAppOpsUserClient client); in disableCollectorAndCallASyncOpsWhichWillBeCollected()
24 void callApiThatNotesSyncOpAndCheckLog(in IAppOpsUserClient client); in callApiThatNotesSyncOpAndCheckLog()
25 void callApiThatNotesSyncOpAndClearLog(in IAppOpsUserClient client); in callApiThatNotesSyncOpAndClearLog()
26 void callApiThatNotesSyncOpWithAttributionAndCheckLog(in IAppOpsUserClient client); in callApiThatNotesSyncOpWithAttributionAndCheckLog()
27 void callApiThatCallsBackIntoServiceAndCheckLog(in IAppOpsUserClient client); in callApiThatCallsBackIntoServiceAndCheckLog()
28 void callApiThatNotesSyncOpFromNativeCodeAndCheckLog(in IAppOpsUserClient client); in callApiThatNotesSyncOpFromNativeCodeAndCheckLog()
29 void callApiThatNotesSyncOpFromNativeCodeAndCheckMessage(in IAppOpsUserClient client); in callApiThatNotesSyncOpFromNativeCodeAndCheckMessage()
30 void callApiThatNotesSyncOpAndCheckStackTrace(in IAppOpsUserClient client); in callApiThatNotesSyncOpAndCheckStackTrace()
31 void callApiThatNotesNonPermissionSyncOpAndCheckLog(in IAppOpsUserClient client); in callApiThatNotesNonPermissionSyncOpAndCheckLog()
[all …]
/cts/tests/tests/binder_ndk/libbinder_ndk_test/test_package/
DITest.aidl72 ParcelFileDescriptor RepeatFd(in ParcelFileDescriptor fd); in RepeatFd()
73 @nullable ParcelFileDescriptor RepeatNullableFd(in @nullable ParcelFileDescriptor fd); in RepeatNullableFd()
78 RegularPolygon RepeatPolygon(in RegularPolygon value); in RepeatPolygon()
79 @nullable RegularPolygon RepeatNullablePolygon(in @nullable RegularPolygon value); in RepeatNullablePolygon()
85 boolean[] RepeatBooleanArray(in boolean[] input, out boolean[] repeated); in RepeatBooleanArray()
86 byte[] RepeatByteArray(in byte[] input, out byte[] repeated); in RepeatByteArray()
87 char[] RepeatCharArray(in char[] input, out char[] repeated); in RepeatCharArray()
88 int[] RepeatIntArray(in int[] input, out int[] repeated); in RepeatIntArray()
89 long[] RepeatLongArray(in long[] input, out long[] repeated); in RepeatLongArray()
90 float[] RepeatFloatArray(in float[] input, out float[] repeated); in RepeatFloatArray()
[all …]
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DForEachTest.java65 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 …]
DKernelTest.java65 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 …]
Drs_pack_color_to_8888.rscript4 void pack_color_to_8888_rgb (const float3* in, uchar4* out) {
5 *out = rsPackColorTo8888(in->r, in->g, in->b);
8 void pack_color_to_8888_rgba (const float4* in, uchar4* out) {
9 *out = rsPackColorTo8888(in->r, in->g, in->b, in->a);
11 void pack_color_to_8888_f32_3 (const float3* in, uchar4* out) {
12 *out = rsPackColorTo8888(*in);
15 void pack_color_to_8888_f32_4 (const float4* in, uchar4* out) {
16 *out = rsPackColorTo8888(*in);
Dset_object.rscript8 void set_object_allocation(const set_object_allocation_input *in, int *out)
11 rsSetObject(&dst,in->allocation);
12 *out = ( dst.p == in->allocation.p ? 1 : 0 );
19 void set_object_element(const set_object_element_input *in, int *out)
22 rsSetObject(&dst,in->element);
23 *out = ( dst.p == in->element.p ? 1 : 0 );
30 void set_object_sampler(const set_object_sampler_input *in, int *out)
33 rsSetObject(&dst,in->sampler);
34 *out = ( dst.p == in->sampler.p ? 1 : 0 );
41 void set_object_script(const set_object_script_input *in, int *out)
[all …]
Dis_object.rscript8 void is_object_allocation( const object_allocation_input *in, int *out)
10 *out = rsIsObject(in->allocation)==false ? 0 : 1;
17 void is_object_element( const object_element_input *in, int *out)
19 *out = rsIsObject(in->element)==false ? 0 : 1;
26 void is_object_sampler( const object_sampler_input *in, int *out)
28 *out = rsIsObject(in->sampler)==false ? 0 : 1;
35 void is_object_script( const object_script_input *in, int *out)
37 *out = rsIsObject(in->script)==false ? 0 : 1;
44 void is_object_type( const object_type_input *in, int *out)
46 *out = rsIsObject(in->type)==false ? 0 : 1;
Dkernel_input.rscript5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
32 * should not be visible in the underlying Allocation. The
34 * used as an in input to a clear_input_* kernel. The verify_input_*
45 // to try to inhibit any optimizations that would result in the write to
50 type RS_KERNEL clear_input_##type(volatile type in) { \
52 rsDebug(#type, in); \
54 in -= in; \
56 rsDebug(#type, in); \
58 return in; \
[all …]
DCoreMathVerifier.java241 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 …]
Dvoid_ptr.rscript12 void __attribute__((kernel))check_output_int(const int in, uint32_t x, uint32_t y)
14 if (in != x + y) {
24 void __attribute__((kernel))check_output_char(const uchar in, uint32_t x, uint32_t y)
26 if (in != x + y) {
35 void copy_void_int(const void *in, uint32_t x, uint32_t y)
37 int *in_int = (int*) in;
45 void copy_void_char(const void *in, uint32_t x, uint32_t y)
47 uchar *in_uchar = (uchar*) in;
Dsingle_source_script.rscript5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
35 void testSingleInput(rs_allocation in, rs_allocation out) {
36 rsForEach(foo, in, out);
43 void testLaunchOptions(rs_allocation in, rs_allocation out, int dimX, int dimY) {
49 rsForEachWithOptions(foo, &opts, in, out);
62 void testConsistency(rs_allocation in, rs_allocation out) {
63 rsForEach(foo, in, out);
64 const uint32_t dimX = rsAllocationGetDimX(in);
65 const uint32_t dimY = rsAllocationGetDimY(in);
[all …]
Dsend_to_client.rscript4 void root(const int4* in) {
5 int id = in->x;
7 data[0] = in->y;
8 data[1] = in->z;
9 data[2] = in->w;
/cts/tests/tests/binder_ndk/libbinder_ndk_test/aidl_api/libbinder_ndk_test_interface/current/test_package/
DITest.aidl58 ParcelFileDescriptor RepeatFd(in ParcelFileDescriptor fd); in RepeatFd()
59 @nullable ParcelFileDescriptor RepeatNullableFd(in @nullable ParcelFileDescriptor fd); in RepeatNullableFd()
62 test_package.RegularPolygon RepeatPolygon(in test_package.RegularPolygon value); in RepeatPolygon()
63 …@nullable test_package.RegularPolygon RepeatNullablePolygon(in @nullable test_package.RegularPolyg… in RepeatNullablePolygon()
65 boolean[] RepeatBooleanArray(in boolean[] input, out boolean[] repeated); in RepeatBooleanArray()
66 byte[] RepeatByteArray(in byte[] input, out byte[] repeated); in RepeatByteArray()
67 char[] RepeatCharArray(in char[] input, out char[] repeated); in RepeatCharArray()
68 int[] RepeatIntArray(in int[] input, out int[] repeated); in RepeatIntArray()
69 long[] RepeatLongArray(in long[] input, out long[] repeated); in RepeatLongArray()
70 float[] RepeatFloatArray(in float[] input, out float[] repeated); in RepeatFloatArray()
[all …]
/cts/tests/tests/binder_ndk/libbinder_ndk_test/aidl_api/libbinder_ndk_test_interface/1/test_package/
DITest.aidl58 ParcelFileDescriptor RepeatFd(in ParcelFileDescriptor fd); in RepeatFd()
59 @nullable ParcelFileDescriptor RepeatNullableFd(in @nullable ParcelFileDescriptor fd); in RepeatNullableFd()
62 test_package.RegularPolygon RepeatPolygon(in test_package.RegularPolygon value); in RepeatPolygon()
63 …@nullable test_package.RegularPolygon RepeatNullablePolygon(in @nullable test_package.RegularPolyg… in RepeatNullablePolygon()
65 boolean[] RepeatBooleanArray(in boolean[] input, out boolean[] repeated); in RepeatBooleanArray()
66 byte[] RepeatByteArray(in byte[] input, out byte[] repeated); in RepeatByteArray()
67 char[] RepeatCharArray(in char[] input, out char[] repeated); in RepeatCharArray()
68 int[] RepeatIntArray(in int[] input, out int[] repeated); in RepeatIntArray()
69 long[] RepeatLongArray(in long[] input, out long[] repeated); in RepeatLongArray()
70 float[] RepeatFloatArray(in float[] input, out float[] repeated); in RepeatFloatArray()
[all …]
/cts/tests/tests/rscpp/librscpptest/
Drs_jni_foreach.cpp52 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/
Dtest_parcel.cpp66 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/
DUsbDeviceTestActivity.java237 private void nextTest(@NonNull UsbDeviceConnection connection, @NonNull UsbEndpoint in, in nextTest() argument
261 int numReceived = connection.bulkTransfer(in, lastTestResultBytes, in nextTest()
281 @NonNull UsbEndpoint in) { in receiveZeroSizedTransfer() argument
283 int numReceived = connection.bulkTransfer(in, buffer, 1, TIMEOUT_MILLIS); in receiveZeroSizedTransfer()
296 @NonNull UsbEndpoint in, @NonNull UsbEndpoint out, int size) { in echoBulkTransfer() argument
305 int numReceived = connection.bulkTransfer(in, receivedBuffer, receivedBuffer.length, in echoBulkTransfer()
311 if (isZeroTransferExpected(size, in)) { in echoBulkTransfer()
312 receiveZeroSizedTransfer(connection, in); in echoBulkTransfer()
325 @NonNull UsbEndpoint in, @NonNull UsbEndpoint out, int offset, int size) { in echoBulkTransferOffset() argument
334 int numReceived = connection.bulkTransfer(in, receivedBuffer, offset, size, TIMEOUT_MILLIS); in echoBulkTransferOffset()
[all …]
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionActivity.java38 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/
DHwRngTest.java125 InputStream in = null; in readyFullyAsciiFile() local
127 in = new FileInputStream(file); in readyFullyAsciiFile()
128 return new String(readyFully(in), "US-ASCII"); in readyFullyAsciiFile()
130 closeSilently(in); in readyFullyAsciiFile()
134 private static byte[] readyFully(InputStream in) throws IOException { in readyFully() argument
138 while ((chunkSize = in.read(buffer)) != -1) { in readyFully()
150 BufferedReader in = null; in parseUeventFile() local
152 in = new BufferedReader(new InputStreamReader(new FileInputStream(file), "US-ASCII")); in parseUeventFile()
154 while ((line = in.readLine()) != null) { in parseUeventFile()
178 closeSilently(in); in parseUeventFile()
[all …]
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/
DAddAccountTx.java16 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()
DGetAuthTokenTx.java14 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()
DUpdateCredentialsTx.java14 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()
DStartAddAccountSessionTx.java16 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()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2109/
Dpoc.c34 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()

12345678910>>...143