Home
last modified time | relevance | path

Searched refs:mWifiEntriesCount (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapter.java62 protected int mWifiEntriesCount; field in InternetAdapter
85 if (mWifiEntries == null || position >= mWifiEntriesCount) { in onBindViewHolder()
99 mWifiEntriesCount = in setWifiEntries()
110 return mWifiEntriesCount; in getItemCount()
121 if (mWifiEntriesCount > count) { in setMaxEntriesCount()
122 mWifiEntriesCount = count; in setMaxEntriesCount()
DInternetDialogDelegate.java161 protected int mWifiEntriesCount; field in InternetDialogDelegate
875 mWifiEntriesCount = wifiEntries == null ? 0 : wifiEntries.size(); in onAccessPointsChanged()
878 mAdapter.setWifiEntries(wifiEntries, mWifiEntriesCount); in onAccessPointsChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetAdapterTest.java149 assertThat(mInternetAdapter.mWifiEntriesCount).isEqualTo(wifiCount); in setWifiEntries_wifiCountLessThenMaxCount_setWifiCount()
159 assertThat(mInternetAdapter.mWifiEntriesCount).isEqualTo(mInternetAdapter.mMaxEntriesCount); in setWifiEntries_wifiCountGreaterThenMaxCount_setMaxCount()
174 mInternetAdapter.mWifiEntriesCount = MAX_WIFI_ENTRY_COUNT - 2; in setMaxEntriesCount_maxCountGreaterThenWifiCount_updateMaxCount()
180 assertThat(mInternetAdapter.mWifiEntriesCount).isEqualTo(MAX_WIFI_ENTRY_COUNT - 2); in setMaxEntriesCount_maxCountGreaterThenWifiCount_updateMaxCount()
186 mInternetAdapter.mWifiEntriesCount = MAX_WIFI_ENTRY_COUNT; in setMaxEntriesCount_maxCountLessThenWifiCount_updateBothCount()
192 assertThat(mInternetAdapter.mWifiEntriesCount).isEqualTo(maxCount); in setMaxEntriesCount_maxCountLessThenWifiCount_updateBothCount()
DInternetDialogDelegateTest.java151 mInternetDialogDelegate.mWifiEntriesCount = mWifiEntries.size(); in createInternetDialog()
392 mInternetDialogDelegate.mWifiEntriesCount = 0; in updateDialog_wifiOnAndNoWifiEntry_showWifiListAndSeeAllArea()
407 mInternetDialogDelegate.mWifiEntriesCount = 1; in updateDialog_wifiOnAndOneWifiEntry_showWifiListAndSeeAllArea()
421 mInternetDialogDelegate.mWifiEntriesCount = 0; in updateDialog_wifiOnAndHasConnectedWifi_showAllWifiAndSeeAllArea()
436 mInternetDialogDelegate.mWifiEntriesCount = MAX_WIFI_ENTRY_COUNT; in updateDialog_wifiOnAndHasMaxWifiList_showWifiListAndSeeAll()
450 mInternetDialogDelegate.mWifiEntriesCount = MAX_WIFI_ENTRY_COUNT - 1; in updateDialog_wifiOnAndHasBothWifiEntry_showBothWifiEntryAndSeeAll()