Home
last modified time | relevance | path

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

123456

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeCallback.java58 if (status.status == NanStatusType.SUCCESS) { in notifyCapabilitiesResponse()
90 if (status.status == NanStatusType.SUCCESS) { in notifyEnableResponse()
101 if (status.status == NanStatusType.SUCCESS) { in notifyConfigResponse()
114 if (status.status == NanStatusType.SUCCESS) { in notifyDisableResponse()
129 if (status.status == NanStatusType.SUCCESS) { in notifyStartPublishResponse()
142 if (status.status == NanStatusType.SUCCESS) { in notifyStopPublishResponse()
157 if (status.status == NanStatusType.SUCCESS) { in notifyStartSubscribeResponse()
171 if (status.status == NanStatusType.SUCCESS) { in notifyStopSubscribeResponse()
186 if (status.status == NanStatusType.SUCCESS) { in notifyTransmitFollowupResponse()
201 status.status == NanStatusType.SUCCESS, status.status); in notifyCreateDataInterfaceResponse()
[all …]
DWifiAwareNativeApi.java80 if (status.code == WifiStatusCode.SUCCESS) { in getCapabilities()
240 if (status.code == WifiStatusCode.SUCCESS) { in enableAndConfigure()
269 if (status.code == WifiStatusCode.SUCCESS) { in disable()
330 if (status.code == WifiStatusCode.SUCCESS) { in publish()
390 if (status.code == WifiStatusCode.SUCCESS) { in subscribe()
443 if (status.code == WifiStatusCode.SUCCESS) { in sendMessage()
476 if (status.code == WifiStatusCode.SUCCESS) { in stopPublish()
509 if (status.code == WifiStatusCode.SUCCESS) { in stopSubscribe()
543 if (status.code == WifiStatusCode.SUCCESS) { in createAwareNetworkInterface()
576 if (status.code == WifiStatusCode.SUCCESS) { in deleteAwareNetworkInterface()
[all …]
/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 …]
/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()
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dgsm_amr_typedefs.h123 #ifndef SUCCESS
124 #define SUCCESS 0 macro
/frameworks/native/services/displayservice/
DDisplayEventReceiver.cpp129 return mAttached->valid() ? Status::SUCCESS : Status::UNKNOWN; in init()
140 return success ? Status::SUCCESS : Status::UNKNOWN; in setVsyncRate()
151 return success ? Status::SUCCESS : Status::UNKNOWN; in requestNextVsync()
163 return success ? Status::SUCCESS : Status::UNKNOWN; in close()
/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/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/base/core/java/android/nfc/
DErrorCodes.java38 case SUCCESS: return "SUCCESS"; in asString()
65 public static final int SUCCESS = 0; field in ErrorCodes
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java347 if (status.code == WifiStatusCode.SUCCESS) { in getName()
413 if (status.code == WifiStatusCode.SUCCESS) { in createRttController()
657 if (status.code != WifiStatusCode.SUCCESS) { in initIWifiIfNecessary()
691 statusOk.value = status.code == WifiStatusCode.SUCCESS; in initIWifiChipDebugListeners()
712 statusOk.value = status.code == WifiStatusCode.SUCCESS; in initIWifiChipDebugListeners()
763 if (status.code != WifiStatusCode.SUCCESS) { in initIWifiChipDebugListeners()
797 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo()
820 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo()
834 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo()
848 statusOk.value = status.code == WifiStatusCode.SUCCESS; in getAllChipInfo()
[all …]
DSupplicantStaNetworkHal.java932 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getId()
1408 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getSsid()
1431 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getBssid()
1454 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getScanSsid()
1477 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getKeyMgmt()
1499 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getProto()
1522 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getAuthAlg()
1545 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getGroupCipher()
1568 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getPairwiseCipher()
1591 statusOk.value = status.code == SupplicantStatusCode.SUCCESS; in getPskPassphrase()
[all …]
DSoftApManager.java21 import static com.android.server.wifi.util.ApConfigUtil.SUCCESS;
145 if (result != SUCCESS) { in startSoftAp()
190 return SUCCESS; in startSoftAp()
303 if (result != SUCCESS) { in processMessage()
/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()
226 if (status == Status.SUCCESS) { in newInstance()
249 if (resp != null && resp.getStatus() == Status.SUCCESS) { in newInstance()
/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/base/services/core/java/com/android/server/tv/
DTvInputHal.java40 public final static int SUCCESS = 0; field in TvInputHal
95 return SUCCESS; in addOrUpdateStream()
112 return SUCCESS; in removeStream()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
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()
DRenderSessionImpl.java108 import static com.android.ide.common.rendering.api.Result.Status.SUCCESS;
205 return SUCCESS.createResult(); in init()
371 return SUCCESS.createResult(); in inflate()
417 return SUCCESS.createResult(); in renderAndBuildResult()
423 return SUCCESS.createResult(); in renderAndBuildResult()
488 Result renderResult = SUCCESS.createResult(); in renderAndBuildResult()
659 return SUCCESS.createResult(); in animate()
719 return SUCCESS.createResult(child); in insertChild()
750 return SUCCESS.createResult(); in addView()
854 return SUCCESS.createResult(layoutParams); in moveChild()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_HardwarePropertiesManagerService.cpp89 if (status.code == ThermalStatusCode::SUCCESS) { in nativeGetFanSpeeds()
119 if (status.code == ThermalStatusCode::SUCCESS) { in nativeGetDeviceTemperatures()
164 if (status.code == ThermalStatusCode::SUCCESS) { in nativeGetCpuUsages()
/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()

123456