Home
last modified time | relevance | path

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

/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/
DBackgroundDexOptServiceIntegrationTests.java210 private static void runBackgroundDexOpt(String expectedStatus) throws IOException { in runBackgroundDexOpt() argument
212 if (!result.trim().equals(expectedStatus)) { in runBackgroundDexOpt()
213 throw new IllegalStateException("Expected status: " + expectedStatus in runBackgroundDexOpt()
/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()
/frameworks/base/services/incremental/
DIncrementalService.h258 void compareAndSetCurrentStatus(int expectedStatus, int newStatus);
DIncrementalService.cpp2838 void IncrementalService::DataLoaderStub::compareAndSetCurrentStatus(int expectedStatus, in compareAndSetCurrentStatus() argument
2847 if (expectedStatus != Constants::anyStatus && expectedStatus != mCurrentStatus) { in compareAndSetCurrentStatus()
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationThreadTest.java1375 private void verifyCallbacksTriggered(long vibrationId, Vibration.Status expectedStatus) { in verifyCallbacksTriggered() argument
1376 verify(mThreadCallbacks).onVibrationCompleted(eq(vibrationId), eq(expectedStatus)); in verifyCallbacksTriggered()