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.java106 private int mOnChildUpdatedCount; field in SubscriptionsPreferenceControllerTest
123 mOnChildUpdatedCount = 0; in setUp()
124 mUpdateListener = () -> mOnChildUpdatedCount++; in setUp()
170 final int updateCountBeforeModeChange = mOnChildUpdatedCount; in onAirplaneModeChanged_airplaneModeTurnedOn_eventFired()
174 assertThat(mOnChildUpdatedCount).isEqualTo(updateCountBeforeModeChange + 1); in onAirplaneModeChanged_airplaneModeTurnedOn_eventFired()
185 final int updateCountBeforeModeChange = mOnChildUpdatedCount; in onAirplaneModeChanged_airplaneModeTurnedOff_eventFired()
189 assertThat(mOnChildUpdatedCount).isEqualTo(updateCountBeforeModeChange + 1); in onAirplaneModeChanged_airplaneModeTurnedOff_eventFired()
200 final int updateCountBeforeSubscriptionChange = mOnChildUpdatedCount; in onSubscriptionsChanged_countBecameTwo_eventFired()
204 assertThat(mOnChildUpdatedCount).isEqualTo(updateCountBeforeSubscriptionChange + 1); in onSubscriptionsChanged_countBecameTwo_eventFired()
215 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()