/frameworks/base/services/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 461 for (NetworkPolicy policy : mNetworkPolicy.values()) { in updateNotificationsLocked() 463 if (!isTemplateRelevant(policy.template)) continue; in updateNotificationsLocked() 465 final long start = computeLastCycleBoundary(currentTime, policy); in updateNotificationsLocked() 467 final long totalBytes = getTotalBytes(policy.template, start, end); in updateNotificationsLocked() 469 if (policy.isOverLimit(totalBytes)) { in updateNotificationsLocked() 470 if (policy.lastSnooze >= start) { in updateNotificationsLocked() 471 enqueueNotification(policy, TYPE_LIMIT_SNOOZED, totalBytes); in updateNotificationsLocked() 473 enqueueNotification(policy, TYPE_LIMIT, totalBytes); in updateNotificationsLocked() 474 notifyOverLimitLocked(policy.template); in updateNotificationsLocked() 478 notifyUnderLimitLocked(policy.template); in updateNotificationsLocked() [all …]
|
/frameworks/base/core/java/android/os/ |
D | StrictMode.java | 344 public Builder(ThreadPolicy policy) { in Builder() argument 345 mMask = policy.mask; in Builder() 722 public static void setThreadPolicy(final ThreadPolicy policy) { in setThreadPolicy() argument 723 setThreadPolicyMask(policy.mask); in setThreadPolicy() 744 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in setBlockGuardPolicy() local 745 if (!(policy instanceof AndroidBlockGuardPolicy)) { in setBlockGuardPolicy() 748 AndroidBlockGuardPolicy androidPolicy = (AndroidBlockGuardPolicy) policy; in setBlockGuardPolicy() 1134 (info.policy & THREAD_PENALTY_MASK) == PENALTY_DEATH) { in handleViolationWithTimingAttempt() 1153 final IWindowManager windowManager = (info.policy & PENALTY_FLASH) != 0 ? in handleViolationWithTimingAttempt() 1209 if (LOG_V) Log.d(TAG, "handleViolation; policy=" + info.policy); in handleViolation() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkPolicyManager.java | 96 public void setUidPolicy(int uid, int policy) { in setUidPolicy() argument 98 mService.setUidPolicy(uid, policy); in setUidPolicy() 133 public static long computeLastCycleBoundary(long currentTime, NetworkPolicy policy) { in computeLastCycleBoundary() argument 140 snapToCycleDay(cycle, policy.cycleDay); in computeLastCycleBoundary() 152 snapToCycleDay(cycle, policy.cycleDay); in computeLastCycleBoundary() 159 public static long computeNextCycleBoundary(long currentTime, NetworkPolicy policy) { in computeNextCycleBoundary() argument 166 snapToCycleDay(cycle, policy.cycleDay); in computeNextCycleBoundary() 178 snapToCycleDay(cycle, policy.cycleDay); in computeNextCycleBoundary() 241 public static void dumpPolicy(PrintWriter fout, int policy) { in dumpPolicy() argument 243 if ((policy & POLICY_REJECT_METERED_BACKGROUND) != 0) { in dumpPolicy()
|
D | INetworkPolicyManager.aidl | 33 void setUidPolicy(int uid, int policy); in setUidPolicy() argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | Policy.java | 17 package com.android.internal.policy.impl; 26 import com.android.internal.policy.IPolicy; 27 import com.android.internal.policy.impl.PhoneLayoutInflater; 28 import com.android.internal.policy.impl.PhoneWindow; 29 import com.android.internal.policy.impl.PhoneWindowManager;
|
D | KeyguardWindowController.java | 17 package com.android.internal.policy.impl;
|
D | KeyguardScreen.java | 17 package com.android.internal.policy.impl;
|
D | KeyguardViewCallback.java | 17 package com.android.internal.policy.impl;
|
D | KeyguardViewProperties.java | 17 package com.android.internal.policy.impl;
|
D | KeyguardScreenCallback.java | 17 package com.android.internal.policy.impl;
|
D | PhoneLayoutInflater.java | 17 package com.android.internal.policy.impl;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
D | SettingsView.java | 32 import com.android.systemui.statusbar.policy.AirplaneModeController; 33 import com.android.systemui.statusbar.policy.AutoRotateController; 34 import com.android.systemui.statusbar.policy.BrightnessController; 35 import com.android.systemui.statusbar.policy.DoNotDisturbController; 36 import com.android.systemui.statusbar.policy.ToggleSlider; 37 import com.android.systemui.statusbar.policy.VolumeController;
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | IFaceLockInterface.aidl | 16 package com.android.internal.policy; 19 import com.android.internal.policy.IFaceLockCallback;
|
D | PolicyManager.java | 17 package com.android.internal.policy; 25 import com.android.internal.policy.IPolicy;
|
D | IFaceLockCallback.aidl | 16 package com.android.internal.policy;
|
D | IPolicy.java | 17 package com.android.internal.policy;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 425 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryThisMonth() local 427 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryThisMonth() 436 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryLastMonth() local 438 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryLastMonth() 447 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryThisMonthFebruary() local 449 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryThisMonthFebruary() 458 final NetworkPolicy policy = new NetworkPolicy( in testLastCycleBoundaryLastMonthFebruary() local 460 final long actualCycle = computeLastCycleBoundary(currentTime, policy); in testLastCycleBoundaryLastMonthFebruary() 465 final NetworkPolicy policy = new NetworkPolicy( in testNextCycleSane() local 470 long currentCycle = computeNextCycleBoundary(parseTime("2011-08-01T00:00:00.000Z"), policy); in testNextCycleSane() [all …]
|
/frameworks/base/media/libmedia/ |
D | IMediaMetadataRetriever.cpp | 42 SchedPolicy policy; in sendSchedPolicy() local 43 get_sched_policy(gettid(), &policy); in sendSchedPolicy() 44 data.writeInt32(policy); in sendSchedPolicy() 49 SchedPolicy policy = (SchedPolicy) data.readInt32(); in setSchedPolicy() local 50 set_sched_policy(gettid(), policy); in setSchedPolicy()
|
/frameworks/base/policy/ |
D | Android.mk | 9 LOCAL_MODULE := android.policy
|
/frameworks/base/policy/tests/ |
D | Android.mk | 21 LOCAL_JAVA_LIBRARIES := android.policy android.test.runner
|
/frameworks/base/services/java/ |
D | Android.mk | 14 LOCAL_JAVA_LIBRARIES := android.policy
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | Prefs.java | 17 package com.android.systemui.statusbar.policy;
|
D | WifiIcons.java | 17 package com.android.systemui.statusbar.policy;
|
D | AccessibilityContentDescriptions.java | 3 package com.android.systemui.statusbar.policy;
|
/frameworks/base/packages/SystemUI/ |
D | proguard.flags | 8 -keep class com.android.systemui.statusbar.policy.KeyButtonView {
|