Home
last modified time | relevance | path

Searched refs:ActivityResultCallback (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DSettingsFragmentTest.java161 mock(ActivityResultCallback.class))); in startActivityForResult_largeRequestCode_throwsError()
170 mock(ActivityResultCallback.class)); in startActivityForResult_tooManyRequests_throwsError()
183 mock(ActivityResultCallback.class))); in startIntentSenderForResult_largeRequestCode_throwsError()
195 mock(ActivityResultCallback.class)); in startIntentSenderForResult_tooManyRequests_throwsError()
203 ActivityResultCallback callback = mock(ActivityResultCallback.class); in onActivityResult_hasValidRequestCode_triggersOnActivityResult()
216 ActivityResultCallback callback = mock(ActivityResultCallback.class); in onActivityResult_wrongRequestCode_doesntTriggerOnActivityResult()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/
DRingtonePreferenceControllerTest.java33 import com.android.car.settings.common.ActivityResultCallback;
104 any(Intent.class), anyInt(), any(ActivityResultCallback.class)); in testHandlePreferenceClicked_listenerTriggered()
113 intent.capture(), anyInt(), any(ActivityResultCallback.class)); in testHandlePreferenceClicked_captureIntent_checkDefaultUri()
123 intent.capture(), anyInt(), any(ActivityResultCallback.class)); in testHandlePreferenceClicked_captureIntent_checkDialogTitle()
134 intent.capture(), anyInt(), any(ActivityResultCallback.class)); in testHandlePreferenceClicked_captureIntent_checkRingtoneType()
145 intent.capture(), anyInt(), any(ActivityResultCallback.class)); in testHandlePreferenceClicked_captureIntent_checkShowSilent()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DChooseAccountPreferenceControllerTest.java40 import com.android.car.settings.common.ActivityResultCallback;
215 anyInt(), any(ActivityResultCallback.class)); in onPreferenceClick_shouldStartActivity()
229 ArgumentCaptor<ActivityResultCallback> captor = ArgumentCaptor.forClass( in onAccountAdded_shouldGoBack()
230 ActivityResultCallback.class); in onAccountAdded_shouldGoBack()
235 ActivityResultCallback callback = captor.getValue(); in onAccountAdded_shouldGoBack()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsFragment.java76 private final SparseArray<ActivityResultCallback> mActivityResultCallbackMap =
297 ActivityResultCallback callback) { in startActivityForResult()
306 ActivityResultCallback callback) in startIntentSenderForResult()
320 ActivityResultCallback callback = mActivityResultCallbackMap.get(requestIndex); in onActivityResult()
329 private int allocateRequestIndex(ActivityResultCallback callback) { in allocateRequestIndex()
DFragmentController.java73 void startActivityForResult(Intent intent, int requestCode, ActivityResultCallback callback); in startActivityForResult()
93 ActivityResultCallback callback) in startIntentSenderForResult()
DBaseCarSettingsActivity.java141 ActivityResultCallback callback) { in startActivityForResult()
149 ActivityResultCallback callback) { in startIntentSenderForResult()
DActivityResultCallback.java28 public interface ActivityResultCallback { interface
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DBaseTestActivity.java30 import com.android.car.settings.common.ActivityResultCallback;
91 ActivityResultCallback callback) { in startActivityForResult()
99 ActivityResultCallback callback) { in startIntentSenderForResult()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DMasterClearFragment.java32 import com.android.car.settings.common.ActivityResultCallback;
47 public class MasterClearFragment extends SettingsFragment implements ActivityResultCallback {
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DRingtonePreferenceController.java33 import com.android.car.settings.common.ActivityResultCallback;
40 PreferenceController<RingtonePreference> implements ActivityResultCallback {
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java36 import com.android.car.settings.common.ActivityResultCallback;
59 PreferenceController<PreferenceGroup> implements ActivityResultCallback {
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationDetailsFragment.java47 import com.android.car.settings.common.ActivityResultCallback;
79 public class ApplicationDetailsFragment extends SettingsFragment implements ActivityResultCallback {
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java41 import com.android.car.settings.common.ActivityResultCallback;
148 any(ActivityResultCallback.class)); in onCreate_startsCheckVoiceData()