Home
last modified time | relevance | path

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

1234

/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
763 return SUCCESS; in initTts()
782 return SUCCESS; in initTts()
793 return SUCCESS; in initTts()
900 return SUCCESS; in addSpeech()
934 return SUCCESS; in addSpeech()
956 return SUCCESS; in addSpeech()
977 return SUCCESS; in addSpeech()
1009 return SUCCESS; in addEarcon()
1035 return SUCCESS; in addEarcon()
[all …]
DSynthesisPlaybackQueueItem.java75 mStatusCode = TextToSpeech.SUCCESS; in SynthesisPlaybackQueueItem()
112 if (mStatusCode == TextToSpeech.SUCCESS) { in run()
DTextToSpeechService.java340 if (onIsValidVoiceName(voiceName) == TextToSpeech.SUCCESS) { in onGetDefaultVoiceNameFor()
376 return TextToSpeech.SUCCESS; in onLoadVoice()
405 return TextToSpeech.SUCCESS; in onIsValidVoiceName()
581 return TextToSpeech.SUCCESS; in enqueueSpeechItem()
628 return TextToSpeech.SUCCESS; in stopForApp()
653 return TextToSpeech.SUCCESS; in stopAll()
1346 TextToSpeech.SUCCESS) {
1365 if (retVal == TextToSpeech.SUCCESS) {
1369 TextToSpeech.SUCCESS) {
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java161 return SUCCESS; in checkNetworkConnected()
168 return SUCCESS; in checkSourceAddress()
175 return mInterval >= 20 ? SUCCESS : ERROR_INVALID_INTERVAL; in checkInterval()
181 if (error == SUCCESS) error = checkNetworkConnected(); in isValid()
182 if (error == SUCCESS) error = checkSourceAddress(); in isValid()
189 if (error == SUCCESS) { in start()
292 if (error != SUCCESS) { in handleCheckKeepalivesStillValid()
315 if (reason == SUCCESS && !ki.isStarted) { in handleEventPacketKeepalive()
323 if (reason == SUCCESS) { in handleEventPacketKeepalive()
/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java123 public static final int SUCCESS = 0; field in Visualizer
212 if (result != SUCCESS && result != ALREADY_EXISTS) { in Visualizer()
260 int status = SUCCESS; in setEnabled()
264 if (status == SUCCESS) { in setEnabled()
593 if (status == SUCCESS) { in setDataCaptureListener()
643 return SUCCESS; in setServerDiedListener()
/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()
DBasicTagTechnology.java76 if (errorCode == ErrorCodes.SUCCESS) { in connect()
103 if (errorCode != ErrorCodes.SUCCESS) { in reconnect()
DNdef.java317 case ErrorCodes.SUCCESS: in writeNdefMessage()
385 case ErrorCodes.SUCCESS: in makeReadOnly()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java38 public static final int SUCCESS = 0; field in ApConfigUtil
120 return SUCCESS; in updateApChannelConfig()
148 return SUCCESS; in updateApChannelConfig()
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dgsm_amr_typedefs.h123 #ifndef SUCCESS
124 #define SUCCESS 0 macro
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dpv_amr_wb_type_defs.h160 #ifndef SUCCESS
161 #define SUCCESS 0 macro
/frameworks/base/core/java/android/nfc/
DErrorCodes.java38 case SUCCESS: return "SUCCESS"; in asString()
65 public static final int SUCCESS = 0; field in ErrorCodes
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceResponse.java78 public static final int SUCCESS = 0; field in WifiP2pServiceResponse.Status
92 case SUCCESS: in toString()
234 if (status == Status.SUCCESS) { in newInstance()
257 if (resp != null && resp.getStatus() == Status.SUCCESS) { in newInstance()
/frameworks/base/graphics/java/android/view/
DPixelCopy.java35 @IntDef({SUCCESS, ERROR_UNKNOWN, ERROR_TIMEOUT, ERROR_SOURCE_NO_DATA,
40 public static final int SUCCESS = 0; field in PixelCopy
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java106 import static com.android.ide.common.rendering.api.Result.Status.SUCCESS;
203 return SUCCESS.createResult(); in init()
342 return SUCCESS.createResult(); in inflate()
383 return SUCCESS.createResult(); in render()
389 return SUCCESS.createResult(); in render()
420 Result renderResult = SUCCESS.createResult(); in render()
589 return SUCCESS.createResult(); in animate()
649 return SUCCESS.createResult(child); in insertChild()
680 return SUCCESS.createResult(); in addView()
784 return SUCCESS.createResult(layoutParams); in moveChild()
[all …]
DRenderAction.java46 import static com.android.ide.common.rendering.api.Result.Status.SUCCESS;
130 return SUCCESS.createResult(); in init()
169 return SUCCESS.createResult(); in acquire()
204 return SUCCESS.createResult(); in acquireLock()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHal.java39 public final static int SUCCESS = 0; field in TvInputHal
93 return SUCCESS; in addOrUpdateStream()
110 return SUCCESS; in removeStream()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java189 assertEquals(ApConfigUtil.SUCCESS, in updateApChannelConfigWithoutHal()
220 assertEquals(ApConfigUtil.SUCCESS, in updateApChannelConfigWithChannelSpecified()
256 assertEquals(ApConfigUtil.SUCCESS, in updateApChannelConfigWithoutChannelsForBandSupported()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java21 import static com.android.server.wifi.util.ApConfigUtil.SUCCESS;
167 if (result != SUCCESS) { in startSoftAp()
195 return SUCCESS; in startSoftAp()
321 if (result == SUCCESS) { in processMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataCallResponse.java58 SUCCESS, enumConstant
238 result = SetupResult.SUCCESS; in setLinkProperties()
253 if (result != SetupResult.SUCCESS) { in setLinkProperties()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DMouseClickAction.java69 return Tapper.Status.SUCCESS; in sendTap()
85 return res.longPress ? Tapper.Status.WARNING : Tapper.Status.SUCCESS; in sendSingleTap()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java64 import static com.android.ide.common.rendering.api.Result.Status.SUCCESS;
423 Result lastResult = SUCCESS.createResult(); in createSession()
457 Result lastResult = SUCCESS.createResult(); in renderDrawable()
492 return Status.SUCCESS.createResult(((View)viewObject).getParent()); in getViewParent()
505 Status.SUCCESS.createResult(((ViewGroup) parentView).indexOfChild(view)); in getViewIndex()
508 return Status.SUCCESS.createResult(); in getViewIndex()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyEventLogTest.java304 TelephonyManager.NETWORK_TYPE_LTE, 1, ImsConfig.OperationStatusConstants.SUCCESS); in testWriteImsSetFeatureValue()
319 TelephonyManager.NETWORK_TYPE_IWLAN, 1, ImsConfig.OperationStatusConstants.SUCCESS); in testWriteImsSetFeatureValue()
331 TelephonyManager.NETWORK_TYPE_LTE, 1, ImsConfig.OperationStatusConstants.SUCCESS); in testWriteImsSetFeatureValue()
343 TelephonyManager.NETWORK_TYPE_IWLAN, 1, ImsConfig.OperationStatusConstants.SUCCESS); in testWriteImsSetFeatureValue()

1234