Home
last modified time | relevance | path

Searched refs:WifiDppUtils (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppConfiguratorActivity.java167 WifiDppUtils.showLockScreen(this, in handleIntent()
186 final boolean isDppSupported = WifiDppUtils.isWifiDppEnabled(this); in handleActionProcessWifiEasyConnectUriIntent()
212 WifiDppUtils.TAG_FRAGMENT_QR_CODE_SCANNER); in showQrCodeScannerFragment()
229 WifiDppUtils.TAG_FRAGMENT_QR_CODE_SCANNER); in showQrCodeScannerFragment()
236 WifiDppUtils.TAG_FRAGMENT_QR_CODE_GENERATOR); in showQrCodeGeneratorFragment()
253 WifiDppUtils.TAG_FRAGMENT_QR_CODE_GENERATOR); in showQrCodeGeneratorFragment()
260 WifiDppUtils.TAG_FRAGMENT_CHOOSE_SAVED_WIFI_NETWORK); in showChooseSavedWifiNetworkFragment()
277 WifiDppUtils.TAG_FRAGMENT_CHOOSE_SAVED_WIFI_NETWORK); in showChooseSavedWifiNetworkFragment()
287 WifiDppUtils.TAG_FRAGMENT_ADD_DEVICE); in showAddDeviceFragment()
304 WifiDppUtils.TAG_FRAGMENT_ADD_DEVICE); in showAddDeviceFragment()
[all …]
DWifiNetworkConfig.java93 final String security = intent.getStringExtra(WifiDppUtils.EXTRA_WIFI_SECURITY); in getValidConfigOrNull()
94 final String ssid = intent.getStringExtra(WifiDppUtils.EXTRA_WIFI_SSID); in getValidConfigOrNull()
95 final String preSharedKey = intent.getStringExtra(WifiDppUtils.EXTRA_WIFI_PRE_SHARED_KEY); in getValidConfigOrNull()
96 final boolean hiddenSsid = intent.getBooleanExtra(WifiDppUtils.EXTRA_WIFI_HIDDEN_SSID, in getValidConfigOrNull()
98 final int networkId = intent.getIntExtra(WifiDppUtils.EXTRA_WIFI_NETWORK_ID, in getValidConfigOrNull()
100 final boolean isHotspot = intent.getBooleanExtra(WifiDppUtils.EXTRA_IS_HOTSPOT, false); in getValidConfigOrNull()
208 if (!WifiDppUtils.isWifiDppEnabled(context)) { in isSupportWifiDpp()
DWifiDppEnrolleeActivity.java69 String ssid = intent.getStringExtra(WifiDppUtils.EXTRA_WIFI_SSID); in handleIntent()
89 WifiDppUtils.TAG_FRAGMENT_QR_CODE_SCANNER); in showQrCodeScannerFragment()
106 WifiDppUtils.TAG_FRAGMENT_QR_CODE_SCANNER); in showQrCodeScannerFragment()
DWifiDppAddDeviceFragment.java59 private int mLatestStatusCode = WifiDppUtils.EASY_CONNECT_EVENT_FAILURE_NONE;
121 mLatestStatusCode = WifiDppUtils.EASY_CONNECT_EVENT_SUCCESS; in showSuccessUi()
310 if (code == WifiDppUtils.EASY_CONNECT_EVENT_SUCCESS) { in onCreate()
361 if (mLatestStatusCode == WifiDppUtils.EASY_CONNECT_EVENT_SUCCESS) { in onViewCreated()
363 } else if (mLatestStatusCode == WifiDppUtils.EASY_CONNECT_EVENT_FAILURE_NONE) { in onViewCreated()
DWifiDppQrCodeScannerFragment.java121 private int mLatestStatusCode = WifiDppUtils.EASY_CONNECT_EVENT_FAILURE_NONE;
242 WifiDppUtils.triggerVibrationForQrCodeRecognition(getContext()); in notifyUserForQrCodeRecognition()
258 WifiDppUtils.getSecurityTypeFromWifiConfiguration(wifiConfiguration); in isReachableWifiNetwork()
634 mLatestStatusCode = WifiDppUtils.EASY_CONNECT_EVENT_SUCCESS; in onEnrolleeSuccess()
DWifiDppConfiguratorAuthActivity.java52 || WifiDppUtils.isUnlockedWithinSeconds( in onCreate()
DWifiDppInitiatorViewModel.java98 mStatusCode.setValue(WifiDppUtils.EASY_CONNECT_EVENT_SUCCESS); in onConfiguratorSuccess()
DAdbQrCode.java111 WifiDppUtils.triggerVibrationForQrCodeRecognition(context); in triggerVibrationForQrCodeRecognition()
DWifiNetworkListFragment.java234 WifiDppUtils.getSecurityString(selectedWifiEntry), in onPreferenceClick()
DWifiDppQrCodeGeneratorFragment.java147 String ssid = WifiDppUtils.removeFirstAndLastDoubleQuotes(wifiNetworkConfig.getSsid()); in onViewCreated()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkConfigTest.java36 intent.putExtra(WifiDppUtils.EXTRA_WIFI_SSID, "Pixel:_ABCD;"); in setUp()
37 intent.putExtra(WifiDppUtils.EXTRA_WIFI_SECURITY, "WPA"); in setUp()
38 intent.putExtra(WifiDppUtils.EXTRA_WIFI_PRE_SHARED_KEY, "\\012345678,"); in setUp()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DAddDevicePreferenceController2.java27 import com.android.settings.wifi.dpp.WifiDppUtils;
60 WifiDppUtils.showLockScreen(mContext, () -> launchWifiDppConfiguratorQrCodeScanner()); in handlePreferenceTreeClick()
68 final Intent intent = WifiDppUtils.getConfiguratorQrCodeScannerIntentOrNull(mContext, in launchWifiDppConfiguratorQrCodeScanner()
DWifiDetailPreferenceController2.java76 import com.android.settings.wifi.dpp.WifiDppUtils;
955 final Intent intent = WifiDppUtils.getConfiguratorQrCodeGeneratorIntentOrNull(mContext, in launchWifiDppConfiguratorActivity()
975 WifiDppUtils.showLockScreen(mContext, () -> launchWifiDppConfiguratorActivity()); in shareNetwork()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppUtilsTest.java79 Intent intent = WifiDppUtils in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
82 assertThat(intent.getBooleanExtra(WifiDppUtils.EXTRA_WIFI_HIDDEN_SSID, false)) in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
88 Intent intent = WifiDppUtils.getEnrolleeQrCodeScannerIntent( in getEnrolleeQrCodeScannerIntent_isExplicitIntent()
DWifiDppConfiguratorActivityTest.java63 mIntent.putExtra(WifiDppUtils.EXTRA_WIFI_SSID, "GoogleGuest"); in setUp()
64 mIntent.putExtra(WifiDppUtils.EXTRA_WIFI_SECURITY, "WPA"); in setUp()
65 mIntent.putExtra(WifiDppUtils.EXTRA_WIFI_PRE_SHARED_KEY, "\\012345678,"); in setUp()
DWifiDppQrCodeGeneratorFragmentTest.java63 intent.putExtra(WifiDppUtils.EXTRA_WIFI_SSID, "GoogleGuest"); in setUp()
64 intent.putExtra(WifiDppUtils.EXTRA_WIFI_SECURITY, "WPA"); in setUp()
65 intent.putExtra(WifiDppUtils.EXTRA_WIFI_PRE_SHARED_KEY, "\\012345678,"); in setUp()
DWifiDppEnrolleeActivityTest.java60 when(mIntent.getStringExtra(WifiDppUtils.EXTRA_WIFI_SSID)).thenReturn(WIFI_SSID); in setUp()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSSIDPreferenceController.java32 import com.android.settings.wifi.dpp.WifiDppUtils;
81 final Intent intent = WifiDppUtils.getHotspotConfiguratorIntentOrNull(mContext, in updateDisplay()
126 WifiDppUtils.showLockScreen(mContext, () -> { in shareHotspotNetwork()
/packages/apps/Settings/src/com/android/settings/security/screenlock/
DProtectedTimeoutListPreference.java24 import com.android.settings.wifi.dpp.WifiDppUtils;
35 WifiDppUtils.showLockScreen(getContext(), super::performClick); in performClick()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsController.java27 import com.android.settings.wifi.dpp.WifiDppUtils;
70 WifiDppUtils.showLockScreen(mContext, () -> { in requireAuthAndExecute()
/packages/apps/Settings/src/com/android/settings/wifi/
DAddWifiNetworkPreference.java32 import com.android.settings.wifi.dpp.WifiDppUtils;
69 WifiDppUtils.getEnrolleeQrCodeScannerIntent(getContext(), /* ssid */ null)); in onBindViewHolder()
DWifiDialogActivity.java48 import com.android.settings.wifi.dpp.WifiDppUtils;
355 Intent intent = WifiDppUtils.getEnrolleeQrCodeScannerIntent(dialog.getContext(), ssid); in onScan()
364 Intent intent = WifiDppUtils.getEnrolleeQrCodeScannerIntent(dialog.getContext(), ssid); in onScan()
DAddNetworkFragment.java44 import com.android.settings.wifi.dpp.WifiDppUtils;
132 WifiDppUtils.getEnrolleeQrCodeScannerIntent(view.getContext(), ssid), in onClick()
/packages/apps/Settings/src/com/android/settings/display/
DScreenTimeoutSettings.java47 import com.android.settings.wifi.dpp.WifiDppUtils;
410 WifiDppUtils.showLockScreen( in onClick()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java80 import com.android.settings.wifi.dpp.WifiDppUtils;
694 WifiDppUtils.showLockScreen(getContext(), in onContextItemSelected()
749 final Intent intent = WifiDppUtils.getConfiguratorQrCodeGeneratorIntentOrNull(getContext(), in launchWifiDppConfiguratorActivity()
1242 WifiDppUtils.getEnrolleeQrCodeScannerIntent(dialog.getContext(), ssid), in onScan()

12