Home
last modified time | relevance | path

Searched refs:REQUEST_MOCK_LOCATION_APP (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DMockLocationAppPreferenceController.java19 ….car.developeroptions.development.DevelopmentOptionsActivityRequestCodes.REQUEST_MOCK_LOCATION_APP;
70 mFragment.startActivityForResult(intent, REQUEST_MOCK_LOCATION_APP); in handlePreferenceTreeClick()
81 if (requestCode != REQUEST_MOCK_LOCATION_APP || resultCode != Activity.RESULT_OK) { in onActivityResult()
DDevelopmentOptionsActivityRequestCodes.java27 int REQUEST_MOCK_LOCATION_APP = 2; field
/packages/apps/Settings/src/com/android/settings/development/
DMockLocationAppPreferenceController.java19 … com.android.settings.development.DevelopmentOptionsActivityRequestCodes.REQUEST_MOCK_LOCATION_APP;
70 mFragment.startActivityForResult(intent, REQUEST_MOCK_LOCATION_APP); in handlePreferenceTreeClick()
81 if (requestCode != REQUEST_MOCK_LOCATION_APP || resultCode != Activity.RESULT_OK) { in onActivityResult()
DDevelopmentOptionsActivityRequestCodes.java27 int REQUEST_MOCK_LOCATION_APP = 2; field
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DMockLocationAppPreferenceControllerTest.java4 .REQUEST_MOCK_LOCATION_APP;
112 mController.onActivityResult(REQUEST_MOCK_LOCATION_APP, Activity.RESULT_OK, intent); in onActivityResult_fooPrevAppBarNewApp_shouldRemoveFooAndSetBarAsMockLocationApp()
137 verify(mFragment).startActivityForResult(any(), eq(REQUEST_MOCK_LOCATION_APP)); in handlePreferenceTreeClick_samePreferenceKey_shouldLaunchActivity()