Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/
H A DBackgroundDexOptServiceIntegrationTests.java214 private static void runBackgroundDexOpt(String expectedStatus) throws IOException { in runBackgroundDexOpt() argument
216 if (!result.trim().equals(expectedStatus)) { in runBackgroundDexOpt()
217 throw new IllegalStateException("Expected status: " + expectedStatus in runBackgroundDexOpt()
/aosp14/frameworks/base/core/java/android/speech/tts/
H A 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()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DBackgroundDexOptServiceUnitTest.java531 boolean expectedReschedule, int expectedStatus, int totalJobFinishedWithParams, in runFullJob() argument
543 if (expectedStatus != STATUS_FATAL_ERROR) { in runFullJob()
552 if (expectedStatus != STATUS_FATAL_ERROR) { in runFullJob()
555 assertThat(getLastExecutionStatus()).isEqualTo(expectedStatus); in runFullJob()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationSettingsTest.java770 Vibration.Status expectedStatus) { in assertVibrationIgnoredForUsage() argument
771 assertVibrationIgnoredForUsageAndDisplay(usage, Display.DEFAULT_DISPLAY, expectedStatus); in assertVibrationIgnoredForUsage()
775 int displayId, Vibration.Status expectedStatus) { in assertVibrationIgnoredForUsageAndDisplay() argument
778 assertEquals(errorMessageForUsage(usage), expectedStatus, in assertVibrationIgnoredForUsageAndDisplay() local
H A DVibrationThreadTest.java1674 private void verifyCallbacksTriggered(long vibrationId, Vibration.Status expectedStatus) { in verifyCallbacksTriggered() argument
1675 verifyCallbacksTriggered(vibrationId, new Vibration.EndInfo(expectedStatus)); in verifyCallbacksTriggered()
/aosp14/frameworks/base/services/incremental/
H A DIncrementalService.h258 void compareAndSetCurrentStatus(int expectedStatus, int newStatus);
H A DIncrementalService.cpp2864 void IncrementalService::DataLoaderStub::compareAndSetCurrentStatus(int expectedStatus, in compareAndSetCurrentStatus() argument
2873 if (expectedStatus != Constants::anyStatus && expectedStatus != mCurrentStatus) { in compareAndSetCurrentStatus()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
H A DTimeZoneDetectorStrategyImplTest.java1947 Script verifyCachedDetectorStatus(TimeZoneDetectorStatus expectedStatus) { in verifyCachedDetectorStatus() argument
1948 assertEquals(expectedStatus, in verifyCachedDetectorStatus()