Home
last modified time | relevance | path

Searched refs:RESULT_SUCCESS (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java53 private final static int RESULT_SUCCESS = -1; field in InstallPackageTaskTest
92 assertThat(resultCode).isEqualTo(RESULT_SUCCESS); in run_success()
107 assertThat(resultCode).isEqualTo(RESULT_SUCCESS); in run_fileIsNull_success()
145 assertThat(resultCode).isEqualTo(RESULT_SUCCESS); in run_packageAlreadyInstalled_success()
210 callbackTriggered(RESULT_SUCCESS); in onSuccess()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java277 assertEquals(mResultCode, DataServiceCallback.RESULT_SUCCESS); in testRequestDataCallListPass()
321 assertEquals(mResultCode, DataServiceCallback.RESULT_SUCCESS); in testRequestDataCallListEmpty()
414 eq(DataServiceCallback.RESULT_SUCCESS), any(DataCallResponse.class)); in testIwlanSetupDataCallWithBringUpTunnel()
452 eq(DataServiceCallback.RESULT_SUCCESS), dataCallResponseCaptor.capture()); in testSliceInfoInclusionInDataCallResponse()
482 .onDeactivateDataCallComplete(eq(DataServiceCallback.RESULT_SUCCESS)); in testIwlanDeactivateDataCallWithCloseTunnel()
513 eq(DataServiceCallback.RESULT_SUCCESS), dataCallResponseCaptor.capture()); in testHandoverFailureModeNormal()
551 eq(DataServiceCallback.RESULT_SUCCESS), dataCallResponseCaptor.capture()); in testHandoverFailureModeHandover()
725 eq(DataServiceCallback.RESULT_SUCCESS), any(DataCallResponse.class)); in testIwlanSetupDataCallWithCellularAndCstEnabled()
838 eq(DataServiceCallback.RESULT_SUCCESS), any(DataCallResponse.class)); in mockTunnelSetupFail()
865 eq(DataServiceCallback.RESULT_SUCCESS), any(DataCallResponse.class)); in mockTunnelSetupSuccess()
[all …]
DIwlanNetworkServiceTest.java135 eq(NetworkServiceCallback.RESULT_SUCCESS), in testRequestNetworkRegistrationInfo()
188 eq(NetworkServiceCallback.RESULT_SUCCESS), in testNetworkRegistrationInfoForCellularAndCstDisabled()
239 eq(NetworkServiceCallback.RESULT_SUCCESS), in testNetworkRegistrationInfoForCellularAndCstEnabled()
290 eq(NetworkServiceCallback.RESULT_SUCCESS), in testNetworkRegistrationInfoForWiFiAndCstEnabled()
341 eq(NetworkServiceCallback.RESULT_SUCCESS), in testNetworkRegistrationInfoForWiFiAndCstDisabled()
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DCarAssistUtils.java82 String RESULT_SUCCESS = "SUCCESS"; field
99 @StringDef({RESULT_FAILED, RESULT_FAILED_WITH_ERROR_HANDLED, RESULT_SUCCESS})
398 resultState = ActionRequestCallback.RESULT_SUCCESS; in fireAssistantAction()
422 : ActionRequestCallback.RESULT_SUCCESS; in handleFallback()
436 == ActionRequestCallback.RESULT_SUCCESS) { in handleFallback()
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/
DThemedIconSwitchProvider.java44 private static final int RESULT_SUCCESS = 1; field in ThemedIconSwitchProvider
127 if (result == RESULT_SUCCESS) { in setThemedIconEnabled()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DStateMachine.java56 public static final int RESULT_SUCCESS = 14; field in StateMachine
87 RESULT_SUCCESS,
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanDataService.java355 DataServiceCallback.RESULT_SUCCESS, in onOpened()
403 DataServiceCallback.RESULT_SUCCESS, in onClosed()
425 DataServiceCallback.RESULT_SUCCESS, in onClosed()
750 if (result == DataServiceCallback.RESULT_SUCCESS && rsp == null) { in deliverCallback()
995 DataServiceCallback.RESULT_SUCCESS, in requestDataCallList()
DIwlanNetworkService.java241 NetworkServiceCallback.RESULT_SUCCESS, nriBuilder.build()); in requestNetworkRegistrationInfo()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java86 public static final int RESULT_SUCCESS = 1; field in SimImportService
318 .putExtra(EXTRA_RESULT_CODE, RESULT_SUCCESS) in onPostExecute()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java225 notifyListener(StateMachine.RESULT_SUCCESS); in inferConnectionStatus()
335 fragment.notifyListener(StateMachine.RESULT_SUCCESS); in handleMessage()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProviderBroadcastReceiver.java53 if (jobScheduler.enqueue(alarmJob, jwi) == JobScheduler.RESULT_SUCCESS) { in onReceive()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyCleanupJobService.java56 != JobScheduler.RESULT_SUCCESS) { in scheduleCleanUp()
DAnomalyConfigJobService.java65 != JobScheduler.RESULT_SUCCESS) { in scheduleConfigUpdate()
DAnomalyDetectionJobService.java81 != JobScheduler.RESULT_SUCCESS) { in scheduleAnomalyDetection()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionRatingService.java50 == JobScheduler.RESULT_SUCCESS; in scheduleTask()
DTranscriptionBackfillService.java52 == JobScheduler.RESULT_SUCCESS; in scheduleTask()
DTranscriptionService.java92 return scheduler.enqueue(builder.build(), workItem) == JobScheduler.RESULT_SUCCESS; in scheduleNewVoicemailTranscriptionJob()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DLocationAccessCheck.java26 import static android.app.job.JobScheduler.RESULT_SUCCESS;
726 if (scheduleResult != RESULT_SUCCESS) { in checkLocationAccessSoon()
767 if (scheduleResult != RESULT_SUCCESS) { in onReceive()
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/
DBootReceiver.java73 != JobScheduler.RESULT_SUCCESS) { in onReceive()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DSaveState.java98 sm.getListener().onComplete(StateMachine.RESULT_SUCCESS); in onSuccess()
DEditProxySettingsActivity.java108 StateMachine.RESULT_SUCCESS, in onCreate()
DEditIpSettingsActivity.java108 StateMachine.RESULT_SUCCESS, in onCreate()
DAddWifiNetworkActivity.java178 StateMachine.RESULT_SUCCESS, in onCreate()
DWifiConnectionActivity.java171 StateMachine.RESULT_SUCCESS, in onCreate()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java1191 boolean transcodeResult = sessionResult == TranscodingSession.RESULT_SUCCESS; in waitTranscodingResult()
1197 if (sessionResult == TranscodingSession.RESULT_SUCCESS) { in waitTranscodingResult()
1237 case TranscodingSession.RESULT_SUCCESS: in finishTranscodingResult()
1758 case TranscodingSession.RESULT_SUCCESS:

12