Home
last modified time | relevance | path

Searched refs:putParcelable (Results 1 – 25 of 152) sorted by relevance

1234567

/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DBundleTest.java79 source.putParcelable("fd", pipe[0]); in createBundleParcel()
247 a.putParcelable("key1", p1); in kindofEquals_lazyValues()
249 b.putParcelable("key1", p2); in kindofEquals_lazyValues()
278 a.putParcelable("key1", p1); in kindofEquals_lazyValuesWithIdenticalParcels_returnsTrue()
286 b.putParcelable("key1", p2); in kindofEquals_lazyValuesWithIdenticalParcels_returnsTrue()
302 a.putParcelable("key", p1); in kindofEquals_lazyValuesAndDifferentClassLoaders_returnsFalse()
306 b.putParcelable("key", p2); in kindofEquals_lazyValuesAndDifferentClassLoaders_returnsFalse()
321 a.putParcelable("key", p); in kindofEquals_lazyValuesOfDifferentTypes_returnsFalse()
339 a.putParcelable("key", p1); in kindofEquals_lazyValuesWithDifferentLengths_returnsFalse()
343 b.putParcelable("key", p2); in kindofEquals_lazyValuesWithDifferentLengths_returnsFalse()
[all …]
H A DBundleMergerTest.java271 a.putParcelable(Intent.EXTRA_STREAM, Uri.parse("http://example.com")); in testMerge_Parcelable_BCP()
275 b.putParcelable(Intent.EXTRA_STREAM, Uri.parse("http://example.net")); in testMerge_Parcelable_BCP()
297 a.putParcelable(Intent.EXTRA_SUBJECT, new ExplodingParcelable()); in testMerge_Parcelable_Custom()
303 b.putParcelable(Intent.EXTRA_STREAM, new ExplodingParcelable()); in testMerge_Parcelable_Custom()
/aosp14/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java1376 in.putParcelable(DocumentsContract.EXTRA_URI, parentDocumentUri); in createDocument()
1407 in.putParcelable(DocumentsContract.EXTRA_URI, parentDocumentUri); in isChildDocument()
1443 in.putParcelable(DocumentsContract.EXTRA_URI, documentUri); in renameDocument()
1467 in.putParcelable(DocumentsContract.EXTRA_URI, documentUri); in deleteDocument()
1492 in.putParcelable(DocumentsContract.EXTRA_URI, sourceDocumentUri); in copyDocument()
1519 in.putParcelable(DocumentsContract.EXTRA_URI, sourceDocumentUri); in moveDocument()
1547 in.putParcelable(DocumentsContract.EXTRA_URI, documentUri); in removeDocument()
1568 in.putParcelable(DocumentsContract.EXTRA_URI, rootUri); in ejectRoot()
1613 in.putParcelable(EXTRA_URI, documentUri); in getDocumentMetadata()
1641 in.putParcelable(DocumentsContract.EXTRA_URI, treeUri); in findDocumentPath()
[all …]
H A DDocumentsProvider.java1159 out.putParcelable(DocumentsContract.EXTRA_URI, newDocumentUri); in callUnchecked()
1167 out.putParcelable(DocumentsContract.EXTRA_RESULT, intentSender); in callUnchecked()
1187 out.putParcelable(DocumentsContract.EXTRA_URI, newDocumentUri); in callUnchecked()
1219 out.putParcelable(DocumentsContract.EXTRA_URI, newDocumentUri); in callUnchecked()
1244 out.putParcelable(DocumentsContract.EXTRA_URI, newDocumentUri); in callUnchecked()
1292 out.putParcelable(DocumentsContract.EXTRA_RESULT, path); in callUnchecked()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DTestAccountType1Authenticator.java80 result.putParcelable(AccountManagerServiceTestFixtures.KEY_OPTIONS_BUNDLE, options); in addAccount()
92 result.putParcelable(AccountManager.KEY_INTENT, intent); in addAccount()
130 result.putParcelable(AccountManager.KEY_INTENT, intent); in confirmCredentials()
180 result.putParcelable(AccountManager.KEY_INTENT, intent); in getAuthToken()
223 result.putParcelable(AccountManager.KEY_INTENT, intent); in updateCredentials()
307 result.putParcelable(AccountManager.KEY_INTENT, intent); in startAddAccountSession()
364 result.putParcelable(AccountManager.KEY_INTENT, intent); in startUpdateCredentialsSession()
415 result.putParcelable(AccountManager.KEY_INTENT, intent); in finishSession()
454 result.putParcelable(AccountManager.KEY_INTENT, intent); in getAccountRemovalAllowed()
/aosp14/frameworks/base/core/java/android/service/ambientcontext/
H A DAmbientContextDetectionService.java84 bundle.putParcelable( in onBind()
92 bundle.putParcelable( in onBind()
122 bundle.putParcelable( in onBind()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationTest.java222 n.extras.putParcelable(EXTRA_LARGE_ICON, originalIcon); in largeIconReferenceInExtrasOnly_keptAfterParcelling()
745 extras.putParcelable(EXTRA_MEDIA_SESSION, new Intent()); in testIsMediaNotification_invalidSession_returnsFalse()
788 extras.putParcelable(EXTRA_PEOPLE_LIST, null); in testRecoverBuilder_nullExtraPeopleList_noCrash()
911 fakeTypes.putParcelable(EXTRA_PICTURE, new Bundle()); in testGetPictureIcon_invalidExtra_noCrash()
927 fakeTypes.putParcelable(KEY_BACKGROUND, new Bundle()); in testWearableExtender_invalidExtra_noCrash()
940 fakeTypes.putParcelable(EXTRA_LARGE_ICON, new Bundle()); in testCarExtender_invalidExtra_noCrash()
963 fakeTypes.putParcelable(KEY_ON_READ, new Bundle()); in testGetUnreadConversationFromBundle_invalidExtra_noCrash()
964 fakeTypes.putParcelable(KEY_ON_REPLY, new Bundle()); in testGetUnreadConversationFromBundle_invalidExtra_noCrash()
965 fakeTypes.putParcelable(KEY_REMOTE_INPUT, new Bundle()); in testGetUnreadConversationFromBundle_invalidExtra_noCrash()
981 fakeTypes.putParcelable(KEY_REMOTE_INPUT, new Bundle()); in testGetMessageFromBundle_invalidExtra_noCrash()
[all …]
/aosp14/frameworks/base/core/java/android/service/displayhash/
H A DDisplayHashingService.java130 data.putParcelable(EXTRA_VERIFIED_DISPLAY_HASH, verifiedDisplayHash); in verifyDisplayHash()
138 data.putParcelable(entry.getKey(), entry.getValue()); in getDisplayHashAlgorithms()
170 result.putParcelable(EXTRA_DISPLAY_HASH, displayHash); in generateDisplayHash()
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DSignalStrength.java929 m.putParcelable("Cdma", mCdma); in fillInNotifierBundle()
930 m.putParcelable("Gsm", mGsm); in fillInNotifierBundle()
931 m.putParcelable("Wcdma", mWcdma); in fillInNotifierBundle()
932 m.putParcelable("Tdscdma", mTdscdma); in fillInNotifierBundle()
933 m.putParcelable("Lte", mLte); in fillInNotifierBundle()
934 m.putParcelable("Nr", mNr); in fillInNotifierBundle()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DTestAccessPointBuilder.java83 bundle.putParcelable(AccessPoint.KEY_CONFIG, wifiConfig); in build()
84 bundle.putParcelable(AccessPoint.KEY_NETWORKINFO, mNetworkInfo); in build()
85 bundle.putParcelable(AccessPoint.KEY_WIFIINFO, mWifiInfo); in build()
/aosp14/frameworks/base/core/java/android/service/wearable/
H A DWearableSensingService.java140 bundle.putParcelable( in onBind()
146 bundle.putParcelable( in onBind()
172 bundle.putParcelable( in onBind()
/aosp14/frameworks/base/core/java/android/service/resumeonreboot/
H A DResumeOnRebootService.java137 bundle.putParcelable(EXCEPTION_KEY, new ParcelableException(e));
154 bundle.putParcelable(EXCEPTION_KEY, new ParcelableException(e));
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
H A DKeyguardRemotePreviewManager.kt72 result.putParcelable(
85 result.putParcelable(KEY_PREVIEW_CALLBACK, msg)
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DChartDataLoader.java52 args.putParcelable(KEY_TEMPLATE, template); in buildArgs()
53 args.putParcelable(KEY_APP, app); in buildArgs()
/aosp14/frameworks/base/core/java/android/app/slice/
H A DSliceManager.java231 extras.putParcelable(SliceProvider.EXTRA_BIND_URI, uri); in getSliceDescendants()
259 extras.putParcelable(SliceProvider.EXTRA_BIND_URI, uri); in bindSlice()
321 extras.putParcelable(SliceProvider.EXTRA_INTENT, intent); in mapIntentToUri()
399 extras.putParcelable(SliceProvider.EXTRA_INTENT, intent); in bindSlice()
H A DSliceProvider.java364 b.putParcelable(EXTRA_SLICE, s); in call()
375 b.putParcelable(EXTRA_SLICE, s); in call()
377 b.putParcelable(EXTRA_SLICE, null); in call()
385 b.putParcelable(EXTRA_SLICE, uri); in call()
/aosp14/frameworks/base/core/java/android/hardware/radio/
H A DRadioMetadata.java598 mBundle.putParcelable(key, value); in putBitmap()
619 mBundle.putParcelable(key, new Clock(utcSecondsSinceEpoch, timezoneOffsetMinutes)); in putClock()
677 mBundle.putParcelable(key, bmp); in putBitmapFromNative()
693 mBundle.putParcelable(key, new RadioMetadata.Clock( in putClockFromNative()
/aosp14/frameworks/base/core/java/android/app/
H A DActivityOptions.java2197 b.putParcelable(KEY_LAUNCH_BOUNDS, mLaunchBounds); in toBundle()
2203 b.putParcelable(KEY_USAGE_TIME_REPORT, mUsageTimeReport); in toBundle()
2232 b.putParcelable(KEY_ANIM_THUMBNAIL, hwBitmap.getHardwareBuffer()); in toBundle()
2246 b.putParcelable(KEY_TRANSITION_COMPLETE_LISTENER, mTransitionReceiver); in toBundle()
2250 b.putParcelable(KEY_RESULT_DATA, mResultData); in toBundle()
2268 b.putParcelable(KEY_LAUNCH_TASK_DISPLAY_AREA_TOKEN, mLaunchTaskDisplayArea); in toBundle()
2274 b.putParcelable(KEY_LAUNCH_ROOT_TASK_TOKEN, mLaunchRootTask); in toBundle()
2330 b.putParcelable(KEY_SOURCE_INFO, mSourceInfo); in toBundle()
2339 b.putParcelable(KEY_REMOTE_ANIMATION_ADAPTER, mRemoteAnimationAdapter); in toBundle()
2345 b.putParcelable(KEY_REMOTE_TRANSITION, mRemoteTransition); in toBundle()
[all …]
H A DSharedElementCallback.java186 bundle.putParcelable(BUNDLE_SNAPSHOT_BITMAP, bitmap); in onCaptureSharedElementSnapshot()
189 bundle.putParcelable(BUNDLE_SNAPSHOT_HARDWARE_BUFFER, hardwareBuffer); in onCaptureSharedElementSnapshot()
/aosp14/frameworks/base/services/core/java/com/android/server/slice/
H A DPinnedSliceState.java188 b.putParcelable(SliceProvider.EXTRA_BIND_URI, mUri); in handleSendPinned()
201 b.putParcelable(SliceProvider.EXTRA_BIND_URI, mUri); in handleSendUnpinned()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DSurfaceViewRequestUtils.java35 bundle.putParcelable(KEY_SURFACE_CONTROL, surfaceView.getSurfaceControl()); in createSurfaceBundle()
/aosp14/frameworks/base/core/java/android/service/controls/templates/
H A DToggleTemplate.java84 b.putParcelable(KEY_BUTTON, mButton); in getDataBundle()
/aosp14/frameworks/base/test-mock/src/android/test/mock/
H A DMockIContentProvider.java175 bundle.putParcelable(ContentResolver.REMOTE_CALLBACK_RESULT, in canonicalizeAsync()
192 bundle.putParcelable(ContentResolver.REMOTE_CALLBACK_RESULT, in uncanonicalizeAsync()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DScreenshotRequest.java303 bundle.putParcelable(KEY_BUFFER, bitmap.getHardwareBuffer()); in hardwareBitmapToBundle()
304 bundle.putParcelable(KEY_COLOR_SPACE, colorSpace); in hardwareBitmapToBundle()
/aosp14/frameworks/base/media/java/android/media/session/
H A DMediaSessionLegacyHelper.java91 oldMetadata.putParcelable(String.valueOf(MediaMetadataEditor.BITMAP_KEY_ARTWORK), in getOldMetadata()
96 oldMetadata.putParcelable(String.valueOf(MediaMetadataEditor.BITMAP_KEY_ARTWORK), in getOldMetadata()
140 oldMetadata.putParcelable(String.valueOf(MediaMetadataEditor.RATING_KEY_BY_OTHERS), in getOldMetadata()
144 oldMetadata.putParcelable(String.valueOf(MediaMetadataEditor.RATING_KEY_BY_USER), in getOldMetadata()

1234567