Searched refs:expectedFlag (Results 1 – 3 of 3) sorted by relevance
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | GsmCellBroadcastHandlerTest.java | 589 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()
|
D | CellBroadcastHandlerTest.java | 475 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/ |
D | CarOccupantZoneServiceTest.java | 201 private boolean waitForConfigChangeEventAndAssertFlag(long timeoutMs, int expectedFlag) { in waitForConfigChangeEventAndAssertFlag() argument 209 assertThat(expectedFlag).isEqualTo(mLastChangeFlags); in waitForConfigChangeEventAndAssertFlag()
|