Home
last modified time | relevance | path

Searched refs:expectedFlag (Results 1 – 3 of 3) sorted by relevance

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmCellBroadcastHandlerTest.java589 int expectedFlag = SdkLevel.isAtLeastT() ? Context.RECEIVER_EXPORTED : 0; in testConstructorRegistersReceiverWithExpectedFlag() local
595 verify(mMockedContext, times(1)).registerReceiver(any(), any(), eq(expectedFlag)); in testConstructorRegistersReceiverWithExpectedFlag()
602 int expectedFlag = SdkLevel.isAtLeastT() ? Context.RECEIVER_EXPORTED : 0; in testConstructorWithResourcesRegistersReceiverWithExpectedFlag() local
609 verify(mMockedContext, times(1)).registerReceiver(any(), any(), eq(expectedFlag)); in testConstructorWithResourcesRegistersReceiverWithExpectedFlag()
DCellBroadcastHandlerTest.java475 int expectedFlag = SdkLevel.isAtLeastT() ? Context.RECEIVER_EXPORTED : 0; in testConstructorRegistersReceiverWithExpectedFlag() local
482 verify(mMockedContext, times(1)).registerReceiver(any(), any(), eq(expectedFlag)); in testConstructorRegistersReceiverWithExpectedFlag()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java201 private boolean waitForConfigChangeEventAndAssertFlag(long timeoutMs, int expectedFlag) { in waitForConfigChangeEventAndAssertFlag() argument
209 assertThat(expectedFlag).isEqualTo(mLastChangeFlags); in waitForConfigChangeEventAndAssertFlag()