Home
last modified time | relevance | path

Searched refs:PRIVATE_FLAG_PRIVILEGED (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerServiceBootTest.kt19 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/
DTransportManagerTest.java117 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/
DSettingBase.java142 & (ApplicationInfo.PRIVATE_FLAG_PRIVILEGED in setPrivateFlags()
DSharedUserSetting.java192 return (this.pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0;
DPackageSetting.java291 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0;
DSettings.java1079 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",
DPackageManagerService.java7084 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/
DSenderFilter.java48 return (pm.getPrivateFlagsForUid(callerUid) & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isPrivilegedApp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java562 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/
DInstallStart.java82 && (sourceInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) { in onCreate()
DPackageInstallerActivity.java253 if ((mSourceInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isInstallRequestFromUnknownSource()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java189 boolean isPrivileged = (app.flags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isAppBackupAllowed()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java281 privInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in testUserAddedCaOptIn()
/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java160 if ((ai.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) == 0) { in KeyphraseEnrollmentInfo()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java508 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/
DBackupEligibilityRulesTest.java252 /* 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/
DTransportManager.java605 if ((packInfo.applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isTransportTrusted()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java492 | flag(pkg.isPrivileged(), ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in appInfoPrivateFlags()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2012 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
2032 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java2035 activity.info.applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in testGetLockTaskLaunchMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java147 mPackageInfo.applicationInfo.privateFlags = ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in setUp()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5505 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
/frameworks/base/core/api/
Dtest-current.txt790 field public static final int PRIVATE_FLAG_PRIVILEGED = 8; // 0x8