/frameworks/base/tools/aapt2/ |
NameMangler.h | 44 NameManglerPolicy mPolicy; 47 NameMangler(NameManglerPolicy policy) : mPolicy(policy) { 51 if (mPolicy.targetPackageName == name.package || 52 mPolicy.packagesToMangle.count(name.package) == 0) { 57 mPolicy.targetPackageName, 64 if (package.empty() || mPolicy.targetPackageName == package) { 67 return mPolicy.packagesToMangle.count(package) != 0;
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModePrioritySettings.java | 51 private Policy mPolicy; 59 mPolicy = NotificationManager.from(mContext).getNotificationPolicy(); 70 mPolicy.priorityCallSenders, mPolicy.priorityMessageSenders, 71 mPolicy.suppressedVisualEffects); 85 mPolicy.priorityCallSenders, mPolicy.priorityMessageSenders, 86 mPolicy.suppressedVisualEffects); 100 val == SOURCE_NONE ? mPolicy.priorityMessageSenders : val; 106 mPolicy.priorityCallSenders, allowMessagesFrom [all...] |
ZenModeSettings.java | 38 private Policy mPolicy; 49 mPolicy = NotificationManager.from(mContext).getNotificationPolicy(); 72 mPolicy = NotificationManager.from(mContext).getNotificationPolicy(); 83 s = appendLowercase(s, isCategoryEnabled(mPolicy, Policy.PRIORITY_CATEGORY_REMINDERS), 85 s = appendLowercase(s, isCategoryEnabled(mPolicy, Policy.PRIORITY_CATEGORY_EVENTS), 87 if (isCategoryEnabled(mPolicy, Policy.PRIORITY_CATEGORY_MESSAGES)) { 88 if (mPolicy.priorityMessageSenders == Policy.PRIORITY_SENDERS_ANY) { 94 if (isCategoryEnabled(mPolicy, Policy.PRIORITY_CATEGORY_CALLS)) { 95 if (mPolicy.priorityCallSenders == Policy.PRIORITY_SENDERS_ANY) { 100 } else if (isCategoryEnabled(mPolicy, Policy.PRIORITY_CATEGORY_REPEAT_CALLERS)) [all...] |
ZenModeVisualInterruptionSettings.java | 47 private NotificationManager.Policy mPolicy; 55 mPolicy = NotificationManager.from(mContext).getNotificationPolicy(); 100 mPolicy = NotificationManager.from(mContext).getNotificationPolicy(); 112 return (mPolicy.suppressedVisualEffects & effect) != 0; 116 int effects = mPolicy.suppressedVisualEffects; 126 mPolicy = new Policy(mPolicy.priorityCategories, 127 mPolicy.priorityCallSenders, mPolicy.priorityMessageSenders, 129 NotificationManager.from(mContext).setNotificationPolicy(mPolicy); [all...] |
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/ |
PolicySetupActivity.java | 54 private Policy mPolicy; 60 mPolicy = new Policy(this); 69 if (savedScreenId == UNKNOWN_SCREEN_ID || !mPolicy.isAdminActive()) { 144 mPolicy.readFromLocal(); 145 mPasswordQualityInputField.setSelection(mPolicy.getPasswordQuality()); 146 if (mPolicy.getPasswordLength() > 0) { 147 mPasswordLengthInputField.setText(String.valueOf(mPolicy.getPasswordLength())); 152 if (mPolicy.getPasswordMinUpperCase() > 0) { 154 String.valueOf(mPolicy.getPasswordMinUpperCase())); 166 mPolicy.readFromLocal() [all...] |
/packages/apps/Settings/src/com/android/settings/datausage/ |
BillingCyclePreference.java | 33 private NetworkPolicy mPolicy; 58 mPolicy = services.mPolicyEditor.getPolicy(mTemplate); 60 mPolicy != null ? mPolicy.cycleDay : 1)); 66 setEnabled(mPolicy != null && mServices.mNetworkService.isBandwidthControlEnabled()
|
ChartDataUsagePreference.java | 43 private NetworkPolicy mPolicy; 76 bindNetworkPolicy(chart, mPolicy, top); 91 long policyMax = mPolicy != null ? Math.max(mPolicy.limitBytes, mPolicy.warningBytes) : 0; 164 mPolicy = policy;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
KeyguardDisableHandler.java | 48 final WindowManagerPolicy mPolicy; 53 mPolicy = policy; 80 mPolicy.enableKeyguard(true); 84 mPolicy.enableKeyguard(true); 119 mPolicy.enableKeyguard(false); 127 mPolicy.enableKeyguard(true);
|
InputMonitor.java | 124 int systemAlertLayer = mService.mPolicy.windowTypeToLayerLw( 386 mService.mPolicy.notifyLidSwitchChanged(whenNanos, lidOpen); 392 mService.mPolicy.notifyCameraLensCoverSwitchChanged(whenNanos, lensCovered); 399 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags); 407 return mService.mPolicy.interceptMotionBeforeQueueingNonInteractive( 417 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags); 426 return mService.mPolicy.dispatchUnhandledKey(windowState, event, policyFlags); 432 return mService.mPolicy.windowTypeToLayerLw(WindowManager.LayoutParams.TYPE_POINTER)
|
WindowAnimator.java | 75 final WindowManagerPolicy mPolicy; 136 mPolicy = service.mPolicy; 228 || !mPolicy.canBeForceHidden(imeTarget, imeTarget.mAttrs)); 230 final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw(); 252 && mPolicy.canShowDismissingWindowWhileLockedLw(); 255 boolean keyguardOn = mPolicy.isKeyguardShowingOrOccluded() 278 if (!mPolicy.isKeyguardHostWindow(win.mAttrs)) { 317 boolean canBeForceHidden = mPolicy.canBeForceHidden(win, win.mAttrs); 342 if (mPolicy.isForceHiding(win.mAttrs)) [all...] |
InputConsumerImpl.java | 79 return mService.mPolicy.windowTypeToLayerLw(windowType)
|
WindowManagerService.java | 392 final WindowManagerPolicy mPolicy = new PhoneWindowManager(); 564 return mPolicy.windowTypeToLayerLw(LayoutParams.TYPE_DRAG) * TYPE_LAYER_MULTIPLIER [all...] |
WindowSurfacePlacer.java | 663 mService.mPolicy.beginPostLayoutPolicyLw(dw, dh); 667 mService.mPolicy.applyPostLayoutPolicyLw(w, w.mAttrs, 672 mService.mPolicy.finishPostLayoutPolicyLw(); [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/ |
SubscriptionTimer.java | 27 private final long mPolicy; 32 mPolicy = homeSP.getPolicy() != null ? 37 ", policy: " + Utils.toUTCString(mPolicy)); 45 return mPolicy > 0 && now >= mPolicy; 53 if (mPolicy > now) { 54 min = Math.min(min, mPolicy);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
SetupDataFragment.java | 54 private volatile Policy mPolicy; 66 mPolicy = null; 81 outState.putParcelable(SAVESTATE_POLICY, mPolicy); 96 mPolicy = savedInstanceState.getParcelable(SAVESTATE_POLICY); 159 return mPolicy; 163 mPolicy = policy; 250 dest.writeParcelable(mPolicy, 0); 262 mPolicy = in.readParcelable(loader); 279 sb.append(mPolicy == null ? "none" : "exists");
|
AccountSettingsFragment.java | 463 account.mPolicy = 512 if (account.mPolicy != null) { 513 account.mPolicy.close(getContext()); 729 if (mAccount.mPolicy != null) { 730 maxLookback = mAccount.mPolicy.mMaxEmailLookback; [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
StrictModeTest.java | 39 private StrictMode.VmPolicy mPolicy; 43 mPolicy = StrictMode.getVmPolicy(); 48 StrictMode.setVmPolicy(mPolicy);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
HomeSP.java | 27 private final Policy mPolicy; 60 mPolicy = null; 100 mPolicy = policy; 117 return mPolicy;
|
/frameworks/base/libs/input/ |
PointerController.cpp | 58 mPolicy(policy), mLooper(looper), mSpriteController(spriteController) { 87 mLocked.requestedPointerType= mPolicy->getDefaultPointerIconId(); 94 mPolicy->loadPointerIcon(&mLocked.pointerIcon); 252 mPolicy->loadAdditionalMouseResources(&mLocked.additionalMouseResources, 343 mPolicy->loadPointerIcon(&mLocked.pointerIcon); 344 mPolicy->loadAdditionalMouseResources(&mLocked.additionalMouseResources, 445 const int32_t iconId = mPolicy->getCustomPointerIconId(); 610 if (mLocked.requestedPointerType== mPolicy->getDefaultPointerIconId()) { 711 mPolicy->loadPointerResources(&mResources);
|
PointerController.h | 143 sp<PointerControllerPolicyInterface> mPolicy;
|
/frameworks/base/graphics/java/android/graphics/ |
Atlas.java | 70 private final Policy mPolicy; 101 mPolicy = findPolicy(type, width, height, flags); 134 return mPolicy.pack(width, height, entry);
|
/packages/services/Car/service/src/com/android/car/ |
GarageModeService.java | 74 private GarageModePolicy mPolicy; 179 return mPolicy.getNextWakeUpTime(index); 206 mPolicy = new DefaultGarageModePolicy();
|
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
AccountSettingsUtils.java | 62 if (account.mPolicy != null) { 66 if (account.mPolicy.mProtocolPoliciesUnsupported != null) { 68 + account.mPolicy.mProtocolPoliciesUnsupported); 69 account.mPolicy.mProtocolPoliciesUnsupported = null; 73 account.mPolicy,
|
/frameworks/base/services/core/java/com/android/server/power/ |
Notifier.java | 91 private final WindowManagerPolicy mPolicy; 137 mPolicy = policy; 406 mPolicy.startedWakingUp(); 421 mPolicy.startedGoingToSleep(why); 440 mPolicy.finishedWakingUp(); 462 mPolicy.finishedGoingToSleep(why); 585 mPolicy.userActivity();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
HomeSP.java | 49 private final Policy mPolicy; 82 mPolicy = null; 122 mPolicy = policy; 139 return mPolicy;
|