Home
last modified time | relevance | path

Searched refs:mDisplayStates (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardController.java84 private final SparseArray<KeyguardDisplayState> mDisplayStates = new SparseArray<>(); field in KeyguardController
558 KeyguardDisplayState state = mDisplayStates.get(displayId); in getDisplayState()
561 mDisplayStates.append(displayId, state); in getDisplayState()
567 final KeyguardDisplayState state = mDisplayStates.get(displayId); in onDisplayRemoved()
570 mDisplayStates.remove(displayId); in onDisplayRemoved()
808 for (int i = 0; i < mDisplayStates.size(); i++) { in dumpDisplayStates()
809 mDisplayStates.valueAt(i).dumpStatus(pw, prefix); in dumpDisplayStates()
814 for (int i = 0; i < mDisplayStates.size(); i++) { in writeDisplayStatesToProto()
815 mDisplayStates.valueAt(i).dumpDebug(proto, fieldId); in writeDisplayStatesToProto()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java142 private final HashMap<String, DisplayState> mDisplayStates = field in PersistentDataStore
426 DisplayState state = mDisplayStates.get(uniqueDisplayId); in getBrightnessConfigurationForDisplayLocked()
440 DisplayState state = mDisplayStates.get(uniqueId); in getDisplayState()
443 mDisplayStates.put(uniqueId, state); in getDisplayState()
580 if (mDisplayStates.containsKey(uniqueId)) { in loadDisplaysFromXml()
586 mDisplayStates.put(uniqueId, state); in loadDisplaysFromXml()
607 for (Map.Entry<String, DisplayState> entry : mDisplayStates.entrySet()) { in saveToXml()
641 for (Map.Entry<String, DisplayState> entry : mDisplayStates.entrySet()) { in dump()
DDisplayManagerService.java371 final int index = mDisplayStates.indexOfKey(displayId);
373 final int currentState = mDisplayStates.valueAt(index);
376 final int size = mDisplayStates.size();
378 final int displayState = i == index ? state : mDisplayStates.valueAt(i);
421 private final SparseIntArray mDisplayStates = new SparseIntArray(); field in DisplayManagerService
966 final int index = mDisplayStates.indexOfKey(displayId); in requestDisplayStateInternal()
970 if (index < 0 || (mDisplayStates.valueAt(index) == state in requestDisplayStateInternal()
985 mDisplayStates.setValueAt(index, state); in requestDisplayStateInternal()
2044 mDisplayStates.append(displayId, Display.STATE_UNKNOWN); in setupLogicalDisplay()
2198 mDisplayStates.delete(displayId); in releaseDisplayAndEmitEvent()
[all …]
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp725 mDisplayStates = other.mDisplayStates; in Transaction()
860 mDisplayStates = displayStates; in readFromParcel()
893 parcel->writeUint32(static_cast<uint32_t>(mDisplayStates.size())); in writeToParcel()
894 for (auto const& displayState : mDisplayStates) { in writeToParcel()
981 for (auto const& state : other.mDisplayStates) { in merge()
982 ssize_t index = mDisplayStates.indexOf(state); in merge()
984 mDisplayStates.add(state); in merge()
986 mDisplayStates.editItemAt(static_cast<size_t>(index)).merge(state); in merge()
1031 mDisplayStates.clear(); in clear()
1212 displayStates = std::move(mDisplayStates); in apply()
[all …]
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h438 SortedVector<DisplayState> mDisplayStates; variable