Home
last modified time | relevance | path

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

12345678

/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/base/tests/UiBench/src/com/android/test/uibench/leanback/
DTestHelper.java195 return activity.getIntent().getBooleanExtra(EXTRA_ENTRANCE_TRANSITION, in runEntranceTransition()
201 boolean shadow = activity.getIntent().getBooleanExtra(EXTRA_CARD_SHADOW, in initRowsAdapterBuilder()
203 boolean roundRect = activity.getIntent().getBooleanExtra(EXTRA_CARD_ROUND_RECT, in initRowsAdapterBuilder()
205 int widthDp = activity.getIntent().getIntExtra(EXTRA_CARD_WIDTH_DP, in initRowsAdapterBuilder()
207 int heightDp = activity.getIntent().getIntExtra(EXTRA_CARD_HEIGHT_DP, in initRowsAdapterBuilder()
209 int rows = activity.getIntent().getIntExtra(EXTRA_ROWS, DEFAULT_ROWS); in initRowsAdapterBuilder()
210 int cardsPerRow = activity.getIntent().getIntExtra(EXTRA_CARDS_PER_ROW, in initRowsAdapterBuilder()
212 boolean bitmapUpload = activity.getIntent().getBooleanExtra(EXTRA_BITMAP_UPLOAD, in initRowsAdapterBuilder()
227 if (activity.getIntent().getBooleanExtra(EXTRA_BACKGROUND, DEFAULT_BACKGROUND)) { in initBackground()
242 if (!fragment.getActivity().getIntent() in initHeaderState()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallUninstalling.java67 mAppInfo = getIntent().getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
68 mCallback = getIntent().getIBinderExtra(PackageInstaller.EXTRA_CALLBACK); in onCreate()
69 mReturnResult = getIntent().getBooleanExtra(Intent.EXTRA_RETURN_RESULT, false); in onCreate()
70 mLabel = getIntent().getStringExtra(EXTRA_APP_LABEL); in onCreate()
74 boolean allUsers = getIntent().getBooleanExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, in onCreate()
76 boolean keepData = getIntent().getBooleanExtra(EXTRA_KEEP_DATA, false); in onCreate()
77 UserHandle user = getIntent().getParcelableExtra(Intent.EXTRA_USER); in onCreate()
DInstallInstalling.java83 ApplicationInfo appInfo = getIntent() in onCreate()
85 mPackageURI = getIntent().getData(); in onCreate()
134 params.setReferrerUri(getIntent().getParcelableExtra(Intent.EXTRA_REFERRER)); in onCreate()
135 params.setOriginatingUri(getIntent() in onCreate()
137 params.setOriginatingUid(getIntent().getIntExtra(Intent.EXTRA_ORIGINATING_UID, in onCreate()
139 params.setInstallerPackageName(getIntent().getStringExtra( in onCreate()
186 Intent successIntent = new Intent(getIntent()); in launchSuccess()
201 Intent failureIntent = new Intent(getIntent()); in launchFailure()
DDeleteStagedFileOnResult.java35 Intent installIntent = new Intent(getIntent()); in onCreate()
45 File sourceFile = new File(getIntent().getData().getPath()); in onActivityResult()
DInstallFailed.java82 int statusCode = getIntent().getIntExtra(PackageInstaller.EXTRA_STATUS, in onCreate()
85 if (getIntent().getBooleanExtra(Intent.EXTRA_RETURN_RESULT, false)) { in onCreate()
86 int legacyStatus = getIntent().getIntExtra(PackageInstaller.EXTRA_LEGACY_STATUS, in onCreate()
95 Intent intent = getIntent(); in onCreate()
DInstallSuccess.java48 if (getIntent().getBooleanExtra(Intent.EXTRA_RETURN_RESULT, false)) { in onCreate()
55 Intent intent = getIntent(); in onCreate()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DTextScrollActivity.java43 mHitPercentage = getIntent().getIntExtra(EXTRA_HIT_RATE, in onCreate()
46 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); in onCreate()
47 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate()
48 final int id = getIntent().getIntExtra(BenchmarkRegistry.EXTRA_ID, -1); in onCreate()
DListViewScrollActivity.java45 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); in onCreate()
46 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate()
DFullScreenOverdrawActivity.java81 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); in onCreate()
82 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate()
DShadowGridActivity.java44 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); in onCreate()
45 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1); in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DDumpHeapActivity.java64 mProcess = getIntent().getStringExtra(KEY_PROCESS); in onCreate()
65 mSize = getIntent().getLongExtra(KEY_SIZE, 0); in onCreate()
66 final boolean isUserInitiated = getIntent().getBooleanExtra(KEY_IS_USER_INITIATED, false); in onCreate()
67 final boolean isSystemProcess = getIntent().getBooleanExtra(KEY_IS_SYSTEM_PROCESS, false); in onCreate()
69 String directLaunch = getIntent().getStringExtra(KEY_DIRECT_LAUNCH); in onCreate()
DHeavyWeightSwitcherActivity.java69 mStartIntent = (IntentSender)getIntent().getParcelableExtra(KEY_INTENT); in onCreate()
70 mHasResult = getIntent().getBooleanExtra(KEY_HAS_RESULT, false); in onCreate()
71 mCurApp = getIntent().getStringExtra(KEY_CUR_APP); in onCreate()
72 mCurTask = getIntent().getIntExtra(KEY_CUR_TASK, 0); in onCreate()
73 mNewApp = getIntent().getStringExtra(KEY_NEW_APP); in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java238 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoParcel()
271 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoParcel()
272 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoParcel()
329 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoParcel_resId()
330 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoParcel_resId()
377 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoClone()
378 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoClone()
400 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoClone()
401 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoClone()
424 assertEquals(null, si.getIntent()); in testShortcutInfoClone()
[all …]
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java63 mAccounts = getIntent().getParcelableArrayExtra(AccountManager.KEY_ACCOUNTS); in onCreate()
65 getIntent().getParcelableExtra(AccountManager.KEY_ACCOUNT_MANAGER_RESPONSE); in onCreate()
85 getIntent().getStringExtra(AccountManager.KEY_ANDROID_PACKAGE_NAME) != null) { in onCreate()
86 mCallingPackage = getIntent().getStringExtra( in onCreate()
91 getIntent().getStringExtra(AccountManager.KEY_ANDROID_PACKAGE_NAME) != null) { in onCreate()
DChooseTypeAndAccountActivity.java166 final Intent intent = getIntent(); in onCreate()
388 final Bundle options = getIntent().getBundleExtra( in runAddAccountForAuthenticator()
390 final String[] requiredFeatures = getIntent().getStringArrayExtra( in runAddAccountForAuthenticator()
392 final String authTokenType = getIntent().getStringExtra( in runAddAccountForAuthenticator()
477 getIntent().getStringArrayExtra(EXTRA_ALLOWABLE_ACCOUNT_TYPES_STRING_ARRAY)); in startChooseAccountTypeActivity()
479 getIntent().getBundleExtra(EXTRA_ADD_ACCOUNT_OPTIONS_BUNDLE)); in startChooseAccountTypeActivity()
481 getIntent().getStringArrayExtra(EXTRA_ADD_ACCOUNT_REQUIRED_FEATURES_STRING_ARRAY)); in startChooseAccountTypeActivity()
483 getIntent().getStringExtra(EXTRA_ADD_ACCOUNT_AUTH_TOKEN_TYPE_STRING)); in startChooseAccountTypeActivity()
/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/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java51 mUri = getIntent().getParcelableExtra(SliceProvider.EXTRA_BIND_URI); in onCreate()
52 mCallingPkg = getIntent().getStringExtra(SliceProvider.EXTRA_PKG); in onCreate()
53 mProviderPkg = getIntent().getStringExtra(SliceProvider.EXTRA_PROVIDER_PKG); in onCreate()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DSeamlessRotationActivity.java42 boolean starveUiThread = getIntent().getExtras() != null && in onCreate()
43 getIntent().getExtras().getBoolean(EXTRA_STARVE_UI_THREAD); 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java147 final PendingIntent target = PendingIntent.getActivity(this, /* request */ -1, getIntent(), in showConfirmCredentialActivity()
184 return getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in getTargetUserId()
191 getIntent().getExtra(EXTRA_TASK_DESCRIPTION); in getPrimaryColor()
/frameworks/base/services/core/java/com/android/server/am/
DIntentBindRecord.java59 pw.print(intent.getIntent().toShortString(false, true, false, false)); in dumpInService()
105 intent.getIntent().toShortString(sb, false, false, false, false); in toString()
114 intent.getIntent().writeToProto(proto, in writeToProto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipMenuActivity.java62 onPipMenuActionsChanged(getIntent().getParcelableExtra(EXTRA_CUSTOM_ACTIONS)); in onCreate()
69 onPipMenuActionsChanged(getIntent().getParcelableExtra(EXTRA_CUSTOM_ACTIONS)); in onNewIntent()
/frameworks/base/services/tests/servicestests/test-apps/ConnTestApp/src/com/android/servicestests/apps/conntestapp/
DConnTestActivity.java103 if (getIntent() == null) { in notifyNetworkStateObserver()
107 final Bundle extras = getIntent().getExtras(); in notifyNetworkStateObserver()

12345678