Home
last modified time | relevance | path

Searched refs:mPolicy (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/tools/aapt2/
DNameMangler.h44 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/
DSubscriptionTimer.java27 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/
DKeyguardDisableHandler.java48 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()
DWindowAnimator.java75 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 …]
DInputMonitor.java124 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()
DWindowManagerService.java392 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 …]
DWindowSurfacePlacer.java663 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 …]
DInputConsumerImpl.java79 return mService.mPolicy.windowTypeToLayerLw(windowType) in getLayerLw()
DDockedStackDividerController.java183 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()
DTaskStack.java437 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()
DWindowStateAnimator.java110 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()
DWindowState.java137 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()
DAccessibilityController.java391 WindowManagerPolicy policy = mWindowManagerService.mPolicy; in getMagnificationSpecForWindowLocked()
531 if (mWindowManagerService.mPolicy.canMagnifyWindow(windowState.mAttrs.type)) { in recomputeBoundsLocked()
684 mSurfaceControl.setLayer(mWindowManagerService.mPolicy.windowTypeToLayerLw( in ViewportWindow()
DDragState.java218 return mService.mPolicy.windowTypeToLayerLw(WindowManager.LayoutParams.TYPE_DRAG) in getDragLayerLw()
DSession.java269 return mService.mPolicy.performHapticFeedbackLw( in performHapticFeedback()
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
DHomeSP.java27 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/
DPointerController.cpp58 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()
DPointerController.h143 sp<PointerControllerPolicyInterface> mPolicy; variable
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java91 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()
DPowerManagerService.java193 private WindowManagerPolicy mPolicy; field in PowerManagerService
578 mPolicy = getLocalService(WindowManagerPolicy.class); in systemReady()
593 mPolicy); in systemReady()
/frameworks/base/graphics/java/android/graphics/
DAtlas.java70 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/
DHomeSP.java49 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/
DInputDispatcher.cpp203 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 …]
DInputDispatcher.h852 sp<InputDispatcherPolicyInterface> mPolicy; variable
/frameworks/base/docs/html/work/
Ddevice-management-policy.jd129 if (!mPolicy.isAdminActive()) {
136 mPolicy.getPolicyAdmin());

12