/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/example/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 | 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 | 8 component: /Policy/policy/input_sources/default/applicable_input_device/mask 24 component: /Policy/policy/input_sources/mic/applicable_input_device/mask 40 component: /Policy/policy/input_sources/voice_downlink/applicable_input_device/mask 60 component: /Policy/policy/input_sources/voice_call/applicable_input_device/mask 80 component: /Policy/policy/input_sources/voice_uplink/applicable_input_device/mask 100 component: /Policy/policy/input_sources/camcorder/applicable_input_device/mask 119 component: /Policy/policy/input_sources/voice_recognition/applicable_input_device/mask 136 component: /Policy/policy/input_sources/voice_communication/applicable_input_device/mask 152 component: /Policy/policy/input_sources/remote_submix/applicable_input_device/mask 172 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 20 component: /Policy/policy/strategies/media/selected_output_devices/mask 39 component: /Policy/policy/strategies/media/selected_output_devices/mask 58 component: /Policy/policy/strategies/media/selected_output_devices/mask 77 component: /Policy/policy/strategies/media/selected_output_devices/mask 100 component: /Policy/policy/strategies/media/selected_output_devices/mask 118 component: /Policy/policy/strategies/media/selected_output_devices/mask 136 component: /Policy/policy/strategies/media/selected_output_devices/mask 154 component: /Policy/policy/strategies/media/selected_output_devices/mask 172 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 25 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 44 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 63 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 82 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 101 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 119 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 137 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 155 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask 173 component: /Policy/policy/strategies/rerouting/selected_output_devices/mask [all …]
|
D | device_for_strategy_accessibility.pfw | 11 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 27 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 46 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 65 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 84 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 103 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 121 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 139 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 157 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask 175 component: /Policy/policy/strategies/accessibility/selected_output_devices/mask [all …]
|
D | device_for_strategy_enforced_audible.pfw | 7 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 18 # strategy STRATEGY_ENFORCED_AUDIBLE uses same routing policy as STRATEGY_SONIFICATION 51 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 55 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 62 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 87 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 112 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 137 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 162 component: /Policy/policy/strategies/enforced_audible/selected_output_devices/mask 187 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 21 component: /Policy/policy/strategies/phone/selected_output_devices/mask 44 component: /Policy/policy/strategies/phone/selected_output_devices/mask 67 component: /Policy/policy/strategies/phone/selected_output_devices/mask 99 component: /Policy/policy/strategies/phone/selected_output_devices/mask 131 component: /Policy/policy/strategies/phone/selected_output_devices/mask 161 component: /Policy/policy/strategies/phone/selected_output_devices/mask 188 component: /Policy/policy/strategies/phone/selected_output_devices/mask 215 component: /Policy/policy/strategies/phone/selected_output_devices/mask 253 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 21 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 49 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 77 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 105 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 134 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 163 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 192 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 229 component: /Policy/policy/strategies/dtmf/selected_output_devices/mask 256 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 41 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 45 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 59 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 85 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 111 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 138 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 165 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 192 component: /Policy/policy/strategies/sonification/selected_output_devices/mask 228 component: /Policy/policy/strategies/sonification/selected_output_devices/mask [all …]
|
D | device_for_strategy_sonification_respectful.pfw | 18 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 38 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 61 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 66 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 81 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 108 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 135 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 162 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 189 component: /Policy/policy/strategies/sonification_respectful/selected_output_devices/mask 216 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 34 component: /Policy/policy/strategies/transmitted_through_speaker/selected_output_devices/mask 38 component: /Policy/policy/strategies/transmitted_through_speaker/selected_output_devices/mask
|
/frameworks/base/core/java/android/app/admin/ |
D | SystemUpdatePolicy.java | 100 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in createAutomaticInstallPolicy() local 101 policy.mPolicyType = TYPE_INSTALL_AUTOMATIC; in createAutomaticInstallPolicy() 102 return policy; in createAutomaticInstallPolicy() 125 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in createWindowedInstallPolicy() local 126 policy.mPolicyType = TYPE_INSTALL_WINDOWED; in createWindowedInstallPolicy() 127 policy.mMaintenanceWindowStart = startTime; in createWindowedInstallPolicy() 128 policy.mMaintenanceWindowEnd = endTime; in createWindowedInstallPolicy() 129 return policy; in createWindowedInstallPolicy() 140 SystemUpdatePolicy policy = new SystemUpdatePolicy(); in createPostponeInstallPolicy() local 141 policy.mPolicyType = TYPE_POSTPONE; in createPostponeInstallPolicy() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 104 public void setUidPolicy(int uid, int policy) { in setUidPolicy() argument 106 mService.setUidPolicy(uid, policy); in setUidPolicy() 116 public void addUidPolicy(int uid, int policy) { in addUidPolicy() argument 118 mService.addUidPolicy(uid, policy); in addUidPolicy() 128 public void removeUidPolicy(int uid, int policy) { in removeUidPolicy() argument 130 mService.removeUidPolicy(uid, policy); in removeUidPolicy() 143 public int[] getUidsWithPolicy(int policy) { in getUidsWithPolicy() argument 145 return mService.getUidsWithPolicy(policy); in getUidsWithPolicy() 215 public static long computeLastCycleBoundary(long currentTime, NetworkPolicy policy) { in computeLastCycleBoundary() argument 216 if (policy.cycleDay == CYCLE_NONE) { in computeLastCycleBoundary() [all …]
|
D | INetworkPolicyManager.aidl | 33 void setUidPolicy(int uid, int policy); in setUidPolicy() argument 34 void addUidPolicy(int uid, int policy); in addUidPolicy() argument 35 void removeUidPolicy(int uid, int policy); in removeUidPolicy() argument 37 int[] getUidsWithPolicy(int policy); in getUidsWithPolicy() argument
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 732 NetworkPolicy policy = mNetworkPolicy.get(template); 733 if (policy == null && meteredHint) { 736 policy = new NetworkPolicy(template, CYCLE_NONE, Time.TIMEZONE_UTC, 739 addNetworkPolicyLocked(policy); 741 } else if (policy != null && policy.inferred) { 744 policy.metered = meteredHint; 787 final NetworkPolicy policy = mNetworkPolicy.valueAt(i); in updateNotificationsLocked() local 789 if (!isTemplateRelevant(policy.template)) continue; in updateNotificationsLocked() 790 if (!policy.hasCycle()) continue; in updateNotificationsLocked() 792 final long start = computeLastCycleBoundary(currentTime, policy); in updateNotificationsLocked() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerInternal.java | 172 public int policy; field in DisplayManagerInternal.DisplayPowerRequest 215 policy = POLICY_BRIGHT; in DisplayPowerRequest() 230 return policy == POLICY_BRIGHT || policy == POLICY_DIM; in isBrightOrDim() 234 policy = other.policy; in copyFrom() 255 && policy == other.policy in equals() 275 return "policy=" + policyToString(policy) in toString() 288 public static String policyToString(int policy) { in policyToString() argument 289 switch (policy) { in policyToString() 299 return Integer.toString(policy); in policyToString()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 995 DevicePolicyData policy = getUserData(userHandle); in handlePackagesChanged() local 998 for (int i = policy.mAdminList.size() - 1; i >= 0; i--) { in handlePackagesChanged() 999 ActiveAdmin aa = policy.mAdminList.get(i); in handlePackagesChanged() 1009 policy.mAdminList.remove(i); in handlePackagesChanged() 1010 policy.mAdminMap.remove(aa.info.getComponent()); in handlePackagesChanged() 1018 validatePasswordOwnerLocked(policy); in handlePackagesChanged() 1019 syncDeviceCapabilitiesLocked(policy); in handlePackagesChanged() 1020 saveSettingsLocked(policy.mUserHandle); in handlePackagesChanged() 1023 if (policy.mDelegatedCertInstallerPackage != null && in handlePackagesChanged() 1025 || packageName.equals(policy.mDelegatedCertInstallerPackage))) { in handlePackagesChanged() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | MobileDataControllerImpl.java | 17 package com.android.systemui.statusbar.policy; 119 final NetworkPolicy policy = findNetworkPolicy(template); in getDataUsageInfo() local 124 if (policy != null && policy.cycleDay > 0) { in getDataUsageInfo() 126 if (DEBUG) Log.d(TAG, "Cycle day=" + policy.cycleDay + " tz=" in getDataUsageInfo() 127 + policy.cycleTimezone); in getDataUsageInfo() 128 final Time nowTime = new Time(policy.cycleTimezone); in getDataUsageInfo() 131 policyTime.set(policy.cycleDay, policyTime.month, policyTime.year); in getDataUsageInfo() 158 if (policy != null) { in getDataUsageInfo() 159 usage.limitLevel = policy.limitBytes > 0 ? policy.limitBytes : 0; in getDataUsageInfo() 160 usage.warningLevel = policy.warningBytes > 0 ? policy.warningBytes : 0; in getDataUsageInfo() [all …]
|
D | SignalCallbackAdapter.java | 16 package com.android.systemui.statusbar.policy; 20 import com.android.systemui.statusbar.policy.NetworkController.IconState; 21 import com.android.systemui.statusbar.policy.NetworkController.SignalCallback;
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.java | 407 public Builder(ThreadPolicy policy) { in Builder() argument 408 mMask = policy.mask; in Builder() 870 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy() argument 871 setThreadPolicyMask(policy.mask); in setThreadPolicy() 892 final BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in setBlockGuardPolicy() local 894 if (policy instanceof AndroidBlockGuardPolicy) { in setBlockGuardPolicy() 895 androidPolicy = (AndroidBlockGuardPolicy) policy; in setBlockGuardPolicy() 1323 (info.policy & THREAD_PENALTY_MASK) == PENALTY_DEATH) { in handleViolationWithTimingAttempt() 1342 final IWindowManager windowManager = (info.policy & PENALTY_FLASH) != 0 ? in handleViolationWithTimingAttempt() 1398 if (LOG_V) Log.d(TAG, "handleViolation; policy=" + info.policy); in handleViolation() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 452 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryThisMonth() local 454 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryThisMonth() 463 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryLastMonth() local 465 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryLastMonth() 474 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryThisMonthFebruary() local 476 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryThisMonthFebruary() 485 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryLastMonthFebruary() local 487 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryLastMonthFebruary() 492 final NetworkPolicy policy = new NetworkPolicy( in testCycleBoundaryLeapYear() local 496 computeNextCycleBoundary(parseTime("2012-01-14T00:00:00.000Z"), policy)); in testCycleBoundaryLeapYear() [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | IKeyguardService.aidl | 16 package com.android.internal.policy; 18 import com.android.internal.policy.IKeyguardDrawnCallback; 19 import com.android.internal.policy.IKeyguardStateCallback; 20 import com.android.internal.policy.IKeyguardExitCallback;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | QSTileHost.java | 41 import com.android.systemui.statusbar.policy.BluetoothController; 42 import com.android.systemui.statusbar.policy.CastController; 43 import com.android.systemui.statusbar.policy.FlashlightController; 44 import com.android.systemui.statusbar.policy.HotspotController; 45 import com.android.systemui.statusbar.policy.KeyguardMonitor; 46 import com.android.systemui.statusbar.policy.LocationController; 47 import com.android.systemui.statusbar.policy.NetworkController; 48 import com.android.systemui.statusbar.policy.RotationLockController; 49 import com.android.systemui.statusbar.policy.SecurityController; 50 import com.android.systemui.statusbar.policy.UserSwitcherController; [all …]
|
/frameworks/base/docs/html/training/enterprise/ |
D | device-management-policy.jd | 47 <p>First, you need to define the kinds of policy to support at the functional level. Policies may 50 <p>You must declare the selected policy set, which will be enforced by the application, in the 52 declared policy set.</p> 54 <p>Each declared policy corresponds to some number of related device policy methods in {@link 57 corresponding policy is not declared in the XML, this will result in a {@link 60 other kinds of policy. As you'll see later, as part of the device administrator activation process, 63 <p>The following snippet declares the limit password policy in <code>res/xml/device_admin.xml</code… 92 user, the configured policy is erased from the shared preference. You should consider implementing 105 // Deletes previously stored password policy. 152 configuring and enforcing the policy.</p> [all …]
|