Home
last modified time | relevance | path

Searched refs:wc (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrganizerController.java138 final WindowContainer wc = WindowContainer.fromBinder(entry.getKey()); in applySyncTransaction() local
139 if (!wc.isAttached()) { in applySyncTransaction()
140 Slog.e(TAG, "Attempt to operate on detached container: " + wc); in applySyncTransaction()
147 addToSyncSet(syncId, wc); in applySyncTransaction()
150 int containerEffect = applyWindowContainerChange(wc, entry.getValue()); in applySyncTransaction()
156 haveConfigChanges.add(wc); in applySyncTransaction()
163 final WindowContainer wc = WindowContainer.fromBinder(hop.getContainer()); in applySyncTransaction() local
164 if (!wc.isAttached()) { in applySyncTransaction()
165 Slog.e(TAG, "Attempt to operate on detached container: " + wc); in applySyncTransaction()
169 addToSyncSet(syncId, wc); in applySyncTransaction()
[all …]
DWindowContainer.java651 final WindowContainer wc = mChildren.get(i); in removeIfPossible() local
652 wc.removeIfPossible(); in removeIfPossible()
814 final WindowContainer wc = mChildren.get(i); in setWaitingForDrawnIfResizingChanged() local
815 wc.setWaitingForDrawnIfResizingChanged(); in setWaitingForDrawnIfResizingChanged()
821 final WindowContainer wc = mChildren.get(i); in onResize() local
822 wc.onParentResize(); in onResize()
840 final WindowContainer wc = mChildren.get(i); in onMovedByResize() local
841 wc.onMovedByResize(); in onMovedByResize()
847 final WindowContainer wc = mChildren.get(i); in resetDragResizingChangeReported() local
848 wc.resetDragResizingChangeReported(); in resetDragResizingChangeReported()
[all …]
DBLASTSyncEngine.java82 boolean addToSync(WindowContainer wc) { in addToSync() argument
83 if (wc.prepareForSync(this, mSyncId)) { in addToSync()
111 boolean addToSyncSet(int id, WindowContainer wc) { in addToSyncSet() argument
113 return st.addToSync(wc); in addToSyncSet()
DAppTransitionController.java272 static ActivityRecord getAppFromContainer(WindowContainer wc) { in getAppFromContainer() argument
273 return wc.asTask() != null ? wc.asTask().getTopNonFinishingActivity() in getAppFromContainer()
274 : wc.asActivityRecord(); in getAppFromContainer()
372 final WindowContainer wc = wcs.valueAt(i); in applyAnimations() local
380 if (app.isDescendantOf(wc)) { in applyAnimations()
384 wc.applyAnimation(animLp, transit, visible, voiceInteraction, transitioningDescendants); in applyAnimations()
423 for (WindowContainer wc = otherApps.valueAt(i); wc != null; wc = wc.getParent()) { in getAnimationTargets()
424 otherAncestors.add(wc); in getAnimationTargets()
543 final WindowContainer wc = app.getAnimatingContainer(PARENTS, in handleOpeningApps() local
545 if (wc == null || !wc.getAnimationSources().contains(app)) { in handleOpeningApps()
[all …]
DInputConsumerImpl.java154 void reparent(SurfaceControl.Transaction t, WindowContainer wc) { in reparent() argument
155 t.reparent(mInputSurface, wc.getSurfaceControl()); in reparent()
DActivityMetricsLogger.java278 boolean contains(WindowContainer wc) { in contains() argument
279 final ActivityRecord r = AppTransitionController.getAppFromContainer(wc); in contains()
439 private TransitionInfo getActiveTransitionInfo(WindowContainer wc) { in getActiveTransitionInfo() argument
442 if (info.contains(wc)) { in getActiveTransitionInfo()
632 final WindowContainer wc = activityToReason.keyAt(index); in notifyTransitionStarting() local
633 final TransitionInfo info = getActiveTransitionInfo(wc); in notifyTransitionStarting()
639 Slog.i(TAG, "notifyTransitionStarting activity=" + wc + " info=" + info); in notifyTransitionStarting()
DTaskDisplayArea.java1721 final WindowContainer wc = stack.getParent(); in getStackAbove() local
1722 final int index = wc.mChildren.indexOf(stack) + 1; in getStackAbove()
1723 return (index < wc.mChildren.size()) ? (ActivityStack) wc.mChildren.get(index) : null; in getStackAbove()
DAppTransition.java438 final WindowContainer wc = in goodToGo() local
440 final AnimationAdapter topOpeningAnim = wc != null ? wc.getAnimation() : null; in goodToGo()
DTask.java2753 private int getAdjustedChildPosition(WindowContainer wc, int suggestedPosition) { in getAdjustedChildPosition() argument
2754 final boolean canShowChild = wc.showToCurrentUser(); in getAdjustedChildPosition()
2763 if (!wc.isAlwaysOnTop()) { in getAdjustedChildPosition()
3678 final WindowContainer wc = parent.getChildAt(i);
3679 final Task other = wc.asTask();
DWindowManagerService.java6162 mWaitingForDrawnCallbacks.forEach((wc, callback) -> { in dumpWindowsNoHeaderLocked() argument
6164 pw.println(wc.getName()); in dumpWindowsNoHeaderLocked()
6165 for (int i = wc.mWaitingForDrawn.size() - 1; i >= 0; i--) { in dumpWindowsNoHeaderLocked()
6166 final WindowState win = (WindowState) wc.mWaitingForDrawn.get(i); in dumpWindowsNoHeaderLocked()
/frameworks/base/core/tests/coretests/src/android/os/
DWorkSourceTest.java151 WorkChain wc = ws.createWorkChain(); in testWorkSourceParcelling() local
152 wc.addNode(56, "foo"); in testWorkSourceParcelling()
153 wc.addNode(75, "baz"); in testWorkSourceParcelling()
173 WorkChain wc = ws2.createWorkChain(); in testSet_workChains() local
174 wc.addNode(75, "tag"); in testSet_workChains()
191 wc.addNode(50, "tag2"); in testSet_workChains()
199 WorkChain wc = ws.createWorkChain(); in testSet_nullWorkChain() local
200 wc.addNode(75, "tag"); in testSet_nullWorkChain()
371 WorkChain wc = ws.createWorkChain(); in testGetAttributionWhenEmpty() local
373 assertEquals(-1, wc.getAttributionUid()); in testGetAttributionWhenEmpty()
[all …]
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DTaskView.java59 void reparentTask(WindowContainerToken wc, SurfaceControl leash) { in reparentTask() argument
60 mWc = wc; in reparentTask()
/frameworks/base/core/java/android/os/
DWorkSource.java439 for (WorkChain wc : other.mChains) { in add()
440 if (!mChains.contains(wc)) { in add()
441 mChains.add(new WorkChain(wc)); in add()
572 final WorkChain wc = new WorkChain(); in createWorkChain() local
573 mChains.add(wc); in createWorkChain()
575 return wc; in createWorkChain()
1142 final WorkChain wc = oldWs.mChains.get(i);
1143 if (newWs.mChains == null || !newWs.mChains.contains(wc)) {
1147 goneChains.add(wc);
1154 final WorkChain wc = newWs.mChains.get(i);
[all …]
/frameworks/base/identity/java/android/security/identity/
DCredstoreIdentityCredentialStore.java105 IWritableCredential wc; in createCredential() local
106 wc = mStore.createCredential(credentialName, docType); in createCredential()
107 return new CredstoreWritableIdentityCredential(mContext, credentialName, docType, wc); in createCredential()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTests.java904 private void verifyWindowContainerApplyAnimation(WindowContainer wc, ActivityRecord act, in verifyWindowContainerApplyAnimation() argument
925 wc.getDisplayContent().prepareAppTransition(TRANSIT_TASK_OPEN, false); in verifyWindowContainerApplyAnimation()
926 wc.getDisplayContent().mAppTransition.overridePendingAppTransitionRemote(adapter); in verifyWindowContainerApplyAnimation()
927 spyOn(wc); in verifyWindowContainerApplyAnimation()
928 doReturn(true).when(wc).okToAnimate(); in verifyWindowContainerApplyAnimation()
936 assertTrue(wc.applyAnimation(null, TRANSIT_TASK_OPEN, true, false, sources)); in verifyWindowContainerApplyAnimation()
938 assertEquals(act, wc.getTopMostActivity()); in verifyWindowContainerApplyAnimation()
939 assertTrue(wc.isAnimating()); in verifyWindowContainerApplyAnimation()
940 assertTrue(wc.isAnimating(0, ANIMATION_TYPE_APP_TRANSITION)); in verifyWindowContainerApplyAnimation()
941 assertTrue(wc.getAnimationSources().contains(act)); in verifyWindowContainerApplyAnimation()
[all …]
DWindowOrganizerTests.java349 private void testTransaction(WindowContainer wc) { in testTransaction() argument
352 t.setBounds(wc.mRemoteToken.toWindowContainerToken(), new Rect(10, 10, 100, 100)); in testTransaction()
354 assertEquals(newBounds, wc.getBounds()); in testTransaction()
368 private void testSetWindowingMode(WindowContainer wc) { in testSetWindowingMode() argument
370 t.setWindowingMode(wc.mRemoteToken.toWindowContainerToken(), WINDOWING_MODE_FULLSCREEN); in testSetWindowingMode()
372 assertEquals(WINDOWING_MODE_FULLSCREEN, wc.getWindowingMode()); in testSetWindowingMode()
/frameworks/base/libs/hwui/tests/scripts/
Dprep_taieye.sh1 nr=$(adb shell cat /proc/cpuinfo | grep processor | wc -l)
Dprep_buller.sh3 nr=$(adb shell cat /proc/cpuinfo | grep processor | wc -l)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java887 final WorkChain wc = workChains.get(i); in preExecThrottleCheck() local
888 int uidImportance = mActivityManager.getUidImportance(wc.getAttributionUid()); in preExecThrottleCheck()
890 Log.v(TAG, "preExecThrottleCheck: workChain=" + wc + " -> importance=" in preExecThrottleCheck()
917 final WorkChain wc = workChains.get(i); in preExecThrottleCheck() local
918 RttRequesterInfo info = mRttRequesterInfo.get(wc.getAttributionUid()); in preExecThrottleCheck()
943 final WorkChain wc = workChains.get(i); in preExecThrottleCheck() local
944 RttRequesterInfo info = mRttRequesterInfo.get(wc.getAttributionUid()); in preExecThrottleCheck()
947 mRttRequesterInfo.put(wc.getAttributionUid(), info); in preExecThrottleCheck()
/frameworks/rs/
Dupdate_rs_prebuilts.sh162 if [ `git status --short --untracked-files=no | wc -l` -ne 0 ]; then
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4142 final WorkChain wc = workChains.get(i); in noteWakupAlarmLocked() local
4143 uid = wc.getAttributionUid(); in noteWakupAlarmLocked()
4220 public void noteStartWakeLocked(int uid, int pid, WorkChain wc, String name, String historyName, in noteStartWakeLocked() argument
4272 if (wc != null) { in noteStartWakeLocked()
4273 FrameworkStatsLog.write(FrameworkStatsLog.WAKELOCK_STATE_CHANGED, wc.getUids(), in noteStartWakeLocked()
4274 wc.getTags(), getPowerManagerWakeLockLevel(type), name, in noteStartWakeLocked()
4284 public void noteStopWakeLocked(int uid, int pid, WorkChain wc, String name, String historyName, in noteStopWakeLocked() argument
4317 if (wc != null) { in noteStopWakeLocked()
4318 FrameworkStatsLog.write(FrameworkStatsLog.WAKELOCK_STATE_CHANGED, wc.getUids(), in noteStopWakeLocked()
4319 wc.getTags(), getPowerManagerWakeLockLevel(type), name, in noteStopWakeLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2985 final Color wc = wallpaper.primaryColors.getMainColors().get(i); in writeWallpaperAttributes() local
2986 out.attribute(null, "colorValue"+i, Integer.toString(wc.toArgb())); in writeWallpaperAttributes()
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password164 fX:T\+�s&�eM ���}^B�YPwc�4-*���N�Po,$mh�J'��P(�?��s�>�U�e�� Y����7�Bō��S�{nc���
Dbackup_telephony_no_password93 %����.}��O��N����M?]\����k�q�Z�X_E�_�G�h.�>����F�ؓo��&l�wc I7?%�d�