Home
last modified time | relevance | path

Searched refs:getParcelableExtra (Results 1 – 25 of 175) sorted by relevance

1234567

/frameworks/base/services/credentials/java/com/android/server/credentials/
DPendingIntentResultHandler.java53 return resultData.getParcelableExtra( in extractResponseContent()
63 return resultData.getParcelableExtra( in extractCreateCredentialResponse()
73 return resultData.getParcelableExtra( in extractGetCredentialResponse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/util/
DWidgetPickerIntentUtils.kt27 intent.getParcelableExtra(Intent.EXTRA_COMPONENT_NAME, ComponentName::class.java),
28 intent.getParcelableExtra(Intent.EXTRA_USER, UserHandle::class.java)
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java1189 …onPasswordChanged(context, intent, intent.getParcelableExtra(Intent.EXTRA_USER, android.os.UserHan… in onReceive()
1191 …onPasswordFailed(context, intent, intent.getParcelableExtra(Intent.EXTRA_USER, android.os.UserHand… in onReceive()
1193 …onPasswordSucceeded(context, intent, intent.getParcelableExtra(Intent.EXTRA_USER, android.os.UserH… in onReceive()
1205 …onPasswordExpiring(context, intent, intent.getParcelableExtra(Intent.EXTRA_USER, android.os.UserHa… in onReceive()
1210 … Uri uri = intent.getParcelableExtra(EXTRA_CHOOSE_PRIVATE_KEY_URI, android.net.Uri.class); in onReceive()
1238 …onUserAdded(context, intent, intent.getParcelableExtra(Intent.EXTRA_USER, android.os.UserHandle.cl… in onReceive()
1240 …onUserRemoved(context, intent, intent.getParcelableExtra(Intent.EXTRA_USER, android.os.UserHandle.… in onReceive()
1242 …onUserStarted(context, intent, intent.getParcelableExtra(Intent.EXTRA_USER, android.os.UserHandle.… in onReceive()
1244 …onUserStopped(context, intent, intent.getParcelableExtra(Intent.EXTRA_USER, android.os.UserHandle.… in onReceive()
1246 …onUserSwitched(context, intent, intent.getParcelableExtra(Intent.EXTRA_USER, android.os.UserHandle… in onReceive()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DIntentCreatorTest.java102 Intent target = intent.getParcelableExtra(Intent.EXTRA_INTENT, Intent.class); in test_getShareIntent_plaintext()
115 Intent target = intent.getParcelableExtra(Intent.EXTRA_INTENT, Intent.class); in test_getShareIntent_html()
129 Intent target = intent.getParcelableExtra(Intent.EXTRA_INTENT, Intent.class); in test_getShareIntent_image()
130 assertEquals(uri, target.getParcelableExtra(Intent.EXTRA_STREAM, Uri.class)); in test_getShareIntent_image()
142 Intent target = intent.getParcelableExtra(Intent.EXTRA_INTENT, Intent.class); in test_getShareIntent_spannableText()
/frameworks/base/core/java/android/credentials/selection/
DIntentHelper.java45 return intent.getParcelableExtra(CancelSelectionRequest.EXTRA_CANCEL_UI_REQUEST, in extractCancelUiRequest()
55 return intent.getParcelableExtra(RequestInfo.EXTRA_REQUEST_INFO, in extractRequestInfo()
104 return intent.getParcelableExtra(Constants.EXTRA_RESULT_RECEIVER, in extractResultReceiver()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountAuthenticatorDummyActivity.java34 intent.getParcelableExtra(AccountManagerServiceTestFixtures.KEY_CALLBACK); in onCreate()
35 Intent result = intent.getParcelableExtra(AccountManagerServiceTestFixtures.KEY_RESULT); in onCreate()
/frameworks/base/core/java/android/service/games/
DGameSessionTrampolineActivity.java97 getIntent().getParcelableExtra(INTENT_KEY, android.content.Intent.class), in onCreate()
104 AndroidFuture<GameSessionActivityResult> future = getIntent().getParcelableExtra( in onCreate()
125 AndroidFuture<GameSessionActivityResult> future = getIntent().getParcelableExtra( in onActivityResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSliceBroadcastRelayHandler.java85 Uri uri = intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_URI, Uri.class); in handleIntent()
87 intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_RECEIVER, in handleIntent()
89 IntentFilter filter = intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_FILTER, in handleIntent()
94 Uri uri = intent.getParcelableExtra(SliceBroadcastRelay.EXTRA_URI, Uri.class); in handleIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDisconnectedReceiver.java55 UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
61 (UsbAccessory)intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY); in onReceive()
DUsbDialogHelper.java70 mDevice = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in UsbDialogHelper()
71 mAccessory = intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY); in UsbDialogHelper()
79 mResolveInfo = intent.getParcelableExtra(EXTRA_RESOLVE_INFO); in UsbDialogHelper()
89 mPendingIntent = intent.getParcelableExtra(Intent.EXTRA_INTENT); in UsbDialogHelper()
DUsbResolverActivity.java67 Parcelable targetParcelable = intent.getParcelableExtra(Intent.EXTRA_INTENT); in onCreate()
94 mDevice = (UsbDevice)target.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
100 mAccessory = (UsbAccessory)target.getParcelableExtra(UsbManager.EXTRA_ACCESSORY); in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionIntentCreatorTest.kt52 val wrappedIntent = output.getParcelableExtra(Intent.EXTRA_INTENT, Intent::class.java) in testCreateShare()
68 assertThatIntent(output.getParcelableExtra(Intent.EXTRA_INTENT, Intent::class.java)) in testCreateShare_embeddedUserIdRemoved()
87 val wrappedIntent = output.getParcelableExtra(Intent.EXTRA_INTENT, Intent::class.java) in testCreateShareWithSubject()
111 val wrappedIntent = output.getParcelableExtra(Intent.EXTRA_INTENT, Intent::class.java) in testCreateShareWithText()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DSlicePurchaseActivityTest.java111 doReturn(mPendingIntent).when(spiedIntent).getParcelableExtra( in setUp()
115 doReturn(mCanceledIntent).when(spiedIntent).getParcelableExtra( in setUp()
119 doReturn(mSuccessfulIntent).when(spiedIntent).getParcelableExtra( in setUp()
124 doReturn(mRequestFailedIntent).when(spiedIntent).getParcelableExtra( in setUp()
DSlicePurchaseBroadcastReceiverTest.java108 doReturn(mPendingIntent).when(mIntent).getParcelableExtra( in testSendSlicePurchaseAppResponse()
120 doReturn(mPendingIntent).when(mIntent).getParcelableExtra( in testSendSlicePurchaseAppResponseWithData()
148 doReturn(mPendingIntent).when(mIntent).getParcelableExtra( in testIsIntentValid()
225 doReturn(mPendingIntent).when(mIntent).getParcelableExtra( in displayPerformanceBoostNotification()
260 doReturn(intent).when(mIntent).getParcelableExtra(eq(extra), eq(PendingIntent.class)); in createValidPendingIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DSmartActionsReceiver.java50 intent.getParcelableExtra(EXTRA_ACTION_INTENT, PendingIntent.class); in onReceive()
51 Intent fillIn = intent.getParcelableExtra(EXTRA_ACTION_INTENT_FILLIN, Intent.class); in onReceive()
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DTestActivity.java42 mResultTo = getIntent().getParcelableExtra(Constants.EXTRA_RECEIVER_CALLBACK); in onCreate()
49 mResultTo = intent.getParcelableExtra(Constants.EXTRA_RECEIVER_CALLBACK); in onNewIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsRequestReceiver.kt63 intent.getParcelableExtra(Intent.EXTRA_COMPONENT_NAME, ComponentName::class.java) in onReceive()
73 intent.getParcelableExtra(ControlsProviderService.EXTRA_CONTROL, Control::class.java) in onReceive()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallUninstalling.java68 mAppInfo = getIntent().getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
69 mCallback = getIntent().getParcelableExtra(PackageInstaller.EXTRA_CALLBACK, in onCreate()
79 UserHandle user = getIntent().getParcelableExtra(Intent.EXTRA_USER); in onCreate()
DInstallSuccess.java68 intent.getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
70 mAppSnippet = intent.getParcelableExtra(PackageInstallerActivity.EXTRA_APP_SNIPPET, in onCreate()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceDataTransferActivity.java76 mRequest = intent.getParcelableExtra(EXTRA_PERMISSION_SYNC_REQUEST, in onCreate()
79 mCdmServiceReceiver = intent.getParcelableExtra(EXTRA_SYSTEM_DATA_TRANSFER_RESULT_RECEIVER, in onCreate()
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java84 intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO); in onReceive()
86 intent.getParcelableExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO); in onReceive()
/frameworks/base/media/tests/projection/src/android/media/projection/
DMediaProjectionManagerTest.java100 assertThat(intent.getParcelableExtra(EXTRA_MEDIA_PROJECTION_CONFIG, in testCreateScreenCaptureIntent_display()
113 assertThat(intent.getParcelableExtra(EXTRA_MEDIA_PROJECTION_CONFIG, in testCreateScreenCaptureIntent_usersChoice()
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbHostManagementActivity.java80 mUsbDevice = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
238 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
241 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()
/frameworks/base/core/java/com/android/internal/app/
DHarmfulAppWarningActivity.java58 … mTarget = intent.getParcelableExtra(Intent.EXTRA_INTENT, android.content.IntentSender.class); in onCreate()
111 …final IntentSender target = getIntent().getParcelableExtra(Intent.EXTRA_INTENT, android.content.In… in onClick()
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java63 mUsbDevice = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
158 UsbDevice device = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive()

1234567