Searched refs:defaultPolicy (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 692 Policy defaultPolicy) { in fromSettings() argument 714 defaultPolicy.adjustBrightnessFactor); in fromSettings() 716 defaultPolicy.advertiseIsEnabled); in fromSettings() 718 defaultPolicy.deferFullBackup); in fromSettings() 720 defaultPolicy.deferKeyValueBackup); in fromSettings() 722 defaultPolicy.disableAnimation); in fromSettings() 723 boolean disableAod = parser.getBoolean(KEY_AOD_DISABLED, defaultPolicy.disableAod); in fromSettings() 725 defaultPolicy.disableLaunchBoost); in fromSettings() 727 defaultPolicy.disableOptionalSensors); in fromSettings() 729 defaultPolicy.disableSoundTrigger); in fromSettings() [all …]
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.h | 38 static Policy defaultPolicy() { return BlobCache::defaultPolicy(); } in defaultPolicy() function 54 Policy policy = defaultPolicy());
|
D | nnCache.cpp | 45 mPolicy(defaultPolicy()), in NNCache()
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.h | 65 static Policy defaultPolicy() { return Policy(Select::DEFAULT, Capacity::DEFAULT); } in defaultPolicy() function 72 Policy policy = defaultPolicy());
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 942 NotificationManager.Policy defaultPolicy = toNotificationPolicy(); in toNotificationPolicy() local 945 int callSenders = defaultPolicy.priorityCallSenders; in toNotificationPolicy() 946 int messageSenders = defaultPolicy.priorityMessageSenders; in toNotificationPolicy() 949 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_REMINDERS, defaultPolicy))) { in toNotificationPolicy() 954 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_EVENTS, defaultPolicy))) { in toNotificationPolicy() 959 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_MESSAGES, defaultPolicy))) { in toNotificationPolicy() 966 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CALLS, defaultPolicy))) { in toNotificationPolicy() 974 defaultPolicy))) { in toNotificationPolicy() 979 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_ALARMS, defaultPolicy))) { in toNotificationPolicy() 984 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_MEDIA, defaultPolicy))) { in toNotificationPolicy() [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/ |
D | PolicyTest.java | 172 Policy defaultPolicy = new Policy(); in verifyCopyConstructionWithNullSource() local 173 assertTrue(defaultPolicy.equals(copyPolicy)); in verifyCopyConstructionWithNullSource()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 425 NetworkPolicy defaultPolicy = mService.buildDefaultMobilePolicy(0, ""); in callSystemReady() local 426 mDefaultWarningBytes = defaultPolicy.warningBytes; in callSystemReady() 427 mDefaultLimitBytes = defaultPolicy.limitBytes; in callSystemReady()
|