Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSubscriptionsPreferenceControllerTest.java104 private int mOnChildUpdatedCount; field in SubscriptionsPreferenceControllerTest
121 mOnChildUpdatedCount = 0; in setUp()
122 mUpdateListener = () -> mOnChildUpdatedCount++; in setUp()
168 final int updateCountBeforeModeChange = mOnChildUpdatedCount; in onAirplaneModeChanged_airplaneModeTurnedOn_eventFired()
172 assertThat(mOnChildUpdatedCount).isEqualTo(updateCountBeforeModeChange + 1); in onAirplaneModeChanged_airplaneModeTurnedOn_eventFired()
183 final int updateCountBeforeModeChange = mOnChildUpdatedCount; in onAirplaneModeChanged_airplaneModeTurnedOff_eventFired()
187 assertThat(mOnChildUpdatedCount).isEqualTo(updateCountBeforeModeChange + 1); in onAirplaneModeChanged_airplaneModeTurnedOff_eventFired()
198 final int updateCountBeforeSubscriptionChange = mOnChildUpdatedCount; in onSubscriptionsChanged_countBecameTwo_eventFired()
202 assertThat(mOnChildUpdatedCount).isEqualTo(updateCountBeforeSubscriptionChange + 1); in onSubscriptionsChanged_countBecameTwo_eventFired()
213 final int updateCountBeforeSubscriptionChange = mOnChildUpdatedCount; in onSubscriptionsChanged_countBecameOne_eventFiredAndPrefsRemoved()
[all …]
DWifiConnectionPreferenceControllerTest.java70 private int mOnChildUpdatedCount; field in WifiConnectionPreferenceControllerTest
82 mUpdateListener = () -> mOnChildUpdatedCount++; in setUp()
127 final int onUpdatedCountBefore = mOnChildUpdatedCount; in onConnectedChanged_wifiBecameDisconnected_preferenceRemoved()
130 assertThat(mOnChildUpdatedCount).isEqualTo(onUpdatedCountBefore + 1); in onConnectedChanged_wifiBecameDisconnected_preferenceRemoved()
150 final int onUpdatedCountBefore = mOnChildUpdatedCount; in onAccessPointsChanged_wifiBecameConnectedToDifferentAP_preferenceReplaced()
159 assertThat(mOnChildUpdatedCount).isEqualTo(onUpdatedCountBefore + 1); in onAccessPointsChanged_wifiBecameConnectedToDifferentAP_preferenceReplaced()