Home
last modified time | relevance | path

Searched defs:expectedState (Results 1 – 25 of 31) sorted by relevance

12

/aosp12/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
H A DGrantRevokeTests.kt361 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) regex
391 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), regex
443 val expectedState = mutableMapOf(FG_PERM_NAME to (true to NO_FLAGS), regex
471 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), regex
513 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), regex
540 var expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), regex
578 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) regex
602 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) regex
625 val expectedState = mutableMapOf(FG_PERM_NAME to (true to flags)) regex
692 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) regex
[all …]
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DCallAudioRouteStateMachineTest.java582 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithEarpieceNoHeadsetNoBluetooth() local
590 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithEarpieceAndHeadsetNoBluetooth() local
598 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndHeadsetAndBluetooth() local
607 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithEarpieceAndBluetoothNoHeadset() local
616 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testInitializationWithNoEarpieceNoHeadsetNoBluetooth() local
624 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_WIRED_HEADSET, in testInitializationWithHeadsetNoBluetoothNoEarpiece() local
632 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithHeadsetAndBluetoothNoEarpiece() local
641 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testInitializationWithBluetoothNoHeadsetNoEarpiece() local
649 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_EARPIECE, in testInitializationWithAvailableButInactiveBtDevice() local
668 private void initializationTestHelper(CallAudioState expectedState, in initializationTestHelper()
H A DCallAudioRouteTransitionTests.java340 CallAudioState expectedState = new CallAudioState(false, mParams.expectedRoute, in testActiveTransition() local
392 CallAudioState expectedState = new CallAudioState(false, expectedRoute, in testQuiescentTransition() local
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCellularNetworkServiceTest.java140 NetworkRegistrationInfo expectedState = new NetworkRegistrationInfo( in testGetNetworkRegistrationInfo() local
239 NetworkRegistrationInfo expectedState = new NetworkRegistrationInfo( in testGetNetworkRegistrationInfoV1_5() local
332 NetworkRegistrationInfo expectedState = new NetworkRegistrationInfo( in testGetNetworkRegistrationInfoV1_6WithLte() local
418 NetworkRegistrationInfo expectedState = new NetworkRegistrationInfo( in testGetNetworkRegistrationInfoV1_6WithNr() local
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/power/
H A DCarPowerManagementTest.java292 private void assertResponse(int expectedState, int expectedParam, boolean checkParam) in assertResponse()
304 private void assertResponseTransient(int expectedState, int expectedParam, boolean checkParam) in assertResponseTransient()
340 boolean waitForDisplayState(boolean expectedState) throws Exception { in waitForDisplayState()
419 private LinkedList<int[]> waitForStateSetAndGetAll(long timeoutMs, int expectedState) in waitForStateSetAndGetAll()
443 private void sendStateAndCheckResponse(int state, int param, int expectedState) in sendStateAndCheckResponse()
/aosp12/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java156 protected boolean waitForNetworkState(int networkType, State expectedState, long timeout) { in waitForNetworkState()
175 protected boolean waitForWifiState(int expectedState, long timeout) { in waitForWifiState()
194 protected boolean waitForWifiApState(int expectedState, long timeout) { in waitForWifiApState()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
H A DEapTtlsHandshakeStateTest.java292 Class<? extends EapMethodState> expectedState) in testHandshake()
319 Class<? extends EapMethodState> expectedState) in testHandshake()
H A DEapTtlsTunnelStateTest.java336 Class<? extends EapMethodState> expectedState) in processMessageAndVerifyEapResponse()
/aosp12/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java187 protected String mountObb(String obbFilePath, String key, int expectedState) { in mountObb()
235 protected String doMountObb_noThrow(String obbFilePath, String key, int expectedState) { in doMountObb_noThrow()
268 protected String doMountObb(String obbFilePath, String key, int expectedState) { in doMountObb()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/matchers/
H A DDrawableMatcher.java56 Drawable.ConstantState expectedState = mDrawable.getConstantState(); in matchesSafely() local
/aosp12/art/tools/dexfuzz/src/dexfuzz/
H A DStreamConsumer.java182 private synchronized boolean checkState(State expectedState) { in checkState()
/aosp12/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java436 public boolean waitForNetworkState(int networkType, State expectedState, long timeout) { in waitForNetworkState()
487 public boolean waitForWifiState(int expectedState, long timeout) { in waitForWifiState()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DWindowMagnificationGestureHandlerTest.java276 private void check(boolean condition, int expectedState) { in check()
/aosp12/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
H A DActivityThreadClientTest.java207 ActivityClientRecord r, int expectedState) throws Exception { in recreateAndVerifyRelaunched()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/om/
H A DOverlayActorEnforcerTests.kt63 val expectedState = testCase.state.takeUnless { type == Params.Type.ALLOWED } regex
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
H A DActionTestHelpers.java106 protected void updateState(final Action action, final int expectedState, in updateState()
/aosp12/frameworks/base/tests/vcn/java/com/android/server/vcn/
H A DVcnGatewayConnectionTestBase.java308 protected void verifySafeModeTimeoutNotifiesCallbackAndUnregistersNetworkAgent( in verifySafeModeTimeoutNotifiesCallbackAndUnregistersNetworkAgent()
/aosp12/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
H A DLauncherInstrumentation.java1222 void runToState(Runnable command, int expectedState, boolean requireEvent, String actionName) { in runToState()
1230 void runToState(Runnable command, int expectedState, String actionName) { in runToState()
1242 AccessibilityEvent event, int expectedState, List<Integer> actualEvents) { in isSwitchToStateEvent()
1251 void swipeToState(int startX, int startY, int endX, int endY, int steps, int expectedState, in swipeToState()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBstatsCpuTimesValidationTest.java724 final String expectedState = "(" + state + ")"; in assertProcState() local
733 private void assertProcState(int expectedState) throws Exception { in assertProcState()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientStateMachineTest.java617 private int verifyVoiceRecognitionBroadcast(int expectedBroadcastIndex, int expectedState) { in verifyVoiceRecognitionBroadcast()
/aosp12/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
H A DTimerFragmentTest.java675 private void assertStateEquals(Timer.State expectedState, int index) { in assertStateEquals()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
H A DCarPowerManagerUnitTest.java420 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowStateTests.java862 final InsetsState expectedState = new InsetsState(app.getInsetsState(), in testSetFreezeInsetsState() local
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DEventThreadTest.cpp193 void EventThreadTest::expectVSyncSetEnabledCallReceived(bool expectedState) { in expectVSyncSetEnabledCallReceived()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
H A DCarPowerManagementServiceUnitTest.java634 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()

12