Home
last modified time | relevance | path

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

12

/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java102 private Policy mPolicy = null; field in PasspointConfiguration
107 mPolicy = policy; in setPolicy()
113 return mPolicy; in getPolicy()
347 if (source.mPolicy != null) { in PasspointConfiguration()
348 mPolicy = new Policy(source.mPolicy); in PasspointConfiguration()
376 dest.writeParcelable(mPolicy, flags); in writeToParcel()
402 && (mPolicy == null ? that.mPolicy == null : mPolicy.equals(that.mPolicy)) in equals()
419 return Objects.hash(mHomeSp, mCredential, mPolicy, mSubscriptionUpdate, mTrustRootCertList, in hashCode()
452 if (mPolicy != null) { in toString()
454 builder.append(mPolicy); in toString()
[all …]
/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()
DInputMonitor.java242 int systemAlertLayer = mService.mPolicy.getWindowLayerFromTypeLw( in notifyANR()
435 mService.mPolicy.notifyLidSwitchChanged(whenNanos, lidOpen); in notifyLidSwitchChanged()
441 mService.mPolicy.notifyCameraLensCoverSwitchChanged(whenNanos, lensCovered); in notifyCameraLensCoverSwitchChanged()
448 return mService.mPolicy.interceptKeyBeforeQueueing(event, policyFlags); in interceptKeyBeforeQueueing()
456 return mService.mPolicy.interceptMotionBeforeQueueingNonInteractive( in interceptMotionBeforeQueueingNonInteractive()
466 return mService.mPolicy.interceptKeyBeforeDispatching(windowState, event, policyFlags); in interceptKeyBeforeDispatching()
475 return mService.mPolicy.dispatchUnhandledKey(windowState, event, policyFlags); in dispatchUnhandledKey()
481 return mService.mPolicy.getWindowLayerFromTypeLw(WindowManager.LayoutParams.TYPE_POINTER) in getPointerLayer()
DDisplayContent.java487 final boolean gone = (mTmpWindow != null && mService.mPolicy.canBeHiddenByKeyguardLw(w))
527 mService.mPolicy.layoutWindowLw(w, null);
557 if (mTmpWindow != null && mService.mPolicy.canBeHiddenByKeyguardLw(w)) {
568 mService.mPolicy.layoutWindowLw(w, w.getParentWindow());
588 w -> mService.mPolicy.applyPostLayoutPolicyLw(w, w.mAttrs, w.getParentWindow(),
941 int rotation = mService.mPolicy.rotationForOrientationLw(lastOrientation, oldRotation); in updateRotationUnchecked()
942 final boolean rotateSeamlessly = mService.mPolicy.shouldRotateSeamlessly(oldRotation, in updateRotationUnchecked()
961 final boolean altOrientation = !mService.mPolicy.rotationHasCompatibleMetricsLw( in updateRotationUnchecked()
984 mService.mPolicy.setRotationLw(rotation); in updateRotationUnchecked()
997 mService.mPolicy.selectRotationAnimationLw(anim); in updateRotationUnchecked()
[all …]
DWindowManagerService.java403 final WindowManagerPolicy mPolicy; field in WindowManagerService
549 … return mPolicy.getWindowLayerFromTypeLw(TYPE_DRAG) * TYPE_LAYER_MULTIPLIER + TYPE_LAYER_OFFSET; in getDragLayerLocked()
992 mPolicy.init(mContext, WindowManagerService.this, WindowManagerService.this); in initPolicy()
1024 mPolicy = policy; in WindowManagerService()
1027 LocalServices.addService(WindowManagerPolicy.class, mPolicy); in WindowManagerService()
1044 mKeyguardDisableHandler = new KeyguardDisableHandler(mContext, mPolicy); in WindowManagerService()
1175 int res = mPolicy.checkAddPermission(attrs, appOp); in addWindow()
1370 mPolicy.adjustWindowParamsLw(win.mAttrs); in addWindow()
1371 win.setShowToOwnerOnlyLocked(mPolicy.checkShowToOwnerOnly(attrs)); in addWindow()
1373 res = mPolicy.prepareAddWindowLw(win, attrs); in addWindow()
[all …]
DDockedStackDividerController.java180 mService.mPolicy.getStableInsetsLw(rotation, mTmpRect2.width(), mTmpRect2.height(), in getSmallestWidthDpForBounds()
190 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getHomeStackBoundsInDockedMode()
229 mService.mPolicy.getStableInsetsLw(rotation, dw, dh, mTmpRect); in initSnapAlgorithmForRotations()
234 final int appWidth = mService.mPolicy.getNonDecorDisplayWidth(dw, dh, rotation, in initSnapAlgorithmForRotations()
236 final int appHeight = mService.mPolicy.getNonDecorDisplayHeight(dw, dh, rotation, in initSnapAlgorithmForRotations()
238 mService.mPolicy.getNonDecorInsetsLw(rotation, dw, dh, mTmpRect); in initSnapAlgorithmForRotations()
246 (mService.mPolicy.getConfigDisplayWidth(dw, dh, rotation, baseConfig.uiMode, in initSnapAlgorithmForRotations()
249 (mService.mPolicy.getConfigDisplayHeight(dw, dh, rotation, baseConfig.uiMode, in initSnapAlgorithmForRotations()
602 if (mMinimizedDock && mService.mPolicy.isKeyguardShowingAndNotOccluded()) { in checkMinimizeChanged()
DWindowAnimator.java50 final WindowManagerPolicy mPolicy; field in WindowAnimator
97 mPolicy = service.mPolicy; in WindowAnimator()
DSplashScreenStartingData.java55 return mService.mPolicy.addSplashScreen(atoken.token, mPkg, mTheme, mCompatInfo, in createStartingSurface()
DInputConsumerImpl.java80 return mService.mPolicy.getWindowLayerFromTypeLw(windowType) in getLayerLw()
DStackWindowController.java272 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in adjustConfigurationForBounds()
274 mService.mPolicy.getNonDecorInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in adjustConfigurationForBounds()
DWallpaperController.java140 && mService.mPolicy.isKeyguardLocked()
141 && mService.mPolicy.isKeyguardOccluded()) {
DAccessibilityController.java421 WindowManagerPolicy policy = mWindowManagerService.mPolicy; in getMagnificationSpecForWindowLocked()
568 if (mWindowManagerService.mPolicy.canMagnifyWindow(windowState.mAttrs.type)) { in recomputeBoundsLocked()
717 mSurfaceControl.setLayer(mWindowManagerService.mPolicy.getWindowLayerFromTypeLw( in ViewportWindow()
DTaskStack.java480 if (mService.mPolicy.isDockSideAllowed(dockSide)) { in repositionDockedStackAfterRotation()
526 mService.mPolicy.getStableInsetsLw(rotation, displayWidth, displayHeight, outBounds); in snapDockedStackAfterRotation()
827 mService.mPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getStackDockedModeBounds()
DWindowSurfacePlacer.java331 if (!mService.mPolicy.allowAppAnimationsLw()) { in handleAppTransitionReadyLocked()
486 Animation anim = mService.mPolicy.createKeyguardWallpaperExit( in handleNonAppWindowsInTransition()
DWindowState.java168 final WindowManagerPolicy mPolicy; field in WindowState
597 mPolicy = mService.mPolicy; in WindowState()
625 mBaseLayer = mPolicy.getWindowLayerLw(parentWindow) in WindowState()
627 mSubLayer = mPolicy.getSubWindowLayerFromTypeLw(a.type); in WindowState()
641 mBaseLayer = mPolicy.getWindowLayerLw(this) in WindowState()
1740 mPolicy.removeWindowLw(this); in removeImmediately()
3109 mPolicy.isNavBarForcedShownLw(this), displayId); in dispatchResized()
DWindowStateAnimator.java107 final WindowManagerPolicy mPolicy; field in WindowStateAnimator
245 mPolicy = service.mPolicy; in WindowStateAnimator()
1785 int anim = mPolicy.selectAnimationLw(mWin, transit); in applyAnimationLocked()
DPinnedStackController.java434 mService.mPolicy.getStableInsetsLw(mDisplayInfo.rotation, mDisplayInfo.logicalWidth, in getInsetBounds()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/
DRemediationHandler.java441 private final boolean mPolicy; field in RemediationHandler.RemediationEvent
450 mPolicy = segments[1].equals("1"); in RemediationEvent()
456 mPolicy = policy; in RemediationEvent()
465 return mPolicy; in isPolicy()
474 return String.format("%s %c %d", mFqdn, mPolicy ? '1' : '0', mLastUpdate); in toString()
482 private final boolean mPolicy; field in RemediationHandler.PendingUpdate
486 mPolicy = policy; in PendingUpdate()
495 mPolicy = false; in PendingUpdate()
514 if (mPolicy) { in passesRestriction()
537 mUrl, mPolicy, network); in remediate()
[all …]
/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.java93 private final WindowManagerPolicy mPolicy; field in Notifier
139 mPolicy = policy; in Notifier()
410 mPolicy.startedWakingUp(); in handleEarlyInteractiveChange()
425 mPolicy.startedGoingToSleep(why); in handleEarlyInteractiveChange()
444 mPolicy.finishedWakingUp(); in handleLateInteractiveChange()
470 mPolicy.finishedGoingToSleep(why); in handleLateInteractiveChange()
593 mPolicy.userActivity(); in sendUserActivity()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp203 mPolicy(policy), in InputDispatcher()
2450 mPolicy->interceptKeyBeforeQueueing(&event, /*byref*/ policyFlags); in notifyKey()
2460 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyKey()
2519 mPolicy->interceptMotionBeforeQueueing(args->eventTime, /*byref*/ policyFlags); in notifyMotion()
2536 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyMotion()
2575 mPolicy->notifySwitch(args->eventTime, in notifySwitch()
2630 mPolicy->interceptKeyBeforeQueueing(keyEvent, /*byref*/ policyFlags); in injectInputEvent()
2655 mPolicy->interceptMotionBeforeQueueing(eventTime, /*byref*/ policyFlags); in injectInputEvent()
2777 || mPolicy->checkInjectEventsPermissionNonReentrant(injectorPid, injectorUid); in hasInjectionPermission()
3500 mPolicy->notifyConfigurationChanged(commandEntry->eventTime); in doNotifyConfigurationChangedInterruptible()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DAppWindowContainerControllerTests.java159 ((TestWindowManagerPolicy) sWm.mPolicy).setRunnableWhenAddingSplashScreen(() -> { in testTransferStartingWindowWhileCreating()
DAppWindowTokenTests.java164 ((TestWindowManagerPolicy) sWm.mPolicy).rotationToReport = rotationToReport; in performRotation()

12