/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 | 64 & (ApplicationInfo.PRIVATE_FLAG_PRIVILEGED in setPrivateFlags()
|
D | SharedUserSetting.java | 153 return (this.pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivileged()
|
D | PackageSetting.java | 205 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivileged()
|
D | Settings.java | 820 pkgSetting.pkgPrivateFlags &= ~(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED in updatePackageSetting() 828 pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in updatePackageSetting() 3588 pkgPrivateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in readDisabledSysPackageLPw() 3762 pkgPrivateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in readPackageLPw() 4540 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED, "PRIVILEGED",
|
/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 | 438 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED|ApplicationInfo.PRIVATE_FLAG_HIDDEN, in testPackageStateCopy01() 460 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED|ApplicationInfo.PRIVATE_FLAG_HIDDEN, in testPackageStateCopy02() 538 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED /*pkgPrivateFlags*/, in testUpdatePackageSetting02() 546 assertThat(testPkgSetting01.pkgPrivateFlags, is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testUpdatePackageSetting02() 607 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED /*pkgPrivateFlags*/, in testCreateNewSetting01() 619 assertThat(testPkgSetting01.pkgPrivateFlags, is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testCreateNewSetting01()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallStart.java | 84 && (sourceInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) { in onCreate()
|
D | PackageInstallerActivity.java | 237 if ((mSourceInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isInstallRequestFromUnknownSource()
|
/frameworks/base/core/java/android/content/pm/ |
D | ApplicationInfo.java | 485 public static final int PRIVATE_FLAG_PRIVILEGED = 1<<3; field in ApplicationInfo 732 PRIVATE_FLAG_PRIVILEGED, 2119 return (privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivilegedApp()
|
/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/services/backup/backuplib/java/com/android/server/backup/ |
D | TransportManager.java | 604 if ((packInfo.applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isTransportTrusted()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 483 | flag(pkg.isPrivileged(), ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in appInfoPrivateFlags()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 1933 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) { 1953 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
|
/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 | 5411 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
|
/frameworks/base/api/ |
D | test-current.txt | 960 field public static final int PRIVATE_FLAG_PRIVILEGED = 8; // 0x8
|