Home
last modified time | relevance | path

Searched refs:TestState (Results 1 – 11 of 11) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/om/
H A DOverlayActorEnforcerTests.kt202 fun TestState.mockActor(actorUri: String) { regex
307 .fold(TestState.create()) { testState, case ->
324 private fun TestState.toResult() = OverlayActorEnforcer(this) regex
332 val function: TestState.() -> Unit
345 var allowed: MutableList<Pair<String, TestState.() -> Unit>> = mutableListOf(),
346 var skip: (TestState.() -> Unit) = {}
348 fun failure(caseName: String, block: TestState.() -> Unit) {
352 fun allowed(caseName: String, block: TestState.() -> Unit) {
356 fun skip(block: TestState.() -> Unit) {
361 open class TestState private constructor(
[all …]
/aosp12/hardware/google/graphics/common/libhwjpeg/
H A DExynosJpegEncoderForCamera.cpp284 TestState(STATE_HWFC_ENABLED)); in ProcessExif()
288 TestState(STATE_HWFC_ENABLED),TestState(STATE_NO_BTBCOMP)); in ProcessExif()
312 if (!TestState(STATE_NO_BTBCOMP) && IsBTBCompressionSupported()) { in PrepareCompression()
399 bool block_mode = !TestState(STATE_HWFC_ENABLED); in encode()
493 } else if (TestState(STATE_NO_BTBCOMP) || !IsBTBCompressionSupported()) { in FinishCompression()
550 mainlen, thumblen, TestState(STATE_HWFC_ENABLED), btb); in FinishCompression()
561 if (!TestState(STATE_HWFC_ENABLED)) in WaitForCompression()
/aosp12/hardware/google/graphics/common/libhwjpeg/include/
H A DExynosJpegEncoderForCamera.h91 inline bool IsThumbGenerationNeeded() { return !TestState(STATE_NO_CREATE_THUMBIMAGE); } in IsThumbGenerationNeeded()
97 !TestState(STATE_NO_BTBCOMP); in IsBTBCompressionSupported()
H A DExynosJpegApi.h94 bool TestState(unsigned int state) { return (m_uiState & state) == state; } in TestState() function
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
H A DNitzStateMachineImplTest.java597 private static class TestState<T> { class in NitzStateMachineImplTest
654 public final TestState<TelephonyTimeSuggestion> suggestedTimes = new TestState<>();
655 public final TestState<TelephonyTimeZoneSuggestion> suggestedTimeZones = new TestState<>();
/aosp12/system/hwservicemanager/
H A Dtest_lazy.cpp73 mState = TestState(); in SetUp()
76 struct TestState { struct in HidlServiceLazyTest
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
H A DLocationTimeZoneProviderTest.java46 import com.android.server.timezonedetector.TestState;
271 private final TestState<ProviderState> mReportedProviderStateChanges = new TestState<>();
H A DControllerImplTest.java43 import com.android.server.timezonedetector.TestState;
1145 private TestState<GeolocationTimeZoneSuggestion> mLatestSuggestion = new TestState<>();
1175 private final TestState<ProviderState> mTestProviderState = new TestState<>();
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
H A DTestState.java32 public class TestState<T> { class
H A DTimeZoneDetectorStrategyImplTest.java1080 private final TestState<ConfigurationInternal> mConfigurationInternal = new TestState<>();
1081 private final TestState<String> mTimeZoneId = new TestState<>();
/aosp12/frameworks/rs/tests/lldb/tests/
H A Drun_test.py39 class TestState(object): class
352 state = TestState(