/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageManagerServiceBootTest.kt | 19 import android.content.pm.ApplicationInfo.PRIVATE_FLAG_PRIVILEGED in <lambda>() 75 Process.SYSTEM_UID, FLAG_SYSTEM, PRIVATE_FLAG_PRIVILEGED) in <lambda>() 77 Process.PHONE_UID, FLAG_SYSTEM, PRIVATE_FLAG_PRIVILEGED) in <lambda>() 79 Process.LOG_UID, FLAG_SYSTEM, PRIVATE_FLAG_PRIVILEGED) in <lambda>() 81 Process.NFC_UID, FLAG_SYSTEM, PRIVATE_FLAG_PRIVILEGED) in <lambda>() 83 Process.BLUETOOTH_UID, FLAG_SYSTEM, PRIVATE_FLAG_PRIVILEGED) in <lambda>() 85 Process.SHELL_UID, FLAG_SYSTEM, PRIVATE_FLAG_PRIVILEGED) in <lambda>() 87 Process.SE_UID, FLAG_SYSTEM, PRIVATE_FLAG_PRIVILEGED) in <lambda>() 89 Process.NETWORK_STACK_UID, FLAG_SYSTEM, PRIVATE_FLAG_PRIVILEGED) in <lambda>()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | TransportManagerTest.java | 117 setUpPackage(PACKAGE_A, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in testRegisterTransports() 118 setUpPackage(PACKAGE_B, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in testRegisterTransports() 140 setUpPackage(PACKAGE_A, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in testRegisterTransports_whenOneTransportUnavailable_doesNotRegisterUnavailableTransport() 158 setUpPackage(PACKAGE_A, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in testRegisterTransports_whenWhitelistIsEmpty_doesNotRegisterTransports() 172 setUpPackage(PACKAGE_A, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in testRegisterTransports_whenOnlyOneTransportWhitelisted_onlyRegistersWhitelistedTransport() 203 setUpPackage(PACKAGE_A, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in testRegisterTransports_passesRegistrationExtraToGetTransportClient() 221 setUpPackage(PACKAGE_A, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in testOnPackageAdded_registerTransports() 332 setUpPackage(PACKAGE_A, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in testRegisterAndSelectTransport_whenTransportNotRegistered() 374 setUpPackage(PACKAGE_A, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in testGetTransportWhitelist() 389 setUpPackage(PACKAGE_A, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in testSelectTransport() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SettingBase.java | 142 & (ApplicationInfo.PRIVATE_FLAG_PRIVILEGED in setPrivateFlags()
|
D | SharedUserSetting.java | 192 return (this.pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0;
|
D | PackageSetting.java | 291 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0;
|
D | Settings.java | 1079 pkgSetting.pkgPrivateFlags &= ~(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED 1087 pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; 3431 pkgPrivateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; 3589 pkgPrivateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; 4341 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED, "PRIVILEGED",
|
D | PackageManagerService.java | 7084 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService() 7086 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService() 7088 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService() 7090 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService() 7092 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService() 7094 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService() 7096 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService() 7098 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService() 7100 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService() 13795 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) { in adjustScanFlags()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderFilter.java | 48 return (pm.getPrivateFlagsForUid(callerUid) & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isPrivilegedApp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageManagerSettingsTests.java | 562 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED|ApplicationInfo.PRIVATE_FLAG_HIDDEN, in testPackageStateCopy01() 584 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED|ApplicationInfo.PRIVATE_FLAG_HIDDEN, in testPackageStateCopy02() 662 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED /*pkgPrivateFlags*/, in testUpdatePackageSetting02() 671 assertThat(testPkgSetting01.pkgPrivateFlags, is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testUpdatePackageSetting02() 728 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED /*pkgPrivateFlags*/, in testCreateNewSetting01() 741 assertThat(testPkgSetting01.pkgPrivateFlags, is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testCreateNewSetting01()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallStart.java | 82 && (sourceInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) { in onCreate()
|
D | PackageInstallerActivity.java | 253 if ((mSourceInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isInstallRequestFromUnknownSource()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupEligibilityRules.java | 189 boolean isPrivileged = (app.flags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isAppBackupAllowed()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | NetworkSecurityConfigTests.java | 281 privInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in testUserAddedCaOptIn()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | KeyphraseEnrollmentInfo.java | 160 if ((ai.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) == 0) { in KeyphraseEnrollmentInfo()
|
/frameworks/base/core/java/android/content/pm/ |
D | ApplicationInfo.java | 508 public static final int PRIVATE_FLAG_PRIVILEGED = 1<<3; field in ApplicationInfo 755 PRIVATE_FLAG_PRIVILEGED, 2373 return (privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivilegedApp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | BackupEligibilityRulesTest.java | 252 /* flags */ ApplicationInfo.PRIVATE_FLAG_PRIVILEGED, CUSTOM_BACKUP_AGENT_NAME); in appIsEligibleForBackup_adbBackupNotAllowed_returnsFalseForAdbBackup() 269 /* flags */ ApplicationInfo.PRIVATE_FLAG_PRIVILEGED, CUSTOM_BACKUP_AGENT_NAME); in appIsEligibleForBackup_adbBackupAllowed_returnsTrueForAdbBackup()
|
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/ |
D | TransportManager.java | 605 if ((packInfo.applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isTransportTrusted()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 492 | flag(pkg.isPrivileged(), ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in appInfoPrivateFlags()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 2012 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) { 2032 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityRecordTests.java | 2035 activity.info.applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in testGetLockTaskLaunchMode()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 147 mPackageInfo.applicationInfo.privateFlags = ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in setUp()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 5505 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
|
/frameworks/base/core/api/ |
D | test-current.txt | 790 field public static final int PRIVATE_FLAG_PRIVILEGED = 8; // 0x8
|