Home
last modified time | relevance | path

Searched refs:getIntent (Results 1 – 25 of 207) 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 …]
DRemoteSubActivityScreen.java37 Intent intent = getIntent(); in onCreate()
/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/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DMainActivity.java68 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()
75 actions.get(actions.size()-1).getIntent().putExtra(SearchDetailsActivity.EXTRA_ITEM, in onCreateActions()
79 … actions.get(actions.size()-1).getIntent().putExtra(SearchDetailsSupportActivity.EXTRA_ITEM, in onCreateActions()
125 Intent intent = action.getIntent(); in onGuidedActionClicked()
DDetailsActivity.java40 .setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
43 .setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
DDetailsSupportActivity.java42 .setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
45 .setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
/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/core/java/android/accounts/
DChooseTypeAndAccountActivity.java159 final Intent intent = getIntent(); in onCreate()
358 final Bundle options = getIntent().getBundleExtra( in runAddAccountForAuthenticator()
360 final String[] requiredFeatures = getIntent().getStringArrayExtra( in runAddAccountForAuthenticator()
362 final String authTokenType = getIntent().getStringExtra( in runAddAccountForAuthenticator()
430 getIntent().getStringArrayExtra(EXTRA_ALLOWABLE_ACCOUNT_TYPES_STRING_ARRAY)); in startChooseAccountTypeActivity()
432 getIntent().getBundleExtra(EXTRA_ADD_ACCOUNT_OPTIONS_BUNDLE)); in startChooseAccountTypeActivity()
434 getIntent().getStringArrayExtra(EXTRA_ADD_ACCOUNT_REQUIRED_FEATURES_STRING_ARRAY)); in startChooseAccountTypeActivity()
436 getIntent().getStringExtra(EXTRA_ADD_ACCOUNT_AUTH_TOKEN_TYPE_STRING)); in startChooseAccountTypeActivity()
DAccountAuthenticatorActivity.java59 getIntent().getParcelableExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE); in onCreate()
/frameworks/support/compat/java/android/support/v4/app/
DShareCompat.java130 shareIntent.getIntent()); in configureMenuItem()
182 result = calledActivity.getIntent().getStringExtra(EXTRA_CALLING_PACKAGE); in getCallingPackage()
202 result = calledActivity.getIntent().getParcelableExtra(EXTRA_CALLING_ACTIVITY); in getCallingActivity()
302 public Intent getIntent() { in getIntent() method in ShareCompat.IntentBuilder
363 Intent intent = getIntent(); in combineArrayExtra()
380 return Intent.createChooser(getIntent(), mChooserTitle); in createChooserIntent()
684 mIntent = activity.getIntent(); in IntentReader()
/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/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/packages/DocumentsUI/src/com/android/documentsui/
DLauncherActivity.java89 intent.setFlags(getIntent().getFlags()); in startTask()
105 Intent original = activity.getIntent(); in createLaunchIntent()
DBaseActivity.java116 final Intent intent = getIntent(); in onCreate()
207 final Intent intent = getIntent(); in getState()
432 if (getIntent().getBooleanExtra(DocumentsContract.EXTRA_EXCLUDE_SELF, false)) { in getExcludedAuthorities()
459 … final String extra = getIntent().getStringExtra(DocumentsContract.EXTRA_PACKAGE_NAME); in getCallingPackageMaybeExtra()
482 return Shared.shouldShowDocumentsRoot(this, getIntent()) in getDefaultRoot()
765 if (getIntent().getBooleanExtra(EXTRA_BENCHMARK, false) && in addListenerForLaunchCompletion()
845 final Uri uri = mOwner.getIntent().getData(); in finish()
DDocumentsActivity.java77 final String mimeType = getIntent().getType(); in onCreate()
78 final String title = getIntent().getStringExtra(Intent.EXTRA_TITLE); in onCreate()
86 final Intent moreApps = new Intent(getIntent()); in onCreate()
121 final Intent intent = getIntent(); in includeState()
158 final Intent intent = new Intent(getIntent()); in onAppPicked()
196 String title = getIntent().getStringExtra(DocumentsContract.EXTRA_PROMPT); in getDrawerTitle()
DFilesActivity.java83 final Intent intent = getIntent(); in onCreate()
145 final Intent intent = getIntent(); in includeState()
192 Intent intent = getIntent(); in getDrawerTitle()
301 final boolean isViewing = Intent.ACTION_VIEW.equals(getIntent().getAction()); in onDocumentPicked()
/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/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java78 mNetwork = getIntent().getParcelableExtra(ConnectivityManager.EXTRA_NETWORK); in onCreate()
79 mCaptivePortal = getIntent().getParcelableExtra(ConnectivityManager.EXTRA_CAPTIVE_PORTAL); in onCreate()
80 mUserAgent = getIntent().getParcelableExtra( in onCreate()
245 String url = getIntent().getStringExtra(ConnectivityManager.EXTRA_CAPTIVE_PORTAL_URL); in getUrl()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DDocActivity.java29 String label = getIntent().getStringExtra(LABEL); in onCreate()
/frameworks/base/tests/CameraPrewarmTest/src/com/google/android/test/cameraprewarm/
DCameraActivity.java35 + getIntent().getStringExtra("com.android.systemui.camera_launch_source")); in onCreate()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperSettingsActivity.java41 if (getIntent().getBooleanExtra(EXTRA_PREVIEW_MODE, false)) { in onCreate()

123456789