Home
last modified time | relevance | path

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

12345678910

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java226 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/
Dvhal_emulator_test.py154 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/
DSapMessage.java114 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()
DSapRilReceiver.java112 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/
DRequestToggleWiFiActivity.java146 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/
DEmergencyCallbackModeExitDialog.java246 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/
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/list/
DAccountFilterActivity.java107 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/
DTetherService.java58 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) {
DCredentialStorage.java306 setResult(RESULT_OK); in installIfAvailable()
450 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
462 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
DAppWidgetPickActivity.java153 setResultData(RESULT_OK, intent); in onClick()
162 result = RESULT_OK; in onClick()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java186 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/
DHandleShortcuts.java49 setResult(RESULT_OK); in onCreate()
58 setResult(RESULT_OK); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/activities/
DAttachPhotoActivity.java158 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/
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/Gallery/src/com/android/camera/
DPhotoAppWidgetConfigure.java76 if (resultCode == RESULT_OK && mAppWidgetId != -1) { in onActivityResult()
82 resultCode = Activity.RESULT_OK; in onActivityResult()
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()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DSelectAccountActivity.java72 setResult(RESULT_OK, intent); in onCreate()
91 setResult(RESULT_OK, intent); in onCreate()
/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()
/packages/apps/Settings/src/com/android/settings/applications/
DExternalSourcesDetails.java35 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/
DStatusSmsFetcher.java103 if (resultCode == Activity.RESULT_OK) { in onReceive()
148 case Activity.RESULT_OK: in sentSmsResultToString()
/packages/apps/Car/Stream/src/com/android/car/stream/
DPermissionsActivity.java62 setResult(allPermissionsGranted ? RESULT_OK : RESULT_CANCELED); in onCreate()
114 setResult(Activity.RESULT_OK); in onRequestPermissionsResult()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionHelperActivity.java141 setResult(Activity.RESULT_OK); in onClick()
147 setResult(Activity.RESULT_OK); in onClick()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsSampleDownloadService.java254 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/
DConfirmLockPattern.java161 getActivity().setResult(Activity.RESULT_OK); in onCreateView()
373 activity.setResult(RESULT_OK, intent); in startDisappearAnimation()
380 activity.setResult(RESULT_OK, intent); in startDisappearAnimation()

12345678910