Home
last modified time | relevance | path

Searched refs:readString (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/location/src/android/location/cts/
DAddressTest.java313 assertEquals(locale.getLanguage(), parcel.readString()); in testWriteToParcel()
314 assertEquals(locale.getCountry(), parcel.readString()); in testWriteToParcel()
316 assertEquals(address.getFeatureName(), parcel.readString()); in testWriteToParcel()
317 assertEquals(address.getAdminArea(), parcel.readString()); in testWriteToParcel()
318 assertEquals(address.getSubAdminArea(), parcel.readString()); in testWriteToParcel()
319 assertEquals(address.getLocality(), parcel.readString()); in testWriteToParcel()
320 assertEquals(address.getSubLocality(), parcel.readString()); in testWriteToParcel()
321 assertEquals(address.getThoroughfare(), parcel.readString()); in testWriteToParcel()
322 assertEquals(address.getSubThoroughfare(), parcel.readString()); in testWriteToParcel()
323 assertEquals(address.getPremises(), parcel.readString()); in testWriteToParcel()
[all …]
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java125 mPackageName = source.readString(); in TestResult()
126 mComponentName = source.readString(); in TestResult()
127 mMethodName = source.readString(); in TestResult()
128 mStatus = source.readString(); in TestResult()
129 mException = source.readString(); in TestResult()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_parcel.cpp243 std::string readString; in TEST_F() local
244 EXPECT_OK(::ndk::AParcel_readString(in, &readString)); in TEST_F()
245 EXPECT_EQ(expectedString, readString); in TEST_F()
334 std::string readString; in TEST_F() local
337 EXPECT_OK(::ndk::AParcel_readString(in, &readString)); in TEST_F()
338 EXPECT_EQ(kTestString2, readString); in TEST_F()
341 EXPECT_OK(::ndk::AParcel_readString(in, &readString)); in TEST_F()
342 EXPECT_EQ(kTestString1, readString); in TEST_F()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/
DGetAuthTokenLabelTx.java26 authTokenType = in.readString(); in GetAuthTokenLabelTx()
27 result = in.readString(); in GetAuthTokenLabelTx()
DStartAddAccountSessionTx.java32 accountType = in.readString(); in StartAddAccountSessionTx()
33 authTokenType = in.readString(); in StartAddAccountSessionTx()
DAddAccountTx.java33 accountType = in.readString(); in AddAccountTx()
34 authTokenType = in.readString(); in AddAccountTx()
DEditPropertiesTx.java27 accountType = in.readString(); in EditPropertiesTx()
DStartUpdateCredentialsSessionTx.java30 authTokenType = in.readString(); in StartUpdateCredentialsSessionTx()
DGetAuthTokenTx.java31 authTokenType = in.readString(); in GetAuthTokenTx()
DUpdateCredentialsTx.java31 authTokenType = in.readString(); in UpdateCredentialsTx()
/cts/tests/tests/externalservice/common/src/android/externalservice/common/
DRunningServiceInfo.java56 info.packageName = source.readString();
58 info.zygotePackage = source.readString();
/cts/tests/tests/content/src/android/content/cts/
DComponentNameTest.java199 assertEquals("android.content.cts", parcel.readString()); in testWriteToParcel()
200 assertEquals("android.content.cts.ComponentNameTest", parcel.readString()); in testWriteToParcel()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DReadElf.java408 return readString(mShStrTabOffset + strOffset); in readShStrTabEntry()
416 return readString(tableOffset + strOffset); in readStrTabEntry()
453 private String readString(long offset) throws IOException { in readString() method in ReadElf
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DReadElf.java408 return readString(mShStrTabOffset + strOffset); in readShStrTabEntry()
416 return readString(tableOffset + strOffset); in readStrTabEntry()
453 private String readString(long offset) throws IOException { in readString() method in ReadElf
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DCommandApdu.java32 String apdu = source.readString();
/cts/tests/app/app/src/android/app/stubs/
DLaunchpadActivity.java64 in.readString(); in MyBadParcelable()
569 final String name = data.readString();
573 finishBad(data.readString());
/cts/tests/tests/os/src/android/os/cts/
DPatternMatcherTest.java104 assertEquals(expected, p.readString()); in testWriteToParcel()
DParcelTest.java115 p.readString(); in testDataAvail()
1747 assertNull(p.readString()); in testReadString()
1753 assertEquals("", p.readString()); in testReadString()
1759 assertEquals("a", p.readString()); in testReadString()
1765 assertEquals(string, p.readString()); in testReadString()
1773 assertEquals(string, p.readString()); in testReadString()
1774 assertEquals("a", p.readString()); in testReadString()
1775 assertEquals("", p.readString()); in testReadString()
DLaunchpadActivity.java62 in.readString(); in MyBadParcelable()
/cts/tests/tests/media/src/android/media/cts/
DSession2CommandTest.java110 assertEquals(command.getCustomAction(), dest.readString()); in testWriteToParcel()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java421 assertEquals(token, readString(getContext().getFileStreamPath("my_int"))); in testDataRead()
468 assertEquals(token, readString(new File(getContext().getExternalFilesDir(null), "my_ext"))); in testPrimaryDataRead()
611 private static String readString(File file) throws IOException { in readString() method in SplitAppTest
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java199 mIntentFactoryClassName = source.readString(); in ButtonInfo()
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java121 String result = p.readString(); in test_android_CVE_2017_13310()
549 String result = p.readString(); in makeStringToInject()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java348 this.data = in.readString(); in ExtraData()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java224 mLogText = in.readString(); in LogEvent()

12