/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 54 apr.send(this, RESULT_OK, res); in onCreate() 98 setResult(RESULT_OK, res); in onResume() 115 setResult(RESULT_OK); in onActivityResult() 128 if (resultCode != RESULT_OK) { in onActivityResult()
|
D | TestedActivity.java | 60 setResult(RESULT_OK); 71 setResult(RESULT_OK); in queueIdle()
|
D | TestedScreen.java | 51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate() 104 setResult(RESULT_OK); 121 setResult(RESULT_OK); in queueIdle()
|
D | ClearTop.java | 43 setResult(RESULT_OK); in onNewIntent()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccCardController.java | 249 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getAllProfiles() 297 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getProfile() 345 callback.onComplete(EuiccCardManager.RESULT_OK); in disableProfile() 397 callback.onComplete(EuiccCardManager.RESULT_OK, profile); in switchToProfile() 459 callback.onComplete(EuiccCardManager.RESULT_OK); in setNickname() 511 callback.onComplete(EuiccCardManager.RESULT_OK); in deleteProfile() 563 callback.onComplete(EuiccCardManager.RESULT_OK); in resetMemory() 611 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getDefaultSmdpAddress() 659 callback.onComplete(EuiccCardManager.RESULT_OK, result); in getSmdsAddress() 707 callback.onComplete(EuiccCardManager.RESULT_OK); in setDefaultSmdpAddress() [all …]
|
D | EuiccController.java | 401 case EuiccService.RESULT_OK: in onGetMetadataComplete() 594 if (result.getResult() != EuiccService.RESULT_OK) { in onGetMetadataComplete() 628 if (result.getResult() != EuiccService.RESULT_OK) { in onGetMetadataComplete() 677 case EuiccService.RESULT_OK: in downloadSubscriptionPrivileged() 832 case EuiccService.RESULT_OK: in onGetDefaultListComplete() 927 case EuiccService.RESULT_OK: in deleteSubscriptionPrivileged() 1051 case EuiccService.RESULT_OK: in switchToSubscriptionPrivileged() 1114 case EuiccService.RESULT_OK: in updateSubscriptionNickname() 1153 case EuiccService.RESULT_OK: in eraseSubscriptions() 1193 case EuiccService.RESULT_OK: in eraseSubscriptionsWithOptions() [all …]
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | BaseCompatActivityTest.java | 135 verify(spyBaseCompatActivity).nextAction(Activity.RESULT_OK); in testSecondaryToolbarButtonListenerIsDefault() 150 verify(spyBaseCompatActivity).nextAction(Activity.RESULT_OK); in testPrimaryToolbarButtonListenerIsDefault() 320 spyBaseCompatActivity.finishAction(BaseCompatActivity.RESULT_OK); in testFinishActionWithResultCode() 322 verify(spyBaseCompatActivity).nextAction(BaseCompatActivity.RESULT_OK, null); in testFinishActionWithResultCode() 568 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionTwice_onlyTriggersOneStartActivity() 569 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionTwice_onlyTriggersOneStartActivity() 577 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionCanBeTriggeredAgain_onResume() 580 spyBaseCompatActivity.nextAction(Activity.RESULT_OK); in testNextActionCanBeTriggeredAgain_onResume()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccControllerTest.java | 337 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testGetDownloadableSubscriptionMetadata_success() 386 EuiccService.RESULT_OK, in testGetDefaultDownloadableSubscriptionList_success() 448 EuiccService.RESULT_OK, 0 /* resolvableError */, "whatever" /* callingPackage */); in testDownloadSubscription_success() 458 EuiccService.RESULT_OK, 0 /* resolvableError */, "whatever" /* callingPackage */); in testDownloadSubscription_noSwitch_success() 563 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges() 568 EuiccService.RESULT_OK, 0 /* resolvableError */, PACKAGE_NAME /* callingPackage */); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges() 580 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_multiSim() 585 EuiccService.RESULT_OK, 0 /* resolvableError */, PACKAGE_NAME /* callingPackage */); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_multiSim() 597 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent() 617 EuiccService.RESULT_OK, SUBSCRIPTION_WITH_METADATA); in testDownloadSubscription_noPrivileges_hasCarrierPrivileges_needsConsent_multiSim() [all …]
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 113 Activity.RESULT_OK, null, null); 116 Activity.RESULT_OK, null, null); 119 Activity.RESULT_OK, null, null); 127 Activity.RESULT_OK, null, null); 130 Activity.RESULT_OK, null, null); 133 Activity.RESULT_OK, null, null); 148 Activity.RESULT_OK, null, null); 151 Activity.RESULT_OK, null, null); 155 Activity.RESULT_OK, null, null); 290 null, Activity.RESULT_OK, null, null); in onCreateOptionsMenu() [all …]
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | GamePerformanceTest.java | 89 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testGraphicBufferMetrics() 95 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testPerformanceMetricsWithoutExtraLoad() 114 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testPerformanceMetricsWithExtraLoad()
|
/frameworks/base/telephony/java/android/service/carrier/ |
D | CarrierService.java | 145 public static final int RESULT_OK = 0; field in CarrierService.ICarrierServiceWrapper 156 result.send(RESULT_OK, data); in getCarrierConfig()
|
/frameworks/av/media/libaaudio/examples/loopback/src/analyzer/ |
D | LatencyAnalyzer.h | 251 RESULT_OK = 0, enumerator 445 int32_t newResult = RESULT_OK; in analyze() 473 if (getResult() == RESULT_OK) { in analyze() 532 return RESULT_OK; in processInputFrame() 560 return RESULT_OK; in processOutputFrame()
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | SurfaceCompositionTest.java | 91 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testSurfaceCompositionPerformance() 114 getInstrumentation().sendStatus(Activity.RESULT_OK, status); in testSurfaceAllocationPerformance()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | VerityUtils.java | 204 private static final int RESULT_OK = 1; field in VerityUtils.SetupResult 217 return new SetupResult(RESULT_OK, fileDescriptor, contentSize); in ok() 239 return mCode == RESULT_OK; in isOk()
|
/frameworks/base/tests/SystemMemoryTest/device/src/com/android/tests/sysmem/device/ |
D | Cujs.java | 51 finish(Activity.RESULT_OK, null); in onStart()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountAuthenticatorDummyActivity.java | 39 setResult(RESULT_OK, result); in onCreate()
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 69 setResult(RESULT_OK); in onCreate() 153 setResult(RESULT_OK); in onClick()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsDownloadReceiver.java | 73 public static final int RESULT_OK = 0; field in MbmsDownloadReceiver 255 setResultCode(RESULT_OK); in moveDownloadedFile() 286 setResultCode(RESULT_OK); in moveDownloadedFile() 325 setResultCode(RESULT_OK); in generateTempFiles() 338 setResultCode(RESULT_OK); in generateTempFiles()
|
/frameworks/base/core/tests/coretests/BinderDeathRecipientHelperApp/src/com/android/frameworks/coretests/bdr_helper_app/ |
D | TestCommsReceiver.java | 44 setResult(Activity.RESULT_OK, null, resultExtras); in onReceive()
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | AppWidgetHostActivity.java | 104 if (resultCode == RESULT_OK) { in handleAppWidgetPickResult() 126 if (resultCode == RESULT_OK) { in handleAppWidgetConfigureResult()
|
D | TestAppWidgetConfigure.java | 50 setResult(RESULT_OK);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Somnambulator.java | 49 setResult(RESULT_OK, resultIntent); in onStart()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | BaseActivity.java | 413 nextAction(RESULT_OK); in resetPrimaryToolbarButtonOnClickListener() 456 nextAction(RESULT_OK); in resetSecondaryToolbarButtonOnClickListener()
|
/frameworks/base/telephony/java/android/service/euicc/ |
D | GetDownloadableSubscriptionMetadataResult.java | 88 if (this.result == EuiccService.RESULT_OK) { in GetDownloadableSubscriptionMetadataResult()
|
D | GetDefaultDownloadableSubscriptionListResult.java | 92 if (this.result == EuiccService.RESULT_OK) { in GetDefaultDownloadableSubscriptionListResult()
|