Home
last modified time | relevance | path

Searched refs:onActivityResult (Results 1 – 25 of 270) sorted by relevance

1234567891011

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsDashboardFragmentTest.java88 mTestFragment.onActivityResult(0, 0, null); in onActivityResult_invalidRequestCode_doNothing()
96 mTestFragment.onActivityResult(REQUEST_SCAN_BT_BROADCAST_QR_CODE, 0, null); in onActivityResult_invalidRequestResult_doNothing()
104 mTestFragment.onActivityResult(REQUEST_SCAN_BT_BROADCAST_QR_CODE, Activity.RESULT_OK, null); in onActivityResult_nullData_doNothing()
114 mTestFragment.onActivityResult( in onActivityResult_setSourceFromQrCode()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollIntroduction.java59 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in SetupFingerprintEnrollIntroduction
100 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
104 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java110 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in NetworkDashboardFragment
111 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
116 .onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/Camera2/src/com/android/camera/
DProxyLauncher.java37 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in ProxyLauncher
38 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DMainActivity.java137 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in MainActivity
138 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
139 activePeer.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DTestPreProvisioningActivity.java42 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in TestPreProvisioningActivity
48 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/modules/Permission/tests/cts/role/CtsRoleTestApp/src/android/app/role/cts/app/
DChangeDefaultDialerActivity.java44 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in ChangeDefaultDialerActivity
49 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
DRequestRoleActivity.java45 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in RequestRoleActivity
50 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
DChangeDefaultSmsActivity.java44 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in ChangeDefaultSmsActivity
49 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyNamePreference.java135 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in EmergencyNamePreference
139 mEditUserPhotoController.onActivityResult(requestCode, resultCode, data); in onActivityResult()
268 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in EmergencyNamePreference.EmergencyNamePreferenceDialogFragment
269 getEmergencyNamePreference().onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/Settings/src/com/android/settings/wifi/
DConfigureWifiSettings.java137 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in ConfigureWifiSettings
139 mWifiWakeupPreferenceController.onActivityResult(requestCode, resultCode); in onActivityResult()
142 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DStartForFutureActivity.kt46 override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { in onActivityResult() method in android.permissionui.cts.StartForFutureActivity
47 super.onActivityResult(requestCode, resultCode, data) in onActivityResult()
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DWaitForResultActivity.java66 protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { in onActivityResult() method in WaitForResultActivity
72 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperActivity.java41 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in LiveWallpaperActivity
42 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkFragment.java71 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in ResetNetworkFragment
72 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DSettingsScreenLockActivity.java51 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in SettingsScreenLockActivity
52 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/aboutphone/
DMyDeviceInfoFragmentTest.java70 mMyDeviceInfoFragment.onActivityResult(requestCode, resultCode, data); in onActivityResult_shouldCallBuildNumberPreferenceController()
72 verify(controller).onActivityResult(requestCode, resultCode, data); in onActivityResult_shouldCallBuildNumberPreferenceController()
/packages/modules/Connectivity/thread/demoapp/java/com/android/threadnetwork/demoapp/
DMainActivity.java58 protected void onActivityResult(int request, int result, Intent data) { in onActivityResult() method in MainActivity
59 super.onActivityResult(request, result, data); in onActivityResult()
/packages/apps/TV/tests/robotests/src/com/android/tv/
DSetupPassthroughActivityTest.java231 activity.onActivityResult(0, Activity.RESULT_CANCELED, null); in onActivityResult_canceled()
242 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, null); in onActivityResult_ok()
267 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, data); in onActivityResult_3rdPartyEpg_ok()
288 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, data); in onActivityResult_3rdPartyEpg_notAllowed()
314 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, data); in onActivityResult_3rdPartyEpg_disabled()
332 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, null); in onActivityResult_ok_tvInputInfo_null()
/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateSpaceSetupActivity.java61 protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { in onActivityResult() method in PrivateSpaceSetupActivity
77 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DWaitForDebuggerPreferenceControllerTest.java154 .onActivityResult(REQUEST_CODE_DEBUG_APP, Activity.RESULT_OK, onActivityResultIntent); in onActivityResult_requestCodeAndSettingEnabled_waitForDebuggerShouldBeChecked()
166 .onActivityResult(REQUEST_CODE_DEBUG_APP, Activity.RESULT_OK, onActivityResultIntent); in onActivityResult_requestCodeAndSettingDisabled_waitForDebuggerShouldNotBeChecked()
174 boolean result = mController.onActivityResult( in onActivityResult_badRequestCode_shouldReturnFalse()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceControllerTest.java158 final boolean activityResultHandled = mController.onActivityResult( in onActivityResult_notConfirmPasswordRequest_doNothing()
169 final boolean activityResultHandled = mController.onActivityResult( in onActivityResult_confirmPasswordRequestFailed_doNotEnableDevPref()
183 final boolean activityResultHandled = mController.onActivityResult( in onActivityResult_confirmPasswordRequestCompleted_enableDevPref()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DSoundPreferenceControllerTest.java108 mController.onActivityResult(1, 1, null); in testNoCrashIfNoOnResume()
167 mController.onActivityResult(SoundPreferenceController.CODE, 1, new Intent()); in testDisplayPreference_savesPreference()
168 verify(pref, times(1)).onActivityResult(anyInt(), anyInt(), any()); in testDisplayPreference_savesPreference()
311 mController.onActivityResult(SoundPreferenceController.CODE, 1, new Intent("hi")); in testOnActivityResult()
312 verify(pref, times(1)).onActivityResult(anyInt(), anyInt(), any()); in testOnActivityResult()
/packages/apps/Settings/src/com/android/settings/privatespace/onelock/
DUseOneLockSettingsFragment.java92 public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { in onActivityResult() method in UseOneLockSettingsFragment
97 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DActivityStarterActivity.java106 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() method in ActivityStarterActivity
112 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()

1234567891011