Home
last modified time | relevance | path

Searched refs:mPolicy (Results 1 – 25 of 40) 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()
DDisplayContent.java498 final boolean gone = (mTmpWindow != null && mService.mPolicy.canBeHiddenByKeyguardLw(w))
538 mService.mPolicy.layoutWindowLw(w, null);
568 if (mTmpWindow != null && mService.mPolicy.canBeHiddenByKeyguardLw(w)) {
579 mService.mPolicy.layoutWindowLw(w, w.getParentWindow());
599 w -> mService.mPolicy.applyPostLayoutPolicyLw(w, w.mAttrs, w.getParentWindow(),
952 int rotation = mService.mPolicy.rotationForOrientationLw(lastOrientation, oldRotation); in updateRotationUnchecked()
953 boolean mayRotateSeamlessly = mService.mPolicy.shouldRotateSeamlessly(oldRotation, in updateRotationUnchecked()
985 final boolean altOrientation = !mService.mPolicy.rotationHasCompatibleMetricsLw( in updateRotationUnchecked()
1008 mService.mPolicy.setRotationLw(rotation); in updateRotationUnchecked()
1021 mService.mPolicy.selectRotationAnimationLw(anim); in updateRotationUnchecked()
[all …]
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()
DWindowManagerService.java410 final WindowManagerPolicy mPolicy; field in WindowManagerService
559 … return mPolicy.getWindowLayerFromTypeLw(TYPE_DRAG) * TYPE_LAYER_MULTIPLIER + TYPE_LAYER_OFFSET; in getDragLayerLocked()
1022 mPolicy.init(mContext, WindowManagerService.this, WindowManagerService.this); in initPolicy()
1054 mPolicy = policy; in WindowManagerService()
1057 LocalServices.addService(WindowManagerPolicy.class, mPolicy); in WindowManagerService()
1074 mKeyguardDisableHandler = new KeyguardDisableHandler(mContext, mPolicy); in WindowManagerService()
1205 int res = mPolicy.checkAddPermission(attrs, appOp); in addWindow()
1407 mPolicy.adjustWindowParamsLw(win.mAttrs); in addWindow()
1408 win.setShowToOwnerOnlyLocked(mPolicy.checkShowToOwnerOnly(attrs)); in addWindow()
1410 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()
603 if (mMinimizedDock && mService.mPolicy.isKeyguardShowingAndNotOccluded()) { in checkMinimizeChanged()
DWindowAnimator.java49 final WindowManagerPolicy mPolicy; field in WindowAnimator
96 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()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozePauser.java31 private final AlwaysOnDisplayPolicy mPolicy; field in DozePauser
37 mPolicy = policy; in DozePauser()
44 mPauseTimeout.schedule(mPolicy.proxScreenOffDelayMs, in transitionTo()
DDozeSensors.java214 final AlwaysOnDisplayPolicy mPolicy; field in DozeSensors.ProxSensor
218 mPolicy = policy; in ProxSensor()
266 } else if (mCurrentlyFar && now - mLastNear < mPolicy.proxCooldownTriggerMs) { in onSensorChanged()
270 mCooldownTimer.schedule(mPolicy.proxCooldownPeriodMs, in onSensorChanged()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyboardInterceptor.java37 private final WindowManagerPolicy mPolicy; field in KeyboardInterceptor
50 mPolicy = policy; in KeyboardInterceptor()
63 mPolicy = policy; in KeyboardInterceptor()
177 return mPolicy.interceptKeyBeforeDispatching(null, event, policyFlags); in getEventDelay()
/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.java92 private final WindowManagerPolicy mPolicy; field in Notifier
137 mPolicy = policy; in Notifier()
407 mPolicy.startedWakingUp(); in handleEarlyInteractiveChange()
422 mPolicy.startedGoingToSleep(why); in handleEarlyInteractiveChange()
441 mPolicy.finishedWakingUp(); in handleLateInteractiveChange()
467 mPolicy.finishedGoingToSleep(why); in handleLateInteractiveChange()
587 mPolicy.userActivity(); in sendUserActivity()
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache.cpp45 mPolicy(defaultPolicy()), in NNCache()
65 mPolicy = policy; in initialize()
142 mBlobCache.reset(new BlobCache(mMaxKeySize, mMaxValueSize, mMaxTotalSize, mPolicy)); in getBlobCacheLocked()
DnnCache.h126 Policy mPolicy; variable
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp203 mPolicy(policy), in InputDispatcher()
2447 mPolicy->interceptKeyBeforeQueueing(&event, /*byref*/ policyFlags); in notifyKey()
2457 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyKey()
2516 mPolicy->interceptMotionBeforeQueueing(args->eventTime, /*byref*/ policyFlags); in notifyMotion()
2533 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyMotion()
2572 mPolicy->notifySwitch(args->eventTime, in notifySwitch()
2628 mPolicy->interceptKeyBeforeQueueing(keyEvent, /*byref*/ policyFlags); in injectInputEvent()
2653 mPolicy->interceptMotionBeforeQueueing(eventTime, /*byref*/ policyFlags); in injectInputEvent()
2775 || mPolicy->checkInjectEventsPermissionNonReentrant(injectorPid, injectorUid); in hasInjectionPermission()
3498 mPolicy->notifyConfigurationChanged(commandEntry->eventTime); in doNotifyConfigurationChangedInterruptible()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DDisplayContentTests.java327 ((TestWindowManagerPolicy)sWm.mPolicy).keyguardShowingAndNotOccluded = true; in testKeyguard_preventsSecondaryDisplayFocus()
331 ((TestWindowManagerPolicy)sWm.mPolicy).keyguardShowingAndNotOccluded = false; in testKeyguard_preventsSecondaryDisplayFocus()
DAppWindowContainerControllerTests.java159 ((TestWindowManagerPolicy) sWm.mPolicy).setRunnableWhenAddingSplashScreen(() -> { in testTransferStartingWindowWhileCreating()
DAppWindowTokenTests.java182 ((TestWindowManagerPolicy) sWm.mPolicy).rotationToReport = rotationToReport; in performRotation()

12