/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 226 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() 252 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() 282 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testSaveDocument_SetsCorrectResultAndFinishes() 322 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent() 349 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection() 374 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen() 401 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen_MultipleSelection() 426 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testFinishPicking_SetsCorrectResultAndFinishes_ActionCreate() 440 mHandler.onActivityResult(AbstractActionHandler.CODE_FORWARD, Activity.RESULT_OK, intent); in testOnAppPickedResult_OnOK() 444 assertEquals(Activity.RESULT_OK, (long) mActivity.setResult.getLastValue().first); in testOnAppPickedResult_OnOK() [all …]
|
/packages/services/Car/tools/emulator/ |
D | vhal_emulator_test.py | 154 VehicleHalProto_pb2.RESULT_OK) 179 VehicleHalProto_pb2.RESULT_OK) 211 VehicleHalProto_pb2.RESULT_OK) 230 VehicleHalProto_pb2.RESULT_OK) 235 VehicleHalProto_pb2.RESULT_OK) 245 VehicleHalProto_pb2.RESULT_OK)
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapMessage.java | 114 public static final int RESULT_OK = 0x00; field in SapMessage 948 mResultCode = RESULT_OK; in createSolicited() 980 mResultCode = RESULT_OK; in createSolicited() 1010 mResultCode = RESULT_OK; in createSolicited() 1040 mResultCode = RESULT_OK; in createSolicited() 1067 mResultCode = RESULT_OK; in createSolicited() 1094 mResultCode = RESULT_OK; in createSolicited() 1119 mResultCode = RESULT_OK; in createSolicited() 1154 return RESULT_OK; in mapRilErrorCode()
|
D | SapRilReceiver.java | 112 if (resultCode == SapMessage.RESULT_OK) { in apduResponse() 123 if (resultCode == SapMessage.RESULT_OK) { in transferAtrResponse() 172 if (resultCode == SapMessage.RESULT_OK) { in transferCardReaderStatusResponse()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | RequestToggleWiFiActivity.java | 146 setResult(RESULT_OK); in onStart() 160 setResult(RESULT_OK); in onStart() 176 setResult(RESULT_OK); in onStart() 194 setResult(RESULT_OK); in onStart() 307 RequestToggleWiFiActivity.this.setResult(Activity.RESULT_OK); in onReceive()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyCallbackModeExitDialog.java | 246 setResult(RESULT_OK, (new Intent()).putExtra( in onCreateDialog() 263 setResult(RESULT_OK, (new Intent()).putExtra( in onCreateDialog() 308 EmergencyCallbackModeExitDialog.this.setResult(RESULT_OK, (new Intent()) in onDismiss() 327 EmergencyCallbackModeExitDialog.this.setResult(RESULT_OK, (new Intent()) 360 EmergencyCallbackModeExitDialog.this.setResult(RESULT_OK, (new Intent())
|
/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/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/Settings/src/com/android/settings/ |
D | TetherService.java | 58 private static final int RESULT_OK = Activity.RESULT_OK; field in TetherService 332 int errorCode = result == RESULT_OK ? ConnectivityManager.TETHER_ERROR_NO_ERROR : in fireCallbacksForType() 356 if (result != RESULT_OK) {
|
D | CredentialStorage.java | 306 setResult(RESULT_OK); in installIfAvailable() 450 if (resultCode == Activity.RESULT_OK) { in onActivityResult() 462 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
|
D | AppWidgetPickActivity.java | 153 setResultData(RESULT_OK, intent); in onClick() 162 result = RESULT_OK; in onClick()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CertInstaller.java | 186 if (resultCode == RESULT_OK) { in onActivityResult() 196 setResult(RESULT_OK); in onActivityResult() 202 if (resultCode == RESULT_OK) { in onActivityResult() 250 setResult(RESULT_OK); in onPostExecute()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleShortcuts.java | 49 setResult(RESULT_OK); in onCreate() 58 setResult(RESULT_OK); in onCreate()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | AttachPhotoActivity.java | 158 if (resultCode != Activity.RESULT_OK) { in onActivityResult() 175 if (resultCode != RESULT_OK) { in onActivityResult() 227 if (resultCode != RESULT_OK) { in onActivityResult()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SlideshowPage.java | 166 setStateResult(Activity.RESULT_OK, mResultIntent in showPendingBitmap() 208 setStateResult(Activity.RESULT_OK, mResultIntent.putExtra(KEY_PHOTO_INDEX, 0)); in initializeData() 216 setStateResult(Activity.RESULT_OK, mResultIntent.putExtra(KEY_PHOTO_INDEX, index)); in initializeData()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | PhotoAppWidgetConfigure.java | 76 if (resultCode == RESULT_OK && mAppWidgetId != -1) { in onActivityResult() 82 resultCode = Activity.RESULT_OK; in onActivityResult()
|
D | CropImage.java | 304 setResult(RESULT_OK, in onSaveClicked() 337 setResult(RESULT_OK, new Intent(mSaveUri.toString()) in saveOutput() 342 setResult(RESULT_OK); in saveOutput() 382 setResult(RESULT_OK, new Intent() in saveOutput()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | SelectAccountActivity.java | 72 setResult(RESULT_OK, intent); in onCreate() 91 setResult(RESULT_OK, intent); in onCreate()
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
D | ImageCaptureIntentTest.java | 59 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testNoExtraOutput() 83 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testExtraOutput()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ExternalSourcesDetails.java | 35 import static android.app.Activity.RESULT_OK; 69 setResult(checked ? RESULT_OK : RESULT_CANCELED); in onPreferenceChange()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/ |
D | StatusSmsFetcher.java | 103 if (resultCode == Activity.RESULT_OK) { in onReceive() 148 case Activity.RESULT_OK: in sentSmsResultToString()
|
/packages/apps/Car/Stream/src/com/android/car/stream/ |
D | PermissionsActivity.java | 62 setResult(allPermissionsGranted ? RESULT_OK : RESULT_CANCELED); in onCreate() 114 setResult(Activity.RESULT_OK); in onRequestPermissionsResult()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionHelperActivity.java | 141 setResult(Activity.RESULT_OK); in onClick() 147 setResult(Activity.RESULT_OK); in onClick()
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | EmbmsSampleDownloadService.java | 254 Activity.RESULT_OK, in requestExtraTempFiles() 289 Activity.RESULT_OK, in sendFdRequest() 405 Activity.RESULT_OK, in downloadSingleFile()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmLockPattern.java | 161 getActivity().setResult(Activity.RESULT_OK); in onCreateView() 373 activity.setResult(RESULT_OK, intent); in startDisappearAnimation() 380 activity.setResult(RESULT_OK, intent); in startDisappearAnimation()
|