Home
last modified time | relevance | path

Searched refs:SUCCESS (Results 1 – 25 of 212) sorted by relevance

123456789

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecControllerTest.java112 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/
DRemoteResult.java42 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/
DPlaybackSynthesisCallback.java65 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()
DFileSynthesisCallback.java62 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()
DTextToSpeech.java70 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/
DWifiAwareNativeCallback.java153 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/
DWifiAwareMetricsTest.java323 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/
DKeepaliveTracker.java36 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/
DImsConfigCompatAdapter.java33 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/
DMbmsDownloadSession.java310 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/
DVisualizer.java126 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/
DRulesManagerServiceTest.java325 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/
DUpdateEngine.java68 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/
DNdefFormatable.java128 case ErrorCodes.SUCCESS: in format()
147 case ErrorCodes.SUCCESS: in format()
163 case ErrorCodes.SUCCESS: in format()
/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp139 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/
Dgsm_amr_typedefs.h123 #ifndef SUCCESS
124 #define SUCCESS 0 macro
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java38 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/
DCallback.java34 SUCCESS,
46 public static final int SUCCESS = 0; field in Callback
/frameworks/hardware/interfaces/displayservice/1.0/
DIDisplayEventReceiver.hal26 * 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/
Dpv_amr_wb_type_defs.h160 #ifndef SUCCESS
161 #define SUCCESS 0 macro
/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/
DInitialLockSetupConstants.java67 SetLockCodes.SUCCESS,
73 int SUCCESS = 1; field
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DRestoreEngine.java29 public static final int SUCCESS = 0; field in RestoreEngine
34 private final AtomicInteger mResult = new AtomicInteger(SUCCESS);
/frameworks/base/core/java/android/nfc/
DErrorCodes.java41 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/
DHalDeviceManager.java449 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/
DMbmsErrors.java34 public static final int SUCCESS = 0; field in MbmsErrors
172 SUCCESS,

123456789