/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
H A D | CompatConfigBuilder.java | 28 private ArrayList<CompatChange> mChanges; field in CompatConfigBuilder 33 mChanges = new ArrayList<>(); in CompatConfigBuilder() 43 mChanges.add(new CompatChange(id, "", sdk, -1, false, false, "", false)); in addEnableAfterSdkChangeWithId() 53 mChanges.add(new CompatChange(id, "", sdk, -1, true, false, "", false)); in addEnableAfterSdkChangeWithIdDefaultDisabled() 74 mChanges.add(new CompatChange(id, "", -1, sdk, true, false, "", false)); in addEnableSinceSdkChangeWithIdDefaultDisabled() 85 mChanges.add(new CompatChange(id, "", -1, -1, false, false, "", false)); in addEnabledChangeWithId() 99 mChanges.add(new CompatChange(id, "", -1, -1, true, false, "", false)); in addDisabledChangeWithId() 114 mChanges.add(new CompatChange(id, "", -1, -1, false, true, "", false)); in addLoggingOnlyChangeWithId() 119 mChanges.add(new CompatChange(id, "", -1, -1, false, false, "", true)); in addEnabledOverridableChangeWithId() 124 mChanges.add(new CompatChange(id, "", -1, -1, true, false, "", true)); in addDisabledOverridableChangeWithId() [all …]
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ZenModeEventLoggerFake.java | 45 mChanges.add(mChangeState.copy()); in logChanges() 50 mChanges = new ArrayList<>(); in reset() 55 return mChanges.size(); in numLoggedChanges() 60 return i < 0 || i >= mChanges.size(); in outOfRange() 73 return mChanges.get(i).getEventId().getId(); in getEventId() 79 return mChanges.get(i).mPrevZenMode; in getPrevZenMode() 85 return mChanges.get(i).mNewZenMode; in getNewZenMode() 91 return mChanges.get(i).getChangedRuleType(); in getChangedRuleType() 96 return mChanges.get(i).getNumRulesActive(); in getNumRulesActive() 107 return mChanges.get(i).getIsUserAction(); in getIsUserAction() [all …]
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/ |
H A D | WatchableTester.java | 28 public int mChanges = 0; field in WatchableTester 41 mChanges = 0; in clear() 68 mChanges++; in onChange() 73 assertEquals(mKey + " " + msg, want, mChanges); in verify() 79 assertTrue(mKey + " " + msg, mLastChangeCount < mChanges); in verifyChangeReported() 80 mLastChangeCount = mChanges; in verifyChangeReported() 85 assertTrue(mKey + " " + msg, mLastChangeCount == mChanges); in verifyNoChangeReported()
|
/aosp14/frameworks/base/services/core/java/com/android/server/compat/ |
H A D | CompatConfig.java | 125 mChanges.put(change.getId(), change); in addChange() 175 CompatChange c = mChanges.get(changeId); in isChangeEnabled() 192 CompatChange c = mChanges.get(changeId); in willChangeBeEnabled() 295 return mChanges.containsKey(changeId); in isKnownChangeId() 303 CompatChange c = mChanges.get(changeId); in maxTargetSdkForChangeIdOptIn() 314 CompatChange c = mChanges.get(changeId); in isLoggingOnly() 322 CompatChange c = mChanges.get(changeId); in isDisabled() 330 CompatChange c = mChanges.get(changeId); in isOverridable() 359 CompatChange c = mChanges.get(changeId); in removeOverrideUnsafe() 547 mChanges.clear(); in clearChanges() [all …]
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | TaskFragmentTransaction.java | 52 private final ArrayList<Change> mChanges = new ArrayList<>(); field in TaskFragmentTransaction 60 in.readTypedList(mChanges, Change.CREATOR); in TaskFragmentTransaction() 66 dest.writeTypedList(mChanges); in writeToParcel() 77 mChanges.add(change); in addChange() 83 return mChanges.isEmpty(); in isEmpty() 88 return mChanges; in getChanges() 97 for (int i = 0; i < mChanges.size(); ++i) { in toString() 101 sb.append(mChanges.get(i)); in toString()
|
H A D | TransitionInfo.java | 215 in.readTypedList(mChanges, Change.CREATOR); in TransitionInfo() 227 dest.writeTypedList(mChanges); in writeToParcel() 340 return mChanges; in getChanges() 351 return mChanges.get(i); in getChange() 361 mChanges.add(change); in addChange() 416 for (int i = 0; i < mChanges.size(); ++i) { in toString() 420 sb.append(mChanges.get(i)); in toString() 539 final Change c = mChanges.get(i); in releaseAnimSurfaces() 558 mChanges.get(i).getLeash().release(); in releaseAllSurfaces() 582 for (int i = 0; i < mChanges.size(); ++i) { in localRemoteCopy() [all …]
|
H A D | WindowContainerTransaction.java | 75 in.readMap(mChanges, null /* loader */); in WindowContainerTransaction() 82 Change out = mChanges.get(token); in getOrCreateChange() 85 mChanges.put(token, out); in getOrCreateChange() 907 for (int i = 0, n = other.mChanges.size(); i < n; ++i) { in merge() 908 final IBinder key = other.mChanges.keyAt(i); in merge() 909 Change existing = mChanges.get(key); in merge() 912 mChanges.put(key, existing); in merge() 941 return mChanges.isEmpty() && mHierarchyOps.isEmpty(); in isEmpty() 946 return mChanges; in getChanges() 970 + " changes = " + mChanges in toString() [all …]
|
/aosp14/frameworks/base/core/java/android/hardware/lights/ |
H A D | LightsRequest.java | 84 final Map<Light, LightState> mChanges = new HashMap<>(); field in LightsRequest.Builder 94 mChanges.put(light, state); in addLight() 119 mChanges.put(light, null); in clearLight() 130 return new LightsRequest(mChanges); in build()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | TransitionTests.java | 135 ArrayMap<WindowContainer, Transition.ChangeInfo> changes = transition.mChanges; in testCreateInfo_NewTask() 193 ArrayMap<WindowContainer, Transition.ChangeInfo> changes = transition.mChanges; in testCreateInfo_NestedTasks() 319 transition.mParticipants, transition.mChanges); in testCreateInfo_existenceChange() 355 transition.mParticipants, transition.mChanges); in testCreateInfo_ordering() 403 transition.mParticipants, transition.mChanges); in testCreateInfo_wallpaper() 593 transition.mChanges.containsKey(mDisplayContent.getParent())); in testTargets_noIntermediatesToWallpaper() 598 transition.mParticipants, transition.mChanges); in testTargets_noIntermediatesToWallpaper() 671 transition.mParticipants, transition.mChanges); in testOpenActivityInTheSameTaskWithDisplayChange() 1821 transition.mParticipants, transition.mChanges); in testIncludeEmbeddedActivityReparent() 1952 transition.mParticipants, transition.mChanges); in testVisibleChange_snapshot() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Transition.java | 486 final ChangeInfo info = mChanges.get(wc); in setSeamlessRotation() 520 final ChangeInfo info = mChanges.get(curr); in setTransientLaunchToChanges() 640 mChanges.put(curr, info); in collect() 658 ChangeInfo info = mChanges.get(wc); in collect() 662 mChanges.put(wc, info); in collect() 737 mChanges.get(wc).mExistenceChanged = true; in collectExistenceChange() 781 if (!mChanges.containsKey(wc)) { in collectReparentChange() 787 final ChangeInfo change = mChanges.get(wc); in collectReparentChange() 1446 final ChangeInfo change = mChanges.get(wc); in setNoAnimation() 1769 for (int i = 0; i < mChanges.size(); ++i) { in cleanUpInternal() [all …]
|
H A D | AbsAppSnapshotController.java | 250 .mFinishingTransition.mChanges.get(source); in createSnapshot()
|
H A D | TransitionController.java | 576 final Transition.ChangeInfo ci = mCollectingTransition.mChanges.get(wc); in getWindowingModeAtStart() 596 final Transition.ChangeInfo changeInfo = transition.mChanges.get(wc); in hasCollectingRotationChange()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
H A D | StageCoordinator.java | 2699 private final ArrayMap<StageTaskListener, StageChange> mChanges = new ArrayMap<>(); field in StageCoordinator.StageChangeRecord 2703 if (!mChanges.containsKey(stage)) { in addRecord() 2705 mChanges.put(stage, next); in addRecord() 2707 next = mChanges.get(stage); in addRecord() 2718 for (int i = mChanges.size() - 1; i >= 0; --i) { in getShouldDismissedStage() 2719 final StageChange change = mChanges.valueAt(i); in getShouldDismissedStage()
|