Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DDeleteSimProfilePreferenceControllerTest.java56 private static final int REQUEST_CODE = 4321; field in DeleteSimProfilePreferenceControllerTest
95 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_noSubs_notAvailable()
102 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_physicalSim_notAvailable()
109 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_unknownSim_notAvailable()
115 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_knownEsim_isAvailable()
121 mController.init(SUB_ID, mFragment, REQUEST_CODE); in onPreferenceClick_startsIntent()
130 verify(mFragment).startActivityForResult(intentCaptor.capture(), eq(REQUEST_CODE)); in onPreferenceClick_startsIntent()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkFragment.java42 private static final int REQUEST_CODE = 123; field in ResetNetworkFragment
64 new Intent(getContext(), CheckLockActivity.class), REQUEST_CODE)) in onCreate()
71 if (requestCode == REQUEST_CODE && resultCode == RESULT_OK) { in onActivityResult()
/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/src/com/android/car/settings/sound/
DRingtonePreferenceController.java44 static final int REQUEST_CODE = 16; field in RingtonePreferenceController
72 getFragmentController().startActivityForResult(preference.getIntent(), REQUEST_CODE, this); in handlePreferenceClicked() local
78 if (requestCode == REQUEST_CODE) { in processActivityResult()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/
DRingtonePreferenceControllerTest.java152 mController.processActivityResult(RingtonePreferenceController.REQUEST_CODE, in testProcessActivityResult_wrongResult_defaultRingtoneNotSet()
160 mController.processActivityResult(RingtonePreferenceController.REQUEST_CODE, in testProcessActivityResult_correctResult_nullIntent_defaultRingtoneNotSet()
170 mController.processActivityResult(RingtonePreferenceController.REQUEST_CODE, in testProcessActivityResult_correctResult_validIntent_defaultRingtoneSet()
/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.java40 private static final int REQUEST_CODE = 501; field in HomepageFragment
98 startActivityForResult(intent, REQUEST_CODE); in onSearchButtonClicked()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/
DSearchFeatureProvider.java42 int REQUEST_CODE = 501; field
100 activity.startActivityForResult(intent, REQUEST_CODE); in initSearchToolbar()
/packages/apps/Settings/src/com/android/settings/search/
DSearchFeatureProvider.java44 int REQUEST_CODE = 501; field
103 activity.startActivityForResult(intent, REQUEST_CODE); in initSearchToolbar()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java52 private static final int REQUEST_CODE = 0; field in BatteryTipUtils
126 final PendingIntent pendingIntent = PendingIntent.getBroadcast(context, REQUEST_CODE, in uploadAnomalyPendingIntent()
/packages/apps/Settings/src/com/android/settings/notification/
DConfigureNotificationSettings.java60 private static final int REQUEST_CODE = 200; field in ConfigureNotificationSettings
146 REQUEST_CODE, in onPreferenceTreeClick() local
DSoundSettings.java56 private static final int REQUEST_CODE = 200; field in SoundSettings
120 REQUEST_CODE, in onPreferenceTreeClick() local
DWorkSoundPreferenceController.java330 private static final int REQUEST_CODE = 200; field in WorkSoundPreferenceController.UnifyWorkDialogFragment
351 fragment.setTargetFragment(parent, REQUEST_CODE); in show()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipUtils.java52 private static final int REQUEST_CODE = 0; field in BatteryTipUtils
126 final PendingIntent pendingIntent = PendingIntent.getBroadcast(context, REQUEST_CODE, in uploadAnomalyPendingIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DSoundSettings.java57 private static final int REQUEST_CODE = 200; field in SoundSettings
120 REQUEST_CODE, in onPreferenceTreeClick() local
DWorkSoundPreferenceController.java330 private static final int REQUEST_CODE = 200; field in WorkSoundPreferenceController.UnifyWorkDialogFragment
351 fragment.setTargetFragment(parent, REQUEST_CODE); in show()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/actionbar/
DSearchMenuController.java97 mHost.startActivityForResult(intent, SearchFeatureProvider.REQUEST_CODE); in onCreateOptionsMenu()
/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.java240 SearchFeatureProvider.REQUEST_CODE, Activity.RESULT_OK, null /* data */); in onActivityResult_requestcode0_shouldNotFinish()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPermissionActivity.java89 public static final int REQUEST_CODE = 42; field in PermissionActivity
DMediaProvider.java4657 return PendingIntent.getActivity(context, PermissionActivity.REQUEST_CODE, intent,
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java453 } else if (requestCode == SearchFeatureProvider.REQUEST_CODE) { in onActivityResult()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockGeneric.java429 } else if (requestCode == SearchFeatureProvider.REQUEST_CODE) { in onActivityResult()