/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | WindowManagerPermissionTests.java | 33 IWindowManager mWm; field in WindowManagerPermissionTests 38 mWm = IWindowManager.Stub.asInterface( in setUp() 45 mWm.pauseKeyDispatching(null); in testMANAGE_APP_TOKENS() 55 mWm.resumeKeyDispatching(null); in testMANAGE_APP_TOKENS() 65 mWm.setEventDispatching(true); in testMANAGE_APP_TOKENS() 75 mWm.addWindowToken(null, 0); in testMANAGE_APP_TOKENS() 85 mWm.removeWindowToken(null); in testMANAGE_APP_TOKENS() 95 mWm.addAppToken(0, null, 0, 0, 0, false, false, 0, 0, false, false, null, in testMANAGE_APP_TOKENS() 106 mWm.setAppTask(null, 0, INVALID_STACK_ID, null, null, 0, false); in testMANAGE_APP_TOKENS() 116 mWm.updateOrientationFromAppTokens(new Configuration(), null); in testMANAGE_APP_TOKENS() [all …]
|
/frameworks/base/cmds/wm/src/com/android/commands/wm/ |
D | Wm.java | 38 private IWindowManager mWm; field in Wm 77 mWm = IWindowManager.Stub.asInterface(ServiceManager.checkService( in onRun() 79 if (mWm == null) { in onRun() 120 mWm.setScreenCaptureDisabled(userId, disable); in runSetScreenCapture() 133 mWm.getInitialDisplaySize(Display.DEFAULT_DISPLAY, initialSize); in runDisplaySize() 134 mWm.getBaseDisplaySize(Display.DEFAULT_DISPLAY, baseSize); in runDisplaySize() 164 mWm.setForcedDisplaySize(Display.DEFAULT_DISPLAY, w, h); in runDisplaySize() 166 mWm.clearForcedDisplaySize(Display.DEFAULT_DISPLAY); in runDisplaySize() 177 int initialDensity = mWm.getInitialDisplayDensity(Display.DEFAULT_DISPLAY); in runDisplayDensity() 178 int baseDensity = mWm.getBaseDisplayDensity(Display.DEFAULT_DISPLAY); in runDisplayDensity() [all …]
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 84 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() 218 mWm.clear(FLAG_SYSTEM | FLAG_LOCK); in onRestoreFinished() 232 mWm.setWallpaperComponent(wpService, UserHandle.USER_SYSTEM); in onRestoreFinished() 268 mWm.setStream(in, cropHint.isEmpty() ? null : cropHint, true, which); in restoreFromStage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistDisclosure.java | 44 private final WindowManager mWm; field in AssistDisclosure 53 mWm = mContext.getSystemService(WindowManager.class); in AssistDisclosure() 76 mWm.addView(mView, lp); in show() 83 mWm.removeView(mView); in hide()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | SystemServicesProxy.java | 122 WindowManager mWm; field in SystemServicesProxy 209 mWm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in SystemServicesProxy() 211 mDisplay = mWm.getDefaultDisplay(); in SystemServicesProxy() 544 if (mWm == null) return; in cancelWindowTransition() 557 if (mWm == null) return; in cancelThumbnailTransition() 1035 if (mWm == null) { in endProlongedAnimations() 1046 if (mWm == null) return; in registerDockedStackListener() 1069 mWm.requestAppKeyboardShortcuts(receiver, deviceId); in requestKeyboardShortcuts() 1073 if (mWm == null) return; in getStableInsets()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipAudioCall.java | 189 private WifiManager mWm; field in SipAudioCall 203 mWm = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in SipAudioCall() 852 return (mWm.getConnectionInfo().getBSSID() == null) ? false : true;
|