/frameworks/base/nfc/java/android/nfc/ |
D | TransceiveResult.java | 30 public static final int RESULT_SUCCESS = 0; field in TransceiveResult 45 case RESULT_SUCCESS: in getResponseOrThrow() 64 if (mResult == RESULT_SUCCESS) { in writeToParcel() 77 if (result == RESULT_SUCCESS) {
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubTransactionManager.java | 170 result == ContextHubTransaction.RESULT_SUCCESS); in createLoadTransaction() 172 if (result == ContextHubTransaction.RESULT_SUCCESS) { in createLoadTransaction() 182 if (result == ContextHubTransaction.RESULT_SUCCESS) { in createLoadTransaction() 230 result == ContextHubTransaction.RESULT_SUCCESS); 232 if (result == ContextHubTransaction.RESULT_SUCCESS) { 237 if (result == ContextHubTransaction.RESULT_SUCCESS) { 451 transaction.onTransactionComplete(success ? ContextHubTransaction.RESULT_SUCCESS : 475 transaction.onTransactionComplete(success ? ContextHubTransaction.RESULT_SUCCESS : 497 transaction.onQueryResponse(ContextHubTransaction.RESULT_SUCCESS, nanoAppStateList); 550 while (result != ContextHubTransaction.RESULT_SUCCESS && !mTransactionQueue.isEmpty()) { [all …]
|
/frameworks/base/media/java/android/media/tv/tuner/filter/ |
D | TimeFilter.java | 70 if (res == Tuner.RESULT_SUCCESS) { in setCurrentTimestamp() 86 if (res == Tuner.RESULT_SUCCESS) { in clearTimestamp() 135 if (res != Tuner.RESULT_SUCCESS) { in close()
|
D | Filter.java | 476 if (res == Tuner.RESULT_SUCCESS) { in setDataSource() 504 if (res == Tuner.RESULT_SUCCESS) { in start() 534 if (res == Tuner.RESULT_SUCCESS) { in stop() 602 if (res != Tuner.RESULT_SUCCESS) { in close()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | CellularDataService.java | 19 import static android.telephony.data.DataServiceCallback.RESULT_SUCCESS; 92 : RESULT_SUCCESS, in CellularDataServiceProvider() 98 : RESULT_SUCCESS); in CellularDataServiceProvider() 103 : RESULT_SUCCESS); in CellularDataServiceProvider() 108 : RESULT_SUCCESS); in CellularDataServiceProvider() 114 : RESULT_SUCCESS, in CellularDataServiceProvider() 152 return RESULT_SUCCESS; in toResultCode()
|
/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/ |
D | UpdatableSystemFontTest.java | 157 .isEqualTo(FontManager.RESULT_SUCCESS); in updateFont() 176 .isEqualTo(FontManager.RESULT_SUCCESS); in updateFont_twice() 180 .isEqualTo(FontManager.RESULT_SUCCESS); in updateFont_twice() 195 .isEqualTo(FontManager.RESULT_SUCCESS); in updateFont_allowSameVersion() 199 .isEqualTo(FontManager.RESULT_SUCCESS); in updateFont_allowSameVersion() 204 .isEqualTo(FontManager.RESULT_SUCCESS); in updateFont_allowSameVersion() 231 .isEqualTo(FontManager.RESULT_SUCCESS); in updateFont_downgradeFromData() 239 assertThat(updateNotoSerifAs("serif")).isEqualTo(FontManager.RESULT_SUCCESS); in updateFontFamily() 261 .isEqualTo(FontManager.RESULT_SUCCESS); in updateFontFamily_asNewFont() 289 .isEqualTo(FontManager.RESULT_SUCCESS); in launchApp_afterUpdateFont() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | NetworkServiceCallback.java | 48 @IntDef({RESULT_SUCCESS, RESULT_ERROR_UNSUPPORTED, RESULT_ERROR_INVALID_ARG, RESULT_ERROR_BUSY, 53 public static final int RESULT_SUCCESS = 0; field in NetworkServiceCallback
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | SystemAudioActionFromAvr.java | 56 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in handleSystemAudioActionFromAvr() 75 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in handleSystemAudioActionFromAvr()
|
D | HdmiControlShellCommand.java | 143 return mCecResult.get() == HdmiControlManager.RESULT_SUCCESS ? 0 : 1; in deviceSelect() 154 return mCecResult.get() == HdmiControlManager.RESULT_SUCCESS ? 0 : 1; in oneTouchPlay() 260 return mCecResult.get() == HdmiControlManager.RESULT_SUCCESS ? 0 : 1; in setSystemAudioMode() 334 case HdmiControlManager.RESULT_SUCCESS: in getResultString()
|
D | SetAudioVolumeLevelDiscoveryAction.java | 86 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in handleFeatureAbort() 94 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in handleTimerEvent()
|
D | ActiveSourceHandler.java | 78 invokeCallback(HdmiControlManager.RESULT_SUCCESS); in process() 89 invokeCallback(HdmiControlManager.RESULT_SUCCESS); in process()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataServiceManagerTest.java | 156 waitAndVerifyResult(message, DataServiceCallback.RESULT_SUCCESS); in testSetupDataCall() 180 waitAndVerifyResult(message, DataServiceCallback.RESULT_SUCCESS); in testDeactivateDataCall() 200 waitAndVerifyResult(message, DataServiceCallback.RESULT_SUCCESS); in testSetInitialAttachApn() 220 waitAndVerifyResult(message, DataServiceCallback.RESULT_SUCCESS); in testSetDataProfile() 240 waitAndVerifyResult(message, DataServiceCallback.RESULT_SUCCESS); in testStartHandover() 258 waitAndVerifyResult(message, DataServiceCallback.RESULT_SUCCESS); in testCancelHandover()
|
/frameworks/base/tests/AttestationVerificationTest/src/com/android/server/security/ |
D | AttestationVerificationPeerDeviceVerifierTest.kt | 9 import android.security.attestationverification.AttestationVerificationManager.RESULT_SUCCESS 74 assertThat(result).isEqualTo(RESULT_SUCCESS) in verifyAttestation_returnsSuccessTypeChallenge() 90 assertThat(result).isEqualTo(RESULT_SUCCESS) in verifyAttestation_returnsSuccessLocalPatchOlderThanOneYear() 110 assertThat(result).isEqualTo(RESULT_SUCCESS) in verifyAttestation_returnsSuccessTypePublicKey() 128 assertThat(result).isEqualTo(RESULT_SUCCESS) in verifyAttestation_returnsSuccessOwnedBySystem()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | DeviceSelectActionFromPlaybackTest.java | 287 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b() 313 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInStandbyStatus_Cec14b() 341 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b() 370 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInStandbyAfterTimeoutForReportPowerStatus_Cec14b() 396 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_ReachmSetStreamPath_Cec14b() 419 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_ReachmSetStreamPathDeviceInPowerOnStatus_Cec20() 436 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInPowerOnStatus_Cec20() 458 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInPowerUnknownStatus_Cec20() 485 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInStandbyStatus_Cec20()
|
D | DeviceSelectActionFromTvTest.java | 239 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b() 265 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInStandbyStatus_Cec14b() 292 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b() 320 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInStandbyAfterTimeoutForReportPowerStatus_Cec14b() 336 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInPowerOnStatus_Cec20() 357 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInPowerUnknownStatus_Cec20() 385 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInStandbyStatus_Cec20()
|
D | OneTouchPlayActionTest.java | 185 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in succeedWithUnknownTvDevice() 234 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in succeedAfterGettingPowerStatusOn_Cec14b() 296 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in succeedAfterGettingTransientPowerStatus_Cec14b() 378 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in succeedIfPowerStatusOn_Cec20() 429 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in succeedIfPowerStatusUnknown_Cec20() 479 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in succeedIfPowerStatusStandby_Cec20() 510 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in succeedWithAddressNotAllocated_Cec14b() 542 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in succeedWithAddressAllocated_Cec14b() 628 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in noWakeUpOnReportPowerStatus()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellularNetworkServiceTest.java | 160 eq(NetworkServiceCallback.RESULT_SUCCESS), eq(expectedState)); in testGetNetworkRegistrationInfo() 185 eq(NetworkServiceCallback.RESULT_SUCCESS), eq(expectedState)); in testGetNetworkRegistrationInfo() 262 eq(NetworkServiceCallback.RESULT_SUCCESS), eq(expectedState)); in testGetNetworkRegistrationInfoV1_5() 283 eq(NetworkServiceCallback.RESULT_SUCCESS), eq(expectedState)); in testGetNetworkRegistrationInfoV1_5() 360 eq(NetworkServiceCallback.RESULT_SUCCESS), eq(expectedState)); in testGetNetworkRegistrationInfoV1_6WithLte() 381 eq(NetworkServiceCallback.RESULT_SUCCESS), eq(expectedState)); in testGetNetworkRegistrationInfoV1_6WithLte() 451 eq(NetworkServiceCallback.RESULT_SUCCESS), eq(expectedState)); in testGetNetworkRegistrationInfoV1_6WithNr() 472 eq(NetworkServiceCallback.RESULT_SUCCESS), eq(expectedState)); in testGetNetworkRegistrationInfoV1_6WithNr() 557 eq(NetworkServiceCallback.RESULT_SUCCESS), eq(expectedState)); in testGetAvailableServices_withMmsEnabled()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataServiceCallback.java | 52 @IntDef({RESULT_SUCCESS, RESULT_ERROR_UNSUPPORTED, RESULT_ERROR_INVALID_ARG, RESULT_ERROR_BUSY, 57 public static final int RESULT_SUCCESS = 0; field in DataServiceCallback 246 case RESULT_SUCCESS: in resultCodeToString()
|
/frameworks/base/core/java/android/security/attestationverification/ |
D | AttestationVerificationManager.java | 288 RESULT_SUCCESS, 300 public static final int RESULT_SUCCESS = 1; field in AttestationVerificationManager 359 case RESULT_SUCCESS: in verificationResultCodeToString()
|
/frameworks/base/media/java/android/media/tv/tuner/dvr/ |
D | DvrRecorder.java | 186 if (result == Tuner.RESULT_SUCCESS) { in start() 209 if (result == Tuner.RESULT_SUCCESS) { in stop() 240 if (res != Tuner.RESULT_SUCCESS) { in close()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryJobService.java | 19 import static android.app.job.JobScheduler.RESULT_SUCCESS; 54 if (jobScheduler.schedule(newJob) != RESULT_SUCCESS) { in scheduleJob()
|
D | NotificationBitmapJobService.java | 18 import static android.app.job.JobScheduler.RESULT_SUCCESS; 64 if (result != RESULT_SUCCESS) { in scheduleJob()
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | Tuner.java | 208 @IntDef({RESULT_SUCCESS, RESULT_UNAVAILABLE, RESULT_NOT_INITIALIZED, RESULT_INVALID_STATE, 216 public static final int RESULT_SUCCESS = android.hardware.tv.tuner.Result.SUCCESS; field in Tuner 497 if (res != RESULT_SUCCESS) { in transferOwner() 502 if (res != RESULT_SUCCESS) { in transferOwner() 507 if (res != RESULT_SUCCESS) { in transferOwner() 516 return RESULT_SUCCESS; in transferOwner() 668 return RESULT_SUCCESS; in transferFeOwner() 683 return RESULT_SUCCESS; in transferCiCamOwner() 696 return RESULT_SUCCESS; in transferCiCamOwner() 711 return RESULT_SUCCESS; in transferLnbOwner() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/ |
D | EntitlementMetricsStats.java | 32 private static final int RESULT_SUCCESS = 200; field in EntitlementMetricsStats 61 mResult = RESULT_SUCCESS; in reportSuccess()
|
/frameworks/base/core/java/android/graphics/fonts/ |
D | FontManager.java | 56 value = { RESULT_SUCCESS, RESULT_ERROR_FAILED_TO_WRITE_FONT_FILE, 67 public static final int RESULT_SUCCESS = 0; field in FontManager
|