OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sWm
(Results
1 - 8
of
8
) sorted by null
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
UnknownAppVisibilityControllerTest.java
42
sWm
.mUnknownAppVisibilityController.clear();
48
sWm
.mUnknownAppVisibilityController.notifyLaunched(token);
49
sWm
.mUnknownAppVisibilityController.notifyAppResumedFinished(token);
50
sWm
.mUnknownAppVisibilityController.notifyRelayouted(token);
54
assertTrue(
sWm
.mUnknownAppVisibilityController.allResolved());
61
sWm
.mUnknownAppVisibilityController.notifyLaunched(token1);
62
sWm
.mUnknownAppVisibilityController.notifyAppResumedFinished(token1);
63
sWm
.mUnknownAppVisibilityController.notifyLaunched(token2);
64
sWm
.mUnknownAppVisibilityController.notifyRelayouted(token1);
65
sWm
.mUnknownAppVisibilityController.notifyAppResumedFinished(token2)
[
all
...]
WindowTestsBase.java
63
static WindowManagerService
sWm
= null;
96
sWm
= TestWindowManagerPolicy.getWindowManagerService(context);
97
mLayersController = new WindowLayersController(
sWm
);
101
sWm
.mDisplayEnabled = true;
102
sWm
.mDisplayReady = true;
108
sWm
.mInputMethodWindow = mImeWindow;
128
synchronized (
sWm
.mWindowMap) {
129
sWm
.mRoot.forAllWindows(w -> {
140
sWm
.mInputMethodTarget = null;
164
sWm
.mH.runWithScissors(() -> { }, 0)
[
all
...]
TaskSnapshotCacheTest.java
46
mCache = new TaskSnapshotCache(
sWm
, mLoader);
85
mPersister.persistSnapshot(window.getTask().mTaskId,
sWm
.mCurrentUserId, createSnapshot());
87
assertNull(mCache.getSnapshot(window.getTask().mTaskId,
sWm
.mCurrentUserId,
91
assertNotNull(mCache.getSnapshot(window.getTask().mTaskId,
sWm
.mCurrentUserId,
95
assertNull(mCache.getSnapshot(window.getTask().mTaskId,
sWm
.mCurrentUserId,
102
mPersister.persistSnapshot(window.getTask().mTaskId,
sWm
.mCurrentUserId, createSnapshot());
104
assertNull(mCache.getSnapshot(window.getTask().mTaskId,
sWm
.mCurrentUserId,
108
assertNotNull(mCache.getSnapshot(window.getTask().mTaskId,
sWm
.mCurrentUserId,
TaskSnapshotControllerTest.java
54
sWm
.mTaskSnapshotController.getClosingTasks(closingApps, closingTasks);
72
sWm
.mTaskSnapshotController.getClosingTasks(closingApps, closingTasks);
82
sWm
.mTaskSnapshotController.getSnapshotMode(disabledWindow.getTask()));
87
sWm
.mTaskSnapshotController.getSnapshotMode(normalWindow.getTask()));
93
sWm
.mTaskSnapshotController.getSnapshotMode(secureWindow.getTask()));
TestWindowManagerPolicy.java
57
private static WindowManagerService
sWm
= null;
64
if (
sWm
== null) {
93
sWm
= WindowManagerService.main(context, mock(InputManagerService.class), true, false,
96
return
sWm
;
200
synchronized (
sWm
.mWindowMap) {
201
atoken =
sWm
.mRoot.getAppWindowToken(appToken);
211
synchronized (
sWm
.mWindowMap) {
AppWindowContainerControllerTests.java
86
sWm
.mDisplayFrozen = false;
159
((TestWindowManagerPolicy)
sWm
.mPolicy).setRunnableWhenAddingSplashScreen(() -> {
AppWindowTokenTests.java
102
sWm
.mDisplayReady = true;
103
sWm
.mDisplayEnabled = true;
119
sWm
.updateOrientationFromAppTokens(mDisplayContent.getOverrideConfiguration(), null,
126
sWm
.updateOrientationFromAppTokens(mDisplayContent.getOverrideConfiguration(), null,
128
sWm
.mRoot.performSurfacePlacement(false /* recoveringMemory */);
137
sWm
.mDisplayReady = true;
138
sWm
.mDisplayEnabled = true;
141
final DisplayContent defaultDisplayContent =
sWm
.getDefaultDisplayContentLocked();
164
((TestWindowManagerPolicy)
sWm
.mPolicy).rotationToReport = rotationToReport;
165
sWm
.updateRotation(false, false)
[
all
...]
DisplayContentTests.java
80
sWm
.mInputMethodTarget = imeAppTarget;
97
sWm
.mInputMethodTarget = mChildAppWindowAbove;
113
sWm
.mInputMethodTarget = mStatusBarWindow;
208
sWm
.setNewDisplayOverrideConfiguration(newOverrideConfig, displayId);
226
sWm
.setNewDisplayOverrideConfiguration(newOverrideConfig, DEFAULT_DISPLAY);
229
Configuration globalConfig =
sWm
.mRoot.getConfiguration();
234
sWm
.setNewDisplayOverrideConfiguration(currentConfig, DEFAULT_DISPLAY);
235
globalConfig =
sWm
.mRoot.getConfiguration();
246
assertEquals(window1,
sWm
.mRoot.computeFocusedWindow());
250
assertEquals(window1,
sWm
.mRoot.computeFocusedWindow())
[
all
...]
Completed in 209 milliseconds