Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayActorEnforcerTests.kt62 fun param(pair: Pair<String, TestState.() -> Unit>, type: Params.Type): Params { in <lambda>()
202 fun TestState.mockActor(actorUri: String) { in <lambda>() method
307 .fold(TestState.create()) { testState, case -> in <lambda>()
324 private fun TestState.toResult() = OverlayActorEnforcer(this) in <lambda>() method
332 val function: TestState.() -> Unit in <lambda>()
344 val failures: MutableList<Pair<String, TestState.() -> Unit>> = mutableListOf(), in <lambda>()
345 var allowed: MutableList<Pair<String, TestState.() -> Unit>> = mutableListOf(), in <lambda>()
346 var skip: (TestState.() -> Unit) = {} in <lambda>()
348 fun failure(caseName: String, block: TestState.() -> Unit) { in <lambda>()
352 fun allowed(caseName: String, block: TestState.() -> Unit) { in <lambda>()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
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<>();
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DTestState.java32 public class TestState<T> { class
DTimeZoneDetectorStrategyImplTest.java1080 private final TestState<ConfigurationInternal> mConfigurationInternal = new TestState<>();
1081 private final TestState<String> mTimeZoneId = new TestState<>();
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
DLocationTimeZoneProviderTest.java46 import com.android.server.timezonedetector.TestState;
271 private final TestState<ProviderState> mReportedProviderStateChanges = new TestState<>();
DControllerImplTest.java43 import com.android.server.timezonedetector.TestState;
1145 private TestState<GeolocationTimeZoneSuggestion> mLatestSuggestion = new TestState<>();
1175 private final TestState<ProviderState> mTestProviderState = new TestState<>();
/frameworks/rs/tests/lldb/tests/
Drun_test.py39 class TestState(object): class
352 state = TestState(