Searched refs:defaultPolicy (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 811 DeviceConfig.Properties properties, String configSuffix, Policy defaultPolicy) { in fromSettings() argument 836 defaultPolicy.adjustBrightnessFactor); in fromSettings() 839 defaultPolicy.advertiseIsEnabled); in fromSettings() 841 KEY_DEFER_FULL_BACKUP + configSuffix, defaultPolicy.deferFullBackup); in fromSettings() 844 defaultPolicy.deferKeyValueBackup); in fromSettings() 846 KEY_DISABLE_ANIMATION + configSuffix, defaultPolicy.disableAnimation); in fromSettings() 848 KEY_DISABLE_AOD + configSuffix, defaultPolicy.disableAod); in fromSettings() 851 defaultPolicy.disableLaunchBoost); in fromSettings() 854 defaultPolicy.disableOptionalSensors); in fromSettings() 856 KEY_DISABLE_VIBRATION + configSuffix, defaultPolicy.disableVibration); in fromSettings() [all …]
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/ |
D | HostStubGenOptions.kt | 102 var defaultPolicy: SetOnce<FilterPolicy> = SetOnce(FilterPolicy.Remove), variable in com.android.hoststubgen.HostStubGenOptions 185 "--default-remove" -> ret.defaultPolicy.set(FilterPolicy.Remove) in parseArgs() 186 "--default-throw" -> ret.defaultPolicy.set(FilterPolicy.Throw) in parseArgs() 187 "--default-keep" -> ret.defaultPolicy.set(FilterPolicy.Keep) in parseArgs() 188 "--default-stub" -> ret.defaultPolicy.set(FilterPolicy.Stub) in parseArgs() 391 defaultPolicy=$defaultPolicy, in toString()
|
D | HostStubGen.kt | 122 var filter: OutputFilter = ConstantFilter(options.defaultPolicy.get, "default-by-options") in <lambda>()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 1655 NotificationManager.Policy defaultPolicy = toNotificationPolicy(); in toNotificationPolicy() local 1658 int callSenders = defaultPolicy.priorityCallSenders; in toNotificationPolicy() 1659 int messageSenders = defaultPolicy.priorityMessageSenders; in toNotificationPolicy() 1660 int conversationSenders = defaultPolicy.priorityConversationSenders; in toNotificationPolicy() 1663 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_REMINDERS, defaultPolicy))) { in toNotificationPolicy() 1668 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_EVENTS, defaultPolicy))) { in toNotificationPolicy() 1673 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_MESSAGES, defaultPolicy))) { in toNotificationPolicy() 1680 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CONVERSATIONS, defaultPolicy))) { in toNotificationPolicy() 1689 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_CALLS, defaultPolicy))) { in toNotificationPolicy() 1697 defaultPolicy))) { in toNotificationPolicy() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayAreaPolicyBuilderTest.java | 190 final DisplayAreaPolicyBuilder.Result defaultPolicy = in testBuilder_defaultPolicy_hasOneHandedFeature() local 194 final List<Feature> features = defaultPolicy.getFeatures(); in testBuilder_defaultPolicy_hasOneHandedFeature() 208 final DisplayAreaPolicyBuilder.Result defaultPolicy = in testBuilder_defaultPolicy_hasWindowedMagnificationFeature() local 211 final List<Feature> features = defaultPolicy.getFeatures(); in testBuilder_defaultPolicy_hasWindowedMagnificationFeature() 224 final DisplayAreaPolicyBuilder.Result defaultPolicy = in testBuilder_defaultPolicy_hasFullscreenMagnificationFeature() local 227 final List<Feature> features = defaultPolicy.getFeatures(); in testBuilder_defaultPolicy_hasFullscreenMagnificationFeature() 241 final DisplayAreaPolicyBuilder.Result defaultPolicy = in testBuilder_defaultPolicy_hasImePlaceholderFeature() local 244 final List<Feature> features = defaultPolicy.getFeatures(); in testBuilder_defaultPolicy_hasImePlaceholderFeature()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.h | 363 android::media::audio::common::AudioMMapPolicy defaultPolicy =
|
D | AAudioUtilities.cpp | 684 AudioMMapPolicy defaultPolicy) { in AAudio_getAAudioPolicy() argument 685 AudioMMapPolicy policy = defaultPolicy; in AAudio_getAAudioPolicy()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 628 NetworkPolicy defaultPolicy = mService.buildDefaultCarrierPolicy(0, ""); in callSystemReady() local 629 mDefaultWarningBytes = defaultPolicy.warningBytes; in callSystemReady() 630 mDefaultLimitBytes = defaultPolicy.limitBytes; in callSystemReady()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 2175 ZenPolicy defaultPolicy = mDefaultConfig.getZenPolicy(); in updateDefaultAutomaticRulePolicies() local 2178 rule.zenPolicy = defaultPolicy.copy(); in updateDefaultAutomaticRulePolicies()
|