Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DDeleteSimProfilePreferenceControllerTest.java54 private static final int REQUEST_CODE = 4321; field in DeleteSimProfilePreferenceControllerTest
93 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_noSubs_notAvailable()
100 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_physicalSim_notAvailable()
107 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_unknownSim_notAvailable()
113 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_knownEsim_isAvailable()
119 mController.init(SUB_ID, mFragment, REQUEST_CODE); in onPreferenceClick_startsIntent()
124 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/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.java42 int REQUEST_CODE = 501; field
100 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/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/apps/Settings/src/com/android/settings/notification/
DConfigureNotificationSettings.java65 private static final int REQUEST_CODE = 200; field in ConfigureNotificationSettings
145 REQUEST_CODE, in onPreferenceTreeClick() local
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/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/apps/Settings/src/com/android/settings/search/actionbar/
DSearchMenuController.java97 mHost.startActivityForResult(intent, SearchFeatureProvider.REQUEST_CODE); in onCreateOptionsMenu()
/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/tests/robotests/src/com/android/settings/password/
DChooseLockGenericTest.java207 SearchFeatureProvider.REQUEST_CODE, Activity.RESULT_OK, null /* data */); in onActivityResult_requestcode0_shouldNotFinish()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java438 } else if (requestCode == SearchFeatureProvider.REQUEST_CODE) { in onActivityResult()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DChooseLockGeneric.java430 } else if (requestCode == SearchFeatureProvider.REQUEST_CODE) { in onActivityResult()