/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 139 mPolicy = service.mPolicy; in WindowAnimator() 232 final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw(); in getWinShowWhenLockedOrAnimating() 248 || !mPolicy.canBeForceHidden(imeTarget, imeTarget.mAttrs)); in shouldForceHide() 272 && mPolicy.canShowDismissingWindowWhileLockedLw(); in shouldForceHide() 275 boolean keyguardOn = mPolicy.isKeyguardShowingOrOccluded() in shouldForceHide() 298 if (!mPolicy.isKeyguardHostWindow(win.mAttrs)) { in updateWindowsLocked() 337 boolean canBeForceHidden = mPolicy.canBeForceHidden(win, win.mAttrs); in updateWindowsLocked() 362 if (mPolicy.isForceHiding(win.mAttrs)) { in updateWindowsLocked() 379 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 | 396 final WindowManagerPolicy mPolicy = new PhoneWindowManager(); field in WindowManagerService 568 return mPolicy.windowTypeToLayerLw(LayoutParams.TYPE_DRAG) * TYPE_LAYER_MULTIPLIER in getDragLayerLocked() 950 mPolicy.init(mContext, WindowManagerService.this, WindowManagerService.this); in initPolicy() 980 LocalServices.addService(WindowManagerPolicy.class, mPolicy); in WindowManagerService() 991 mKeyguardDisableHandler = new KeyguardDisableHandler(mContext, mPolicy); in WindowManagerService() 1873 int res = mPolicy.checkAddPermission(attrs, appOp); in addWindow() 2064 mPolicy.adjustWindowParamsLw(win.mAttrs); in addWindow() 2065 win.setShowToOwnerOnlyLocked(mPolicy.checkShowToOwnerOnly(attrs)); in addWindow() 2067 res = mPolicy.prepareAddWindowLw(win, attrs); in addWindow() 2199 if (mPolicy.getInsetHintLw(win.mAttrs, taskBounds, mRotation, in addWindow() [all …]
|
D | WindowSurfacePlacer.java | 667 mService.mPolicy.beginPostLayoutPolicyLw(dw, dh); in applySurfaceChangesTransaction() 671 mService.mPolicy.applyPostLayoutPolicyLw(w, w.mAttrs, in applySurfaceChangesTransaction() 676 mService.mPolicy.finishPostLayoutPolicyLw(); in applySurfaceChangesTransaction() 924 mService.mPolicy.beginLayoutLw(isDefaultDisplay, dw, dh, mService.mRotation, in performLayoutLockedInner() 928 mService.mSystemDecorLayer = mService.mPolicy.getSystemDecorLayerLw(); in performLayoutLockedInner() 932 mService.mPolicy.getContentRectLw(mTmpContentRect); in performLayoutLockedInner() 950 final boolean gone = (behindDream && mService.mPolicy.canBeForceHidden(win, win.mAttrs)) in performLayoutLockedInner() 997 mService.mPolicy.layoutWindowLw(win, null); in performLayoutLockedInner() 1035 if (attachedBehindDream && mService.mPolicy.canBeForceHidden(win, win.mAttrs)) { in performLayoutLockedInner() 1046 mService.mPolicy.layoutWindowLw(win, win.mAttachedWindow); in performLayoutLockedInner() [all …]
|
D | InputConsumerImpl.java | 79 return mService.mPolicy.windowTypeToLayerLw(windowType) in getLayerLw()
|
D | DockedStackDividerController.java | 185 mService.mPolicy.getStableInsetsLw(rotation, mTmpRect2.width(), mTmpRect2.height(), in getSmallestWidthDpForBounds() 206 mService.mPolicy.getStableInsetsLw(rotation, dw, dh, mTmpRect); in initSnapAlgorithmForRotations() 210 (mService.mPolicy.getConfigDisplayWidth(dw, dh, rotation, baseConfig.uiMode) / in initSnapAlgorithmForRotations() 213 (mService.mPolicy.getConfigDisplayHeight(dw, dh, rotation, baseConfig.uiMode) / in initSnapAlgorithmForRotations()
|
D | TaskStack.java | 436 if (mService.mPolicy.isDockSideAllowed(dockSide)) { in repositionDockedStackAfterRotation() 483 mService.mPolicy.getStableInsetsLw(rotation, displayWidth, displayHeight, outBounds); in snapDockedStackAfterRotation() 740 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getStackDockedModeBounds() 1239 final boolean keyguardOn = mService.mPolicy.isKeyguardShowingOrOccluded() in isVisibleLocked()
|
D | WindowStateAnimator.java | 110 final WindowManagerPolicy mPolicy; field in WindowStateAnimator 249 mPolicy = service.mPolicy; in WindowStateAnimator() 1353 final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw(); in adjustCropToStackBounds() 1354 if (w == winShowWhenLocked && mPolicy.isKeyguardShowingOrOccluded()) { in adjustCropToStackBounds() 1877 int anim = mPolicy.selectAnimationLw(mWin, transit); in applyAnimationLocked()
|
D | WindowState.java | 137 final WindowManagerPolicy mPolicy; field in WindowState 542 mPolicy = mService.mPolicy; in WindowState() 571 mBaseLayer = mPolicy.windowTypeToLayerLw( in WindowState() 574 mSubLayer = mPolicy.subWindowTypeToLayerLw(a.type); in WindowState() 610 mBaseLayer = mPolicy.windowTypeToLayerLw(a.type) in WindowState() 2433 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 | 81 mPolicy(policy), mLooper(looper), mSpriteController(spriteController) { in PointerController() 111 mLocked.requestedPointerType= mPolicy->getDefaultPointerIconId(); in PointerController() 118 mPolicy->loadPointerIcon(&mLocked.pointerIcon); in PointerController() 276 mPolicy->loadAdditionalMouseResources(&mLocked.additionalMouseResources, in setPresentation() 367 mPolicy->loadPointerIcon(&mLocked.pointerIcon); in reloadPointerResources() 368 mPolicy->loadAdditionalMouseResources(&mLocked.additionalMouseResources, in reloadPointerResources() 469 const int32_t iconId = mPolicy->getCustomPointerIconId(); in setCustomPointerIcon() 634 if (mLocked.requestedPointerType== mPolicy->getDefaultPointerIconId()) { in updatePointerLocked() 735 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 | 195 private WindowManagerPolicy mPolicy; field in PowerManagerService 584 mPolicy = getLocalService(WindowManagerPolicy.class); in systemReady() 600 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());
|