Home
last modified time | relevance | path

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

/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.java62 & (ApplicationInfo.PRIVATE_FLAG_PRIVILEGED in setPrivateFlags()
DSharedUserSetting.java124 return (this.pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivileged()
DPackageSetting.java136 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivileged()
DSettings.java773 pkgSetting.pkgPrivateFlags &= ~(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED in updatePackageSetting()
781 pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in updatePackageSetting()
3514 pkgPrivateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in readDisabledSysPackageLPw()
3688 pkgPrivateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in readPackageLPw()
4416 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED, "PRIVILEGED",
DComponentResolver.java774 ((applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0); in adjustPriority()
DPackageManagerService.java2577 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
2579 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
2581 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
2583 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
2585 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
2587 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
2589 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
2591 ApplicationInfo.FLAG_SYSTEM, ApplicationInfo.PRIVATE_FLAG_PRIVILEGED); in PackageManagerService()
10813 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
11660 pkg.applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED;
[all …]
/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.java380 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED|ApplicationInfo.PRIVATE_FLAG_HIDDEN, in testPackageStateCopy01()
407 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED|ApplicationInfo.PRIVATE_FLAG_HIDDEN, in testPackageStateCopy02()
487 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED /*pkgPrivateFlags*/, in testUpdatePackageSetting02()
495 assertThat(testPkgSetting01.pkgPrivateFlags, is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testUpdatePackageSetting02()
557 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED /*pkgPrivateFlags*/, in testCreateNewSetting01()
570 assertThat(testPkgSetting01.pkgPrivateFlags, is(ApplicationInfo.PRIVATE_FLAG_PRIVILEGED)); in testCreateNewSetting01()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java75 && (sourceInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) { in onCreate()
DPackageInstallerActivity.java238 if ((mSourceInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isInstallRequestFromUnknownSource()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java475 public static final int PRIVATE_FLAG_PRIVILEGED = 1<<3; field in ApplicationInfo
715 PRIVATE_FLAG_PRIVILEGED,
2017 return (privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivilegedApp()
/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java120 if ((ai.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) == 0) { in KeyphraseEnrollmentInfo()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java281 privInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_PRIVILEGED; in testUserAddedCaOptIn()
/frameworks/base/services/backup/java/com/android/server/backup/
DTransportManager.java604 if ((packInfo.applicationInfo.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) in isTransportTrusted()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1890 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
1910 ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2630 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in verifyAndGetIsPrivileged()
2998 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in readUid()
/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/
DAlarmManagerService.java3929 if ((sysUi.privateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) { in getSystemUiUid()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5415 & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0) {
/frameworks/base/api/
Dtest-current.txt688 field public static final int PRIVATE_FLAG_PRIVILEGED = 8; // 0x8