Home
last modified time | relevance | path

Searched refs:mChanges (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigBuilder.java28 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()
48 mChanges.add(new CompatChange(id, name, sdk, -1, false, false, "", false)); in addEnableAfterSdkChangeWithIdAndName()
53 mChanges.add(new CompatChange(id, "", sdk, -1, true, false, "", false)); in addEnableAfterSdkChangeWithIdDefaultDisabled()
59 mChanges.add(new CompatChange(id, "", sdk, -1, false, false, description, false)); in addEnableAfterSdkChangeWithIdAndDescription()
64 mChanges.add(new CompatChange(id, "", -1, sdk, false, false, "", false)); in addEnableSinceSdkChangeWithId()
69 mChanges.add(new CompatChange(id, name, -1, sdk, false, false, "", false)); in addEnableSinceSdkChangeWithIdAndName()
74 mChanges.add(new CompatChange(id, "", -1, sdk, true, false, "", false)); in addEnableSinceSdkChangeWithIdDefaultDisabled()
80 mChanges.add(new CompatChange(id, "", -1, sdk, false, false, description, false)); in addEnableSinceSdkChangeWithIdAndDescription()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeEventLoggerFake.java36 private List<ZenStateChanges> mChanges = new ArrayList<>(); field in ZenModeEventLoggerFake
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()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/utils/
DWatchableTester.java28 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()
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java81 private final ConcurrentHashMap<Long, CompatChange> mChanges = new ConcurrentHashMap<>(); field in CompatConfig
125 mChanges.put(change.getId(), change); in addChange()
141 for (CompatChange c : mChanges.values()) { in getDisabledChanges()
159 LongArray loggable = new LongArray(mChanges.size()); in getLoggableChanges()
160 for (CompatChange c : mChanges.values()) { in getLoggableChanges()
198 return mChanges.get(changeId); in getCompatChange()
208 for (CompatChange c : mChanges.values()) { in lookupChangeId()
225 CompatChange c = mChanges.get(changeId); in isChangeEnabled()
254 CompatChange c = mChanges.get(changeId); in willChangeBeEnabled()
346 final CompatChange c = mChanges.computeIfAbsent(changeId, (key) -> { in addOverrideUnsafe()
[all …]
/frameworks/base/core/java/android/window/
DTaskFragmentTransaction.java52 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()
DTransitionInfo.java214 private final ArrayList<Change> mChanges = new ArrayList<>(); field in TransitionInfo
233 in.readTypedList(mChanges, Change.CREATOR); in TransitionInfo()
245 dest.writeTypedList(mChanges); in writeToParcel()
372 return mChanges; in getChanges()
381 for (int i = mChanges.size() - 1; i >= 0; --i) { in getChange()
382 if (token.equals(mChanges.get(i).mContainer)) { in getChange()
383 return mChanges.get(i); in getChange()
393 mChanges.add(change); in addChange()
401 return !mChanges.isEmpty() || isKeyguardGoingAway() in hasChangesOrSideEffects()
445 final boolean shouldPrettyPrint = !prefix.isEmpty() && !mChanges.isEmpty(); in toString()
[all …]
DWindowContainerTransaction.java61 private final ArrayMap<IBinder, Change> mChanges = new ArrayMap<>(); field in WindowContainerTransaction
75 in.readMap(mChanges, null /* loader */); in WindowContainerTransaction()
82 Change out = mChanges.get(token); in getOrCreateChange()
85 mChanges.put(token, out); in getOrCreateChange()
97 mChanges.clear(); in clear()
972 for (int i = 0, n = other.mChanges.size(); i < n; ++i) { in merge()
973 final IBinder key = other.mChanges.keyAt(i); in merge()
974 Change existing = mChanges.get(key); in merge()
977 mChanges.put(key, existing); in merge()
979 existing.merge(other.mChanges.valueAt(i), transfer); in merge()
[all …]
/frameworks/base/core/java/android/hardware/lights/
DLightsRequest.java84 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()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTransitionTests.java155 ArrayMap<WindowContainer, Transition.ChangeInfo> changes = transition.mChanges; in testCreateInfo_NewTask()
213 ArrayMap<WindowContainer, Transition.ChangeInfo> changes = transition.mChanges; in testCreateInfo_Activity()
243 ArrayMap<WindowContainer, Transition.ChangeInfo> changes = transition.mChanges; in testCreateInfo_NestedTasks()
299 ArrayMap<WindowContainer, Transition.ChangeInfo> changes = transition.mChanges; in testCreateInfo_DisplayArea()
369 transition.mParticipants, transition.mChanges); in testCreateInfo_existenceChange()
405 transition.mParticipants, transition.mChanges); in testCreateInfo_ordering()
453 transition.mParticipants, transition.mChanges); in testCreateInfo_wallpaper()
468 ArrayMap<WindowContainer, Transition.ChangeInfo> changes = transition.mChanges; in testCreateInfo_PromoteSimilarClose()
503 ArrayMap<WindowContainer, Transition.ChangeInfo> changes = transition.mChanges; in testCreateInfo_PromoteSimilarOpen()
539 ArrayMap<WindowContainer, Transition.ChangeInfo> changes = transition.mChanges; in testCreateInfo_NoAnimation()
[all …]
DActivityStarterTests.java1192 final Transition.ChangeInfo targetChangeInfo = transition.mChanges.get(target); in testTransientLaunchWithKeyguard()
1219 final Transition.ChangeInfo targetChangeInfo = transition.mChanges.get(mDisplayContent); in testActivityStartWithScreenshot()
/frameworks/base/services/core/java/com/android/server/wm/
DTransition.java200 final ArrayMap<WindowContainer, ChangeInfo> mChanges = new ArrayMap<>(); field in Transition
413 for (int i = mChanges.size() - 1; i >= 0; --i) { in setTransientLaunch()
414 updateTransientFlags(mChanges.valueAt(i)); in setTransientLaunch()
520 mChanges.get(ar).mFlags |= ChangeInfo.FLAG_CHANGE_CONFIG_AT_END; in setConfigAtEnd()
523 mChanges.get(wc).mFlags |= ChangeInfo.FLAG_CHANGE_CONFIG_AT_END; in setConfigAtEnd()
528 final ChangeInfo info = mChanges.get(wc); in setSeamlessRotation()
572 for (WindowContainer curr = wc; curr != null && mChanges.containsKey(curr); in setTransientLaunchToChanges()
577 final ChangeInfo info = mChanges.get(curr); in setTransientLaunchToChanges()
700 ChangeInfo info = mChanges.get(wc); in collect()
704 mChanges.put(wc, info); in collect()
[all …]
DTransitionController.java636 final Transition.ChangeInfo ci = mCollectingTransition.mChanges.get(wc); in getWindowingModeAtStart()
656 final Transition.ChangeInfo changeInfo = transition.mChanges.get(wc); in hasCollectingRotationChange()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DStageCoordinator.java3028 private final ArrayMap<StageTaskListener, StageChange> mChanges = new ArrayMap<>(); field in StageCoordinator.StageChangeRecord
3032 if (!mChanges.containsKey(stage)) { in addRecord()
3034 mChanges.put(stage, next); in addRecord()
3036 next = mChanges.get(stage); in addRecord()
3047 for (int i = mChanges.size() - 1; i >= 0; --i) { in getShouldDismissedStage()
3048 final StageChange change = mChanges.valueAt(i); in getShouldDismissedStage()