Home
last modified time | relevance | path

Searched refs:writeInt (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java77 parcel.writeInt(preReSerialize.size() + 2); in test_android_CVE_2017_13287()
80 parcel.writeInt(VAL_PARCELABLE); in test_android_CVE_2017_13287()
83 parcel.writeInt(0); in test_android_CVE_2017_13287()
84 parcel.writeInt(0); in test_android_CVE_2017_13287()
87 parcel.writeInt(VAL_NULL); in test_android_CVE_2017_13287()
100 p.writeInt(0); in test_android_CVE_2017_13287()
101 p.writeInt(0); in test_android_CVE_2017_13287()
114 p.writeInt(paddingVal); in test_android_CVE_2017_13287()
121 while (p.dataPosition() % 8 != 0) p.writeInt(0); in test_android_CVE_2017_13287()
123 p.writeInt(0); in test_android_CVE_2017_13287()
[all …]
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteGiftTest.java25 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.writeInt;
43 writeInt(none, 100); in testGifts()
53 writeInt(read, 101); in testGifts()
63 writeInt(write, 102); in testGifts()
DWriteExternalStorageTest.java34 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.writeInt;
94 writeInt(TEST_FILE, 32); in testWriteExternalStorage()
126 writeInt(target, value); in testLegacyPaths()
/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
DMultiUserStorageTest.java23 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.writeInt;
71 writeInt(buildApiPath(FILE_SINGLETON), uid); in testWriteIsolatedStorage()
72 writeInt(buildApiPath(FILE_MY_UID), uid); in testWriteIsolatedStorage()
80 writeInt(new File(path, FILE_SINGLETON), uid); in testWriteIsolatedStorage()
114 writeInt(buildApiObbPath(FILE_OBB_API_SINGLETON), OBB_API_VALUE); in testWriteObbStorage()
115 writeInt(buildEnvObbPath(FILE_OBB_SINGLETON), OBB_VALUE); in testWriteObbStorage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DCommandApdu.java46 dest.writeInt(mReachable ? 1 : 0); in writeToParcel()
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java73 p.writeInt(7); in testAppendFrom()
74 p.writeInt(5); in testAppendFrom()
89 p.writeInt(7); // size 4 in testDataAvail()
90 p.writeInt(5); // size 4 in testDataAvail()
111 p.writeInt(7); // size 4 in testDataCapacity()
138 p.writeInt(7); // size 4 in testDataPosition()
157 p.writeInt(7); in testSetDataPosition()
171 p.writeInt(7); // size 4 in testDataSize()
173 p.writeInt(5); // size 4 in testDataSize()
190 p.writeInt(3); in testSetDataSize()
[all …]
DLocalService.java109 data.writeInt(mStartCount); in bindAction()
DPatternMatcherTest.java43 p.writeInt(PatternMatcher.PATTERN_LITERAL); in testConstructor()
DBundleTest.java887 p.writeInt(123); in testHasFileDescriptor()
/cts/tests/app/app/src/android/app/stubs/
DLocalService.java109 data.writeInt(mStartCount); in bindAction()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java119 writeInt(directChild, 32); in testAllPackageDirsWritable()
122 writeInt(subdirChild, 64); in testAllPackageDirsWritable()
448 public static void writeInt(File file, int value) throws IOException { in writeInt() method in CommonExternalStorageTest
451 os.writeInt(value); in writeInt()
/cts/hostsidetests/backup/FullBackupOnly/src/
DFullBackupOnlyBackupAgent.java98 out.writeInt(value); in onRestore()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DIcmpMessage.java60 stream.writeInt((int) quench); in getEncoded()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java112 dest.writeInt(mInstantAppPackageInfoExposed ? 1 : 0); in writeToParcel()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java297 private static boolean writeInt(File f, int value) throws IOException { in writeInt() method in FileSystemPermissionTest
320 writeInt(f, oom_adj - 1)); in testProcSelfOomAdjSane()
336 writeInt(f, oom_score_adj - 1)); in testProcSelfOomScoreAdjSane()
339 writeInt(f, oom_score_adj + 1)); in testProcSelfOomScoreAdjSane()
341 writeInt(f, oom_score_adj)); in testProcSelfOomScoreAdjSane()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceProvider.java134 dest.writeInt(mValue); in writeToParcel()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java84 dataOut.writeInt(getContext().getApplicationInfo().uid); in testCreatePrivateData()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java221 dest.writeInt(mButtonText); in writeToParcel()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java198 out.writeInt(mEvent); in writeToParcel()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java1491 parcel.writeInt(mWidth); in start()
1492 parcel.writeInt(mHeight); in start()
1499 parcel.writeInt(color); in doRendering()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java275 parcel.writeInt(17); in testReadFromParcelWithInvalidPointerCountSize()
293 parcel.writeInt(0x000f0000); in testReadFromParcelWithInvalidSampleSize()
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java140 dest.writeInt(mValue); in writeToParcel()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java183 p.writeInt(-1); in testSettingsBinderParcel()
194 p.writeInt(0); in testSettingsBinderParcel()
205 p.writeInt(1); in testSettingsBinderParcel()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...