Home
last modified time | relevance | path

Searched refs:getIntent (Results 1 – 25 of 213) sorted by relevance

123456789

/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedScreen.java41 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onCreate()
42 if (LaunchpadActivity.FORWARD_RESULT.equals(getIntent().getAction())) { in onCreate()
43 Intent intent = new Intent(getIntent()); in onCreate()
48 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onCreate()
50 } else if (DELIVER_RESULT.equals(getIntent().getAction())) { in onCreate()
54 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onCreate()
56 } else if (CLEAR_TASK.equals(getIntent().getAction())) { in onCreate()
57 if (!getIntent().getBooleanExtra(ClearTop.WAIT_CLEAR_TASK, false)) { in onCreate()
70 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onResume()
71 if (CLEAR_TASK.equals(getIntent().getAction())) { in onResume()
[all …]
DLaunchpadActivity.java171 String action = getIntent().getAction(); in onCreate()
173 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onCreate()
204 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onStart()
219 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onResume()
227 String action = getIntent().getAction(); in onResume()
232 Intent intent = getIntent(); in onResume()
239 Intent intent = getIntent(); in onResume()
245 Intent intent = getIntent(); in onResume()
326 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onPause()
334 + Integer.toHexString(System.identityHashCode(this)) + ": " + getIntent()); in onStop()
[all …]
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DDetailsActivity.java43 fragment.setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
49 fragment.setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
59 fragment.setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
63 fragment.setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
DDetailsSupportActivity.java46 fragment.setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
52 fragment.setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
62 fragment.setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
66 fragment.setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
DMainActivity.java67 actions.get(actions.size()-1).getIntent().putExtra(DetailsActivity.EXTRA_ITEM, in onCreateActions()
71 actions.get(actions.size()-1).getIntent().putExtra(DetailsSupportActivity.EXTRA_ITEM, in onCreateActions()
76 actions.get(actions.size()-1).getIntent().putExtra(DetailsActivity.EXTRA_ITEM, in onCreateActions()
80 actions.get(actions.size()-1).getIntent().putExtra(DetailsSupportActivity.EXTRA_ITEM, in onCreateActions()
85 actions.get(actions.size()-1).getIntent().putExtra(DetailsActivity.EXTRA_ITEM, in onCreateActions()
90 actions.get(actions.size()-1).getIntent().putExtra(DetailsSupportActivity.EXTRA_ITEM, in onCreateActions()
95 actions.get(actions.size()-1).getIntent().putExtra(SearchDetailsActivity.EXTRA_ITEM, in onCreateActions()
99 … actions.get(actions.size()-1).getIntent().putExtra(SearchDetailsSupportActivity.EXTRA_ITEM, in onCreateActions()
156 Intent intent = action.getIntent(); in onGuidedActionClicked()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java67 mStartIntent = (IntentSender)getIntent().getParcelableExtra(KEY_INTENT); in onCreate()
68 mHasResult = getIntent().getBooleanExtra(KEY_HAS_RESULT, false); in onCreate()
69 mCurApp = getIntent().getStringExtra(KEY_CUR_APP); in onCreate()
70 mCurTask = getIntent().getIntExtra(KEY_CUR_TASK, 0); in onCreate()
71 mNewApp = getIntent().getStringExtra(KEY_NEW_APP); in onCreate()
DDumpHeapActivity.java60 mProcess = getIntent().getStringExtra(KEY_PROCESS); in onCreate()
61 mSize = getIntent().getLongExtra(KEY_SIZE, 0); in onCreate()
63 String directLaunch = getIntent().getStringExtra(KEY_DIRECT_LAUNCH); in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java238 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoParcel()
269 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoParcel()
270 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoParcel()
324 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoParcel_resId()
325 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoParcel_resId()
370 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoClone()
371 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoClone()
390 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoClone()
391 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoClone()
411 assertEquals(null, si.getIntent()); in testShortcutInfoClone()
[all …]
/frameworks/support/fragment/tests/java/android/support/v4/app/test/
DFragmentResultActivity.java32 int resultCode = getIntent().getIntExtra(EXTRA_RESULT_CODE, Activity.RESULT_OK); in onCreate()
33 String result = getIntent().getStringExtra(EXTRA_RESULT_CONTENT); in onCreate()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DReceiverActivity.java40 if (UsbManager.ACTION_USB_DEVICE_ATTACHED.equals(getIntent().getAction())) { in onCreate()
41 final UsbDevice device = getIntent().getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DObjectBrowser.java112 mDeviceName = getIntent().getStringExtra("device"); in onCreate()
113 mStorageID = getIntent().getIntExtra("storage", 0); in onCreate()
114 mObjectID = getIntent().getIntExtra("object", 0); in onCreate()
DObjectViewer.java106 mDeviceName = getIntent().getStringExtra("device"); in onCreate()
107 mStorageID = getIntent().getIntExtra("storage", 0); in onCreate()
108 mObjectID = getIntent().getIntExtra("object", 0); in onCreate()
/frameworks/support/wear/tests/src/android/support/wear/widget/
DSwipeDismissFrameLayoutTestActivity.java35 int layoutId = getIntent().getIntExtra(EXTRA_LAYOUT_RESOURCE_ID, -1); in onCreate()
36 boolean horizontal = getIntent().getBooleanExtra(EXTRA_LAYOUT_HORIZONTAL, false); in onCreate()
DLayoutTestActivity.java29 Intent intent = getIntent(); in onCreate()
/frameworks/support/compat/java/android/support/v4/app/
DShareCompat.java99 result = calledActivity.getIntent().getStringExtra(EXTRA_CALLING_PACKAGE); in getCallingPackage()
119 result = calledActivity.getIntent().getParcelableExtra(EXTRA_CALLING_ACTIVITY); in getCallingActivity()
160 provider.setShareIntent(shareIntent.getIntent()); in configureMenuItem()
230 public Intent getIntent() { in getIntent() method in ShareCompat.IntentBuilder
291 Intent intent = getIntent(); in combineArrayExtra()
308 return Intent.createChooser(getIntent(), mChooserTitle); in createChooserIntent()
612 mIntent = activity.getIntent(); in IntentReader()
DJobIntentService.java250 public Intent getIntent() { in getIntent() method in JobIntentService.JobServiceEngineImpl.WrapperWorkItem
251 return mJobWork.getIntent(); in getIntent()
324 Intent getIntent(); in getIntent() method
342 public Intent getIntent() { in getIntent() method in JobIntentService.CompatWorkItem
365 onHandleWork(work.getIntent()); in doInBackground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java149 final PendingIntent target = PendingIntent.getActivity(this, /* request */ -1, getIntent(), in showConfirmCredentialActivity()
186 return getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getTargetUserId()
193 getIntent().getExtra(EXTRA_TASK_DESCRIPTION); in getPrimaryColor()
/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java165 final Intent intent = getIntent(); in onCreate()
387 final Bundle options = getIntent().getBundleExtra( in runAddAccountForAuthenticator()
389 final String[] requiredFeatures = getIntent().getStringArrayExtra( in runAddAccountForAuthenticator()
391 final String authTokenType = getIntent().getStringExtra( in runAddAccountForAuthenticator()
476 getIntent().getStringArrayExtra(EXTRA_ALLOWABLE_ACCOUNT_TYPES_STRING_ARRAY)); in startChooseAccountTypeActivity()
478 getIntent().getBundleExtra(EXTRA_ADD_ACCOUNT_OPTIONS_BUNDLE)); in startChooseAccountTypeActivity()
480 getIntent().getStringArrayExtra(EXTRA_ADD_ACCOUNT_REQUIRED_FEATURES_STRING_ARRAY)); in startChooseAccountTypeActivity()
482 getIntent().getStringExtra(EXTRA_ADD_ACCOUNT_AUTH_TOKEN_TYPE_STRING)); in startChooseAccountTypeActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipMenuActivity.java60 onPipMenuActionsChanged(getIntent().getParcelableExtra(EXTRA_CUSTOM_ACTIONS)); in onCreate()
67 onPipMenuActionsChanged(getIntent().getParcelableExtra(EXTRA_CUSTOM_ACTIONS)); in onNewIntent()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUWebView.java32 mUrl = getIntent().getStringExtra(OSU_URL); in onCreate()
33 Network network = getIntent().getParcelableExtra(OSU_NETWORK); in onCreate()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java177 CarrierActionUtils.CARRIER_ACTION_ENABLE_RADIO, getIntent(), in done()
180 CarrierActionUtils.CARRIER_ACTION_ENABLE_METERED_APNS, getIntent(), in done()
183 CarrierActionUtils.CARRIER_ACTION_CANCEL_ALL_NOTIFICATIONS, getIntent(), in done()
191 String url = getIntent().getStringExtra(TelephonyIntents.EXTRA_REDIRECTION_URL_KEY); in getUrlForCaptivePortal()
197 final int subId = getIntent().getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, in getUrlForCaptivePortal()
/frameworks/base/services/core/java/com/android/server/am/
DIntentBindRecord.java58 pw.print(intent.getIntent().toShortString(false, true, false, false)); in dumpInService()
104 intent.getIntent().toShortString(sb, false, false, false, false); in toString()
/frameworks/base/services/tests/servicestests/test-apps/ConnTestApp/src/com/android/servicestests/apps/conntestapp/
DConnTestActivity.java74 if (getIntent() == null) { in notifyNetworkStateObserver()
78 final Bundle extras = getIntent().getExtras(); in notifyNetworkStateObserver()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DDatePickerActivity.java33 mLayoutId = getIntent().getIntExtra(EXTRA_LAYOUT_RESOURCE_ID, in onCreate()
DTimePickerActivity.java33 mLayoutId = getIntent().getIntExtra(EXTRA_LAYOUT_RESOURCE_ID, in onCreate()

123456789