Home
last modified time | relevance | path

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

123

/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0921/src/android/security/cts/CVE_2021_0921/
DGenMalformedParcel.java19 data.writeInt(1); in parsingPackageImplParcel()
21 data.writeInt(0); in parsingPackageImplParcel()
22 data.writeInt(0x4C444E42); in parsingPackageImplParcel()
24 data.writeInt(3); in parsingPackageImplParcel()
27 data.writeInt(4); in parsingPackageImplParcel()
30 data.writeInt(0); // supportsSmallScreens in parsingPackageImplParcel()
31 data.writeInt(0); // supportsNormalScreens in parsingPackageImplParcel()
32 data.writeInt(0); // supportsLargeScreens in parsingPackageImplParcel()
33 data.writeInt(0); // supportsExtraLargeScreens in parsingPackageImplParcel()
34 data.writeInt(0); // resizeable in parsingPackageImplParcel()
[all …]
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0928/src/android/security/cts/CVE_2021_0928/
DAInjector.java40 parcel.writeInt(1); // Number of key-value pairs in createClipData()
41 parcel.writeInt(0); // Key in createClipData()
42 parcel.writeInt(VAL_SERIALIZABLE); // Value type in createClipData()
47 parcel.writeInt(0); in createClipData()
68 dest.writeInt(0); // mClassificationStatus in beginClipData()
71 dest.writeInt(0); // mIcon == null in beginClipData()
72 dest.writeInt(1); // mItems.size() in beginClipData()
76 dest.writeInt(0); // mIntent == null in beginClipData()
77 dest.writeInt(0); // mUri == null in beginClipData()
78 dest.writeInt(1); // mActivityInfo != null in beginClipData()
[all …]
/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.java59 mContextBinder.writeInt(BINDER_TYPE_HANDLE); in test_android_CVE_2020_0082()
61 mContextBinder.writeInt(0); in test_android_CVE_2020_0082()
75 p.writeInt(2 * values.length); in test_android_CVE_2020_0082()
77 p.writeInt(value); in test_android_CVE_2020_0082()
79 p.writeInt(0); in test_android_CVE_2020_0082()
129 parcel.writeInt(0); in test_android_CVE_2020_0082()
130 parcel.writeInt(BUNDLE_MAGIC); in test_android_CVE_2020_0082()
132 parcel.writeInt(preReSerialize.size() + 2); in test_android_CVE_2020_0082()
135 parcel.writeInt(VAL_PARCELABLEARRAY); in test_android_CVE_2020_0082()
136 parcel.writeInt(LENGTH_PARCELABLEARRAY); in test_android_CVE_2020_0082()
[all …]
DNanoAppBundleTest.java326 data.writeInt(0xffffffff); in nanoAppFilterParcel()
327 data.writeInt(0x4C444E42); in nanoAppFilterParcel()
329 data.writeInt(3); in nanoAppFilterParcel()
332 data.writeInt(4); in nanoAppFilterParcel()
335 data.writeInt(0); in nanoAppFilterParcel()
336 data.writeInt(0); in nanoAppFilterParcel()
337 data.writeInt(0); in nanoAppFilterParcel()
338 data.writeInt(0); in nanoAppFilterParcel()
339 data.writeInt(0); in nanoAppFilterParcel()
340 data.writeInt(13); in nanoAppFilterParcel()
[all …]
DParcelableExceptionTest.java46 data.writeInt(1); in createBundle()
48 data.writeInt(4); in createBundle()
DAndroidFutureTest.java52 data.writeInt(1); in createBundle()
54 data.writeInt(4); in createBundle()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0685/src/android/security/cts/CVE_2021_0685/
DPocAmbiguator.java69 parcel.writeInt(0); in make()
70 parcel.writeInt(BUNDLE_MAGIC); in make()
73 parcel.writeInt(preReSerialize.size() + 1); in make()
76 parcel.writeInt(VAL_OBJECTARRAY); in make()
77 parcel.writeInt(3); in make()
79 parcel.writeInt(VAL_PARCELABLE); in make()
82 parcel.writeInt(0); in make()
83 parcel.writeInt(0); in make()
85 parcel.writeInt(0); in make()
87 parcel.writeInt(VAL_INTARRAY); in make()
[all …]
/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/tests/app/app/src/android/app/stubs/
DLocalService.java78 reply.writeInt(mValue);
86 reply.writeInt(Process.myPid());
90 reply.writeInt(Process.myUid());
94 reply.writeInt(Process.myPpid());
184 data.writeInt(mStartCount); in bindAction()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyDisplayInfoTest.java31 p.writeInt(1); in testParcel()
32 p.writeInt(2); in testParcel()
DPhoneCapabilityTest.java44 parcel.writeInt(maxActiveVoice); in parcelReadWrite()
45 parcel.writeInt(maxActiveData); in parcelReadWrite()
DImsiEncryptionInfoTest.java62 p.writeInt(b.length); in testParcel()
67 p.writeInt(3); in testParcel()
/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/tests/gwp-asan/enabled/src/android/gwpasan/
DGwpAsanDefaultService.java43 reply.writeInt(Utils.isGwpAsanEnabled() ? 1 : 0); in onTransact()
45 reply.writeInt(-1); in onTransact()
DGwpAsanDisabledService.java43 reply.writeInt(Utils.isGwpAsanEnabled() ? 1 : 0); in onTransact()
45 reply.writeInt(-1); in onTransact()
DGwpAsanEnabledService.java43 reply.writeInt(Utils.isGwpAsanEnabled() ? 1 : 0); in onTransact()
45 reply.writeInt(-1); in onTransact()
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/
DReadGiftTest.java25 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.writeInt;
38 writeInt(read, 101); in testStageNonGifts()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteGiftTest.java28 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.writeInt;
42 writeInt(write, 102); in testStageNonGifts()
73 writeInt(none, 100); in testObbGifts()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DGiftTest.java27 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.writeInt;
40 writeInt(none, 100); in testStageNonGifts()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java1049 dest.writeInt(ordinal());
1104 dest.writeInt(displayId);
1105 dest.writeInt(rotation);
1230 dest.writeInt(widthDp);
1231 dest.writeInt(heightDp);
1232 dest.writeInt(displayWidth);
1233 dest.writeInt(displayHeight);
1234 dest.writeInt(metricsWidth);
1235 dest.writeInt(metricsHeight);
1236 dest.writeInt(smallestWidthDp);
[all …]

123