Home
last modified time | relevance | path

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

12345678910>>...14

/packages/services/Car/tools/emulator/
Dvhal_emulator_test.py179 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/
DSetupPassthroughActivityTest.java242 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/
DAoapService.java57 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/
DRequestToggleWiFiActivity.java152 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/
DSapMessage.java125 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/
DWifiRequestToggleActivity.java88 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/
DWfcActivationController.java234 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/
DBluetoothActionActivity.java84 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/
DAlarmsAndRemindersDetails.java19 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/
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/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java302 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/
DRegionSearchPicker.java87 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/
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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivity.java226 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/
DWifiCallingDisclaimerFragmentTest.java119 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/
DCheckLockActivity.java36 setResult(RESULT_OK); in getInitialFragment()
44 setResult(RESULT_OK); in onLockVerified()
DVerifyLockChangeActivity.java54 setResult(RESULT_OK); in getInitialFragment()
65 setResult(RESULT_OK, data); in onLockVerified()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DTetherService.java76 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/
DMmsRequest.java217 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/
DSinglePaneFactoryResetFragmentTest.java19 import static android.app.Activity.RESULT_OK;
47 mFragment.processActivityResult(CHECK_LOCK_REQUEST_CODE, RESULT_OK, /* data= */ null); in processActivityResult_resultOk_launchesActivity()
DDualPaneFactoryResetFragmentTest.java19 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/
DChooseLockGenericTest.java130 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/
DHandleShortcuts.kt42 setResult(RESULT_OK) in onCreate()
51 setResult(RESULT_OK) in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkFragment.java19 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/
DChooseLockTypePreferenceControllerTest.java131 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()

12345678910>>...14