Home
last modified time | relevance | path

Searched refs:RESULT_OK (Results 1 – 25 of 213) sorted by relevance

123456789

/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
DSendTestMessages.java435 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bit()
444 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bitUmts()
453 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bitNoPadding()
462 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bitNoPaddingUmts()
474 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bitMultipageGsm()
483 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bitMultipageUmts()
492 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bitWithLanguage()
502 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bitWithLanguageInBody()
512 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessage7bitWithLanguageInBodyUmts()
521 AppOpsManager.OP_RECEIVE_SMS, null, null, Activity.RESULT_OK, null, null); in testSendMessageUcs2()
[all …]
DSendCdmaCmasMessages.java68 AppOpsManager.OP_RECEIVE_EMERGECY_SMS, null, null, Activity.RESULT_OK, null, null); in testSendCmasPresAlert()
83 AppOpsManager.OP_RECEIVE_EMERGECY_SMS, null, null, Activity.RESULT_OK, null, null); in testSendCmasExtremeAlert()
98 AppOpsManager.OP_RECEIVE_EMERGECY_SMS, null, null, Activity.RESULT_OK, null, null); in testSendCmasSevereAlert()
113 AppOpsManager.OP_RECEIVE_EMERGECY_SMS, null, null, Activity.RESULT_OK, null, null); in testSendCmasAmberAlert()
128 AppOpsManager.OP_RECEIVE_EMERGECY_SMS, null, null, Activity.RESULT_OK, null, null); in testSendCmasMonthlyTest()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DSapServerTest.java75 resetResp.setResultCode(SapMessage.RESULT_OK); in testSapServerConnectSimple()
113 powerOffResp.setResultCode(SapMessage.RESULT_OK); in testSapServerApiComplete()
120 powerOnResp.setResultCode(SapMessage.RESULT_OK); in testSapServerApiComplete()
126 resetResp.setResultCode(SapMessage.RESULT_OK); in testSapServerApiComplete()
136 atrResp.setResultCode(SapMessage.RESULT_OK); in testSapServerApiComplete()
155 apduResp.setResultCode(SapMessage.RESULT_OK); in testSapServerApiComplete()
172 apdu7816Resp.setResultCode(SapMessage.RESULT_OK); in testSapServerApiComplete()
185 transferCardReaderStatusResp.setResultCode(SapMessage.RESULT_OK); in testSapServerApiComplete()
194 setTransportProtocolResp.setResultCode(SapMessage.RESULT_OK); in testSapServerApiComplete()
240 resetResp.setResultCode(SapMessage.RESULT_OK); in testSapServerResetWhileWritingApdu()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java113 public static final int RESULT_OK = 0x00; field in SapMessage
983 mResultCode = RESULT_OK; in createSolicited()
1015 mResultCode = RESULT_OK; in createSolicited()
1045 mResultCode = RESULT_OK; in createSolicited()
1075 mResultCode = RESULT_OK; in createSolicited()
1102 mResultCode = RESULT_OK; in createSolicited()
1129 mResultCode = RESULT_OK; in createSolicited()
1154 mResultCode = RESULT_OK; in createSolicited()
1189 return RESULT_OK; in mapRilErrorCode()
/packages/services/Telephony/src/com/android/phone/
DEmergencyCallbackModeExitDialog.java245 setResult(RESULT_OK, (new Intent()).putExtra( in onCreateDialog()
262 setResult(RESULT_OK, (new Intent()).putExtra( in onCreateDialog()
307 EmergencyCallbackModeExitDialog.this.setResult(RESULT_OK, (new Intent()) in onDismiss()
326 EmergencyCallbackModeExitDialog.this.setResult(RESULT_OK, (new Intent())
359 EmergencyCallbackModeExitDialog.this.setResult(RESULT_OK, (new Intent())
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java64 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/activities/
DContactEditorAccountsChangedActivity.java151 setResult(RESULT_OK); in onCreate()
168 if (resultCode != RESULT_OK) { in onActivityResult()
189 setResult(RESULT_OK, intent); in saveAccountAndReturnResult()
DAttachPhotoActivity.java148 if (resultCode != Activity.RESULT_OK) { in onActivityResult()
165 if (resultCode != RESULT_OK) { in onActivityResult()
217 if (resultCode != RESULT_OK) { in onActivityResult()
DContactSelectionActivity.java515 setResult(RESULT_OK, intent); in onPickContactAction()
604 setResult(RESULT_OK, intent); in returnPickerResult()
652 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DWifiSetupActivity.java294 setResult(RESULT_OK); in onPageComplete()
301 setResult(RESULT_OK); in onPageComplete()
308 setResult(RESULT_OK); in onPageComplete()
311 setResult(RESULT_OK); in onPageComplete()
/packages/apps/Browser/src/com/android/browser/
DComboViewActivity.java103 setResult(RESULT_OK, i); in openUrl()
111 setResult(RESULT_OK, i); in openInNewTab()
124 setResult(RESULT_OK, i); in openSnapshot()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DAccountFilterActivity.java177 setResult(Activity.RESULT_OK, intent); in onItemClick()
184 if (resultCode != Activity.RESULT_OK) { in onActivityResult()
194 setResult(Activity.RESULT_OK, intent); in onActivityResult()
/packages/apps/Settings/src/com/android/settings/
DTetherService.java51 private static final int RESULT_OK = Activity.RESULT_OK; field in TetherService
281 if (intent.getIntExtra(EXTRA_RESULT, RESULT_DEFAULT) == RESULT_OK) {
DConfirmLockPattern.java156 getActivity().setResult(Activity.RESULT_OK); in onCreateView()
344 getActivity().setResult(RESULT_OK, intent); in startDisappearAnimation()
352 getActivity().setResult(RESULT_OK, intent); in startDisappearAnimation()
DActiveNetworkScorerDialog.java64 setResult(RESULT_OK); in onClick()
87 setResult(RESULT_OK); in buildDialog()
DDeviceAdminAdd.java224 setResult(Activity.RESULT_OK); in onCreate()
331 setResult(Activity.RESULT_OK); in addAndFinish()
338 setResult(Activity.RESULT_OK); in addAndFinish()
/packages/apps/Gallery/src/com/android/camera/
DCropImage.java304 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()
DPhotoAppWidgetConfigure.java76 if (resultCode == RESULT_OK && mAppWidgetId != -1) { in onActivityResult()
82 resultCode = Activity.RESULT_OK; in onActivityResult()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowPage.java166 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/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperPickerActivity.java314 a.setResult(Activity.RESULT_OK); in onSave()
563 setResult(Activity.RESULT_OK); in init()
900 if (requestCode == IMAGE_PICK && resultCode == Activity.RESULT_OK) { in onActivityResult()
906 && resultCode == Activity.RESULT_OK) { in onActivityResult()
908 setResult(Activity.RESULT_OK); in onActivityResult()
DWallpaperCropActivity.java307 setResult(Activity.RESULT_OK); in setWallpaper()
333 setResult(Activity.RESULT_OK); in cropImageAndSetWallpaper()
425 setResult(Activity.RESULT_OK); in cropImageAndSetWallpaper()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java178 if (resultCode == RESULT_OK) { in onActivityResult()
189 setResult(RESULT_OK); in onActivityResult()
218 setResult(RESULT_OK); in onPostExecute()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DSelectAccountActivity.java72 setResult(RESULT_OK, intent); in onCreate()
91 setResult(RESULT_OK, intent); in onCreate()
/packages/apps/Camera/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java59 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testNoExtraOutput()
83 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testExtraOutput()
/packages/apps/Camera2/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java59 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testNoExtraOutput()
83 assertEquals(Activity.RESULT_OK, getActivity().getResultCode()); in testExtraOutput()

123456789