/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | TestedScreen.java | 41 + 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 …]
|
D | LaunchpadActivity.java | 171 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/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarDisplayCompatActivityInterceptorTest.java | 119 when(mMockInfo.getIntent()).thenReturn(intent); in hostActivity_isIgnored() 130 when(mMockInfo.getIntent()).thenReturn(intent); in nonDisplayCompatActivity_isIgnored() 143 when(mMockInfo.getIntent()).thenReturn(intent); in displayCompatActivity_launchedFromHost_isIgnored() 160 when(mMockInfo.getIntent()).thenReturn(intent); in displayCompatActivity_returnsHost() 167 assertThat(result.getInterceptResult().getIntent()).isNotNull(); in displayCompatActivity_returnsHost() 168 assertThat(result.getInterceptResult().getIntent().getComponent()).isEqualTo(mHostActitivy); in displayCompatActivity_returnsHost() 169 Intent launchIntent = (Intent) result.getInterceptResult().getIntent() in displayCompatActivity_returnsHost() 178 when(mMockInfo.getIntent()).thenReturn(intent); in displayCompatActivity_launchedFromDisplayCompatApp_returnsHost() 190 assertThat(result.getInterceptResult().getIntent()).isNotNull(); in displayCompatActivity_launchedFromDisplayCompatApp_returnsHost() 191 assertThat(result.getInterceptResult().getIntent().getComponent()).isEqualTo(mHostActitivy); in displayCompatActivity_launchedFromDisplayCompatApp_returnsHost() [all …]
|
D | CarLaunchOnPrivateDisplayActivityInterceptorTest.java | 246 assertThat(result.getInterceptResult().getIntent()).isNotNull(); in assertActivityInterceptResultNotNull() 247 assertThat(result.getInterceptResult().getIntent().getComponent()).isEqualTo( in assertActivityInterceptResultNotNull() 249 Intent launchIntent = (Intent) result.getInterceptResult().getIntent() in assertActivityInterceptResultNotNull() 252 assertThat(result.getInterceptResult().getIntent().getExtras().getInt( in assertActivityInterceptResultNotNull() 277 when(mMockInfo.getIntent()).thenReturn(intent); in createMockActivityInterceptorInfo()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
D | TestHelper.java | 195 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/ |
D | UninstallUninstalling.java | 68 mAppInfo = getIntent().getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate() 69 mCallback = getIntent().getParcelableExtra(PackageInstaller.EXTRA_CALLBACK, in onCreate() 71 mReturnResult = getIntent().getBooleanExtra(Intent.EXTRA_RETURN_RESULT, false); in onCreate() 72 mLabel = getIntent().getStringExtra(EXTRA_APP_LABEL); in onCreate() 76 boolean allUsers = getIntent().getBooleanExtra(Intent.EXTRA_UNINSTALL_ALL_USERS, in onCreate() 78 boolean keepData = getIntent().getBooleanExtra(EXTRA_KEEP_DATA, false); in onCreate() 79 UserHandle user = getIntent().getParcelableExtra(Intent.EXTRA_USER); in onCreate() 120 flags |= getIntent().getIntExtra(PackageInstaller.EXTRA_DELETE_FLAGS, 0); in onCreate()
|
D | InstallInstalling.java | 80 ApplicationInfo appInfo = getIntent() in onCreate() 82 mPackageURI = getIntent().getData(); in onCreate() 100 getIntent().putExtra(EXTRA_APP_SNIPPET, as); in onCreate() 148 mSessionId = getIntent().getIntExtra(EXTRA_STAGED_SESSION_ID, 0); in onCreate() 169 Intent successIntent = new Intent(getIntent()); in launchSuccess() 185 Intent failureIntent = new Intent(getIntent()); in launchFailure()
|
D | DeleteStagedFileOnResult.java | 36 Intent installIntent = new Intent(getIntent()); in onCreate() 57 int sessionId = getIntent().getIntExtra(EXTRA_STAGED_SESSION_ID, 0); in onDestroy()
|
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/ |
D | CustomTestActivity.java | 47 if (getIntent().hasExtra(INTENT_EXTRA_LAYOUT_ID)) { in onCreate() 48 final int layoutId = getIntent().getIntExtra(INTENT_EXTRA_LAYOUT_ID, in onCreate() 53 getIntent().getIntExtra(INTENT_EXTRA_CUSTOM_VIEWS, MAX_VIEWS)); in onCreate() 57 final RemoteCallback drawCallback = getIntent().getParcelableExtra( in onCreate() 76 if (getIntent().getBooleanExtra(INTENT_EXTRA_FINISH_ON_IDLE, false)) { in onCreate()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | TimeToLiveHelperTest.java | 102 mHelper.mNotificationTimeoutReceiver.onReceive(mContext, captor.getValue().getIntent()); in testTimeoutExpires() 119 mHelper.mNotificationTimeoutReceiver.onReceive(mContext, captorSet.getValue().getIntent()); in testTimeoutExpires_twoEntries() 123 assertThat(captorSet.getValue().getIntent().getStringExtra(EXTRA_KEY)) in testTimeoutExpires_twoEntries() 143 assertThat(captorSet.getValue().getIntent().getStringExtra(EXTRA_KEY)) in testTimeout_earlierEntryAddedSecond() 148 assertThat(captorCancel.getValue().getIntent().getStringExtra(EXTRA_KEY)) in testTimeout_earlierEntryAddedSecond() 183 assertThat(captorCancel.getValue().getIntent().getStringExtra(EXTRA_KEY)) in testTimeout_updateEarliestEntry() 188 assertThat(captorSet.getValue().getIntent().getStringExtra(EXTRA_KEY)) in testTimeout_updateEarliestEntry() 213 assertThat(captorCancel.getValue().getIntent().getStringExtra(EXTRA_KEY)) in testTimeout_twoEntries_updateEarliestEntry() 218 assertThat(captorSet.getValue().getIntent().getStringExtra(EXTRA_KEY)) in testTimeout_twoEntries_updateEarliestEntry()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | TextScrollActivity.java | 43 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()
|
/frameworks/base/core/java/android/service/games/ |
D | GameSessionTrampolineActivity.java | 97 getIntent().getParcelableExtra(INTENT_KEY, android.content.Intent.class), in onCreate() 98 getIntent().getBundleExtra(OPTIONS_KEY), in onCreate() 104 AndroidFuture<GameSessionActivityResult> future = getIntent().getParcelableExtra( in onCreate() 125 AndroidFuture<GameSessionActivityResult> future = getIntent().getParcelableExtra( in onActivityResult()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpActivity.java | 56 String process = getIntent().getStringExtra(EXTRA_PROCESS_NAME); in onCreate() 57 long size = getIntent().getLongExtra(EXTRA_SIZE_BYTES, 0); in onCreate() 58 final boolean isUserInitiated = getIntent().getBooleanExtra(EXTRA_IS_USER_INITIATED, false); in onCreate() 59 final int uid = getIntent().getIntExtra(Intent.EXTRA_UID, 0); in onCreate() 73 String directLaunchPackage = getIntent().getStringExtra(EXTRA_REPORT_PACKAGE); in onCreate()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | HeavyWeightSwitcherActivity.java | 70 …mStartIntent = (IntentSender)getIntent().getParcelableExtra(KEY_INTENT, android.content.IntentSend… in onCreate() 71 mHasResult = getIntent().getBooleanExtra(KEY_HAS_RESULT, false); in onCreate() 72 mCurApp = getIntent().getStringExtra(KEY_CUR_APP); in onCreate() 73 mCurTask = getIntent().getIntExtra(KEY_CUR_TASK, 0); in onCreate() 74 mNewApp = getIntent().getStringExtra(KEY_NEW_APP); in onCreate()
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | FixedActivity.java | 30 if (getIntent().hasExtra(EXTRA_FIXED_ORIENTATION)) { in onCreate() 31 final int ori = Integer.parseInt(getIntent().getStringExtra(EXTRA_FIXED_ORIENTATION)); in onCreate()
|
/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/ |
D | BcSmartspaceDataPlugin.java | 209 if (action.getIntent() != null) { in startFromAction() 210 startIntent(v, action.getIntent(), showOnLockscreen); in startFromAction() 221 if (action.getIntent() != null) { in startFromAction() 222 startIntent(v, action.getIntent(), showOnLockscreen); in startFromAction()
|
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | ImeStressTestUtil.java | 373 boolean isUnfocusableView = getIntent().getBooleanExtra(UNFOCUSABLE_VIEW, false); in onCreate() 374 boolean requestFocus = getIntent().getBooleanExtra(REQUEST_FOCUS_ON_CREATE, false); in onCreate() 375 int softInputFlags = getIntent().getIntExtra(SOFT_INPUT_FLAGS, 0); in onCreate() 376 int windowFlags = getIntent().getIntExtra(WINDOW_FLAGS, 0); in onCreate() 378 getIntent().getBooleanExtra(INPUT_METHOD_MANAGER_SHOW_ON_CREATE, false); in onCreate() 380 getIntent().getBooleanExtra(INPUT_METHOD_MANAGER_HIDE_ON_CREATE, false); in onCreate() 382 getIntent().getBooleanExtra(WINDOW_INSETS_CONTROLLER_SHOW_ON_CREATE, false); in onCreate() 384 getIntent().getBooleanExtra(WINDOW_INSETS_CONTROLLER_HIDE_ON_CREATE, false); in onCreate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 252 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoParcel() 296 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoParcel() 297 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoParcel() 367 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoParcel_resId() 368 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoParcel_resId() 419 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoClone() 420 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoClone() 443 assertEquals("action", si.getIntent().getAction()); in testShortcutInfoClone() 444 assertEquals("val", si.getIntent().getStringExtra("key")); in testShortcutInfoClone() 468 assertEquals(null, si.getIntent()); in testShortcutInfoClone() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SlicePermissionActivity.java | 57 mUri = getIntent().getParcelableExtra(SliceProvider.EXTRA_BIND_URI); in onCreate() 61 mCallingPkg = getIntent().getStringExtra(SliceProvider.EXTRA_PKG); in onCreate() 64 || !SliceManager.ACTION_REQUEST_SLICE_PERMISSION.equals(getIntent().getAction())) { in onCreate() 120 final String providerPkg = getIntent().getStringExtra("provider_pkg"); in verifyCallingPkg()
|
/frameworks/base/core/java/android/accounts/ |
D | ChooseAccountActivity.java | 63 mAccounts = getIntent().getParcelableArrayExtra(AccountManager.KEY_ACCOUNTS); in onCreate() 65 …getIntent().getParcelableExtra(AccountManager.KEY_ACCOUNT_MANAGER_RESPONSE, android.accounts.Accou… in onCreate() 78 getIntent().getStringExtra(AccountManager.KEY_ANDROID_PACKAGE_NAME) != null) { in onCreate() 79 mCallingPackage = getIntent().getStringExtra( in onCreate() 84 getIntent().getStringExtra(AccountManager.KEY_ANDROID_PACKAGE_NAME) != null) { in onCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuNotificationFactoryTest.java | 46 assertThat(notification.contentIntent.getIntent().getAction()).isEqualTo( in createHiddenNotification_hasUndoAndDeleteAction() 48 assertThat(notification.deleteIntent.getIntent().getAction()).isEqualTo( in createHiddenNotification_hasUndoAndDeleteAction()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityInterceptorCallbackTest.java | 67 assertThat(activityInterceptorInfo.getIntent()).isEqualTo(intent); in testBuildActivityInterceptorCallback() 86 assertThat(result.getIntent()).isEqualTo(intent); in testActivityInterceptResult() 92 assertThat(result.getIntent()).isEqualTo(intent); in testActivityInterceptResult()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | ActivityInterceptorInfoWrapper.java | 48 public Intent getIntent() { in getIntent() method in ActivityInterceptorInfoWrapper 49 return mActivityInterceptorInfo.getIntent(); in getIntent()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | PerfTestActivity.java | 41 if (getIntent().getBooleanExtra(INTENT_EXTRA_KEEP_SCREEN_ON, false)) { in onCreate() 44 if (getIntent().getBooleanExtra(INTENT_EXTRA_ADD_EDIT_TEXT, false)) { in onCreate()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | ObjectBrowser.java | 112 mDeviceName = getIntent().getStringExtra("device"); in onCreate() 113 mStorageID = getIntent().getIntExtra("storage", 0); in onCreate() 114 mObjectID = getIntent().getIntExtra("object", 0); in onCreate()
|