Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/
DRingtonePreferenceControllerTest.java32 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/unit/src/com/android/car/settings/common/
DSettingsFragmentTestCase.java204 mock(ActivityResultCallback.class))); in startActivityForResult_largeRequestCode_throwsError()
214 mock(ActivityResultCallback.class)); in startActivityForResult_tooManyRequests_throwsError()
228 mock(ActivityResultCallback.class))); in startIntentSenderForResult_largeRequestCode_throwsError()
241 mock(ActivityResultCallback.class)); in startIntentSenderForResult_tooManyRequests_throwsError()
250 ActivityResultCallback callback = mock(ActivityResultCallback.class); in onActivityResult_hasValidRequestCode_triggersOnActivityResult()
265 ActivityResultCallback callback = mock(ActivityResultCallback.class); in onActivityResult_wrongRequestCode_doesntTriggerOnActivityResult()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsFragment.java85 private final SparseArray<ActivityResultCallback> mActivityResultCallbackMap =
348 ActivityResultCallback callback) { in startActivityForResult()
357 ActivityResultCallback callback) in startIntentSenderForResult()
371 ActivityResultCallback callback = mActivityResultCallbackMap.get(requestIndex); in onActivityResult()
390 private int allocateRequestIndex(ActivityResultCallback callback) { in allocateRequestIndex()
DFragmentController.java81 void startActivityForResult(Intent intent, int requestCode, ActivityResultCallback callback); in startActivityForResult()
101 ActivityResultCallback callback) in startIntentSenderForResult()
DActivityResultCallback.java28 public interface ActivityResultCallback { interface
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DFactoryResetFragment.java32 import com.android.car.settings.common.ActivityResultCallback;
46 public class FactoryResetFragment extends SettingsFragment implements ActivityResultCallback {
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DFactoryResetFragmentTestCase.java36 import com.android.car.settings.common.ActivityResultCallback;
106 ActivityResultCallback callback) { in startActivityForResult()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DLockTypeBasePreferenceController.java33 import com.android.car.settings.common.ActivityResultCallback;
44 implements ActivityResultCallback {
DChooseLockTypePreferenceController.java39 import com.android.car.settings.common.ActivityResultCallback;
51 implements ActivityResultCallback {
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountDetailsPreferenceController.java32 import com.android.car.settings.common.ActivityResultCallback;
46 implements ActivityResultCallback {
DChooseAccountPreferenceController.java30 import com.android.car.settings.common.ActivityResultCallback;
49 PreferenceController<PreferenceGroup> implements ActivityResultCallback {
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/
DLockTypeBasePreferenceControllerTest.java41 import com.android.car.settings.common.ActivityResultCallback;
104 eq(CHOOSE_LOCK_REQUEST), any(ActivityResultCallback.class)); in testHandlePreferenceClicked_launchesIntent()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DChooseAccountPreferenceControllerTest.java46 import com.android.car.settings.common.ActivityResultCallback;
171 anyInt(), any(ActivityResultCallback.class)); in onPreferenceClick_shouldStartActivity()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceController.java39 import com.android.car.settings.common.ActivityResultCallback;
62 PreferenceController<PreferenceGroup> implements ActivityResultCallback {
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceController.java51 import com.android.car.settings.common.ActivityResultCallback;
85 PreferenceController<ActionButtonsPreference> implements ActivityResultCallback {
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/tts/
DTtsPlaybackPreferenceControllerTest.java40 import com.android.car.settings.common.ActivityResultCallback;
151 any(ActivityResultCallback.class)); in onCreate_startsCheckVoiceData()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceControllerTest.java64 import com.android.car.settings.common.ActivityResultCallback;
643 eq(UNINSTALL_REQUEST_CODE), any(ActivityResultCallback.class)); in uninstallClicked_startsUninstallActivity()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSliceFragment.java54 import androidx.activity.result.ActivityResultCallback;
112 new ActivityResultCallback<ActivityResult>() {
/packages/apps/Car/libs/car-ui-lib/car-ui-androidx/
Dcar-ui-jetifier-reverse.cfg2846 …"androidx/car/ui/activity/result/ActivityResultCallback": "androidx/activity/result/ActivityResult…