Home
last modified time | relevance | path

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

12

/cts/hostsidetests/securitybulletin/test-apps/launchanywhere/src/com/android/security/cts/launchanywhere/
DCVE_2017_13289.java28 data.writeInt(1); in generate()
30 data.writeInt(0xffffffff); in generate()
31 data.writeInt(0x4C444E42); in generate()
33 data.writeInt(2); in generate()
36 data.writeInt(4); in generate()
38 data.writeInt(1); in generate()
40 data.writeInt(0); in generate()
41 data.writeInt(0); in generate()
42 data.writeInt(0); in generate()
43 data.writeInt(0); in generate()
[all …]
DCVE_2017_13286.java30 data.writeInt(1); in generate()
32 data.writeInt(0xffffffff); in generate()
33 data.writeInt(0x4C444E42); in generate()
35 data.writeInt(3); in generate()
38 data.writeInt(4); in generate()
40 data.writeInt(0); in generate()
41 data.writeInt(1); in generate()
42 data.writeInt(2); in generate()
43 data.writeInt(3); in generate()
44 data.writeInt(4); in generate()
[all …]
DCVE_2017_13315.java27 data.writeInt(1); in generate()
29 data.writeInt(0xffffffff); in generate()
30 data.writeInt(0x4C444E42); in generate()
32 data.writeInt(3); in generate()
35 data.writeInt(4); in generate()
37 data.writeInt(0); in generate()
39 data.writeInt(0); in generate()
40 data.writeInt(6); in generate()
41 data.writeInt(13); in generate()
43 data.writeInt(0xffffffff); in generate()
[all …]
DCVE_2017_13312.java27 data.writeInt(1); in generate()
29 data.writeInt(0xffffffff); in generate()
30 data.writeInt(0x4C444E42); in generate()
32 data.writeInt(3); in generate()
41 data.writeInt(4); in generate()
44 data.writeInt(13); in generate()
45 data.writeInt(32); in generate()
46 data.writeInt(0); in generate()
47 data.writeInt(0); in generate()
48 data.writeInt(0); in generate()
[all …]
DCVE_2017_13288.java29 data.writeInt(1); in generate()
31 data.writeInt(0xffffffff); in generate()
32 data.writeInt(0x4C444E42); in generate()
34 data.writeInt(2); in generate()
37 data.writeInt(4); in generate()
39 data.writeInt(0); in generate()
40 data.writeInt(0); in generate()
41 data.writeInt(0); in generate()
42 data.writeInt(1); in generate()
43 data.writeInt(1); in generate()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java85 parcel.writeInt(preReSerialize.size() + 2); in test_android_CVE_2017_13310()
88 parcel.writeInt(VAL_PARCELABLE); in test_android_CVE_2017_13310()
94 parcel.writeInt(VAL_BUNDLE); in test_android_CVE_2017_13310()
107 p.writeInt(VAL_INTARRAY); in test_android_CVE_2017_13310()
108 p.writeInt(13); in test_android_CVE_2017_13310()
117 p.writeInt(paddingVal); in test_android_CVE_2017_13310()
188 parcel.writeInt(preReSerialize.size() + 1); // Num key-value pairs in test_android_CVE_2018_9339()
191 parcel.writeInt(VAL_PARCELABLE); in test_android_CVE_2018_9339()
195 parcel.writeInt(2); // Number of items in typed array list in test_android_CVE_2018_9339()
196 parcel.writeInt(1); // Item present flag in test_android_CVE_2018_9339()
[all …]
DParcelableExceptionTest.java47 data.writeInt(1); in createBundle()
49 data.writeInt(4); in createBundle()
/cts/tests/app/app/src/android/app/stubs/
DLocalService.java69 reply.writeInt(mValue);
77 reply.writeInt(Process.myPid());
81 reply.writeInt(Process.myUid());
85 reply.writeInt(Process.myPpid());
150 data.writeInt(mStartCount); in bindAction()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteGiftTest.java29 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.writeInt;
48 writeInt(none, 100); in testGifts()
58 writeInt(read, 101); in testGifts()
68 writeInt(write, 102); in testGifts()
84 writeInt(none, 100); in testObbGifts()
DWriteExternalStorageTest.java34 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.writeInt;
97 writeInt(TEST_FILE, 32); in testWriteExternalStorage()
129 writeInt(target, value); in testLegacyPaths()
/cts/tests/tests/externalservice/common/src/android/externalservice/common/
DRunningServiceInfo.java43 dest.writeInt(uid); in writeToParcel()
44 dest.writeInt(pid); in writeToParcel()
46 dest.writeInt(zygotePid); in writeToParcel()
/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/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java949 dest.writeInt(ordinal());
999 dest.writeInt(displayId);
1000 dest.writeInt(rotation);
1092 dest.writeInt(widthDp);
1093 dest.writeInt(heightDp);
1094 dest.writeInt(displayWidth);
1095 dest.writeInt(displayHeight);
1096 dest.writeInt(metricsWidth);
1097 dest.writeInt(metricsHeight);
1098 dest.writeInt(smallestWidthDp);
[all …]
/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java87 p.writeInt(7); in testAppendFrom()
88 p.writeInt(5); in testAppendFrom()
103 p.writeInt(7); // size 4 in testDataAvail()
104 p.writeInt(5); // size 4 in testDataAvail()
125 p.writeInt(7); // size 4 in testDataCapacity()
152 p.writeInt(7); // size 4 in testDataPosition()
171 p.writeInt(7); in testSetDataPosition()
185 p.writeInt(7); // size 4 in testDataSize()
187 p.writeInt(5); // size 4 in testDataSize()
204 p.writeInt(3); in testSetDataSize()
[all …]
DLocalService.java109 data.writeInt(mStartCount); in bindAction()
DPatternMatcherTest.java43 p.writeInt(PatternMatcher.PATTERN_LITERAL); in testConstructor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DCommandApdu.java46 dest.writeInt(mReachable ? 1 : 0); in writeToParcel()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java119 writeInt(directChild, 32); in testAllPackageDirsWritable()
122 writeInt(subdirChild, 64); in testAllPackageDirsWritable()
464 public static void writeInt(File file, int value) throws IOException { in writeInt() method in CommonExternalStorageTest
467 os.writeInt(value); in writeInt()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DIcmpMessage.java60 stream.writeInt((int) quench); in getEncoded()
/cts/hostsidetests/backup/FullBackupOnly/src/
DFullBackupOnlyBackupAgent.java98 out.writeInt(value); in onRestore()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java361 private static boolean writeInt(File f, int value) throws IOException { in writeInt() method in FileSystemPermissionTest
385 writeInt(f, oom_adj - 1)); in testProcSelfOomAdjSane()
402 writeInt(f, oom_score_adj - 1)); in testProcSelfOomScoreAdjSane()
405 writeInt(f, oom_score_adj + 1)); in testProcSelfOomScoreAdjSane()
407 writeInt(f, oom_score_adj)); in testProcSelfOomScoreAdjSane()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java112 dest.writeInt(mInstantAppPackageInfoExposed ? 1 : 0); in writeToParcel()
/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()

12