Home
last modified time | relevance | path

Searched refs:mOrderedStates (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DFoldableDeviceStateProvider.java81 private final DeviceState[] mOrderedStates; field in FoldableDeviceStateProvider
157 mOrderedStates = new DeviceState[deviceStatePredicateWrappers.length]; in FoldableDeviceStateProvider()
160 mOrderedStates[i] = configuration.mDeviceState; in FoldableDeviceStateProvider()
172 Arrays.sort(mOrderedStates, Comparator.comparingInt(DeviceState::getIdentifier)); in FoldableDeviceStateProvider()
242 for (DeviceState deviceState : mOrderedStates) { in notifySupportedStatesChanged()
284 for (int i = 0; i < mOrderedStates.length; i++) { in notifyDeviceStateChangedIfNeeded()
285 int state = mOrderedStates[i].getIdentifier(); in notifyDeviceStateChangedIfNeeded()
287 Slog.d(TAG, "Checking conditions for " + mOrderedStates[i].getName() + "(" in notifyDeviceStateChangedIfNeeded()
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java294 private final DeviceState[] mOrderedStates; field in DeviceStateProviderImpl
325 mOrderedStates = orderedStates; in DeviceStateProviderImpl()
502 for (DeviceState deviceState : mOrderedStates) { in notifySupportedStatesChanged()
530 for (int i = 0; i < mOrderedStates.length; i++) { in notifyDeviceStateChangedIfNeeded()
531 int state = mOrderedStates[i].getIdentifier(); in notifyDeviceStateChangedIfNeeded()
533 Slog.d(TAG, "Checking conditions for " + mOrderedStates[i].getName() + "(" in notifyDeviceStateChangedIfNeeded()