/packages/services/Car/tools/emulator/ |
D | vhal_emulator_test.py | 179 VehicleHalProto_pb2.RESULT_OK) 204 VehicleHalProto_pb2.RESULT_OK) 236 VehicleHalProto_pb2.RESULT_OK) 255 VehicleHalProto_pb2.RESULT_OK) 260 VehicleHalProto_pb2.RESULT_OK) 270 VehicleHalProto_pb2.RESULT_OK) 312 VehicleHalProto_pb2.RESULT_OK) 316 VehicleHalProto_pb2.RESULT_OK) 326 VehicleHalProto_pb2.RESULT_OK)
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | SetupPassthroughActivityTest.java | 242 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, null); in onActivityResult_ok() 250 assertThat(shadowOf(activity).getResultCode()).isEqualTo(Activity.RESULT_OK); in onActivityResult_ok() 267 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, data); in onActivityResult_3rdPartyEpg_ok() 275 assertThat(shadowOf(activity).getResultCode()).isEqualTo(Activity.RESULT_OK); in onActivityResult_3rdPartyEpg_ok() 288 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, data); in onActivityResult_3rdPartyEpg_notAllowed() 296 assertThat(shadowOf(activity).getResultCode()).isEqualTo(Activity.RESULT_OK); in onActivityResult_3rdPartyEpg_notAllowed() 314 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, data); in onActivityResult_3rdPartyEpg_disabled() 322 assertThat(shadowOf(activity).getResultCode()).isEqualTo(Activity.RESULT_OK); in onActivityResult_3rdPartyEpg_disabled() 332 activity.onActivityResult(REQUEST_START_SETUP_ACTIVITY, Activity.RESULT_OK, null); in onActivityResult_ok_tvInputInfo_null() 338 assertThat(shadowOf(activity).getResultCode()).isEqualTo(Activity.RESULT_OK); in onActivityResult_ok_tvInputInfo_null()
|
/packages/services/Car/car-lib/src/android/car/ |
D | AoapService.java | 57 public static final int RESULT_OK = 0; field in AoapService 72 RESULT_OK, RESULT_DEVICE_NOT_SUPPORTED, RESULT_DO_NOT_SWITCH_TO_AOAP 148 return RESULT_OK; in canSwitchToAoap() 206 if (res != RESULT_OK && res != RESULT_DEVICE_NOT_SUPPORTED) { in handleMessage() 216 if (res != RESULT_OK && res != RESULT_DEVICE_NOT_SUPPORTED in handleMessage()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 152 setResult(RESULT_OK); in onStart() 166 setResult(RESULT_OK); in onStart() 182 setResult(RESULT_OK); in onStart() 200 setResult(RESULT_OK); in onStart() 313 RequestToggleWiFiActivity.this.setResult(Activity.RESULT_OK); in onReceive()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapMessage.java | 125 public static final int RESULT_OK = 0x00; field in SapMessage 988 mResultCode = RESULT_OK; in createSolicited() 1019 mResultCode = RESULT_OK; in createSolicited() 1048 mResultCode = RESULT_OK; in createSolicited() 1077 mResultCode = RESULT_OK; in createSolicited() 1103 mResultCode = RESULT_OK; in createSolicited() 1129 mResultCode = RESULT_OK; in createSolicited() 1153 mResultCode = RESULT_OK; in createSolicited() 1187 return RESULT_OK; in mapRilErrorCode()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiRequestToggleActivity.java | 88 setResult(RESULT_OK); 144 setResult(RESULT_OK); in onStart() 160 setResult(RESULT_OK); in onStart() 263 activity.setResult(Activity.RESULT_OK); in onReceive()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ |
D | WfcActivationController.java | 234 mActivationUi.setResultAndFinish(Activity.RESULT_OK); in handleEntitlementStatusForActivation() 301 mActivationUi.setResultAndFinish(Activity.RESULT_OK); in handleEntitlementStatusAfterActivation() 333 mActivationUi.setResultAndFinish(Activity.RESULT_OK); in handleEntitlementStatusAfterUpdating() 339 mActivationUi.setResultAndFinish(Activity.RESULT_OK); in handleEntitlementStatusAfterUpdating()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothActionActivity.java | 84 setResult(RESULT_OK, i); in onChoice() 115 setResult(RESULT_OK, i); in onChoice() 129 setResult(RESULT_OK, i); in onText()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AlarmsAndRemindersDetails.java | 19 import static android.app.Activity.RESULT_OK; 78 setResult(mUncommittedState ? RESULT_OK : RESULT_CANCELED); in onCreate() 99 setResult(mUncommittedState ? RESULT_OK : RESULT_CANCELED); in onPreferenceChange()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
D | ImageCaptureIntentTest.java | 64 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testNoExtraOutput() 88 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testExtraOutput() 117 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testRetake()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 302 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() 330 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() 360 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testSaveDocument_SetsCorrectResultAndFinishes() 410 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent() 437 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection() 462 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen() 489 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen_MultipleSelection() 514 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionCreate()
|
/packages/apps/Settings/src/com/android/settings/datetime/timezone/ |
D | RegionSearchPicker.java | 87 getActivity().setResult(Activity.RESULT_OK, resultData); in onListItemClick() 106 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 107 getActivity().setResult(Activity.RESULT_OK, data); in onActivityResult()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | AccountFilterActivity.java | 107 setResult(Activity.RESULT_OK, intent); in onItemClick() 120 if (resultCode != Activity.RESULT_OK) { in onActivityResult() 130 setResult(Activity.RESULT_OK, intent); in onActivityResult()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivity.java | 226 if (resultCode == RESULT_OK) { 234 if (resultCode == RESULT_OK) { 259 if (resultCode == RESULT_OK) { 277 + RESULT_OK + " but got " + resultCode + "."); 290 if (resultCode == RESULT_OK) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingDisclaimerFragmentTest.java | 119 verify(mFragment).finish(Activity.RESULT_OK); in onCreate_notHaveItem_shouldFinishFragment() 129 verify(mFragment, never()).finish(Activity.RESULT_OK); in onCreate_haveItem_shouldNotFinishFragment() 179 verify(mFragment).finish(Activity.RESULT_OK); in onClick_agreeButton_shouldFinishFragment()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | CheckLockActivity.java | 36 setResult(RESULT_OK); in getInitialFragment() 44 setResult(RESULT_OK); in onLockVerified()
|
D | VerifyLockChangeActivity.java | 54 setResult(RESULT_OK); in getInitialFragment() 65 setResult(RESULT_OK, data); in onLockVerified()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | TetherService.java | 76 private static final int RESULT_OK = Activity.RESULT_OK; field in TetherService 312 int errorCode = result == RESULT_OK ? TETHER_ERROR_NO_ERROR : in fireCallbacksForType() 340 if (result != RESULT_OK) disableTethering(checkType);
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsRequest.java | 217 result = Activity.RESULT_OK; in execute() 223 this instanceof DownloadRequest && result == Activity.RESULT_OK); in execute() 286 + (result == Activity.RESULT_OK ? "success" : "failure(" + result + ")") in processResult() 421 return Activity.RESULT_OK; in toSmsManagerResult()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | SinglePaneFactoryResetFragmentTest.java | 19 import static android.app.Activity.RESULT_OK; 47 mFragment.processActivityResult(CHECK_LOCK_REQUEST_CODE, RESULT_OK, /* data= */ null); in processActivityResult_resultOk_launchesActivity()
|
D | DualPaneFactoryResetFragmentTest.java | 19 import static android.app.Activity.RESULT_OK; 51 mFragment.processActivityResult(CHECK_LOCK_REQUEST_CODE, RESULT_OK, /* data= */ null); in processActivityResult_resultOk_launchesFactoryResetConfirmFragment()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockGenericTest.java | 130 ChooseLockGenericFragment.CONFIRM_EXISTING_REQUEST, Activity.RESULT_OK, in onActivityResult_nullIntentData_shouldNotCrash() 250 SearchFeatureProvider.REQUEST_CODE, Activity.RESULT_OK, null /* data */); in onActivityResult_requestcode0_shouldNotFinish() 260 ChooseLockGenericFragment.ENABLE_ENCRYPTION_REQUEST, Activity.RESULT_OK, in onActivityResult_requestcode101_shouldFinish() 271 ChooseLockGenericFragment.CHOOSE_LOCK_REQUEST, Activity.RESULT_OK, null /* data */); in onActivityResult_requestcode102_shouldFinish() 292 ChooseLockGenericFragment.SKIP_FINGERPRINT_REQUEST, Activity.RESULT_OK, in onActivityResult_requestcode104_shouldFinish()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleShortcuts.kt | 42 setResult(RESULT_OK) in onCreate() 51 setResult(RESULT_OK) in onCreate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | ResetNetworkFragment.java | 19 import static android.app.Activity.RESULT_OK; 73 if (requestCode == REQUEST_CODE && resultCode == RESULT_OK) { in onActivityResult()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/ |
D | ChooseLockTypePreferenceControllerTest.java | 131 Activity.RESULT_OK, /* data= */ null); in activityResult_resultOk_fragmentLaunched() 141 Activity.RESULT_OK, createDataBundle()); in activityResult_resultOk_currentScreenLockSet() 156 Activity.RESULT_OK, createDataBundle()); in activityResult_resultOk_passwordQualitySet()
|