Home
last modified time | relevance | path

Searched refs:mSavedWifiHelper (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/
DUserCredentialsSettingsTest.java68 SavedWifiHelper mSavedWifiHelper; field in UserCredentialsSettingsTest
85 when(mSavedWifiHelper.isCertificateInUse(any(String.class))).thenReturn(false); in setUp()
86 when(mSavedWifiHelper.getCertificateNetworkNames(any(String.class))) in setUp()
95 mSettings.mSavedWifiHelper = mSavedWifiHelper; in setUp()
107 verify(mSavedWifiHelper, never()).getCertificateNetworkNames(any(String.class)); in onClick_noCredentialInTag_doNothing()
120 verify(mSavedWifiHelper, never()).getCertificateNetworkNames(any(String.class)); in onClick_credentialInNotUse_notSetUsedByNamesThenShowDialog()
130 when(mSavedWifiHelper.getCertificateNetworkNames(any(String.class))) in onClick_credentialInUse_setUsedByNamesThenShowDialog()
135 verify(mSavedWifiHelper).getCertificateNetworkNames(any(String.class)); in onClick_credentialInUse_setUsedByNamesThenShowDialog()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/helper/
DSavedWifiHelperTest.java51 SavedWifiHelper mSavedWifiHelper; field in SavedWifiHelperTest
55 mSavedWifiHelper = new SavedWifiHelper(mContext, mLifecycle, mSaveNetworkTracker); in setUp()
60 mSavedWifiHelper.isCertificateInUse(TEST_ALIAS); in isCertificateInUse_redirectToSavedNetworkTracker()
67 mSavedWifiHelper.getCertificateNetworkNames(TEST_ALIAS); in getCertificateNetworkNames_redirectToSavedNetworkTracker()
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java80 protected SavedWifiHelper mSavedWifiHelper; field in UserCredentialsSettings
98 item.setUsedByNames(mSavedWifiHelper.getCertificateNetworkNames(item.alias)); in onClick()
107 mSavedWifiHelper = SavedWifiHelper.getInstance(getContext(), getSettingsLifecycle()); in onCreate()
325 c.setInUse(mSavedWifiHelper.isCertificateInUse(alias)); in getCredentialsForUid()