/frameworks/base/core/tests/mockingcoretests/src/android/os/ |
D | BundleRecyclingTest.java | 147 assertNotNull(mBundle.getParcelable("lazy0", CustomParcelable.class)); in bundleGet_whenUnparcelledWithLazyValueUnwrapped_recyclesParcel() 151 assertNotNull(mBundle.getParcelable("lazy0", CustomParcelable.class)); in bundleGet_whenUnparcelledWithLazyValueUnwrapped_recyclesParcel() 160 assertNotNull(mBundle.getParcelable("lazy0", CustomParcelable.class)); in bundleGet_whenMultipleLazy_recyclesParcelWhenAllUnwrapped() 163 assertNotNull(mBundle.getParcelable("lazy0", CustomParcelable.class)); in bundleGet_whenMultipleLazy_recyclesParcelWhenAllUnwrapped() 166 assertNotNull(mBundle.getParcelable("lazy1", CustomParcelable.class)); in bundleGet_whenMultipleLazy_recyclesParcelWhenAllUnwrapped() 170 assertNotNull(mBundle.getParcelable("lazy0", CustomParcelable.class)); in bundleGet_whenMultipleLazy_recyclesParcelWhenAllUnwrapped() 180 assertNotNull(mBundle.getParcelable("lazy0", CustomParcelable.class)); in bundleGet_whenLazyAndNonLazy_recyclesParcelWhenAllUnwrapped() 185 assertNotNull(mBundle.getParcelable("lazy0", CustomParcelable.class)); in bundleGet_whenLazyAndNonLazy_recyclesParcelWhenAllUnwrapped() 200 assertNotNull(mBundle.getParcelable("lazy0", CustomParcelable.class)); in bundleGet_whenLazyAndNonLazy_doesNotRecycleWhenOnlyNonLazyRetrieved() 211 assertNotNull(mBundle.getParcelable("lazy0", CustomParcelable.class)); in bundleGet_withWithSharedParcel_doesNotRecycleParcel() [all …]
|
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/ktx/ |
D | IntentKtx.kt | 29 get() = this.extras?.getParcelable( 35 get() = this.extras?.getParcelable(
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageArgs.java | 61 return b.getParcelable(KEY_ASSET_URI); in getAssetUri() 65 return b.getParcelable(KEY_PERM_URI); in getPermUri()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BundleTest.java | 117 assertEquals(ParcelFileDescriptor.class, b.getParcelable("fd").getClass()); in checkBundle() 282 a.getParcelable("key1"); in kindofEquals_lazyValues() 286 b.getParcelable("key1"); in kindofEquals_lazyValues() 381 RuntimeException e = assertThrows(RuntimeException.class, () -> bundle.getParcelable("p")); in readWriteLengthMismatch_logsWtf() 395 assertThrows(BadParcelableException.class, () -> bundle.getParcelable("key")); in getParcelable_whenThrowingAndNotDefusing_throws() 409 assertThat(bundle.<Parcelable>getParcelable("key")).isNull(); in getParcelable_whenThrowingAndDefusing_returnsNull() 423 assertThat(bundle.<Parcelable>getParcelable("key")).isNull(); in getParcelable_whenThrowingAndDefusing_leavesElement() 430 assertThat(bundle.<Parcelable>getParcelable("key")).isEqualTo(parcelable); in getParcelable_whenThrowingAndDefusing_leavesElement()
|
D | BundleMergerTest.java | 279 merger.merge(a, b).getParcelable(Intent.EXTRA_STREAM, Uri.class)); in testMerge_Parcelable_BCP() 281 merger.merge(b, a).getParcelable(Intent.EXTRA_STREAM, Uri.class)); in testMerge_Parcelable_BCP() 316 ab.getParcelable(Intent.EXTRA_SUBJECT, ExplodingParcelable.class); in testMerge_Parcelable_Custom() 319 ab.getParcelable(Intent.EXTRA_STREAM, ExplodingParcelable.class); in testMerge_Parcelable_Custom()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceProvider.java | 351 extras.getParcelable(EXTRA_BIND_URI, android.net.Uri.class))); in call() 363 Intent intent = extras.getParcelable(EXTRA_INTENT, android.content.Intent.class); in call() 377 Intent intent = extras.getParcelable(EXTRA_INTENT, android.content.Intent.class); in call() 385 extras.getParcelable(EXTRA_BIND_URI, android.net.Uri.class))); in call() 392 extras.getParcelable(EXTRA_BIND_URI, android.net.Uri.class))); in call() 399 … validateIncomingUriOrNull(extras.getParcelable(EXTRA_BIND_URI, android.net.Uri.class))); in call()
|
D | SliceManager.java | 263 return res.getParcelable(SliceProvider.EXTRA_SLICE, android.app.slice.Slice.class); in bindSlice() 313 return res.getParcelable(SliceProvider.EXTRA_SLICE, android.net.Uri.class); in mapIntentToUri() 393 return res.getParcelable(SliceProvider.EXTRA_SLICE, android.app.slice.Slice.class); in bindSlice()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip2/ |
D | PipTransitionStateTest.java | 73 Assert.assertEquals(mEmptyParcelable, extra.getParcelable(EXTRA_ENTRY_KEY)); in testEnteredState_withExtra() 99 Assert.assertEquals(mEmptyParcelable, extra.getParcelable(EXTRA_ENTRY_KEY)); in testCustomState_withExtra_thenEntered_withoutExtra()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageMonitorCallbackHelperTest.java | 142 Intent intent = bundle.getParcelable( in testPackageMonitorCallback_SuspendCallbackCalled() 167 Intent intent = bundle.getParcelable( in testRegisterPackageMonitorCallback_callbackCalled() 209 Intent intent = bundle.getParcelable( in testNotifyPackageChanged_callbackCalled() 238 Intent intent = bundle.getParcelable( in testNotifyPackageAddedForNewUsers_callbackCalled() 262 Intent intent = bundle.getParcelable( in testNotifyResourcesChanged_callbackCalled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/ |
D | TraceurMessageSender.kt | 134 msg.data.getParcelable(MessageConstants.EXTRA_PERFETTO, Uri::class.java), in handleMessage() 135 msg.data.getParcelable(MessageConstants.EXTRA_WINSCOPE, Uri::class.java) in handleMessage()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/tv/ |
D | TvPipNotificationTests.kt | 178 get() = tvExtensions?.getParcelable("content_intent") 182 get() = tvExtensions?.getParcelable("delete_intent")
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | SurfaceViewRequestUtils.java | 45 return bundle.getParcelable(KEY_SURFACE_CONTROL); in getSurfaceControl()
|
/frameworks/base/core/java/android/service/controls/templates/ |
D | ToggleTemplate.java | 56 … mButton = b.getParcelable(KEY_BUTTON, android.service.controls.templates.ControlButton.class); in ToggleTemplate()
|
D | ToggleRangeTemplate.java | 46 …mControlButton = b.getParcelable(KEY_BUTTON, android.service.controls.templates.ControlButton.clas… in ToggleRangeTemplate()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 222 enforceTree(extras.getParcelable(DocumentsContract.EXTRA_URI, android.net.Uri.class)); in enforceTreeForExtraUris() 223 … enforceTree(extras.getParcelable(DocumentsContract.EXTRA_PARENT_URI, android.net.Uri.class)); in enforceTreeForExtraUris() 224 … enforceTree(extras.getParcelable(DocumentsContract.EXTRA_TARGET_URI, android.net.Uri.class)); in enforceTreeForExtraUris() 1107 extras.getParcelable(DocumentsContract.EXTRA_URI, android.net.Uri.class)); in callUnchecked() 1109 extras.getParcelable(DocumentsContract.EXTRA_TARGET_URI, android.net.Uri.class)); in callUnchecked() 1111 extras.getParcelable(DocumentsContract.EXTRA_PARENT_URI, android.net.Uri.class)); in callUnchecked() 1452 …final Point sizeHint = opts.getParcelable(ContentResolver.EXTRA_SIZE, android.graphics.Point.class… in openTypedAssetFileImpl()
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 237 …HardwareBuffer buffer = bundle.getParcelable(BUNDLE_SNAPSHOT_HARDWARE_BUFFER, android.hardware.Har… in onCreateSnapshotView() 238 … Bitmap bitmap = bundle.getParcelable(BUNDLE_SNAPSHOT_BITMAP, android.graphics.Bitmap.class); in onCreateSnapshotView()
|
D | ActivityOptions.java | 1293 mUsageTimeReport = opts.getParcelable(KEY_USAGE_TIME_REPORT, PendingIntent.class); in ActivityOptions() 1297 mLaunchBounds = opts.getParcelable(KEY_LAUNCH_BOUNDS, android.graphics.Rect.class); in ActivityOptions() 1325 …final HardwareBuffer buffer = opts.getParcelable(KEY_ANIM_THUMBNAIL, android.hardware.HardwareBuff… in ActivityOptions() 1338 mSceneTransitionInfo = opts.getParcelable(KEY_SCENE_TRANSITION_INFO, in ActivityOptions() 1346 …mLaunchTaskDisplayArea = opts.getParcelable(KEY_LAUNCH_TASK_DISPLAY_AREA_TOKEN, android.window.Win… in ActivityOptions() 1349 …mLaunchRootTask = opts.getParcelable(KEY_LAUNCH_ROOT_TASK_TOKEN, android.window.WindowContainerTok… in ActivityOptions() 1379 … mSourceInfo = opts.getParcelable(KEY_SOURCE_INFO, android.app.ActivityOptions.SourceInfo.class); in ActivityOptions() 1386 …mRemoteAnimationAdapter = opts.getParcelable(KEY_REMOTE_ANIMATION_ADAPTER, android.view.RemoteAnim… in ActivityOptions() 1388 …mRemoteTransition = opts.getParcelable(KEY_REMOTE_TRANSITION, android.window.RemoteTransition.clas… in ActivityOptions() 1395 …mLaunchIntoPipParams = opts.getParcelable(KEY_LAUNCH_INTO_PIP_PARAMS, android.app.PictureInPicture… in ActivityOptions()
|
/frameworks/base/core/java/android/credentials/ |
D | GetCredentialResponse.java | 69 return mCredential.getData().getParcelable( in getAutofillId()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | SummaryForAllUidLoader.java | 62 final NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE); in loadInBackground()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ScreenshotRequest.java | 327 HardwareBuffer buffer = bundle.getParcelable(KEY_BUFFER, HardwareBuffer.class); in bundleToHardwareBitmap() 328 ParcelableColorSpace colorSpace = bundle.getParcelable(KEY_COLOR_SPACE, in bundleToHardwareBitmap()
|
/frameworks/base/core/java/android/credentials/selection/ |
D | FailureDialogResult.java | 41 return resultData.getParcelable( in fromResultData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | TargetSdkResolver.kt | 51 notification.extras.getParcelable( in getApplicationInfoFromExtras()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | PinnedSliceStateTest.java | 115 assertEquals(TEST_URI, b.getParcelable(SliceProvider.EXTRA_BIND_URI)); in testSendPinnedOnPin() 182 assertEquals(TEST_URI, b.getParcelable(SliceProvider.EXTRA_BIND_URI)); in testPinFailed()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UnarchiveErrorActivity.java | 46 PendingIntent intent = extras.getParcelable(Intent.EXTRA_INTENT, PendingIntent.class); in onCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | SaveImageInBackgroundTaskTest.kt | 231 quickShareAction.actionIntent.intent.extras!!.getParcelable( in testCreateQuickShareAction_mutableIntent_returnsSafeIntent() 269 quickShareAction.actionIntent.intent.extras!!.getParcelable( in testCreateQuickShareAction_immutableIntent_returnsSafeIntent()
|