Home
last modified time | relevance | path

Searched refs:requiredFlags (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/backup/
DFullBackup.java328 public PathWithRequiredFlags(String path, int requiredFlags) { in PathWithRequiredFlags() argument
330 mRequiredFlags = requiredFlags; in PathWithRequiredFlags()
501 int requiredFlags = 0; // no transport flags are required by default in parseBackupSchemeFromXmlLocked() local
505 requiredFlags = getRequiredFlagsFromString( in parseBackupSchemeFromXmlLocked()
513 requiredFlags)); in parseBackupSchemeFromXmlLocked()
517 + requiredFlags + "\""); in parseBackupSchemeFromXmlLocked()
528 requiredFlags)); in parseBackupSchemeFromXmlLocked()
536 requiredFlags)); in parseBackupSchemeFromXmlLocked()
549 requiredFlags)); in parseBackupSchemeFromXmlLocked()
592 private int getRequiredFlagsFromString(String requiredFlags) { in getRequiredFlagsFromString() argument
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java244 @UserIdInt int requiredFlags) { in createUserWithTypeAndCheckFlags() argument
247 assertWithMessage("Flags %s did not contain expected %s", userInfo.flags, requiredFlags) in createUserWithTypeAndCheckFlags()
248 .that(userInfo.flags & requiredFlags).isEqualTo(requiredFlags); in createUserWithTypeAndCheckFlags()
379 int requiredFlags = UserInfo.FLAG_MANAGED_PROFILE | UserInfo.FLAG_PROFILE; in testAddManagedProfile() local
380 assertWithMessage("Wrong flags %s", userInfo1.flags).that(userInfo1.flags & requiredFlags) in testAddManagedProfile()
381 .isEqualTo(requiredFlags); in testAddManagedProfile()