Home
last modified time | relevance | path

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

12345678910>>...74

/cts/tests/tests/renderscript/src/android/renderscript/cts/
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()
79 in = Allocation.createTyped(mRS, t); in testForEach()
82 kernel_all.forEach_test_i8_2(in, out); in testForEach()
85 kernel_all.forEach_test_i8_2(in, badOut); in testForEach()
93 in = Allocation.createTyped(mRS, t); in testForEach()
96 kernel_all.forEach_test_i8_3(in, out); in testForEach()
99 kernel_all.forEach_test_i8_3(in, badOut); in testForEach()
107 in = Allocation.createTyped(mRS, t); in testForEach()
[all …]
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()
79 in = Allocation.createTyped(mRS, t); in testForEach()
82 fe_all.forEach_test_i8_2(in, out); in testForEach()
85 fe_all.forEach_test_i8_2(in, badOut); in testForEach()
93 in = Allocation.createTyped(mRS, t); in testForEach()
96 fe_all.forEach_test_i8_3(in, out); in testForEach()
99 fe_all.forEach_test_i8_3(in, badOut); in testForEach()
107 in = Allocation.createTyped(mRS, t); in testForEach()
[all …]
DCoreMathVerifier.java233 Target.Floaty in = t.new32(f); in acos() local
235 acos(in.mid32()), in acos()
236 acos(in.min32()), in acos()
237 acos(in.max32())); in acos()
241 Target.Floaty in = t.new32(f); in acosh() local
243 acosh(in.mid32()), in acosh()
244 acosh(in.min32()), in acosh()
245 acosh(in.max32())); in acosh()
253 Target.Floaty in = t.new32(f); in asin() local
255 asin(in.mid32()), in asin()
[all …]
DGetElementAt.java30 private int[] in; field in GetElementAt
49 in = new int[size]; in setupArrays()
51 in[i] = random.nextInt(100); in setupArrays()
60 gIn.copyFrom(in); in testX()
69 assertEquals("idx = " + k, in[k], out[k]); in testX()
81 gIn.copyFrom(in); in testXY()
90 assertEquals("idx = " + k, in[k], out[k]); in testXY()
/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/security/src/android/security/cts/
DHwRngTest.java119 InputStream in = null; in readyFullyAsciiFile() local
121 in = new FileInputStream(file); in readyFullyAsciiFile()
122 return new String(readyFully(in), "US-ASCII"); in readyFullyAsciiFile()
124 closeSilently(in); in readyFullyAsciiFile()
128 private static byte[] readyFully(InputStream in) throws IOException { in readyFully() argument
132 while ((chunkSize = in.read(buffer)) != -1) { in readyFully()
144 BufferedReader in = null; in parseUeventFile() local
146 in = new BufferedReader(new InputStreamReader(new FileInputStream(file), "US-ASCII")); in parseUeventFile()
148 while ((line = in.readLine()) != null) { in parseUeventFile()
172 closeSilently(in); in parseUeventFile()
[all …]
DAslrTest.java39 BufferedReader in = null; in testVaRandomize() local
41 in = new BufferedReader(new FileReader("/proc/sys/kernel/randomize_va_space")); in testVaRandomize()
42 int level = Integer.parseInt(in.readLine().trim()); in testVaRandomize()
49 if (in != null) { in testVaRandomize()
50 in.close(); in testVaRandomize()
DKernelSettingsTest.java138 BufferedReader in = null; in getFile() local
140 in = new BufferedReader(new FileReader(filename)); in getFile()
141 return in.readLine().trim(); in getFile()
143 if (in != null) { in getFile()
144 in.close(); in getFile()
/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()
DConfirmCredentialsTx.java14 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()
DHasFeaturesTx.java17 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()
DGetAuthTokenLabelTx.java12 public GetAuthTokenLabelTx createFromParcel(Parcel in) {
13 return new GetAuthTokenLabelTx(in);
25 private GetAuthTokenLabelTx(Parcel in) { in GetAuthTokenLabelTx() argument
26 authTokenType = in.readString(); in GetAuthTokenLabelTx()
27 result = in.readString(); in GetAuthTokenLabelTx()
DEditPropertiesTx.java13 public EditPropertiesTx createFromParcel(Parcel in) {
14 return new EditPropertiesTx(in);
26 private EditPropertiesTx(Parcel in) { in EditPropertiesTx() argument
27 accountType = in.readString(); in EditPropertiesTx()
28 result = in.readBundle(); in EditPropertiesTx()
DGetAccountRemovalAllowedTx.java14 public GetAccountRemovalAllowedTx createFromParcel(Parcel in) {
15 return new GetAccountRemovalAllowedTx(in);
27 private GetAccountRemovalAllowedTx(Parcel in) { in GetAccountRemovalAllowedTx() argument
28 account = in.readParcelable(null); in GetAccountRemovalAllowedTx()
29 result = in.readBundle(); in GetAccountRemovalAllowedTx()
/cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/
DTestListParser.java43 Scanner in = null; in parse() local
45 in = new Scanner(input); in parse()
46 while (in.hasNextLine()) { in parse()
47 final String line = in.nextLine(); in parse()
90 if (in != null) { in parse()
91 in.close(); in parse()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptor_AutoCloseInputStreamTest.java29 AutoCloseInputStream in = new AutoCloseInputStream(pf); in testAutoCloseInputStream() local
30 assertEquals(0, in.read()); in testAutoCloseInputStream()
32 in.close(); in testAutoCloseInputStream()
35 in.read(); in testAutoCloseInputStream()
DParcelFileDescriptorTest.java53 AutoCloseInputStream in = new AutoCloseInputStream(pfd); in testConstructorAndOpen() local
56 assertEquals(0, in.read()); in testConstructorAndOpen()
57 assertEquals(1, in.read()); in testConstructorAndOpen()
58 assertEquals(2, in.read()); in testConstructorAndOpen()
59 assertEquals(3, in.read()); in testConstructorAndOpen()
61 in.close(); in testConstructorAndOpen()
105 AutoCloseInputStream in = new AutoCloseInputStream(pfd); in testFromSocket() local
106 assertEquals(DATA, in.read()); in testFromSocket()
107 in.close(); in testFromSocket()
181 AutoCloseInputStream in = new AutoCloseInputStream(pfd); in testWriteToParcel() local
[all …]
DMemoryFileTest.java72 InputStream in = mMemoryFile.getInputStream(); in testGetOutputStream() local
73 assertEquals(1, in.read()); in testGetOutputStream()
74 assertEquals(2, in.read()); in testGetOutputStream()
75 assertEquals(3, in.read()); in testGetOutputStream()
76 assertEquals(4, in.read()); in testGetOutputStream()
/cts/hostsidetests/appsecurity/certs/keysets/
DREADME6 # Display public key (for use in Manifest) with:
7 openssl x509 -in cts-keyset-test-a.x509.pem -inform PEM -pubkey
8 openssl x509 -in cts-keyset-test-b.x509.pem -inform PEM -pubkey
9 openssl x509 -in cts-keyset-test-c.x509.pem -inform PEM -pubkey
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DIProjectionService.aidl25 void startRendering(in Surface surface, int width, int height, int density, int viewType); in startRendering()
27 void onTouchEvent(in MotionEvent event); in onTouchEvent()
28 void onKeyEvent(in KeyEvent event); in onKeyEvent()
/cts/common/host-side/xml-plan-generator/tests/src/com/android/compatibility/common/xmlgenerator/
DXmlPlanGeneratorTest.java110 final Scanner in = new Scanner(p.getInputStream()); in runGenerator() local
111 while (in.hasNextLine()) { in runGenerator()
112 output.append(in.nextLine()); in runGenerator()
123 final ByteArrayInputStream in = new ByteArrayInputStream(input.getBytes()); in runTestListParser() local
124 final HashMap<String, TestSuite> suites = TestListParser.parse(in); in runTestListParser()
/cts/libs/vogar-expect/src/vogar/util/
DStrings.java45 BufferedReader in = new BufferedReader(reader); in readStream() local
47 while ((line = in.readLine()) != null) { in readStream()
51 in.close(); in readStream()
60 BufferedReader in = in readFileLines() local
64 while ((line = in.readLine()) != null) { in readFileLines()
67 in.close(); in readFileLines()
/cts/tests/tests/drm/
DREADME1 - User of CTS code needs to edit configuration files in
3 of user's DRM plug-in.
4 - If new plug-in is added, user should add corresponding configuration

12345678910>>...74