/frameworks/base/tools/aapt2/ |
D | NameMangler.h | 44 NameManglerPolicy mPolicy; 47 NameMangler(NameManglerPolicy policy) : mPolicy(policy) { in NameMangler() 51 if (mPolicy.targetPackageName == name.package || in mangleName() 52 mPolicy.packagesToMangle.count(name.package) == 0) { in mangleName() 57 mPolicy.targetPackageName, in mangleName() 64 if (package.empty() || mPolicy.targetPackageName == package) { in shouldMangle() 67 return mPolicy.packagesToMangle.count(package) != 0; in shouldMangle()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/ |
D | SubscriptionTimer.java | 27 private final long mPolicy; field in SubscriptionTimer.UpdateAction 32 mPolicy = homeSP.getPolicy() != null ? in UpdateAction() 37 ", policy: " + Utils.toUTCString(mPolicy)); in UpdateAction() 45 return mPolicy > 0 && now >= mPolicy; in policyUpdate() 53 if (mPolicy > now) { in nextExpiry() 54 min = Math.min(min, mPolicy); in nextExpiry()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | KeyguardDisableHandler.java | 48 final WindowManagerPolicy mPolicy; field in KeyguardDisableHandler 53 mPolicy = policy; in KeyguardDisableHandler() 80 mPolicy.enableKeyguard(true); in handleMessage() 84 mPolicy.enableKeyguard(true); in handleMessage() 119 mPolicy.enableKeyguard(false); in acquired() 127 mPolicy.enableKeyguard(true); in released()
|
D | WindowAnimator.java | 75 final WindowManagerPolicy mPolicy; field in WindowAnimator 136 mPolicy = service.mPolicy; in WindowAnimator() 228 || !mPolicy.canBeForceHidden(imeTarget, imeTarget.mAttrs)); in shouldForceHide() 230 final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw(); in shouldForceHide() 252 && mPolicy.canShowDismissingWindowWhileLockedLw(); in shouldForceHide() 255 boolean keyguardOn = mPolicy.isKeyguardShowingOrOccluded() in shouldForceHide() 278 if (!mPolicy.isKeyguardHostWindow(win.mAttrs)) { in updateWindowsLocked() 317 boolean canBeForceHidden = mPolicy.canBeForceHidden(win, win.mAttrs); in updateWindowsLocked() 342 if (mPolicy.isForceHiding(win.mAttrs)) { in updateWindowsLocked() 359 mPolicy.startKeyguardExitAnimation(0, 0); in updateWindowsLocked() [all …]
|
D | InputMonitor.java | 124 int systemAlertLayer = mService.mPolicy.windowTypeToLayerLw( in notifyANR() 386 mService.mPolicy.notifyLidSwitchChanged(whenNanos, lidOpen); in notifyLidSwitchChanged() 392 mService.mPolicy.notifyCameraLensCoverSwitchChanged(whenNanos, lensCovered); in notifyCameraLensCoverSwitchChanged() 399 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags); in interceptKeyBeforeQueueing() 407 return mService.mPolicy.interceptMotionBeforeQueueingNonInteractive( in interceptMotionBeforeQueueingNonInteractive() 417 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags); in interceptKeyBeforeDispatching() 426 return mService.mPolicy.dispatchUnhandledKey(windowState, event, policyFlags); in dispatchUnhandledKey() 432 return mService.mPolicy.windowTypeToLayerLw(WindowManager.LayoutParams.TYPE_POINTER) in getPointerLayer()
|
D | WindowManagerService.java | 392 final WindowManagerPolicy mPolicy = new PhoneWindowManager(); field in WindowManagerService 564 return mPolicy.windowTypeToLayerLw(LayoutParams.TYPE_DRAG) * TYPE_LAYER_MULTIPLIER in getDragLayerLocked() 940 mPolicy.init(mContext, WindowManagerService.this, WindowManagerService.this); in initPolicy() 970 LocalServices.addService(WindowManagerPolicy.class, mPolicy); in WindowManagerService() 981 mKeyguardDisableHandler = new KeyguardDisableHandler(mContext, mPolicy); in WindowManagerService() 1863 int res = mPolicy.checkAddPermission(attrs, appOp); in addWindow() 2033 mPolicy.adjustWindowParamsLw(win.mAttrs); in addWindow() 2034 win.setShowToOwnerOnlyLocked(mPolicy.checkShowToOwnerOnly(attrs)); in addWindow() 2036 res = mPolicy.prepareAddWindowLw(win, attrs); in addWindow() 2138 if (mPolicy.getInsetHintLw(win.mAttrs, taskBounds, mRotation, in addWindow() [all …]
|
D | WindowSurfacePlacer.java | 663 mService.mPolicy.beginPostLayoutPolicyLw(dw, dh); in applySurfaceChangesTransaction() 667 mService.mPolicy.applyPostLayoutPolicyLw(w, w.mAttrs, in applySurfaceChangesTransaction() 672 mService.mPolicy.finishPostLayoutPolicyLw(); in applySurfaceChangesTransaction() 922 mService.mPolicy.beginLayoutLw(isDefaultDisplay, dw, dh, mService.mRotation, in performLayoutLockedInner() 926 mService.mSystemDecorLayer = mService.mPolicy.getSystemDecorLayerLw(); in performLayoutLockedInner() 930 mService.mPolicy.getContentRectLw(mTmpContentRect); in performLayoutLockedInner() 948 final boolean gone = (behindDream && mService.mPolicy.canBeForceHidden(win, win.mAttrs)) in performLayoutLockedInner() 995 mService.mPolicy.layoutWindowLw(win, null); in performLayoutLockedInner() 1033 if (attachedBehindDream && mService.mPolicy.canBeForceHidden(win, win.mAttrs)) { in performLayoutLockedInner() 1044 mService.mPolicy.layoutWindowLw(win, win.mAttachedWindow); in performLayoutLockedInner() [all …]
|
D | InputConsumerImpl.java | 79 return mService.mPolicy.windowTypeToLayerLw(windowType) in getLayerLw()
|
D | DockedStackDividerController.java | 183 mService.mPolicy.getStableInsetsLw(rotation, mTmpRect2.width(), mTmpRect2.height(), in getSmallestWidthDpForBounds() 204 mService.mPolicy.getStableInsetsLw(rotation, dw, dh, mTmpRect); in initSnapAlgorithmForRotations() 208 (mService.mPolicy.getConfigDisplayWidth(dw, dh, rotation, baseConfig.uiMode) / in initSnapAlgorithmForRotations() 211 (mService.mPolicy.getConfigDisplayHeight(dw, dh, rotation, baseConfig.uiMode) / in initSnapAlgorithmForRotations()
|
D | TaskStack.java | 437 if (mService.mPolicy.isDockSideAllowed(dockSide)) { in repositionDockedStackAfterRotation() 484 mService.mPolicy.getStableInsetsLw(rotation, displayWidth, displayHeight, outBounds); in snapDockedStackAfterRotation() 741 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getStackDockedModeBounds() 1236 final boolean keyguardOn = mService.mPolicy.isKeyguardShowingOrOccluded() in isVisibleLocked()
|
D | WindowStateAnimator.java | 110 final WindowManagerPolicy mPolicy; field in WindowStateAnimator 251 mPolicy = service.mPolicy; in WindowStateAnimator() 1355 final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw(); in adjustCropToStackBounds() 1356 if (w == winShowWhenLocked && mPolicy.isKeyguardShowingOrOccluded()) { in adjustCropToStackBounds() 1879 int anim = mPolicy.selectAnimationLw(mWin, transit); in applyAnimationLocked()
|
D | WindowState.java | 137 final WindowManagerPolicy mPolicy; field in WindowState 541 mPolicy = mService.mPolicy; in WindowState() 570 mBaseLayer = mPolicy.windowTypeToLayerLw( in WindowState() 573 mSubLayer = mPolicy.subWindowTypeToLayerLw(a.type); in WindowState() 609 mBaseLayer = mPolicy.windowTypeToLayerLw(a.type) in WindowState() 2420 forceRelayout, mPolicy.isNavBarForcedShownLw(this)); in dispatchResized()
|
D | AccessibilityController.java | 391 WindowManagerPolicy policy = mWindowManagerService.mPolicy; in getMagnificationSpecForWindowLocked() 531 if (mWindowManagerService.mPolicy.canMagnifyWindow(windowState.mAttrs.type)) { in recomputeBoundsLocked() 684 mSurfaceControl.setLayer(mWindowManagerService.mPolicy.windowTypeToLayerLw( in ViewportWindow()
|
D | DragState.java | 218 return mService.mPolicy.windowTypeToLayerLw(WindowManager.LayoutParams.TYPE_DRAG) in getDragLayerLw()
|
D | Session.java | 269 return mService.mPolicy.performHapticFeedbackLw( in performHapticFeedback()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
D | HomeSP.java | 27 private final Policy mPolicy; field in HomeSP 60 mPolicy = null; in HomeSP() 100 mPolicy = policy; in HomeSP() 117 return mPolicy; in getPolicy()
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 58 mPolicy(policy), mLooper(looper), mSpriteController(spriteController) { in PointerController() 87 mLocked.requestedPointerType= mPolicy->getDefaultPointerIconId(); in PointerController() 94 mPolicy->loadPointerIcon(&mLocked.pointerIcon); in PointerController() 252 mPolicy->loadAdditionalMouseResources(&mLocked.additionalMouseResources, in setPresentation() 343 mPolicy->loadPointerIcon(&mLocked.pointerIcon); in reloadPointerResources() 344 mPolicy->loadAdditionalMouseResources(&mLocked.additionalMouseResources, in reloadPointerResources() 445 const int32_t iconId = mPolicy->getCustomPointerIconId(); in setCustomPointerIcon() 610 if (mLocked.requestedPointerType== mPolicy->getDefaultPointerIconId()) { in updatePointerLocked() 711 mPolicy->loadPointerResources(&mResources); in loadResources()
|
D | PointerController.h | 143 sp<PointerControllerPolicyInterface> mPolicy; variable
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 91 private final WindowManagerPolicy mPolicy; field in Notifier 137 mPolicy = policy; in Notifier() 406 mPolicy.startedWakingUp(); in handleEarlyInteractiveChange() 421 mPolicy.startedGoingToSleep(why); in handleEarlyInteractiveChange() 440 mPolicy.finishedWakingUp(); in handleLateInteractiveChange() 462 mPolicy.finishedGoingToSleep(why); in handleLateInteractiveChange() 585 mPolicy.userActivity(); in sendUserActivity()
|
D | PowerManagerService.java | 193 private WindowManagerPolicy mPolicy; field in PowerManagerService 578 mPolicy = getLocalService(WindowManagerPolicy.class); in systemReady() 593 mPolicy); in systemReady()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Atlas.java | 70 private final Policy mPolicy; field in Atlas 101 mPolicy = findPolicy(type, width, height, flags); in Atlas() 134 return mPolicy.pack(width, height, entry); in pack()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
D | HomeSP.java | 49 private final Policy mPolicy; field in HomeSP 82 mPolicy = null; in HomeSP() 122 mPolicy = policy; in HomeSP() 139 return mPolicy; in getPolicy()
|
/frameworks/native/services/inputflinger/ |
D | InputDispatcher.cpp | 203 mPolicy(policy), in InputDispatcher() 2449 mPolicy->interceptKeyBeforeQueueing(&event, /*byref*/ policyFlags); in notifyKey() 2459 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyKey() 2518 mPolicy->interceptMotionBeforeQueueing(args->eventTime, /*byref*/ policyFlags); in notifyMotion() 2535 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyMotion() 2574 mPolicy->notifySwitch(args->eventTime, in notifySwitch() 2629 mPolicy->interceptKeyBeforeQueueing(keyEvent, /*byref*/ policyFlags); in injectInputEvent() 2654 mPolicy->interceptMotionBeforeQueueing(eventTime, /*byref*/ policyFlags); in injectInputEvent() 2776 || mPolicy->checkInjectEventsPermissionNonReentrant(injectorPid, injectorUid); in hasInjectionPermission() 3499 mPolicy->notifyConfigurationChanged(commandEntry->eventTime); in doNotifyConfigurationChangedInterruptible() [all …]
|
D | InputDispatcher.h | 852 sp<InputDispatcherPolicyInterface> mPolicy; variable
|
/frameworks/base/docs/html/work/ |
D | device-management-policy.jd | 129 if (!mPolicy.isAdminActive()) { 136 mPolicy.getPolicyAdmin());
|