Home
last modified time | relevance | path

Searched refs:Policy (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/
DPolicyTest.java50 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/
Ddevice_for_product_strategies.pfw5 … 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/
Dstrategy_for_usage.pfw5 /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 …]
Dvolumes.pfw4 /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 …]
Ddevice_for_input_source.pfw4 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/
Ddevice_for_product_strategies.pfw5 … 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/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/
Ddevice_for_product_strategy_media.pfw5 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 …]
Ddevice_for_product_strategy_enforced_audible.pfw7 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 …]
Ddevice_for_product_strategy_phone.pfw5 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 …]
Ddevice_for_product_strategy_dtmf.pfw5 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 …]
Ddevice_for_product_strategy_sonification.pfw5 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 …]
Ddevice_for_product_strategy_accessibility.pfw12 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 …]
Ddevice_for_product_strategy_sonification_respectful.pfw16 … 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 …]
Ddevice_for_product_strategy_transmitted_through_speaker.pfw5 …component: /Policy/policy/product_strategies/transmitted_through_speaker/selected_output_devices/m…
31 /Policy/policy/product_strategies/transmitted_through_speaker/device_address =
37 …component: /Policy/policy/product_strategies/transmitted_through_speaker/selected_output_devices/m…
41 …component: /Policy/policy/product_strategies/transmitted_through_speaker/selected_output_devices/m…
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeFilteringTest.java19 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_STATUS_BAR;
35 import android.app.NotificationManager.Policy;
126 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects() in testSuppressDNDInfo_yes_VisEffectsAllowed()
137 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects()); in testSuppressDNDInfo_yes_WrongId()
147 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects()); in testSuppressDNDInfo_yes_WrongPackage()
157 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects()); in testSuppressDNDInfo_no()
168 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects()); in testSuppressAnything_yes_ZenModeOff()
178 Policy policy = new Policy(0, 0, 0, Policy.getAllSuppressedVisualEffects()); in testSuppressAnything_bypass_ZenModeOn()
DZenModeExtractorTest.java20 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()
DZenModeConfigTest.java23 import android.app.NotificationManager.Policy;
79 config.suppressedVisualEffects |= Policy.SUPPRESSED_EFFECT_BADGE; in testZenPolicyToNotificationPolicy()
89 Policy originalPolicy = config.toNotificationPolicy(); in testZenPolicyToNotificationPolicy()
94 priorityCategories |= Policy.PRIORITY_CATEGORY_ALARMS; in testZenPolicyToNotificationPolicy()
95 priorityCategories |= Policy.PRIORITY_CATEGORY_REMINDERS; in testZenPolicyToNotificationPolicy()
96 priorityCategories |= Policy.PRIORITY_CATEGORY_EVENTS; in testZenPolicyToNotificationPolicy()
97 suppressedVisualEffects |= Policy.SUPPRESSED_EFFECT_LIGHTS; in testZenPolicyToNotificationPolicy()
98 suppressedVisualEffects |= Policy.SUPPRESSED_EFFECT_AMBIENT; in testZenPolicyToNotificationPolicy()
100 Policy expectedPolicy = new Policy(priorityCategories, priorityCallSenders, in testZenPolicyToNotificationPolicy()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoInput/
Ddevice_for_input_source.pfw8 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/core/java/android/service/notification/
DZenModeConfig.java19 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_FULL_SCREEN_INTENT;
20 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_LIGHTS;
21 import static android.app.NotificationManager.Policy.SUPPRESSED_EFFECT_PEEK;
26 import android.app.NotificationManager.Policy;
71 public static final int SOURCE_ANYONE = Policy.PRIORITY_SENDERS_ANY;
72 public static final int SOURCE_CONTACT = Policy.PRIORITY_SENDERS_CONTACTS;
73 public static final int SOURCE_STAR = Policy.PRIORITY_SENDERS_STARRED;
941 public Policy toNotificationPolicy(ZenPolicy zenPolicy) { in toNotificationPolicy()
942 NotificationManager.Policy defaultPolicy = toNotificationPolicy(); in toNotificationPolicy()
949 isPriorityCategoryEnabled(Policy.PRIORITY_CATEGORY_REMINDERS, defaultPolicy))) { in toNotificationPolicy()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java60 private static List<Policy> sPolicies = new ArrayList<>();
137 List<Policy> policies = new ArrayList<>(); in readInstallPolicy()
198 for (Policy policy : sPolicies) { in readInstallPolicy()
221 private static Policy readSignerOrThrow(XmlPullParser parser) throws IOException, in readSignerOrThrow()
225 Policy.PolicyBuilder pb = new Policy.PolicyBuilder(); in readSignerOrThrow()
272 private static void readPackageOrThrow(XmlPullParser parser, Policy.PolicyBuilder pb) throws in readPackageOrThrow()
344 for (Policy policy : sPolicies) { in getSeInfo()
407 final class Policy { class
414 private Policy(PolicyBuilder builder) { in Policy() method in Policy
657 public Policy build() { in build()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DZenModeControllerImplTest.java84 NotificationManager.Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST; in testAreNotificationsHiddenInShade_zenOffShadeSuppressed()
93 NotificationManager.Policy policy = new NotificationManager.Policy(0, 0, 0, in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed()
94 NotificationManager.Policy.SUPPRESSED_EFFECT_STATUS_BAR); in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed()
104 NotificationManager.Policy policy = new NotificationManager.Policy(0, 0, 0, in testAreNotificationsHiddenInShade_zenOnShadeSuppressed()
105 NotificationManager.Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST); in testAreNotificationsHiddenInShade_zenOnShadeSuppressed()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java113 static final Policy OFF_POLICY = new Policy(
136 private static final Policy DEFAULT_ADAPTIVE_POLICY = OFF_POLICY;
138 private static final Policy DEFAULT_FULL_POLICY = new Policy(
200 private Policy mDefaultAdaptivePolicy = DEFAULT_ADAPTIVE_POLICY;
204 private Policy mAdaptivePolicy = DEFAULT_ADAPTIVE_POLICY;
208 private Policy mFullPolicy = DEFAULT_FULL_POLICY;
374 Policy newFullPolicy = Policy.fromSettings(setting, deviceSpecificSetting, in updateConstantsLocked()
381 mDefaultAdaptivePolicy = Policy.fromSettings(adaptiveSetting, adaptiveDeviceSpecificSetting, in updateConstantsLocked()
398 final Policy currPolicy = getCurrentPolicyLocked(); in updatePolicyDependenciesLocked()
427 static class Policy { class in BatterySaverPolicy
[all …]
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache.h35 typedef BlobCache::Policy Policy; typedef
37 static Policy defaultPolicy() { return BlobCache::defaultPolicy(); } in defaultPolicy()
53 Policy policy = defaultPolicy());
123 Policy mPolicy;
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DPolicy.java46 public final class Policy implements Parcelable { class
322 public Policy() {} in Policy() method in Policy
329 public Policy(Policy source) { in Policy() method in Policy
377 if (!(thatObject instanceof Policy)) { in equals()
380 Policy that = (Policy) thatObject; in equals()
478 public static final @android.annotation.NonNull Creator<Policy> CREATOR =
479 new Creator<Policy>() {
481 public Policy createFromParcel(Parcel in) {
482 Policy policy = new Policy();
496 public Policy[] newArray(int size) {
[all …]
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp632 overlayable_item.policies |= OverlayableItem::Policy::kProduct; in TEST_F()
633 overlayable_item.policies |= OverlayableItem::Policy::kSystem; in TEST_F()
634 overlayable_item.policies |= OverlayableItem::Policy::kVendor; in TEST_F()
652 EXPECT_EQ(result_overlayable_item.policies, OverlayableItem::Policy::kSystem in TEST_F()
653 | OverlayableItem::Policy::kVendor in TEST_F()
654 | OverlayableItem::Policy::kProduct); in TEST_F()
661 overlayable_item_zero.policies |= OverlayableItem::Policy::kProduct; in TEST_F()
662 overlayable_item_zero.policies |= OverlayableItem::Policy::kSystem; in TEST_F()
666 overlayable_item_one.policies |= OverlayableItem::Policy::kPublic; in TEST_F()
670 overlayable_item_two.policies |= OverlayableItem::Policy::kProduct; in TEST_F()
[all …]

12345