Home
last modified time | relevance | path

Searched refs:mWm (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DAppTransitionTests.java48 private WindowManagerService mWm; field in AppTransitionTests
53 mWm = mRule.getWindowManagerService(); in setUp()
58 mWm.prepareAppTransition(TRANSIT_ACTIVITY_OPEN, false /* alwaysKeepCurrent */); in testKeyguardOverride()
59 mWm.prepareAppTransition(TRANSIT_KEYGUARD_GOING_AWAY, false /* alwaysKeepCurrent */); in testKeyguardOverride()
60 assertEquals(TRANSIT_KEYGUARD_GOING_AWAY, mWm.mAppTransition.getAppTransition()); in testKeyguardOverride()
65 mWm.prepareAppTransition(TRANSIT_KEYGUARD_GOING_AWAY, false /* alwaysKeepCurrent */); in testKeyguardKeep()
66 mWm.prepareAppTransition(TRANSIT_ACTIVITY_OPEN, false /* alwaysKeepCurrent */); in testKeyguardKeep()
67 assertEquals(TRANSIT_KEYGUARD_GOING_AWAY, mWm.mAppTransition.getAppTransition()); in testKeyguardKeep()
72 mWm.prepareAppTransition(TRANSIT_KEYGUARD_UNOCCLUDE, false /* alwaysKeepCurrent */); in testForceOverride()
73 mWm.prepareAppTransition(TRANSIT_ACTIVITY_OPEN, false /* alwaysKeepCurrent */, in testForceOverride()
[all …]
DScreenDecorWindowTests.java85 private WindowManager mWm; field in ScreenDecorWindowTests
102 mWm = dContext.getSystemService(WindowManager.class); in setUp()
207 mWm.addView(view, lp); in createWindow()
226 mWm.updateViewLayout(v, lp); in updateWindow()
233 Handler.getMain().runWithScissors(() -> mWm.removeView(v), 0); in removeWindow()
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DWindowManagerPermissionTests.java33 IWindowManager mWm; field in WindowManagerPermissionTests
38 mWm = IWindowManager.Stub.asInterface( in setUp()
45 mWm.setEventDispatching(true); in testMANAGE_APP_TOKENS()
55 mWm.addWindowToken(null, 0, DEFAULT_DISPLAY); in testMANAGE_APP_TOKENS()
65 mWm.removeWindowToken(null, DEFAULT_DISPLAY); in testMANAGE_APP_TOKENS()
75 mWm.updateOrientationFromAppTokens(new Configuration(), in testMANAGE_APP_TOKENS()
86 mWm.setFocusedApp(null, false); in testMANAGE_APP_TOKENS()
96 mWm.prepareAppTransition(0, false); in testMANAGE_APP_TOKENS()
106 mWm.executeAppTransition(); in testMANAGE_APP_TOKENS()
120 mWm.disableKeyguard(token, "foo"); in testDISABLE_KEYGUARD()
[all …]
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java84 private WallpaperManager mWm; field in WallpaperBackupAgent
96 mWm = (WallpaperManager) getSystemService(Context.WALLPAPER_SERVICE); in onCreate()
127 mWm.getWallpaperIdForUser(FLAG_SYSTEM, UserHandle.USER_SYSTEM); in onFullBackup()
129 mWm.getWallpaperIdForUser(FLAG_LOCK, UserHandle.USER_SYSTEM); in onFullBackup()
133 final boolean sysEligible = mWm.isWallpaperBackupEligible(FLAG_SYSTEM); in onFullBackup()
134 final boolean lockEligible = mWm.isWallpaperBackupEligible(FLAG_LOCK); in onFullBackup()
138 … ParcelFileDescriptor lockFd = mWm.getWallpaperFile(FLAG_LOCK, UserHandle.USER_SYSTEM); in onFullBackup()
232 mWm.setWallpaperComponent(wpService, UserHandle.USER_SYSTEM); in onRestoreFinished()
236 mWm.clear(FLAG_LOCK); in onRestoreFinished()
273 mWm.setStream(in, cropHint.isEmpty() ? null : cropHint, true, which); in restoreFromStage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java44 private final WindowManager mWm; field in AssistDisclosure
53 mWm = mContext.getSystemService(WindowManager.class); in AssistDisclosure()
75 mWm.addView(mView, lp); in show()
82 mWm.removeView(mView); in hide()
/frameworks/base/cmds/am/src/com/android/commands/am/
DInstrument.java66 private final IWindowManager mWm; field in Instrument
93 mWm = IWindowManager.Stub.asInterface(ServiceManager.getService("window")); in Instrument()
457 oldAnims = mWm.getAnimationScales(); in run()
458 mWm.setAnimationScale(0, 0.0f); in run()
459 mWm.setAnimationScale(1, 0.0f); in run()
460 mWm.setAnimationScale(2, 0.0f); in run()
507 mWm.setAnimationScales(oldAnims); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java102 WindowManager mWm; field in SystemServicesProxy
139 mWm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in SystemServicesProxy()
144 mDisplay = mWm.getDefaultDisplay(); in SystemServicesProxy()
448 if (mWm == null) return; in registerDockedStackListener()
471 mWm.requestAppKeyboardShortcuts(receiver, deviceId); in requestKeyboardShortcuts()
475 if (mWm == null) return; in getStableInsets()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DAssistDataRequesterTest.java90 private IWindowManager mWm; field in AssistDataRequesterTest
107 mWm = mock(IWindowManager.class); in setUp()
113 mDataRequester = new AssistDataRequester(mContext, mAm, mWm, mAppOpsManager, mCallbacks, in setUp()
140 }).when(mWm).requestAssistScreenshot(any()); in setUp()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DFillUi.java638 private final WindowManager mWm;
650 mWm = contentView.getContext().getSystemService(WindowManager.class);
669 mWm.addView(mContentView, params);
673 mWm.updateViewLayout(mContentView, params);
697 mWm.removeView(mContentView);
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java189 private WifiManager mWm; field in SipAudioCall
203 mWm = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in SipAudioCall()
852 return (mWm.getConnectionInfo().getBSSID() == null) ? false : true;