Home
last modified time | relevance | path

Searched refs:REQUEST_CODE (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DDeleteSimProfilePreferenceControllerTest.java58 private static final int REQUEST_CODE = 4321; field in DeleteSimProfilePreferenceControllerTest
101 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_noSubs_notAvailable()
108 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_physicalSim_notAvailable()
115 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_unknownSim_notAvailable()
121 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_knownEsim_isAvailable()
127 mController.init(SUB_ID, mFragment, REQUEST_CODE); in onPreferenceClick_startsIntent()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkFragment.java44 static final int REQUEST_CODE = 123; field in ResetNetworkFragment
66 new Intent(getContext(), CheckLockActivity.class), REQUEST_CODE)) in onCreate()
73 if (requestCode == REQUEST_CODE && resultCode == RESULT_OK) { in onActivityResult()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/
DParentalConsentHelperTest.java63 private static final int REQUEST_CODE = 12; field in ParentalConsentHelperTest
181 ? helper.launchNext(mRootActivity, REQUEST_CODE) in testLaunchNext()
182 : helper.launchNext(mRootActivity, REQUEST_CODE, in testLaunchNext()
188 .startActivityForResult(mLastStarted.capture(), eq(REQUEST_CODE)); in testLaunchNext()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DActivityStarterActivity.java37 private static final int REQUEST_CODE = 42; field in ActivityStarterActivity
68 startActivityForResult(startIntent, REQUEST_CODE, options); in onCreate()
107 if (requestCode == REQUEST_CODE) { in onActivityResult()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetNetworkFragmentTest.java21 import static com.android.car.settings.system.ResetNetworkFragment.REQUEST_CODE;
79 verify(mFragment).startActivityForResult(captor.capture(), eq(REQUEST_CODE)); in onResetButtonPressed_launchesCheckLockActivity()
88 mFragment.onActivityResult(REQUEST_CODE, RESULT_OK, new Intent()); in onActivityResult_launchesResetNetworkConfirmFragment()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPermissionsActivity.java22 private static final int REQUEST_CODE = 42; field in PermissionsActivity
30 requestPermissions(Utils.PERMISSIONS, REQUEST_CODE); in onCreate()
DPlayer.java59 private static final int REQUEST_CODE = 94043; field in Player
149 PendingIntent intent = PendingIntent.getBroadcast(mContext, REQUEST_CODE, in makeNotificationAction()
/packages/apps/Car/Settings/src/com/android/car/settings/home/
DHomepageFragment.java41 private static final int REQUEST_CODE = 501; field in HomepageFragment
96 startActivityForResult(intent, REQUEST_CODE); in onSearchButtonClicked()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEuiccOperationSidecar.java42 private static final int REQUEST_CODE = 0; field in EuiccOperationSidecar
102 getContext(), REQUEST_CODE, intent, in createCallbackIntent()
/packages/apps/Settings/src/com/android/settings/search/
DSearchFeatureProvider.java46 int REQUEST_CODE = 501; field
107 activity.startActivityForResult(intent, REQUEST_CODE, bundle); in initSearchToolbar()
/packages/apps/Settings/src/com/android/settings/notification/
DSoundWorkSettings.java46 private static final int REQUEST_CODE = 200; field in SoundWorkSettings
77 REQUEST_CODE, in onPreferenceTreeClick() local
DConfigureNotificationSettings.java54 private static final int REQUEST_CODE = 200; field in ConfigureNotificationSettings
125 REQUEST_CODE, in onPreferenceTreeClick() local
DSoundSettings.java56 private static final int REQUEST_CODE = 200; field in SoundSettings
121 REQUEST_CODE, in onPreferenceTreeClick() local
DSoundWorkSettingsController.java319 private static final int REQUEST_CODE = 200; field in SoundWorkSettingsController.UnifyWorkDialogFragment
329 fragment.setTargetFragment(parent, REQUEST_CODE); in show()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java52 private static final int REQUEST_CODE = 0; field in BatteryTipUtils
124 final PendingIntent pendingIntent = PendingIntent.getBroadcast(context, REQUEST_CODE, in uploadAnomalyPendingIntent()
/packages/apps/Settings/src/com/android/settings/search/actionbar/
DSearchMenuController.java105 mHost.startActivityForResult(intent, SearchFeatureProvider.REQUEST_CODE); in onCreateOptionsMenu()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericTest.java250 SearchFeatureProvider.REQUEST_CODE, Activity.RESULT_OK, null /* data */); in onActivityResult_requestcode0_shouldNotFinish()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPermissionActivity.java98 public static final int REQUEST_CODE = 42; field in PermissionActivity
DMediaProvider.java5890 return PendingIntent.getActivity(context, PermissionActivity.REQUEST_CODE, intent,
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java566 } else if (requestCode == SearchFeatureProvider.REQUEST_CODE) { in onActivityResult()