Home
last modified time | relevance | path

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

123

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGenericTest.java323 …mTbsGeneric.requestResult(ccid, requestIdCaptor.getValue(), BluetoothLeCallControl.RESULT_SUCCESS); in testCallAccept()
329 eq(BluetoothLeCallControl.RESULT_SUCCESS)); in testCallAccept()
368 …mTbsGeneric.requestResult(ccid, requestIdCaptor.getValue(), BluetoothLeCallControl.RESULT_SUCCESS); in testCallTerminate()
374 eq(BluetoothLeCallControl.RESULT_SUCCESS)); in testCallTerminate()
413 …mTbsGeneric.requestResult(ccid, requestIdCaptor.getValue(), BluetoothLeCallControl.RESULT_SUCCESS); in testCallHold()
419 eq(BluetoothLeCallControl.RESULT_SUCCESS)); in testCallHold()
458 …mTbsGeneric.requestResult(ccid, requestIdCaptor.getValue(), BluetoothLeCallControl.RESULT_SUCCESS); in testCallRetrieve()
464 eq(BluetoothLeCallControl.RESULT_SUCCESS)); in testCallRetrieve()
494 …mTbsGeneric.requestResult(ccid, requestIdCaptor.getValue(), BluetoothLeCallControl.RESULT_SUCCESS); in testCallOriginate()
502 eq(BluetoothLeCallControl.RESULT_SUCCESS)); in testCallOriginate()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java53 private final static int RESULT_SUCCESS = -1; field in InstallPackageTaskTest
93 assertThat(resultCode).isEqualTo(RESULT_SUCCESS); in run_success()
109 assertThat(resultCode).isEqualTo(RESULT_SUCCESS); in run_fileIsNull_success()
149 assertThat(resultCode).isEqualTo(RESULT_SUCCESS); in run_packageAlreadyInstalled_success()
215 callbackTriggered(RESULT_SUCCESS); in onSuccess()
/packages/services/Iwlan/test/com/google/android/iwlan/
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()
DIwlanDataServiceTest.java311 assertEquals(mResultCode, DataServiceCallback.RESULT_SUCCESS); in testRequestDataCallListPass()
356 assertEquals(mResultCode, DataServiceCallback.RESULT_SUCCESS); in testRequestDataCallListEmpty()
458 eq(DataServiceCallback.RESULT_SUCCESS), any(DataCallResponse.class)); in testIwlanSetupDataCallWithBringUpTunnel()
501 eq(DataServiceCallback.RESULT_SUCCESS), dataCallResponseCaptor.capture()); in testSliceInfoInclusionInDataCallResponse()
533 .onDeactivateDataCallComplete(eq(DataServiceCallback.RESULT_SUCCESS)); in testIwlanDeactivateDataCallWithCloseTunnel()
575 eq(DataServiceCallback.RESULT_SUCCESS), dataCallResponseCaptor.capture()); in testHandoverFailureModeNormal()
624 eq(DataServiceCallback.RESULT_SUCCESS), dataCallResponseCaptor.capture()); in testHandoverFailureModeHandover()
810 eq(DataServiceCallback.RESULT_SUCCESS), any(DataCallResponse.class)); in testIwlanSetupDataCallWithCellularAndCstEnabled()
1077 eq(DataServiceCallback.RESULT_SUCCESS), any(DataCallResponse.class)); in mockTunnelSetupFail()
1109 eq(DataServiceCallback.RESULT_SUCCESS), any(DataCallResponse.class)); in mockTunnelSetupSuccess()
[all …]
/packages/apps/Car/systemlibs/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/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DChreCommunication.java147 if (result != ContextHubTransaction.RESULT_SUCCESS) { in sendMessageToNanoApp()
177 case ContextHubTransaction.RESULT_SUCCESS: in contextHubTransactionResultToString()
234 if (response.getResult() == ContextHubTransaction.RESULT_SUCCESS) { in onComplete()
/packages/modules/Virtualization/compos/service/java/com/android/server/compos/
DIsolatedCompilationMetrics.java38 @IntDef({RESULT_UNKNOWN, RESULT_SUCCESS, RESULT_UNKNOWN_FAILURE, RESULT_FAILED_TO_START,
47 public static final int RESULT_SUCCESS = field in IsolatedCompilationMetrics
DIsolatedCompilationJobService.java63 if (result == JobScheduler.RESULT_SUCCESS) { in scheduleStagedApexJob()
222 onCompletion(true, IsolatedCompilationMetrics.RESULT_SUCCESS); in onSuccess()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarActivityManagerTest.java58 assertThat(retSet).isEqualTo(CarActivityManager.RESULT_SUCCESS); in testSetPersistentActivity()
63 assertThat(retRemove).isEqualTo(CarActivityManager.RESULT_SUCCESS); in testSetPersistentActivity()
/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/Car/car-lib/src/android/car/app/
DCarActivityManager.java60 public static final int RESULT_SUCCESS = 0; field in CarActivityManager
74 RESULT_SUCCESS,
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanDataService.java707 if (result == DataServiceCallback.RESULT_SUCCESS && rsp == null) { in deliverCallback()
1107 metricsAtom.setSetupRequestResult(DataServiceCallback.RESULT_SUCCESS); in handleMessage()
1117 DataServiceCallback.RESULT_SUCCESS, in handleMessage()
1188 metricsAtom.setSetupRequestResult(DataServiceCallback.RESULT_SUCCESS); in handleMessage()
1199 DataServiceCallback.RESULT_SUCCESS, in handleMessage()
1223 DataServiceCallback.RESULT_SUCCESS, in handleMessage()
1375 DataServiceCallback.RESULT_SUCCESS, in handleMessage()
1514 DataServiceCallback.RESULT_SUCCESS, in handleMessage()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java88 public static final int RESULT_SUCCESS = 1; field in SimImportService
320 .putExtra(EXTRA_RESULT_CODE, RESULT_SUCCESS) in onPostExecute()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/effects/
DEffectsController.java32 public static final int RESULT_SUCCESS = 0; field in EffectsController
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java227 notifyListener(StateMachine.RESULT_SUCCESS); in inferConnectionStatus()
338 fragment.notifyListener(StateMachine.RESULT_SUCCESS); in handleMessage()
/packages/modules/Media/apex/framework/java/android/media/
DMediaTranscodingManager.java147 TranscodingSession.RESULT_SUCCESS, in handleTranscodingFinished()
1292 public static final int RESULT_SUCCESS = 2; field in MediaTranscodingManager.TranscodingSession
1301 RESULT_SUCCESS,
1620 case RESULT_SUCCESS: in toString()
DSession2Command.java184 public static final int RESULT_SUCCESS = 0; field in Session2Command.Result
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/displayarea/
DCarDisplayAreaUtils.java67 if (ret != CarActivityManager.RESULT_SUCCESS) { in setPersistentActivity()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProviderBroadcastReceiver.java53 if (jobScheduler.enqueue(alarmJob, jwi) == JobScheduler.RESULT_SUCCESS) { in onReceive()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAbstractICarServiceHelperStub.java76 return CarActivityManager.RESULT_SUCCESS; in setPersistentActivity()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyCleanupJobService.java56 != JobScheduler.RESULT_SUCCESS) { in scheduleCleanUp()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeCallControl.java62 RESULT_SUCCESS,
76 public static final int RESULT_SUCCESS = 0; field in BluetoothLeCallControl
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionRatingService.java50 == JobScheduler.RESULT_SUCCESS; in scheduleTask()
DTranscriptionBackfillService.java52 == JobScheduler.RESULT_SUCCESS; in scheduleTask()

123