/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecControllerTest.java | 112 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_TvDeviceNonPreferredFirstOcupied() 120 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_TvDeviceNonPreferredAllOcupied() 121 mNativeWrapper.setPollAddressResponse(ADDR_SPECIFIC_USE, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_TvDeviceNonPreferredAllOcupied() 137 mNativeWrapper.setPollAddressResponse(ADDR_AUDIO_SYSTEM, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_AudioSystemNonPreferredAllOcupied() 153 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_PlaybackPreferredOcuppied() 168 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_PlaybackNoPreferredFirstOcuppied() 176 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_PlaybackNonPreferredFirstTwoOcuppied() 177 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_PlaybackNonPreferredFirstTwoOcuppied() 185 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_1, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_PlaybackNonPreferredAllOcupied() 186 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocatLogicalAddress_PlaybackNonPreferredAllOcupied() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/remote/ |
D | RemoteResult.java | 42 return new RemoteResult(Type.SUCCESS, value); in of() 54 return mType == Type.SUCCESS; in isPresent() 74 case Type.SUCCESS: in toStringDescription() 105 Type.SUCCESS, 112 int SUCCESS = 0; field
|
/frameworks/base/core/java/android/speech/tts/ |
D | PlaybackSynthesisCallback.java | 65 mStatusCode = TextToSpeech.SUCCESS; in PlaybackSynthesisCallback() 149 if (mStatusCode != TextToSpeech.SUCCESS) { in start() 164 return TextToSpeech.SUCCESS; in start() 183 if (mStatusCode != TextToSpeech.SUCCESS) { in audioAvailable() 210 return TextToSpeech.SUCCESS; in audioAvailable() 236 if (mStatusCode == TextToSpeech.SUCCESS) { in done() 250 if (statusCode == TextToSpeech.SUCCESS) { in done() 256 return TextToSpeech.SUCCESS; in done()
|
D | FileSynthesisCallback.java | 62 mStatusCode = TextToSpeech.SUCCESS; in FileSynthesisCallback() 122 if (mStatusCode != TextToSpeech.SUCCESS) { in start() 141 return TextToSpeech.SUCCESS; in start() 164 if (mStatusCode != TextToSpeech.SUCCESS) { in audioAvailable() 186 return TextToSpeech.SUCCESS; in audioAvailable() 217 if (mStatusCode != TextToSpeech.SUCCESS && mStatusCode != TextToSpeech.STOPPED) { in done() 242 return TextToSpeech.SUCCESS; in done()
|
D | TextToSpeech.java | 70 public static final int SUCCESS = 0; field in TextToSpeech 774 return SUCCESS; in initTts() 793 return SUCCESS; in initTts() 804 return SUCCESS; in initTts() 911 return SUCCESS; in addSpeech() 945 return SUCCESS; in addSpeech() 966 return SUCCESS; in addSpeech() 987 return SUCCESS; in addSpeech() 1019 return SUCCESS; in addEarcon() 1045 return SUCCESS; in addEarcon() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeCallback.java | 153 if (status.status == NanStatusType.SUCCESS) { in notifyCapabilitiesResponse() 189 if (status.status == NanStatusType.SUCCESS in notifyEnableResponse() 201 if (status.status == NanStatusType.SUCCESS) { in notifyConfigResponse() 214 if (status.status != NanStatusType.SUCCESS) { in notifyDisableResponse() 228 if (status.status == NanStatusType.SUCCESS) { in notifyStartPublishResponse() 241 if (status.status == NanStatusType.SUCCESS) { in notifyStopPublishResponse() 256 if (status.status == NanStatusType.SUCCESS) { in notifyStartSubscribeResponse() 270 if (status.status == NanStatusType.SUCCESS) { in notifyStopSubscribeResponse() 285 if (status.status == NanStatusType.SUCCESS) { in notifyTransmitFollowupResponse() 300 status.status == NanStatusType.SUCCESS, status.status); in notifyCreateDataInterfaceResponse() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareMetricsTest.java | 323 mDut.recordDiscoveryStatus(uid1, NanStatusType.SUCCESS, true); in testDiscoverySessionMetrics() 329 mDut.recordDiscoveryStatus(uid1, NanStatusType.SUCCESS, true); in testDiscoverySessionMetrics() 335 mDut.recordDiscoveryStatus(uid3, NanStatusType.SUCCESS, true); in testDiscoverySessionMetrics() 341 mDut.recordDiscoveryStatus(uid2, NanStatusType.SUCCESS, false); in testDiscoverySessionMetrics() 347 mDut.recordDiscoveryStatus(uid2, NanStatusType.SUCCESS, false); in testDiscoverySessionMetrics() 353 mDut.recordDiscoveryStatus(uid3, NanStatusType.SUCCESS, false); in testDiscoverySessionMetrics() 359 mDut.recordDiscoveryStatus(uid3, NanStatusType.SUCCESS, false); in testDiscoverySessionMetrics() 365 mDut.recordDiscoveryStatus(uid3, NanStatusType.SUCCESS, false); in testDiscoverySessionMetrics() 457 mDut.recordNdpStatus(NanStatusType.SUCCESS, false, 5); in testDataPathMetrics() 464 mDut.recordNdpStatus(NanStatusType.SUCCESS, false, 7); in testDataPathMetrics() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | KeepaliveTracker.java | 36 import static android.net.SocketKeepalive.SUCCESS; 247 return SUCCESS; in checkNetworkConnected() 254 return SUCCESS; in checkSourceAddress() 264 return SUCCESS; in checkInterval() 273 if (mPrivileged) return SUCCESS; in checkPermission() 298 return SUCCESS; in checkPermission() 310 return SUCCESS; in checkLimit() 316 if (error == SUCCESS) error = checkLimit(); in isValid() 317 if (error == SUCCESS) error = checkPermission(); in isValid() 318 if (error == SUCCESS) error = checkNetworkConnected(); in isValid() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsConfigCompatAdapter.java | 33 public static final int SUCCESS = 0; field in ImsConfigCompatAdapter 43 if (mOldConfigInterface.setProvisionedValue(item, value) == SUCCESS) { in setConfig() 56 if (mOldConfigInterface.setProvisionedStringValue(item, value) == SUCCESS) { in setConfig()
|
/frameworks/base/telephony/java/android/telephony/ |
D | MbmsDownloadSession.java | 310 if (result != MbmsErrors.SUCCESS) { in create() 360 if (result != MbmsErrors.SUCCESS) { in bindAndInitialize() 427 if (returnCode != MbmsErrors.SUCCESS) { in requestUpdateFileServices() 482 if (returnCode != MbmsErrors.SUCCESS) { in addServiceAnnouncement() 542 if (result != MbmsErrors.SUCCESS) { in setTempFileRootDirectory() 639 if (result == MbmsErrors.SUCCESS) { in download() 717 if (result != MbmsErrors.SUCCESS) { in addStatusListener() 770 if (result != MbmsErrors.SUCCESS) { in removeStatusListener() 829 if (result != MbmsErrors.SUCCESS) { in addProgressListener() 882 if (result != MbmsErrors.SUCCESS) { in removeProgressListener() [all …]
|
/frameworks/base/media/java/android/media/audiofx/ |
D | Visualizer.java | 126 public static final int SUCCESS = 0; field in Visualizer 223 if (result != SUCCESS && result != ALREADY_EXISTS) { in Visualizer() 273 int status = SUCCESS; in setEnabled() 277 if (status == SUCCESS) { in setEnabled() 623 if (status == SUCCESS) { in setDataCaptureListener() 676 return SUCCESS; in setServerDiedListener()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/ |
D | RulesManagerServiceTest.java | 325 assertEquals(RulesManager.SUCCESS, in requestInstall_operationInProgress() 428 assertEquals(RulesManager.SUCCESS, in requestInstall_asyncSuccess() 451 callback.assertResultReceived(Callback.SUCCESS); in requestInstall_asyncSuccess() 464 assertEquals(RulesManager.SUCCESS, in requestInstall_nullTokenBytes() 487 callback.assertResultReceived(Callback.SUCCESS); in requestInstall_nullTokenBytes() 503 assertEquals(RulesManager.SUCCESS, in requestInstall_asyncInstallFail() 541 assertEquals(RulesManager.SUCCESS, in requestUninstall_operationInProgress() 608 assertEquals(RulesManager.SUCCESS, in requestUninstall_asyncSuccess() 629 callback.assertResultReceived(Callback.SUCCESS); in requestUninstall_asyncSuccess() 642 assertEquals(RulesManager.SUCCESS, in requestUninstall_asyncNothingInstalled() [all …]
|
/frameworks/base/core/java/android/os/ |
D | UpdateEngine.java | 68 public static final int SUCCESS = 0; field in UpdateEngine.ErrorCodeConstants 165 ErrorCodeConstants.SUCCESS, 466 private @ErrorCode int mErrorCode = ErrorCodeConstants.SUCCESS; 505 if (mErrorCode == ErrorCodeConstants.SUCCESS) { in getFreeSpaceRequired() 550 ? ErrorCodeConstants.SUCCESS in allocateSpace()
|
/frameworks/base/core/java/android/nfc/tech/ |
D | NdefFormatable.java | 128 case ErrorCodes.SUCCESS: in format() 147 case ErrorCodes.SUCCESS: in format() 163 case ErrorCodes.SUCCESS: in format()
|
/frameworks/native/services/displayservice/ |
D | DisplayEventReceiver.cpp | 139 return mAttached->valid() ? Status::SUCCESS : Status::UNKNOWN; in init() 150 return success ? Status::SUCCESS : Status::UNKNOWN; in setVsyncRate() 161 return success ? Status::SUCCESS : Status::UNKNOWN; in requestNextVsync() 173 return success ? Status::SUCCESS : Status::UNKNOWN; in close()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | gsm_amr_typedefs.h | 123 #ifndef SUCCESS 124 #define SUCCESS 0 macro
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 38 public static final int SUCCESS = 0; field in ApConfigUtil 123 return SUCCESS; in updateApChannelConfig() 145 return SUCCESS; in updateApChannelConfig()
|
/frameworks/base/core/java/android/app/timezone/ |
D | Callback.java | 34 SUCCESS, 46 public static final int SUCCESS = 0; field in Callback
|
/frameworks/hardware/interfaces/displayservice/1.0/ |
D | IDisplayEventReceiver.hal | 26 * SUCCESS if callback is initialized correctly. 39 * SUCCESS if rate is set successfully. 49 * SUCCESS if request successfully processed. 60 * SUCCESS if request successfully processed.
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | pv_amr_wb_type_defs.h | 160 #ifndef SUCCESS 161 #define SUCCESS 0 macro
|
/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/ |
D | InitialLockSetupConstants.java | 67 SetLockCodes.SUCCESS, 73 int SUCCESS = 1; field
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | RestoreEngine.java | 29 public static final int SUCCESS = 0; field in RestoreEngine 34 private final AtomicInteger mResult = new AtomicInteger(SUCCESS);
|
/frameworks/base/core/java/android/nfc/ |
D | ErrorCodes.java | 41 case SUCCESS: return "SUCCESS"; in asString() 68 public static final int SUCCESS = 0; field in ErrorCodes
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | HalDeviceManager.java | 449 if (status.code == WifiStatusCode.SUCCESS) { in getName() 777 if (status.code != WifiStatusCode.SUCCESS) { in initIWifiIfNecessary() 813 statusOk.value = status.code == WifiStatusCode.SUCCESS; in initIWifiChipDebugListeners() 834 statusOk.value = status.code == WifiStatusCode.SUCCESS; in initIWifiChipDebugListeners() 887 if (status.code != WifiStatusCode.SUCCESS) { in initIWifiChipDebugListeners() 921 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo() 944 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo() 958 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo() 972 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo() 991 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo() [all …]
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsErrors.java | 34 public static final int SUCCESS = 0; field in MbmsErrors 172 SUCCESS,
|