Home
last modified time | relevance | path

Searched refs:stateMap (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DNetworkInfo.java122 private static final EnumMap<DetailedState, State> stateMap = field in NetworkInfo
126 stateMap.put(DetailedState.IDLE, State.DISCONNECTED); in stateMap.put()
127 stateMap.put(DetailedState.SCANNING, State.DISCONNECTED); in stateMap.put()
128 stateMap.put(DetailedState.CONNECTING, State.CONNECTING); in stateMap.put()
129 stateMap.put(DetailedState.AUTHENTICATING, State.CONNECTING); in stateMap.put()
130 stateMap.put(DetailedState.OBTAINING_IPADDR, State.CONNECTING); in stateMap.put()
131 stateMap.put(DetailedState.VERIFYING_POOR_LINK, State.CONNECTING); in stateMap.put()
132 stateMap.put(DetailedState.CAPTIVE_PORTAL_CHECK, State.CONNECTING); in stateMap.put()
133 stateMap.put(DetailedState.CONNECTED, State.CONNECTED); in stateMap.put()
134 stateMap.put(DetailedState.SUSPENDED, State.SUSPENDED); in stateMap.put()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/
DMediaControlProfileTest.java237 HashMap stateMap; in testOnCurrentPlayerStateUpdate() local
257 stateMap = stateMapCaptor.getValue(); in testOnCurrentPlayerStateUpdate()
259 Assert.assertTrue(stateMap.containsKey(PlayerStateField.PLAYER_NAME)); in testOnCurrentPlayerStateUpdate()
262 Assert.assertTrue(stateMap.containsKey(PlayerStateField.PLAYBACK_STATE)); in testOnCurrentPlayerStateUpdate()
263 Assert.assertTrue(stateMap.containsKey(PlayerStateField.OPCODES_SUPPORTED)); in testOnCurrentPlayerStateUpdate()
264 Assert.assertTrue(stateMap.containsKey(PlayerStateField.SEEKING_SPEED)); in testOnCurrentPlayerStateUpdate()
265 Assert.assertTrue(stateMap.containsKey(PlayerStateField.PLAYBACK_SPEED)); in testOnCurrentPlayerStateUpdate()
266 Assert.assertTrue(stateMap.containsKey(PlayerStateField.TRACK_POSITION)); in testOnCurrentPlayerStateUpdate()
269 Assert.assertTrue(stateMap.containsKey(PlayerStateField.TRACK_DURATION)); in testOnCurrentPlayerStateUpdate()
270 Assert.assertTrue(stateMap.containsKey(PlayerStateField.TRACK_TITLE)); in testOnCurrentPlayerStateUpdate()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiInfo.java89 private static final EnumMap<SupplicantState, DetailedState> stateMap = field in WifiInfo
102 stateMap.put(SupplicantState.DISCONNECTED, DetailedState.DISCONNECTED); in stateMap.put()
103 stateMap.put(SupplicantState.INTERFACE_DISABLED, DetailedState.DISCONNECTED); in stateMap.put()
104 stateMap.put(SupplicantState.INACTIVE, DetailedState.IDLE); in stateMap.put()
105 stateMap.put(SupplicantState.SCANNING, DetailedState.SCANNING); in stateMap.put()
106 stateMap.put(SupplicantState.AUTHENTICATING, DetailedState.CONNECTING); in stateMap.put()
107 stateMap.put(SupplicantState.ASSOCIATING, DetailedState.CONNECTING); in stateMap.put()
108 stateMap.put(SupplicantState.ASSOCIATED, DetailedState.CONNECTING); in stateMap.put()
109 stateMap.put(SupplicantState.FOUR_WAY_HANDSHAKE, DetailedState.AUTHENTICATING); in stateMap.put()
110 stateMap.put(SupplicantState.GROUP_HANDSHAKE, DetailedState.AUTHENTICATING); in stateMap.put()
[all …]
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp1563 const StateMap& stateMap = state.map(); in initStates() local
1564 for (const auto& group : stateMap.group()) { in initStates()
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp4296 const StateMap& stateMap = in TEST() local
4298 const StateMap_StateGroup screenOnGroup = stateMap.group(0); in TEST()
4299 const StateMap_StateGroup screenOffGroup = stateMap.group(1); in TEST()
4302 for (auto group : stateMap.group()) { in TEST()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt777 Landroid/net/NetworkInfo;->stateMap:Ljava/util/EnumMap;
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1722 Landroid/net/wifi/WifiInfo;->stateMap:Ljava/util/EnumMap;