Home
last modified time | relevance | path

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

12345678910>>...34

/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DIntentProvider.java58 public Intent getIntent(Context context) { in getReturnCallIntentProvider()
59 return PreCall.getIntent( in getReturnCallIntentProvider()
71 public Intent getIntent(Context context) {
72 return PreCall.getIntent(
88 public Intent getIntent(Context context) {
89 return PreCall.getIntent(
101 public Intent getIntent(Context context) {
102 return PreCall.getIntent(
125 public Intent getIntent(Context context) {
139 public Intent getIntent(Context context) {
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollActivity.java132 final Intent intent = getIntent(); in onCreate()
136 if (BiometricUtils.containsGatekeeperPasswordHandle(getIntent())) { in onCreate()
137 mGkPwHandle = BiometricUtils.getGatekeeperPasswordHandle(getIntent()); in onCreate()
139 } else if (WizardManagerHelper.isAnySetupWizard(getIntent())) { in onCreate()
140 if (BiometricUtils.containsGatekeeperPasswordHandle(getIntent())) { in onCreate()
141 mGkPwHandle = BiometricUtils.getGatekeeperPasswordHandle(getIntent()); in onCreate()
200 final int authenticators = getIntent().getIntExtra( in onCreate()
208 final boolean isSetupWizard = WizardManagerHelper.isAnySetupWizard(getIntent()); in onCreate()
289 final int authenticators = getIntent().getIntExtra(
388 && WizardManagerHelper.isAnySetupWizard(getIntent())) {
[all …]
DBiometricEnrollBase.java147 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
149 mChallenge = getIntent().getLongExtra(EXTRA_KEY_CHALLENGE, -1L); in onCreate()
150 mSensorId = getIntent().getIntExtra(EXTRA_KEY_SENSOR_ID, -1); in onCreate()
155 mToken = getIntent().getByteArrayExtra( in onCreate()
158 mFromSettingsSummary = getIntent().getBooleanExtra(EXTRA_FROM_SETTINGS_SUMMARY, false); in onCreate()
173 mUserId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in onCreate()
232 BiometricUtils.copyMultiBiometricExtras(getIntent(), mPostureGuidanceIntent); in launchPostureGuidance()
240 return !WizardManagerHelper.isAnySetupWizard(getIntent()); in shouldFinishWhenBackgrounded()
305 BiometricUtils.copyMultiBiometricExtras(getIntent(), intent); in getFingerprintEnrollingIntent()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DManagePermissionsActivity.java176 String action = getIntent().getAction(); in onCreate()
180 long sessionId = getIntent().getLongExtra(Constants.EXTRA_SESSION_ID, INVALID_SESSION_ID); in onCreate()
190 ComponentName component = getIntent().getComponent(); in onCreate()
243 String groupName = getIntent() in onCreate()
245 boolean showSystem = getIntent() in onCreate()
247 boolean show7Days = getIntent() in onCreate()
264 compatIntent.putExtras(getIntent().getExtras()); in onCreate()
268 String packageName = getIntent().getStringExtra(Intent.EXTRA_PACKAGE_NAME); in onCreate()
275 permissionName = getIntent().getStringExtra(Intent.EXTRA_PERMISSION_NAME); in onCreate()
276 String groupName = getIntent().getStringExtra(Intent.EXTRA_PERMISSION_GROUP_NAME); in onCreate()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterActivity.java88 && getIntent().getAction().equals(ACTION_SAFETY_CENTER); in onCreate()
89 if (maybeOpenSubpage && getIntent().hasExtra(EXTRA_SAFETY_SOURCES_GROUP_ID)) { in onCreate()
90 String groupId = getIntent().getStringExtra(EXTRA_SAFETY_SOURCES_GROUP_ID); in onCreate()
92 } else if (maybeOpenSubpage && getIntent().hasExtra(EXTRA_SETTINGS_FRAGMENT_ARGS_KEY)) { in onCreate()
93 String preferenceKey = getIntent().getStringExtra(EXTRA_SETTINGS_FRAGMENT_ARGS_KEY); in onCreate()
96 } else if (getIntent().getAction().equals(PRIVACY_CONTROLS_ACTION)) { in onCreate()
151 Bundle extras = getIntent().getExtras(); in shouldUseTwoPaneSettings()
179 twoPaneIntent.putExtras(getIntent()); in getTwoPaneIntent()
182 getIntent().toUri(Intent.URI_INTENT_SCHEME)); in getTwoPaneIntent()
189 Intent intent = getIntent(); in logPrivacySourceMetric()
[all …]
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseActivity.java64 Utils.getUserIdFromBundle(this, getIntent().getExtras(), isInternalActivity())); in onCreate()
71 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
73 } else if (getIntent().getBooleanExtra( in onCreate()
78 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
98 if (mIsKeyguardLocked && getIntent().getBooleanExtra( in onCreate()
102 CharSequence msg = getIntent().getStringExtra( in onCreate()
158 final boolean foregroundOnly = getIntent().getBooleanExtra( in onStop()
181 if (getIntent().getBooleanExtra( in finish()
DSetupChooseLockGeneric.java77 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
81 if(getIntent().hasExtra(EXTRA_KEY_REQUESTED_MIN_COMPLEXITY)) { in onCreate()
192 final Intent intent = getActivity().getIntent(); in onPreferenceTreeClick()
211 SetupWizardUtils.copySetupExtras(getActivity().getIntent(), intent); in getLockPasswordIntent()
219 SetupWizardUtils.copySetupExtras(getActivity().getIntent(), intent); in getLockPatternIntent()
226 SetupWizardUtils.copySetupExtras(getActivity().getIntent(), intent); in getBiometricEnrollIntent()
244 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
283 SetupWizardUtils.copySetupExtras(getIntent(), intent); in getLockPasswordIntent()
291 SetupWizardUtils.copySetupExtras(getIntent(), intent); in getLockPatternIntent()
298 SetupWizardUtils.copySetupExtras(getIntent(), intent); in getBiometricEnrollIntent()
DSetNewPasswordActivity.java80 final Intent intent = getIntent(); in onCreate()
124 final boolean isInSetupWizard = WizardManagerHelper.isAnySetupWizard(getIntent()); in launchChooseLock()
140 WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent); in launchChooseLock()
165 final int extraPasswordComplexity = getIntent().hasExtra(EXTRA_PASSWORD_COMPLEXITY) in logSetNewPasswordIntent()
166 ? getIntent().getIntExtra(EXTRA_PASSWORD_COMPLEXITY, PASSWORD_COMPLEXITY_NONE) in logSetNewPasswordIntent()
169 final boolean extraDevicePasswordRequirementOnly = getIntent().getBooleanExtra( in logSetNewPasswordIntent()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollIntroduction.java126 && !WizardManagerHelper.isAnySetupWizard(getIntent()) in onCreate()
127 && !getIntent().getBooleanExtra(EXTRA_FROM_SETTINGS_SUMMARY, false) in onCreate()
192 if (mToken == null && BiometricUtils.containsGatekeeperPasswordHandle(getIntent())) { in onCreate()
211 getIntent().removeExtra(ChooseLockSettingsHelper.EXTRA_KEY_GK_PW_HANDLE); in onCreate()
229 final byte[] token = getIntent().getByteArrayExtra( in launchFaceSettingsActivity()
234 final int userId = getIntent().getIntExtra(Intent.EXTRA_USER_ID, UserHandle.myUserId()); in launchFaceSettingsActivity()
238 BiometricUtils.copyMultiBiometricExtras(getIntent(), intent); in launchFaceSettingsActivity()
240 intent.putExtra(EXTRA_KEY_CHALLENGE, getIntent().getLongExtra(EXTRA_KEY_CHALLENGE, -1L)); in launchFaceSettingsActivity()
241 intent.putExtra(EXTRA_KEY_SENSOR_ID, getIntent().getIntExtra(EXTRA_KEY_SENSOR_ID, -1)); in launchFaceSettingsActivity()
272 return BiometricUtils.requestGatekeeperHat(this, getIntent(), mUserId, challenge); in requestGatekeeperHat()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityDetailsSettingsFragmentTest.java97 doReturn(intent).when(mActivity).getIntent(); in onCreate_afterSuccessfullyLaunch_shouldBeFinished()
108 doReturn(intent).when(mActivity).getIntent(); in onCreate_hasValidExtraComponentName_launchExpectedFragment()
120 doReturn(intent).when(mActivity).getIntent(); in onCreate_hasInvalidExtraComponentName_launchAccessibilitySettings()
130 doReturn(intent).when(mActivity).getIntent(); in onCreate_hasNoExtraComponentName_launchAccessibilitySettings()
141 doReturn(intent).when(mActivity).getIntent(); in onCreate_extraComponentNameIsDisallowed_launchAccessibilitySettings()
154 doReturn(intent).when(mActivity).getIntent(); in onCreate_magnificationComponentName_launchMagnificationFragment()
168 doReturn(intent).when(mActivity).getIntent(); in onCreate_accessibilityButton_launchAccessibilityButtonFragment()
183 doReturn(intent).when(mActivity).getIntent(); in onCreate_hearingAidsComponentName_launchAccessibilityHearingAidsFragment()
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/
DDTCListActivity.java58 Log.d(TAG, "getIncomingIntent: extras: " + getIntent().toString()); in getIncomingIntent()
59 if (getIntent().hasExtra("name")) { in getIncomingIntent()
60 mEcuName = getIntent().getStringExtra("name"); in getIncomingIntent()
63 if (getIntent().hasExtra("dtcs")) { in getIncomingIntent()
64 mDtcs = getIntent().getParcelableArrayListExtra("dtcs"); in getIncomingIntent()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/legal/
DLegalPreferenceControllerTestCase.java96 Intent intent = mPreferenceController.getIntent(); in getIntent_shouldUseRightIntent()
208 when(mMockPm.queryIntentActivities(eq(mPreferenceController.getIntent()), anyInt())) in getAvailabilityStatus_intentResolvesToNull_shouldReturnUnsupported()
218 when(mMockPm.queryIntentActivities(eq(mPreferenceController.getIntent()), anyInt())) in getAvailabilityStatus_intentResolvesToNull_shouldReturnUnsupported_zoneWrite()
228 when(mMockPm.queryIntentActivities(eq(mPreferenceController.getIntent()), anyInt())) in getAvailabilityStatus_intentResolvesToNull_shouldReturnUnsupported_zoneRead()
238 when(mMockPm.queryIntentActivities(eq(mPreferenceController.getIntent()), anyInt())) in getAvailabilityStatus_intentResolvesToNull_shouldReturnUnsupported_zoneHidden()
247 Intent intent = mPreferenceController.getIntent(); in onCreate_intentResolvesToActivity_isVisible()
261 Intent intent = mPreferenceController.getIntent(); in onCreate_intentResolvesToActivity_updatesTitle()
275 Intent intent = mPreferenceController.getIntent(); in onCreate_intentResolvesToActivity_updatesIntentToSpecificActivity()
284 assertThat(mPreference.getIntent().getComponent().flattenToString()).isEqualTo( in onCreate_intentResolvesToActivity_updatesIntentToSpecificActivity()
/packages/modules/Connectivity/nearby/halfsheet/src/com/android/nearby/halfsheet/
DHalfSheetActivity.java66 byte[] infoArray = getIntent().getByteArrayExtra(EXTRA_HALF_SHEET_INFO); in onCreate()
67 String fragmentType = getIntent().getStringExtra(EXTRA_HALF_SHEET_TYPE); in onCreate()
78 mHalfSheetModuleFragment = DevicePairingFragment.newInstance(getIntent(), in onCreate()
154 String fragmentType = getIntent().getStringExtra(EXTRA_HALF_SHEET_TYPE); in onNewIntent()
226 getIntent().getStringExtra(EXTRA_HALF_SHEET_TYPE)) in sendHalfSheetCancelBroadcast()
229 getIntent().getBooleanExtra(EXTRA_HALF_SHEET_IS_SUBSEQUENT_PAIR, in sendHalfSheetCancelBroadcast()
233 getIntent().getBooleanExtra(EXTRA_HALF_SHEET_IS_RETROACTIVE, in sendHalfSheetCancelBroadcast()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/biometrics/
DBiometricEnrollActivityTest.java122 ActivityScenario.launch(getIntent())) { in launchWithoutPin_setsPin()
138 ActivityScenario.launch(getIntent())) { in launchWithPin_confirmsPin()
148 final Intent intent = getIntent(true /* useInternal */); in launchWithPinAndPwHandle_confirmsPin()
170 Intent intent = getIntent(); in launchWithStrongBiometricAllowed_doNotEnrollWeak()
186 private Intent getIntent() { in getIntent() method in BiometricEnrollActivityTest
187 return getIntent(false /* useInternal */); in getIntent()
190 private Intent getIntent(boolean useInternal) { in getIntent() method in BiometricEnrollActivityTest
/packages/apps/Dialer/java/com/android/incallui/callpending/
DCallPendingActivity.java92 public static Intent getIntent( in getIntent() method in CallPendingActivity
337 return getIntent().getLongExtra(EXTRA_SESSION_ID, -1);
341 return getIntent().getStringExtra(EXTRA_NUMBER);
345 return getIntent().getStringExtra(EXTRA_NAME);
349 return getIntent().getStringExtra(EXTRA_LABEL);
353 return getIntent().getStringExtra(EXTRA_LOOKUP_KEY);
357 return getIntent().getStringExtra(EXTRA_CALL_PENDING_LABEL);
361 return getIntent().getParcelableExtra(EXTRA_PHOTO_URI);
/packages/apps/TV/src/com/android/tv/ui/
DDetailsActivity.java93 long recordId = getIntent().getLongExtra(RECORDING_ID, INVALID_RECORD_ID); in onCreate()
94 int detailsViewType = getIntent().getIntExtra(DETAILS_VIEW_TYPE, -1); in onCreate()
95 boolean hideViewSchedule = getIntent().getBooleanExtra(HIDE_VIEW_SCHEDULE, false); in onCreate()
96 long channelId = getIntent().getLongExtra(CHANNEL_ID, -1); in onCreate()
114 Parcelable program = getIntent().getParcelableExtra(PROGRAM); in onCreate()
118 args.putString(INPUT_ID, getIntent().getStringExtra(INPUT_ID)); in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/
DAppPermissionActivity.java91 String packageName = getIntent().getStringExtra(Intent.EXTRA_PACKAGE_NAME); in onCreate()
98 String permissionName = getIntent().getStringExtra(Intent.EXTRA_PERMISSION_NAME); in onCreate()
99 String groupName = getIntent().getStringExtra(Intent.EXTRA_PERMISSION_GROUP_NAME); in onCreate()
126 UserHandle userHandle = getIntent().getParcelableExtra(Intent.EXTRA_USER); in onCreate()
153 long sessionId = getIntent().getLongExtra(EXTRA_SESSION_ID, INVALID_SESSION_ID); in onCreate()
172 startActivity(new Intent(getIntent()).setAction(ACTION_MANAGE_APP_PERMISSION)); in onCreate()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DDvrSchedulesActivity.java62 int scheduleType = getIntent().getIntExtra(KEY_SCHEDULES_TYPE, TYPE_FULL_SCHEDULE); in onCreate()
65 schedulesFragment.setArguments(getIntent().getExtras()); in onCreate()
76 showDvrSeriesSchedulesFragment(getIntent().getExtras()); in onCreate()
84 getIntent() in onCreate()
97 Bundle args = getIntent().getExtras(); in onCreate()
/packages/services/Telephony/src/com/android/phone/euicc/
DEuiccResolutionUiDispatcherActivity.java48 String action = getIntent().getAction(); in getEuiccUiIntent()
55 getIntent().getStringExtra( in getEuiccUiIntent()
64 euiccUiIntent.putExtras(getIntent()); in getEuiccUiIntent()
72 getIntent().getParcelableExtra( in onDispatchFailure()
/packages/apps/Settings/src/com/android/settings/
DSettings.java65 public Intent getIntent() { in getIntent() method in Settings.TetherSettingsActivity
67 getApplicationContext(), super.getIntent()); in getIntent()
73 public Intent getIntent() { in getIntent() method in Settings.WifiTetherSettingsActivity
75 getApplicationContext(), super.getIntent()); in getIntent()
268 if (ACTION_PRIVACY_SETTINGS.equals(getIntent().getAction()) in handleSafetyCenterRedirection()
284 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
297 setTheme(SetupWizardUtils.getTheme(this, getIntent())); in onCreate()
466 public Intent getIntent() { in getIntent() method in Settings.MobileNetworkActivity
467 return convertIntent(super.getIntent()); in getIntent()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DInspectorActivity.java76 getIntent().getStringExtra(Intent.EXTRA_TITLE), in onCreate()
77 getIntent().getBooleanExtra(Shared.EXTRA_SHOW_DEBUG, false)); in onCreate()
83 Uri uri = getIntent().getData(); in onStart()
84 checkArgument(getIntent().hasExtra(EXTRA_USER_ID)); in onStart()
87 getIntent().getIntExtra(EXTRA_USER_ID, UserId.UNSPECIFIED_USER.getIdentifier())); in onStart()
/packages/modules/AdServices/sdksandbox/SdkSandbox/src/com/android/sdksandbox/
DSandboxedActivity.java61 if (this.getIntent() == null in notifySdkOnActivityCreation()
62 || this.getIntent().getExtras() == null in notifySdkOnActivityCreation()
63 || this.getIntent() in notifySdkOnActivityCreation()
75 this.getIntent() in notifySdkOnActivityCreation()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/oemlink/
DAccessibilityServiceActivity.java41 if (getIntent() == null || getIntent().getExtras() == null in createSettingsFragment()
42 || getIntent().getExtras().getParcelable(A11Y_SERVICE_INFO_EXTRA) == null) { in createSettingsFragment()
47 getIntent().getExtras().getParcelable(A11Y_SERVICE_INFO_EXTRA); in createSettingsFragment()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivity.java178 getIntent().putExtra(EXTRA_IS_SETUP_FLOW, true); in onCreate()
252 mController.initiateProvisioning(getIntent(), getCallingPackage());
300 mController.initiateProvisioning(getIntent(), getCallingPackage());
400 getIntent(),
461 getIntent(),
502 getIntent(),
552 getIntent(),
741 WizardManagerHelper.copyWizardManagerExtras(getIntent(), encryptIntent);
750 WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent);
776 WizardManagerHelper.copyWizardManagerExtras(getIntent(), intent);
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectEmailAddressesListFragment.java81 final String scheme = getActivity().getIntent().getStringExtra( in onOptionsItemSelected()
83 final String title = getActivity().getIntent().getStringExtra( in onOptionsItemSelected()
97 final long[] selectedIds = getActivity().getIntent().getLongArrayExtra( in onCreateView()
115 final long[] itemIds = getActivity().getIntent().getLongArrayExtra( in onStart()
117 final boolean[] selectedFlags = getActivity().getIntent().getBooleanArrayExtra( in onStart()

12345678910>>...34