Searched refs:expectedFlags (Results 1 – 4 of 4) sorted by relevance
/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/ |
D | GrantRevokeTests.kt | 277 expectedFlags: Int = NO_FLAGS, in verifyPermissionState() 292 if (expectedFlags != originalFlags) { in verifyPermissionState() 294 PERMISSION_CONTROLLER_CHANGED_FLAG_MASK, expectedFlags, TEST_USER) in verifyPermissionState() 353 expectPermGranted = true, expectedFlags = newFlags) in grantOnePermTest() 379 expectPermGranted = true, expectedFlags = newFlags) in grantTwoPermTest() 382 expectPermGranted = true, expectedFlags = newFlags) in grantTwoPermTest() 408 expectPermGranted = true, expectedFlags = newFlags) in grantNoAppOpPerm() 434 expectPermGranted = true, expectedFlags = newFlags) in grantBgPermTest() 462 expectPermGranted = true, expectedFlags = newFlags) in grantBgAndFgPermTest() 475 expectPermGranted = true, expectedFlags = newFlags) in grantBgAndFgPermTest() [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | ActionCreateDocumentUiTest.java | 100 int expectedFlags = in testActionCreate_TextFile() local 105 assertThat(flags).isEqualTo(expectedFlags); in testActionCreate_TextFile()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtilsTests.java | 88 final int expectedStart, final int expectedEnd, final int expectedFlags) { in assertSpan() argument 99 assertEquals(expectedFlags, actualFlags); in assertSpan()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | UserHalHelperTest.java | 239 private void assertConvertFlags(int expectedFlags, @NonNull UserInfo user) { in assertConvertFlags() argument 241 user.toFullString(), UserHalHelper.userFlagsToString(expectedFlags)) in assertConvertFlags() 242 .that(UserHalHelper.convertFlags(user)).isEqualTo(expectedFlags); in assertConvertFlags() 245 private void assertGetFlags(int expectedFlags, @NonNull UserInfo user) { in assertGetFlags() argument 248 user.toFullString(), UserHalHelper.userFlagsToString(expectedFlags)) in assertGetFlags() 249 .that(UserHalHelper.getFlags(mUm, user.id)).isEqualTo(expectedFlags); in assertGetFlags()
|