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
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 …]
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.java396 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 …]
DWindowSurfacePlacer.java667 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 …]
DInputConsumerImpl.java79 return mService.mPolicy.windowTypeToLayerLw(windowType) in getLayerLw()
DDockedStackDividerController.java185 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()
DTaskStack.java436 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()
DWindowStateAnimator.java110 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()
DWindowState.java137 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()
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.cpp81 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()
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.java195 private WindowManagerPolicy mPolicy; field in PowerManagerService
584 mPolicy = getLocalService(WindowManagerPolicy.class); in systemReady()
600 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