/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/ |
D | PolicyTest.java | 50 private static Policy createPolicy() { in createPolicy() 51 Policy policy = new Policy(); in createPolicy() 63 List<Policy.RoamingPartner> preferredRoamingPartnerList = new ArrayList<>(); in createPolicy() 64 Policy.RoamingPartner partner1 = new Policy.RoamingPartner(); in createPolicy() 69 Policy.RoamingPartner partner2 = new Policy.RoamingPartner(); in createPolicy() 98 private static void verifyParcel(Policy policyToWrite) throws Exception { in verifyParcel() 103 Policy policyFromRead = Policy.CREATOR.createFromParcel(parcel); in verifyParcel() 114 verifyParcel(new Policy()); in verifyParcelWithEmptyPolicy() 134 Policy policy = createPolicy(); in verifyParcelWithoutProtoPortMap() 146 Policy policy = createPolicy(); in verifyParcelWithoutPreferredRoamingPartnerList() [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Car/Settings/ |
D | device_for_product_strategies.pfw | 5 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 33 /Policy/policy/product_strategies/oem_traffic_anouncement/device_address = BUS08_OEM1 40 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 44 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 50 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 78 /Policy/policy/product_strategies/oem_strategy_1/device_address = BUS08_OEM1 85 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 89 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 97 component: /Policy/policy/product_strategies/oem_strategy_2/selected_output_devices/mask 125 /Policy/policy/product_strategies/oem_strategy_2/device_address = BUS08_OEM1 [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/ |
D | strategy_for_usage.pfw | 5 /Policy/policy/usages/unknown/applicable_strategy/strategy = media 6 /Policy/policy/usages/media/applicable_strategy/strategy = media 7 /Policy/policy/usages/voice_communication/applicable_strategy/strategy = phone 8 /Policy/policy/usages/voice_communication_signalling/applicable_strategy/strategy = dtmf 9 /Policy/policy/usages/alarm/applicable_strategy/strategy = sonification 10 /Policy/policy/usages/notification/applicable_strategy/strategy = sonification_respectful 11 /Policy/policy/usages/notification_telephony_ringtone/applicable_strategy/strategy = sonification 12 …/Policy/policy/usages/notification_communication_request/applicable_strategy/strategy = sonificati… 13 …/Policy/policy/usages/notification_communication_instant/applicable_strategy/strategy = sonificati… 14 …/Policy/policy/usages/notification_communication_delayed/applicable_strategy/strategy = sonificati… [all …]
|
D | volumes.pfw | 4 /Policy/policy/streams/voice_call/applicable_volume_profile/volume_profile = voice_call 5 /Policy/policy/streams/system/applicable_volume_profile/volume_profile = system 6 /Policy/policy/streams/ring/applicable_volume_profile/volume_profile = ring 7 /Policy/policy/streams/music/applicable_volume_profile/volume_profile = music 8 /Policy/policy/streams/alarm/applicable_volume_profile/volume_profile = alarm 9 /Policy/policy/streams/notification/applicable_volume_profile/volume_profile = notification 10 /Policy/policy/streams/bluetooth_sco/applicable_volume_profile/volume_profile = bluetooth_sco 11 …/Policy/policy/streams/enforced_audible/applicable_volume_profile/volume_profile = enforced_audible 12 /Policy/policy/streams/tts/applicable_volume_profile/volume_profile = tts 13 /Policy/policy/streams/accessibility/applicable_volume_profile/volume_profile = accessibility [all …]
|
D | device_for_input_source.pfw | 4 component: /Policy/policy/input_sources/default/applicable_input_device/mask 21 component: /Policy/policy/input_sources/mic/applicable_input_device/mask 38 component: /Policy/policy/input_sources/voice_downlink/applicable_input_device/mask 59 component: /Policy/policy/input_sources/voice_call/applicable_input_device/mask 80 component: /Policy/policy/input_sources/voice_uplink/applicable_input_device/mask 101 component: /Policy/policy/input_sources/camcorder/applicable_input_device/mask 121 component: /Policy/policy/input_sources/voice_recognition/applicable_input_device/mask 139 component: /Policy/policy/input_sources/voice_communication/applicable_input_device/mask 156 component: /Policy/policy/input_sources/remote_submix/applicable_input_device/mask 177 component: /Policy/policy/input_sources/hotword/applicable_input_device/mask [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/Settings/ |
D | device_for_product_strategies.pfw | 5 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 33 /Policy/policy/product_strategies/oem_traffic_anouncement/device_address = BUS00_MEDIA 40 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 44 … component: /Policy/policy/product_strategies/oem_traffic_anouncement/selected_output_devices/mask 50 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 78 /Policy/policy/product_strategies/oem_strategy_1/device_address = BUS02_OEM1 85 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 89 component: /Policy/policy/product_strategies/oem_strategy_1/selected_output_devices/mask 97 component: /Policy/policy/product_strategies/oem_strategy_2/selected_output_devices/mask 125 /Policy/policy/product_strategies/oem_strategy_2/device_address = BUS01_NAV_GUIDANCE [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeFilteringTest.java | 22 import static android.app.NotificationManager.Policy.CONVERSATION_SENDERS_ANYONE; 23 import static android.app.NotificationManager.Policy.CONVERSATION_SENDERS_IMPORTANT; 24 import static android.app.NotificationManager.Policy.CONVERSATION_SENDERS_NONE; 25 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CALLS; 26 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_CONVERSATIONS; 27 import static android.app.NotificationManager.Policy.PRIORITY_CATEGORY_MESSAGES; 28 import static android.app.NotificationManager.Policy.PRIORITY_SENDERS_ANY; 29 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_STATUS_BAR; 44 import android.app.NotificationManager.Policy; 145 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects() in testSuppressDNDInfo_yes_VisEffectsAllowed() [all …]
|
D | ZenModeExtractorTest.java | 20 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST; 21 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_PEEK; 63 new NotificationManager.Policy(0,0,0)); in testExtractIntercepted() 78 new NotificationManager.Policy(0,0,0)); in testExtractVisualDisturbancesNotIntercepted() 93 new NotificationManager.Policy(0,0,0, SUPPRESSED_EFFECT_PEEK in testExtractVisualDisturbancesIntercepted() 98 assertEquals(NotificationManager.Policy.SUPPRESSED_EFFECT_PEEK in testExtractVisualDisturbancesIntercepted() 99 | NotificationManager.Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST, in testExtractVisualDisturbancesIntercepted()
|
D | ZenModeConfigTest.java | 24 import android.app.NotificationManager.Policy; 80 config.suppressedVisualEffects |= Policy.SUPPRESSED_EFFECT_BADGE; in testZenPolicyToNotificationPolicy() 90 Policy originalPolicy = config.toNotificationPolicy(); in testZenPolicyToNotificationPolicy() 96 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy() 97 priorityCategories |= Policy.PRIORITY_CATEGORY_REMINDERS; in testZenPolicyToNotificationPolicy() 98 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in testZenPolicyToNotificationPolicy() 99 suppressedVisualEffects |= Policy.SUPPRESSED_EFFECT_LIGHTS; in testZenPolicyToNotificationPolicy() 100 suppressedVisualEffects |= Policy.SUPPRESSED_EFFECT_AMBIENT; in testZenPolicyToNotificationPolicy() 102 Policy expectedPolicy = new Policy(priorityCategories, priorityCallSenders, in testZenPolicyToNotificationPolicy() 122 config.suppressedVisualEffects |= Policy.SUPPRESSED_EFFECT_BADGE; in testZenConfigToZenPolicy() [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/ |
D | device_for_product_strategy_media.pfw | 5 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 18 /Policy/policy/product_strategies/media/device_address = 25 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 45 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 65 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 85 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 108 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 126 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 144 component: /Policy/policy/product_strategies/media/selected_output_devices/mask 162 component: /Policy/policy/product_strategies/media/selected_output_devices/mask [all …]
|
D | device_for_product_strategy_enforced_audible.pfw | 7 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 56 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 60 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 68 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 91 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 114 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 137 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 160 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 183 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask 206 component: /Policy/policy/product_strategies/enforced_audible/selected_output_devices/mask [all …]
|
D | device_for_product_strategy_phone.pfw | 5 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask 17 /Policy/policy/product_strategies/phone/device_address = 24 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask 47 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask 70 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask 100 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask 130 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask 160 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask 187 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask 214 component: /Policy/policy/product_strategies/phone/selected_output_devices/mask [all …]
|
D | device_for_product_strategy_dtmf.pfw | 5 component: /Policy/policy/product_strategies/dtmf/selected_output_devices/mask 14 /Policy/policy/product_strategies/dtmf/device_address = 26 component: /Policy/policy/product_strategies/dtmf/selected_output_devices/mask 54 component: /Policy/policy/product_strategies/dtmf/selected_output_devices/mask 82 component: /Policy/policy/product_strategies/dtmf/selected_output_devices/mask 110 component: /Policy/policy/product_strategies/dtmf/selected_output_devices/mask 139 component: /Policy/policy/product_strategies/dtmf/selected_output_devices/mask 168 component: /Policy/policy/product_strategies/dtmf/selected_output_devices/mask 197 component: /Policy/policy/product_strategies/dtmf/selected_output_devices/mask 234 component: /Policy/policy/product_strategies/dtmf/selected_output_devices/mask [all …]
|
D | device_for_product_strategy_sonification.pfw | 5 component: /Policy/policy/product_strategies/sonification/selected_output_devices/mask 21 /Policy/policy/product_strategies/sonification/device_address = 44 component: /Policy/policy/product_strategies/sonification/selected_output_devices/mask 48 component: /Policy/policy/product_strategies/sonification/selected_output_devices/mask 62 component: /Policy/policy/product_strategies/sonification/selected_output_devices/mask 88 component: /Policy/policy/product_strategies/sonification/selected_output_devices/mask 114 component: /Policy/policy/product_strategies/sonification/selected_output_devices/mask 141 component: /Policy/policy/product_strategies/sonification/selected_output_devices/mask 168 component: /Policy/policy/product_strategies/sonification/selected_output_devices/mask 195 component: /Policy/policy/product_strategies/sonification/selected_output_devices/mask [all …]
|
D | device_for_product_strategy_sonification_respectful.pfw | 16 … component: /Policy/policy/product_strategies/sonification_respectful/selected_output_devices/mask 27 /Policy/policy/product_strategies/sonification_respectful/device_address = 41 … component: /Policy/policy/product_strategies/sonification_respectful/selected_output_devices/mask 64 … component: /Policy/policy/product_strategies/sonification_respectful/selected_output_devices/mask 69 … component: /Policy/policy/product_strategies/sonification_respectful/selected_output_devices/mask 84 … component: /Policy/policy/product_strategies/sonification_respectful/selected_output_devices/mask 111 … component: /Policy/policy/product_strategies/sonification_respectful/selected_output_devices/mask 138 … component: /Policy/policy/product_strategies/sonification_respectful/selected_output_devices/mask 165 … component: /Policy/policy/product_strategies/sonification_respectful/selected_output_devices/mask 192 … component: /Policy/policy/product_strategies/sonification_respectful/selected_output_devices/mask [all …]
|
D | device_for_product_strategy_accessibility.pfw | 12 component: /Policy/policy/product_strategies/accessibility/selected_output_devices/mask 35 component: /Policy/policy/product_strategies/accessibility/selected_output_devices/mask 63 component: /Policy/policy/product_strategies/accessibility/selected_output_devices/mask 91 component: /Policy/policy/product_strategies/accessibility/selected_output_devices/mask 119 component: /Policy/policy/product_strategies/accessibility/selected_output_devices/mask 147 component: /Policy/policy/product_strategies/accessibility/selected_output_devices/mask 176 component: /Policy/policy/product_strategies/accessibility/selected_output_devices/mask 205 component: /Policy/policy/product_strategies/accessibility/selected_output_devices/mask 234 component: /Policy/policy/product_strategies/accessibility/selected_output_devices/mask 271 component: /Policy/policy/product_strategies/accessibility/selected_output_devices/mask [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateConfigs.h | 110 struct Policy { struct 139 Policy() = default; argument 140 Policy(HwcConfigIndexType defaultConfig, const Range& range) in Policy() argument 141 : Policy(defaultConfig, range, range) {} in Policy() 142 Policy(HwcConfigIndexType defaultConfig, const Range& primaryRange, in Policy() argument 148 bool operator==(const Policy& other) const { 154 bool operator!=(const Policy& other) const { return !(*this == other); } 171 status_t setDisplayManagerPolicy(const Policy& policy) EXCLUDES(mLock); 173 status_t setOverridePolicy(const std::optional<Policy>& policy) EXCLUDES(mLock); 176 Policy getCurrentPolicy() const EXCLUDES(mLock); [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 19 import static android.app.NotificationManager.Policy.CONVERSATION_SENDERS_ANYONE; 20 import static android.app.NotificationManager.Policy.CONVERSATION_SENDERS_IMPORTANT; 21 import static android.app.NotificationManager.Policy.CONVERSATION_SENDERS_NONE; 22 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_FULL_SCREEN_INTENT; 23 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_LIGHTS; 24 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_PEEK; 29 import android.app.NotificationManager.Policy; 74 public static final int SOURCE_ANYONE = Policy.PRIORITY_SENDERS_ANY; 75 public static final int SOURCE_CONTACT = Policy.PRIORITY_SENDERS_CONTACTS; 76 public static final int SOURCE_STAR = Policy.PRIORITY_SENDERS_STARRED; [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoInput/ |
D | device_for_input_source.pfw | 8 component: /Policy/policy/input_sources/default/applicable_input_device/mask 31 component: /Policy/policy/input_sources/mic/applicable_input_device/mask 54 component: /Policy/policy/input_sources/voice_downlink/applicable_input_device/mask 77 component: /Policy/policy/input_sources/voice_call/applicable_input_device/mask 100 component: /Policy/policy/input_sources/voice_uplink/applicable_input_device/mask 123 component: /Policy/policy/input_sources/camcorder/applicable_input_device/mask 146 component: /Policy/policy/input_sources/voice_recognition/applicable_input_device/mask 169 component: /Policy/policy/input_sources/voice_communication/applicable_input_device/mask 192 component: /Policy/policy/input_sources/remote_submix/applicable_input_device/mask 215 component: /Policy/policy/input_sources/hotword/applicable_input_device/mask [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | PasspointTestUtils.java | 22 import android.net.wifi.hotspot2.pps.Policy; 71 private static Policy createPolicy() { in createPolicy() 72 Policy policy = new Policy(); in createPolicy() 84 List<Policy.RoamingPartner> preferredRoamingPartnerList = new ArrayList<>(); in createPolicy() 85 Policy.RoamingPartner partner1 = new Policy.RoamingPartner(); in createPolicy() 90 Policy.RoamingPartner partner2 = new Policy.RoamingPartner(); in createPolicy()
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/ |
D | LayoutValidator.java | 20 import com.android.tools.idea.validator.ValidatorData.Policy; 36 public static final ValidatorData.Policy DEFAULT_POLICY = new Policy( 40 private static ValidatorData.Policy sPolicy = DEFAULT_POLICY; 61 public static void updatePolicy(@NotNull ValidatorData.Policy policy) { in updatePolicy()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 118 static final Policy OFF_POLICY = new Policy( 141 private static final Policy DEFAULT_ADAPTIVE_POLICY = OFF_POLICY; 143 private static final Policy DEFAULT_FULL_POLICY = new Policy( 202 private Policy mDefaultAdaptivePolicy = DEFAULT_ADAPTIVE_POLICY; 206 private Policy mAdaptivePolicy = DEFAULT_ADAPTIVE_POLICY; 210 private Policy mFullPolicy = DEFAULT_FULL_POLICY; 217 private Policy mEffectivePolicyRaw = OFF_POLICY; 425 Policy newFullPolicy = Policy.fromSettings(setting, deviceSpecificSetting, in updateConstantsLocked() 432 mDefaultAdaptivePolicy = Policy.fromSettings(adaptiveSetting, adaptiveDeviceSpecificSetting, in updateConstantsLocked() 449 final Policy rawPolicy = getCurrentRawPolicyLocked(); in updatePolicyDependenciesLocked() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ZenModeControllerImplTest.java | 88 NotificationManager.Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST; in testAreNotificationsHiddenInShade_zenOffShadeSuppressed() 97 NotificationManager.Policy policy = new NotificationManager.Policy(0, 0, 0, in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed() 98 NotificationManager.Policy.SUPPRESSED_EFFECT_STATUS_BAR); in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed() 108 NotificationManager.Policy policy = new NotificationManager.Policy(0, 0, 0, in testAreNotificationsHiddenInShade_zenOnShadeSuppressed() 109 NotificationManager.Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST); in testAreNotificationsHiddenInShade_zenOnShadeSuppressed()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.h | 35 typedef BlobCache::Policy Policy; typedef 37 static Policy defaultPolicy() { return BlobCache::defaultPolicy(); } in defaultPolicy() 53 Policy policy = defaultPolicy()); 123 Policy mPolicy;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SELinuxMMAC.java | 64 private static List<Policy> sPolicies = new ArrayList<>(); 154 List<Policy> policies = new ArrayList<>(); in readInstallPolicy() 215 for (Policy policy : sPolicies) { in readInstallPolicy() 238 private static Policy readSignerOrThrow(XmlPullParser parser) throws IOException, in readSignerOrThrow() 242 Policy.PolicyBuilder pb = new Policy.PolicyBuilder(); in readSignerOrThrow() 289 private static void readPackageOrThrow(XmlPullParser parser, Policy.PolicyBuilder pb) throws in readPackageOrThrow() 404 for (Policy policy : sPolicies) { in getSeInfo() 467 final class Policy { class 474 private Policy(PolicyBuilder builder) { in Policy() method in Policy 717 public Policy build() { in build() [all …]
|