Searched refs:TestState (Results 1 – 11 of 11) sorted by relevance
202 fun TestState.mockActor(actorUri: String) { regex307 .fold(TestState.create()) { testState, case ->324 private fun TestState.toResult() = OverlayActorEnforcer(this) regex332 val function: TestState.() -> Unit345 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 …]
284 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()
91 inline bool IsThumbGenerationNeeded() { return !TestState(STATE_NO_CREATE_THUMBIMAGE); } in IsThumbGenerationNeeded()97 !TestState(STATE_NO_BTBCOMP); in IsBTBCompressionSupported()
94 bool TestState(unsigned int state) { return (m_uiState & state) == state; } in TestState() function
597 private static class TestState<T> { class in NitzStateMachineImplTest654 public final TestState<TelephonyTimeSuggestion> suggestedTimes = new TestState<>();655 public final TestState<TelephonyTimeZoneSuggestion> suggestedTimeZones = new TestState<>();
73 mState = TestState(); in SetUp()76 struct TestState { struct in HidlServiceLazyTest
46 import com.android.server.timezonedetector.TestState;271 private final TestState<ProviderState> mReportedProviderStateChanges = new TestState<>();
43 import com.android.server.timezonedetector.TestState;1145 private TestState<GeolocationTimeZoneSuggestion> mLatestSuggestion = new TestState<>();1175 private final TestState<ProviderState> mTestProviderState = new TestState<>();
32 public class TestState<T> { class
1080 private final TestState<ConfigurationInternal> mConfigurationInternal = new TestState<>();1081 private final TestState<String> mTimeZoneId = new TestState<>();
39 class TestState(object): class352 state = TestState(