Home
last modified time | relevance | path

Searched refs:whitelist (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/include/binder/
DIInterface.h309 constexpr bool inList(const char* a, const char* const* whitelist) { in inList() argument
310 if (*whitelist == nullptr) return false; in inList()
311 if (equals(a, *whitelist)) return true; in inList()
312 return inList(a, whitelist + 1); in inList()
/frameworks/native/libs/binder/include/binder/
DIInterface.h309 constexpr bool inList(const char* a, const char* const* whitelist) { in inList() argument
310 if (*whitelist == nullptr) return false; in inList()
311 if (equals(a, *whitelist)) return true; in inList()
312 return inList(a, whitelist + 1); in inList()
/frameworks/base/services/core/java/com/android/server/pm/
DUserSystemPackageInstaller.java180 UserSystemPackageInstaller(UserManagerService ums, ArrayMap<String, Long> whitelist, in UserSystemPackageInstaller() argument
184 mWhitelistedPackagesForUserTypes = whitelist; in UserSystemPackageInstaller()
596 final ArrayMap<String, Set<String>> whitelist = in determineWhitelistedPackagesForUserTypes() local
599 final ArrayMap<String, Long> result = new ArrayMap<>(whitelist.size() + 1); in determineWhitelistedPackagesForUserTypes()
601 for (int i = 0; i < whitelist.size(); i++) { in determineWhitelistedPackagesForUserTypes()
602 final String pkgName = whitelist.keyAt(i).intern(); in determineWhitelistedPackagesForUserTypes()
603 final long typesBitSet = getTypesBitSet(whitelist.valueAt(i), baseTypeBitSets); in determineWhitelistedPackagesForUserTypes()
/frameworks/base/data/etc/
DAndroid.bp47 name: "hiddenapi-package-whitelist.xml",
49 src: "hiddenapi-package-whitelist.xml",
52 // Privapp permission whitelist files
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/
DTransportManager.java90 TransportManager(@UserIdInt int userId, Context context, Set<ComponentName> whitelist, in TransportManager() argument
94 mTransportWhitelist = Preconditions.checkNotNull(whitelist); in TransportManager()
104 Set<ComponentName> whitelist, in TransportManager() argument
109 mTransportWhitelist = Preconditions.checkNotNull(whitelist); in TransportManager()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java772 SettingsBackupWhitelist whitelist = getBackupWhitelist(contentUri); in restoreSettings() local
782 for (String key : whitelist.mSettingsWhitelist) { in restoreSettings()
834 if (!isValidSettingValue(key, value, whitelist.mSettingsValidators)) { in restoreSettings()
861 String[] whitelist; in getBackupWhitelist() local
864 whitelist = ArrayUtils.concatElements(String.class, SecureSettings.SETTINGS_TO_BACKUP, in getBackupWhitelist()
869 whitelist = ArrayUtils.concatElements(String.class, SystemSettings.SETTINGS_TO_BACKUP, in getBackupWhitelist()
873 whitelist = ArrayUtils.concatElements(String.class, GlobalSettings.SETTINGS_TO_BACKUP, in getBackupWhitelist()
880 return new SettingsBackupWhitelist(whitelist, validators); in getBackupWhitelist()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsBackupAgentTest.java198 SettingsBackupAgent.SettingsBackupWhitelist whitelist = in testOnRestore_preservedSettingsAreNotRestored() local
202 mAgentUnderTest.setSettingsWhitelist(whitelist); in testOnRestore_preservedSettingsAreNotRestored()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java917 String whitelist, Collection<String> packageNamesInSameProcess) { in isPackageSelectedToRunOobInternal() argument
922 if ("ALL".equals(whitelist)) { in isPackageSelectedToRunOobInternal()
925 for (String oobPkgName : whitelist.split(",")) { in isPackageSelectedToRunOobInternal()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java878 final String[] whitelist = mBmgr.getTransportWhitelist(); in doPrintWhitelist() local
879 if (whitelist != null) { in doPrintWhitelist()
880 for (String transport : whitelist) { in doPrintWhitelist()
/frameworks/base/data/etc/car/
DAndroid.bp15 // Privapp permission whitelist files
/frameworks/base/services/core/java/com/android/server/rollback/
DREADME.md137 ###Rollback whitelist
140 sysconfig rollback whitelist - see
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
DDexManagerTests.java1033 private boolean shouldPackageRunOob(boolean isDefaultEnabled, String whitelist, in shouldPackageRunOob() argument
1036 isDefaultEnabled, whitelist, packageNamesInSameProcess); in shouldPackageRunOob()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java771 int[] whitelist = mPowerWhitelistManager.getWhitelistedAppIds(/* includingIdle */ false); in updatePowerSaveWhitelistUL() local
773 for (int uid : whitelist) { in updatePowerSaveWhitelistUL()
777 whitelist = mPowerWhitelistManager.getWhitelistedAppIds(/* includingIdle */ true); in updatePowerSaveWhitelistUL()
779 for (int uid : whitelist) { in updatePowerSaveWhitelistUL()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto6351 // FIELD: Target doze whitelist tag
7279 // whitelist request).
7284 // whitelist request).