Home
last modified time | relevance | path

Searched refs:readInt (Results 1 – 25 of 34) sorted by relevance

12

/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
DMultiUserStorageTest.java22 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.readInt;
90 readInt(buildApiPath(FILE_SINGLETON))); in testReadIsolatedStorage()
92 readInt(buildEnvPath(FILE_SINGLETON))); in testReadIsolatedStorage()
94 readInt(buildRawPath(FILE_SINGLETON))); in testReadIsolatedStorage()
97 readInt(buildApiPath(FILE_MY_UID))); in testReadIsolatedStorage()
105 readInt(new File(path, FILE_SINGLETON))); in testReadIsolatedStorage()
120 readInt(buildApiObbPath(FILE_OBB_API_SINGLETON))); in testReadObbStorage()
123 readInt(buildEnvObbPath(FILE_OBB_SINGLETON))); in testReadObbStorage()
125 readInt(buildRawObbPath(FILE_OBB_SINGLETON))); in testReadObbStorage()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteGiftTest.java28 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.readInt;
49 assertEquals(100, readInt(none)); in testGifts()
59 assertEquals(101, readInt(read)); in testGifts()
69 assertEquals(102, readInt(write)); in testGifts()
85 assertEquals(100, readInt(none)); in testObbGifts()
96 assertEquals(100, readInt(none)); in testAccessObbGifts()
DWriteExternalStorageTest.java33 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.readInt;
98 assertEquals(readInt(TEST_FILE), 32); in testWriteExternalStorage()
133 assertEquals(readInt(file), value); in testLegacyPaths()
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/
DReadGiftTest.java25 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.readInt;
40 assertEquals(100, readInt(none)); in testGifts()
46 assertEquals(101, readInt(read)); in testGifts()
52 assertEquals(102, readInt(write)); in testGifts()
/cts/tests/tests/externalservice/common/src/android/externalservice/common/
DRunningServiceInfo.java54 info.uid = source.readInt();
55 info.pid = source.readInt();
57 info.zygotePid = source.readInt();
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DGiftTest.java27 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.readInt;
42 assertEquals(100, readInt(none)); in testGifts()
63 assertEquals(100, readInt(none)); in testObbGifts()
DCommonExternalStorageTest.java124 assertEquals(32, readInt(directChild)); in testAllPackageDirsWritable()
125 assertEquals(64, readInt(subdirChild)); in testAllPackageDirsWritable()
471 public static int readInt(File file) throws IOException { in readInt() method in CommonExternalStorageTest
474 return is.readInt(); in readInt()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java955 return sValues[source.readInt()];
1005 displayId = in.readInt();
1006 rotation = in.readInt();
1104 widthDp = in.readInt();
1105 heightDp = in.readInt();
1106 displayWidth = in.readInt();
1107 displayHeight = in.readInt();
1108 metricsWidth = in.readInt();
1109 metricsHeight = in.readInt();
1110 smallestWidthDp = in.readInt();
[all …]
/cts/tests/tests/media/src/android/media/cts/
DRemoteVirtualDisplayService.java61 int w = data.readInt(); in onCreate()
62 int h = data.readInt(); in onCreate()
67 int color = data.readInt(); in onCreate()
DIvfReader.java159 mFrameCount = changeEndianness(mIvfFile.readInt()); in readHeaderData()
170 int frameSize = changeEndianness(mIvfFile.readInt()); in readFrameMetadata()
DMediaItemTest.java50 assertEquals(mediaItem.getFlags(), p.readInt()); in testBrowsableMediaItem()
73 assertEquals(mediaItem.getFlags(), p.readInt()); in testPlayableMediaItem()
DSession2CommandTest.java109 assertEquals(command.getCommandCode(), dest.readInt()); in testWriteToParcel()
/cts/tests/openglperf2/jni/graphics/
DGLUtils.cpp79 static int readInt(char* b) { in readInt() function
89 data.input = readInt(b); in readFloat()
99 int numVertices = readInt(buffer + index); in loadMesh()
/cts/tests/tests/location/src/android/location/cts/
DAddressTest.java315 assertEquals(0, parcel.readInt()); in testWriteToParcel()
327 assertEquals(0, parcel.readInt()); in testWriteToParcel()
328 assertEquals(0, parcel.readInt()); in testWriteToParcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DCommandApdu.java33 boolean reachable = source.readInt() != 0 ? true : false;
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java93 assertEquals(7, p2.readInt()); in testAppendFrom()
94 assertEquals(5, p2.readInt()); in testAppendFrom()
109 p.readInt(); in testDataAvail()
111 p.readInt(); in testDataAvail()
956 assertEquals(0, p.readInt()); in testReadInt()
962 assertEquals(1, p.readInt()); in testReadInt()
968 assertEquals(-1, p.readInt()); in testReadInt()
974 assertEquals(Integer.MAX_VALUE, p.readInt()); in testReadInt()
980 assertEquals(Integer.MIN_VALUE, p.readInt()); in testReadInt()
992 assertEquals(Integer.MAX_VALUE, p.readInt()); in testReadInt()
[all …]
DPatternMatcherTest.java105 assertEquals(PatternMatcher.PATTERN_LITERAL, p.readInt()); in testWriteToParcel()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DIcmpMessage.java35 quench = stream.readInt() & 0xFFFFFFFFL; in IcmpMessage()
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DTestPropertyReader.java73 public void readInt(int id, int value) { in readInt() method in TestPropertyReader
/cts/tests/tests/content/src/android/content/cts/
DCursorWindowContentProvider.java86 int frameworkFdMarker = tmp.readInt(); in writeToParcel()
/cts/tests/app/app/src/android/app/stubs/
DLocalService.java78 mValue = data.readInt();
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java131 mInstantAppPackageInfoExposed = source.readInt() != 0; in TestResult()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java100 inputStream.readInt(); in accessPublicData()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceProvider.java129 mValue = in.readInt(); in TestParcel()
/cts/tests/app/src/android/app/cts/
DServiceTest.java350 int value = reply.readInt(); in getValue()
365 int value = reply.readInt(); in getPidIpc()
380 int value = reply.readInt(); in getPpidIpc()
395 int value = reply.readInt(); in getUidIpc()
746 int count = data.readInt(); in onTransact()

12