/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/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 | strategy_for_stream.pfw | 4 /Policy/policy/streams/voice_call/applicable_strategy/strategy = phone 9 /Policy/policy/streams/system/applicable_strategy/strategy = media 10 /Policy/policy/streams/ring/applicable_strategy/strategy = sonification 11 /Policy/policy/streams/music/applicable_strategy/strategy = media 12 /Policy/policy/streams/alarm/applicable_strategy/strategy = sonification 13 /Policy/policy/streams/notification/applicable_strategy/strategy = sonification_respectful 14 /Policy/policy/streams/bluetooth_sco/applicable_strategy/strategy = phone 15 /Policy/policy/streams/enforced_audible/applicable_strategy/strategy = enforced_audible 16 /Policy/policy/streams/dtmf/applicable_strategy/strategy = dtmf 17 /Policy/policy/streams/tts/applicable_strategy/strategy = transmitted_through_speaker [all …]
|
D | device_for_input_source.pfw | 4 component: /Policy/policy/input_sources/default/applicable_input_device/mask 22 component: /Policy/policy/input_sources/mic/applicable_input_device/mask 40 component: /Policy/policy/input_sources/voice_downlink/applicable_input_device/mask 62 component: /Policy/policy/input_sources/voice_call/applicable_input_device/mask 84 component: /Policy/policy/input_sources/voice_uplink/applicable_input_device/mask 106 component: /Policy/policy/input_sources/camcorder/applicable_input_device/mask 127 component: /Policy/policy/input_sources/voice_recognition/applicable_input_device/mask 146 component: /Policy/policy/input_sources/voice_communication/applicable_input_device/mask 164 component: /Policy/policy/input_sources/remote_submix/applicable_input_device/mask 186 component: /Policy/policy/input_sources/hotword/applicable_input_device/mask [all …]
|
D | device_for_strategy_media.pfw | 7 component: /Policy/policy/strategies/media/selected_output_devices/mask 23 component: /Policy/policy/strategies/media/selected_output_devices/mask 43 component: /Policy/policy/strategies/media/selected_output_devices/mask 63 component: /Policy/policy/strategies/media/selected_output_devices/mask 83 component: /Policy/policy/strategies/media/selected_output_devices/mask 106 component: /Policy/policy/strategies/media/selected_output_devices/mask 124 component: /Policy/policy/strategies/media/selected_output_devices/mask 142 component: /Policy/policy/strategies/media/selected_output_devices/mask 160 component: /Policy/policy/strategies/media/selected_output_devices/mask 178 component: /Policy/policy/strategies/media/selected_output_devices/mask [all …]
|
D | device_for_strategy_rerouting.pfw | 9 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 28 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 47 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 66 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 85 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 104 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 122 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 140 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 158 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 176 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask [all …]
|
D | device_for_strategy_enforced_audible.pfw | 7 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 54 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 58 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 65 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 88 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 111 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 134 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 157 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 180 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 203 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask [all …]
|
D | device_for_strategy_phone.pfw | 7 component: /Policy/policy/strategies/phone/selected_output_devices/mask 24 component: /Policy/policy/strategies/phone/selected_output_devices/mask 47 component: /Policy/policy/strategies/phone/selected_output_devices/mask 70 component: /Policy/policy/strategies/phone/selected_output_devices/mask 100 component: /Policy/policy/strategies/phone/selected_output_devices/mask 130 component: /Policy/policy/strategies/phone/selected_output_devices/mask 160 component: /Policy/policy/strategies/phone/selected_output_devices/mask 187 component: /Policy/policy/strategies/phone/selected_output_devices/mask 214 component: /Policy/policy/strategies/phone/selected_output_devices/mask 237 component: /Policy/policy/strategies/phone/selected_output_devices/mask [all …]
|
D | device_for_strategy_dtmf.pfw | 7 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 24 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 52 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 80 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 108 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 137 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 166 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 195 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 232 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 271 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask [all …]
|
D | device_for_strategy_sonification.pfw | 7 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 44 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 48 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 62 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 88 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 114 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 141 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 168 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 195 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 231 component: /Policy/policy/strategies/sonification/selected_output_devices/mask [all …]
|
D | device_for_strategy_accessibility.pfw | 12 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 32 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 60 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 88 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 116 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 144 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 173 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 202 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 231 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 268 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask [all …]
|
D | device_for_strategy_sonification_respectful.pfw | 18 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 41 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 64 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 69 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 84 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 111 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 138 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 165 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 192 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 219 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask [all …]
|
D | device_for_strategy_transmitted_through_speaker.pfw | 6 component: /Policy/policy/strategies/transmitted_through_speaker/selected_output_devices/mask 37 component: /Policy/policy/strategies/transmitted_through_speaker/selected_output_devices/mask 41 component: /Policy/policy/strategies/transmitted_through_speaker/selected_output_devices/mask
|
/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/services/tests/uiservicestests/src/com/android/server/notification/ |
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()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SELinuxMMAC.java | 60 private static List<Policy> sPolicies = new ArrayList<>(); 126 List<Policy> policies = new ArrayList<>(); in readInstallPolicy() 187 for (Policy policy : sPolicies) { in readInstallPolicy() 210 private static Policy readSignerOrThrow(XmlPullParser parser) throws IOException, in readSignerOrThrow() 214 Policy.PolicyBuilder pb = new Policy.PolicyBuilder(); in readSignerOrThrow() 261 private static void readPackageOrThrow(XmlPullParser parser, Policy.PolicyBuilder pb) throws in readPackageOrThrow() 334 for (Policy policy : sPolicies) { in getSeInfo() 401 final class Policy { class 408 private Policy(PolicyBuilder builder) { in Policy() method in Policy 651 public Policy build() { in build() [all …]
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.h | 36 typedef BlobCache::Policy Policy; typedef 38 static Policy defaultPolicy() { return BlobCache::defaultPolicy(); } in defaultPolicy() 54 Policy policy = defaultPolicy()); 126 Policy mPolicy;
|
D | nnCache_test.cpp | 40 class NNCacheTest : public ::testing::TestWithParam<NNCache::Policy> { 54 INSTANTIATE_TEST_CASE_P(Policy, NNCacheTest, 55 ::testing::Values(NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::HALVE), 56 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::HALVE), 58 NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::FIT), 59 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::FIT), 61 NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::FIT_HALVE), 62 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::FIT_HALVE)));
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/ |
D | Policy.java | 46 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 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/preload/ |
D | WritePreloadedClassFile.java | 58 new FileOutputStream(Policy.PRELOADED_CLASS_FILE), in main() 82 if (!Policy.isPreloadable(loadedClass)) { in main() 99 if (proc.fromZygote() && !Policy.isService(proc.name)) { in main() 139 = Policy.isPreloadable(operation.loadedClass); in addAllClassesFrom() 152 return Policy.isPreloadable(clazz) in shouldPreload()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtilsTest.java | 25 import android.net.wifi.hotspot2.pps.Policy; 138 Policy policy = new Policy(); in createFullPasspointConfiguration() 139 List<Policy.RoamingPartner> preferredRoamingPartnerList = new ArrayList<>(); in createFullPasspointConfiguration() 140 Policy.RoamingPartner partner1 = new Policy.RoamingPartner(); in createFullPasspointConfiguration() 145 Policy.RoamingPartner partner2 = new Policy.RoamingPartner(); in createFullPasspointConfiguration()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | PasspointConfigurationTest.java | 25 import android.net.wifi.hotspot2.pps.Policy; 85 private static Policy createPolicy() { in createPolicy() 86 Policy policy = new Policy(); in createPolicy() 98 List<Policy.RoamingPartner> preferredRoamingPartnerList = new ArrayList<>(); in createPolicy() 99 Policy.RoamingPartner partner1 = new Policy.RoamingPartner(); in createPolicy() 104 Policy.RoamingPartner partner2 = new Policy.RoamingPartner(); in createPolicy()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParserTest.java | 26 import android.net.wifi.hotspot2.pps.Policy; 165 Policy policy = new Policy(); in generateConfigurationFromPPSMOTree() 166 List<Policy.RoamingPartner> preferredRoamingPartnerList = new ArrayList<>(); in generateConfigurationFromPPSMOTree() 167 Policy.RoamingPartner partner1 = new Policy.RoamingPartner(); in generateConfigurationFromPPSMOTree() 172 Policy.RoamingPartner partner2 = new Policy.RoamingPartner(); in generateConfigurationFromPPSMOTree()
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/ |
D | Android.mk | 49 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/parameter-framework/Structure/Policy 62 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/parameter-framework/Structure/Policy 70 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/parameter-framework/Structure/Policy 79 LOCAL_MODULE_RELATIVE_PATH := parameter-framework/Settings/Policy 115 LOCAL_MODULE_RELATIVE_PATH := parameter-framework/Settings/Policy 137 LOCAL_MODULE_RELATIVE_PATH := parameter-framework/Settings/Policy
|