/aosp12/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/ |
H A D | GrantRevokeTests.kt | 361 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 D | CallAudioRouteStateMachineTest.java | 582 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 D | CallAudioRouteTransitionTests.java | 340 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 D | CellularNetworkServiceTest.java | 140 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 D | CarPowerManagementTest.java | 292 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 D | ConnectivityManagerTestBase.java | 156 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 D | EapTtlsHandshakeStateTest.java | 292 Class<? extends EapMethodState> expectedState) in testHandshake() 319 Class<? extends EapMethodState> expectedState) in testHandshake()
|
H A D | EapTtlsTunnelStateTest.java | 336 Class<? extends EapMethodState> expectedState) in processMessageAndVerifyEapResponse()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerBaseTest.java | 187 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 D | DrawableMatcher.java | 56 Drawable.ConstantState expectedState = mDrawable.getConstantState(); in matchesSafely() local
|
/aosp12/art/tools/dexfuzz/src/dexfuzz/ |
H A D | StreamConsumer.java | 182 private synchronized boolean checkState(State expectedState) { in checkState()
|
/aosp12/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
H A D | ConnectionUtil.java | 436 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 D | WindowMagnificationGestureHandlerTest.java | 276 private void check(boolean condition, int expectedState) { in check()
|
/aosp12/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
H A D | ActivityThreadClientTest.java | 207 ActivityClientRecord r, int expectedState) throws Exception { in recreateAndVerifyRelaunched()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
H A D | OverlayActorEnforcerTests.kt | 63 val expectedState = testCase.state.takeUnless { type == Params.Type.ALLOWED } regex
|
/aosp12/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
H A D | ActionTestHelpers.java | 106 protected void updateState(final Action action, final int expectedState, in updateState()
|
/aosp12/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
H A D | VcnGatewayConnectionTestBase.java | 308 protected void verifySafeModeTimeoutNotifiesCallbackAndUnregistersNetworkAgent( in verifySafeModeTimeoutNotifiesCallbackAndUnregistersNetworkAgent()
|
/aosp12/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
H A D | LauncherInstrumentation.java | 1222 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 D | BstatsCpuTimesValidationTest.java | 724 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 D | HeadsetClientStateMachineTest.java | 617 private int verifyVoiceRecognitionBroadcast(int expectedBroadcastIndex, int expectedState) { in verifyVoiceRecognitionBroadcast()
|
/aosp12/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
H A D | TimerFragmentTest.java | 675 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 D | CarPowerManagerUnitTest.java | 420 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | WindowStateTests.java | 862 final InsetsState expectedState = new InsetsState(app.getInsetsState(), in testSetFreezeInsetsState() local
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | EventThreadTest.cpp | 193 void EventThreadTest::expectVSyncSetEnabledCallReceived(bool expectedState) { in expectVSyncSetEnabledCallReceived()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
H A D | CarPowerManagementServiceUnitTest.java | 634 private void assertStateReceived(int expectedState, int expectedParam) throws Exception { in assertStateReceived()
|