Home
last modified time | relevance | path

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

1234

/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.java41 parcel.writeInt(1); // Number of key-value pairs in createClipData()
42 parcel.writeInt(0); // Key in createClipData()
43 parcel.writeInt(VAL_SERIALIZABLE); // Value type in createClipData()
48 parcel.writeInt(0); in createClipData()
69 dest.writeInt(0); // mClassificationStatus in beginClipData()
72 dest.writeInt(0); // mIcon == null in beginClipData()
73 dest.writeInt(1); // mItems.size() in beginClipData()
77 dest.writeInt(0); // mIntent == null in beginClipData()
78 dest.writeInt(0); // mUri == null in beginClipData()
79 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 …]
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java63 mContextBinder.writeInt(BINDER_TYPE_HANDLE); in test_android_CVE_2020_0082()
65 mContextBinder.writeInt(0); in test_android_CVE_2020_0082()
79 p.writeInt(2 * values.length); in test_android_CVE_2020_0082()
81 p.writeInt(value); in test_android_CVE_2020_0082()
83 p.writeInt(0); in test_android_CVE_2020_0082()
133 parcel.writeInt(0); in test_android_CVE_2020_0082()
134 parcel.writeInt(BUNDLE_MAGIC); in test_android_CVE_2020_0082()
136 parcel.writeInt(preReSerialize.size() + 2); in test_android_CVE_2020_0082()
139 parcel.writeInt(VAL_PARCELABLEARRAY); in test_android_CVE_2020_0082()
140 parcel.writeInt(LENGTH_PARCELABLEARRAY); in test_android_CVE_2020_0082()
[all …]
DNanoAppBundleTest.java336 data.writeInt(0xffffffff); in nanoAppFilterParcel()
337 data.writeInt(0x4C444E42); in nanoAppFilterParcel()
339 data.writeInt(3); in nanoAppFilterParcel()
342 data.writeInt(4); in nanoAppFilterParcel()
345 data.writeInt(0); in nanoAppFilterParcel()
346 data.writeInt(0); in nanoAppFilterParcel()
347 data.writeInt(0); in nanoAppFilterParcel()
348 data.writeInt(0); in nanoAppFilterParcel()
349 data.writeInt(0); in nanoAppFilterParcel()
350 data.writeInt(13); in nanoAppFilterParcel()
[all …]
DCVE_2022_20338.java50 parcel.writeInt(3 /* HierarchicalUri.TYPE_ID */); in testPocCVE_2022_20338()
52 parcel.writeInt(representation); in testPocCVE_2022_20338()
55 parcel.writeInt(representation); in testPocCVE_2022_20338()
57 parcel.writeInt(representation); in testPocCVE_2022_20338()
59 parcel.writeInt(representation); in testPocCVE_2022_20338()
DBitmapWrapper.java82 dest.writeInt(mReplaceFields.get(Field.Height)); in writeToParcel()
87 dest.writeInt(mReplaceFields.get(Field.RowBytes)); in writeToParcel()
94 dest.writeInt(dataSize); in writeToParcel()
105 dest.writeInt(dataSize); in writeToParcel()
/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/hostsidetests/securitybulletin/test-apps/CVE-2023-20944/test-app/src/android/security/cts/CVE_2023_20944_test/
DPocActivity.java70 p.writeInt(0); // Will hold length in createLabelInjectingOptions()
71 p.writeInt(BUNDLE_MAGIC); in createLabelInjectingOptions()
75 p.writeInt(0); // \0 at end of resultWho in createLabelInjectingOptions()
76 p.writeInt(-1); // requestCode in createLabelInjectingOptions()
77 p.writeInt(0); // flags in createLabelInjectingOptions()
78 p.writeInt(0); // profilerInfo == null in createLabelInjectingOptions()
79 p.writeInt(1); // options != null in createLabelInjectingOptions()
92 p.writeInt(innerBundleLength + 72); in createLabelInjectingOptions()
96 p.writeInt(endOffset - startOffset); in createLabelInjectingOptions()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeBroadcastReceiveStateTest.java149 out.writeInt(sourceId); in createBroadcastReceiveStateForTest()
150 out.writeInt(sourceAddressType); in createBroadcastReceiveStateForTest()
152 out.writeInt(sourceAdvertisingSid); in createBroadcastReceiveStateForTest()
153 out.writeInt(broadcastId); in createBroadcastReceiveStateForTest()
154 out.writeInt(paSyncState); in createBroadcastReceiveStateForTest()
155 out.writeInt(bigEncryptionState); in createBroadcastReceiveStateForTest()
158 out.writeInt(badCode.length); in createBroadcastReceiveStateForTest()
162 out.writeInt(-1); in createBroadcastReceiveStateForTest()
164 out.writeInt(numSubgroups); in createBroadcastReceiveStateForTest()
/cts/tests/app/app/src/android/app/stubs/
DLocalService.java80 reply.writeInt(mValue);
88 reply.writeInt(Process.myPid());
92 reply.writeInt(Process.myUid());
96 reply.writeInt(Process.myPpid());
112 reply.writeInt(sOnCreateCount);
191 data.writeInt(mStartCount); in bindAction()
/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/telephony/current/src/android/telephony/cts/
DTelephonyDisplayInfoTest.java31 p.writeInt(1); in testParcel()
32 p.writeInt(2); in testParcel()
DPhoneCapabilityTest.java45 parcel.writeInt(maxActiveVoice); in parcelReadWrite()
46 parcel.writeInt(maxActiveData); in parcelReadWrite()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39808/src/android/security/cts/CVE_2021_39808/
DPocService.java105 data.writeInt(getResources().getInteger(R.integer.setFlag)); in createNotificationGroup()
106 data.writeInt(getResources().getInteger(R.integer.setFlag)); in createNotificationGroup()
108 data.writeInt(getResources().getInteger(R.integer.setFlag)); in createNotificationGroup()
114 data.writeInt(getResources().getInteger(R.integer.falseVal)); in createNotificationGroup()
115 data.writeInt(getResources().getInteger(R.integer.setFlag)); in createNotificationGroup()
/cts/tests/tests/gameservice/src/android/service/games/testing/
DOnSystemBarVisibilityChangedInfo.java76 dest.writeInt(mTimesShown); in writeToParcel()
77 dest.writeInt(mTimesHidden); in writeToParcel()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35669/test-app/src/android/security/cts/CVE_2023_35669_test/
DPocAuthService.java88 optionPayload.writeInt(originLen + 76); in getAccountRemovalAllowed()
93 payload.writeInt(-1 /* requestCode */); in getAccountRemovalAllowed()
94 payload.writeInt(0 /* flags */); in getAccountRemovalAllowed()
96 payload.writeInt(1 /* value */); in getAccountRemovalAllowed()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21124/test-app/src/android/security/cts/CVE_2023_21124_test/
DPocAuthService.java90 optionPayload.writeInt(2 * originLen /* val */); in addAccount()
95 payload.writeInt(0 /* val */); in addAccount()
96 payload.writeInt(0 /* val */); in addAccount()
98 payload.writeInt(1 /* val */); in addAccount()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21131/test-app/src/android/security/cts/CVE_2023_21131_test/
DPocAuthService.java92 optionPayload.writeInt(originLen + 76); in getAccountRemovalAllowed()
97 payload.writeInt(-1 /* requestCode */); in getAccountRemovalAllowed()
98 payload.writeInt(0 /* flags */); in getAccountRemovalAllowed()
100 payload.writeInt(1 /* value */); in getAccountRemovalAllowed()
/cts/tests/tests/externalservice/common/src/android/externalservice/common/
DRunningServiceInfo.java53 dest.writeInt(uid); in writeToParcel()
54 dest.writeInt(pid); in writeToParcel()
56 dest.writeInt(zygotePid); in writeToParcel()
/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()

1234