Searched refs:ActivityResultCallback (Results 1 – 13 of 13) sorted by relevance
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | SettingsFragmentTest.java | 161 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/ |
D | RingtonePreferenceControllerTest.java | 33 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/ |
D | ChooseAccountPreferenceControllerTest.java | 40 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/ |
D | SettingsFragment.java | 76 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()
|
D | FragmentController.java | 73 void startActivityForResult(Intent intent, int requestCode, ActivityResultCallback callback); in startActivityForResult() 93 ActivityResultCallback callback) in startIntentSenderForResult()
|
D | BaseCarSettingsActivity.java | 141 ActivityResultCallback callback) { in startActivityForResult() 149 ActivityResultCallback callback) { in startIntentSenderForResult()
|
D | ActivityResultCallback.java | 28 public interface ActivityResultCallback { interface
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | BaseTestActivity.java | 30 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/ |
D | MasterClearFragment.java | 32 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/ |
D | RingtonePreferenceController.java | 33 import com.android.car.settings.common.ActivityResultCallback; 40 PreferenceController<RingtonePreference> implements ActivityResultCallback {
|
/packages/apps/Car/Settings/src/com/android/car/settings/tts/ |
D | TtsPlaybackPreferenceController.java | 36 import com.android.car.settings.common.ActivityResultCallback; 59 PreferenceController<PreferenceGroup> implements ActivityResultCallback {
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragment.java | 47 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/ |
D | TtsPlaybackPreferenceControllerTest.java | 41 import com.android.car.settings.common.ActivityResultCallback; 148 any(ActivityResultCallback.class)); in onCreate_startsCheckVoiceData()
|