Home
last modified time | relevance | path

Searched refs:expectedStatus (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java299 NetworkSelectionStatus expectedStatus = new NetworkSelectionStatus(); in testDeprecatedNetworkSelectionStatusDeserialize() local
300 expectedStatus.copy(status); in testDeprecatedNetworkSelectionStatusDeserialize()
301 expectedStatus.setNetworkSelectionStatus(NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); in testDeprecatedNetworkSelectionStatusDeserialize()
302 expectedStatus.setNetworkSelectionDisableReason( in testDeprecatedNetworkSelectionStatusDeserialize()
306 expectedStatus, retrievedStatus); in testDeprecatedNetworkSelectionStatusDeserialize()
347 NetworkSelectionStatus expectedStatus = new NetworkSelectionStatus(); in testDeprecatedNetworkSelectionDisableReasonDeserialize() local
348 expectedStatus.copy(status); in testDeprecatedNetworkSelectionDisableReasonDeserialize()
349 expectedStatus.setNetworkSelectionStatus(NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); in testDeprecatedNetworkSelectionDisableReasonDeserialize()
350 expectedStatus.setNetworkSelectionDisableReason( in testDeprecatedNetworkSelectionDisableReasonDeserialize()
354 expectedStatus, retrievedStatus); in testDeprecatedNetworkSelectionDisableReasonDeserialize()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java253 int expectedStatus = TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE; in getExpectedLanguageAvailableStatus() local
256 expectedStatus = TextToSpeech.LANG_AVAILABLE; in getExpectedLanguageAvailableStatus()
258 expectedStatus = TextToSpeech.LANG_COUNTRY_AVAILABLE; in getExpectedLanguageAvailableStatus()
261 return expectedStatus; in getExpectedLanguageAvailableStatus()
282 int expectedStatus = getExpectedLanguageAvailableStatus(locale); in onGetVoices() local
286 if (localeStatus != expectedStatus) { in onGetVoices()
364 int expectedStatus = getExpectedLanguageAvailableStatus(locale); in onLoadVoice() local
368 if (localeStatus != expectedStatus) { in onLoadVoice()
395 int expectedStatus = getExpectedLanguageAvailableStatus(locale); in onIsValidVoiceName() local
399 if (localeStatus != expectedStatus) { in onIsValidVoiceName()