/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppConfiguratorActivity.java | 167 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 …]
|
D | WifiNetworkConfig.java | 93 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()
|
D | WifiDppEnrolleeActivity.java | 69 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()
|
D | WifiDppAddDeviceFragment.java | 59 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()
|
D | WifiDppQrCodeScannerFragment.java | 121 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()
|
D | WifiDppConfiguratorAuthActivity.java | 52 || WifiDppUtils.isUnlockedWithinSeconds( in onCreate()
|
D | WifiDppInitiatorViewModel.java | 98 mStatusCode.setValue(WifiDppUtils.EASY_CONNECT_EVENT_SUCCESS); in onConfiguratorSuccess()
|
D | AdbQrCode.java | 111 WifiDppUtils.triggerVibrationForQrCodeRecognition(context); in triggerVibrationForQrCodeRecognition()
|
D | WifiNetworkListFragment.java | 234 WifiDppUtils.getSecurityString(selectedWifiEntry), in onPreferenceClick()
|
D | WifiDppQrCodeGeneratorFragment.java | 147 String ssid = WifiDppUtils.removeFirstAndLastDoubleQuotes(wifiNetworkConfig.getSsid()); in onViewCreated()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/ |
D | WifiNetworkConfigTest.java | 36 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/ |
D | AddDevicePreferenceController2.java | 27 import com.android.settings.wifi.dpp.WifiDppUtils; 60 WifiDppUtils.showLockScreen(mContext, () -> launchWifiDppConfiguratorQrCodeScanner()); in handlePreferenceTreeClick() 68 final Intent intent = WifiDppUtils.getConfiguratorQrCodeScannerIntentOrNull(mContext, in launchWifiDppConfiguratorQrCodeScanner()
|
D | WifiDetailPreferenceController2.java | 76 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/ |
D | WifiDppUtilsTest.java | 79 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()
|
D | WifiDppConfiguratorActivityTest.java | 63 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()
|
D | WifiDppQrCodeGeneratorFragmentTest.java | 63 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()
|
D | WifiDppEnrolleeActivityTest.java | 60 when(mIntent.getStringExtra(WifiDppUtils.EXTRA_WIFI_SSID)).thenReturn(WIFI_SSID); in setUp()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherSSIDPreferenceController.java | 32 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/ |
D | ProtectedTimeoutListPreference.java | 24 import com.android.settings.wifi.dpp.WifiDppUtils; 35 WifiDppUtils.showLockScreen(getContext(), super::performClick); in performClick()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsController.java | 27 import com.android.settings.wifi.dpp.WifiDppUtils; 70 WifiDppUtils.showLockScreen(mContext, () -> { in requireAuthAndExecute()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AddWifiNetworkPreference.java | 32 import com.android.settings.wifi.dpp.WifiDppUtils; 69 WifiDppUtils.getEnrolleeQrCodeScannerIntent(getContext(), /* ssid */ null)); in onBindViewHolder()
|
D | WifiDialogActivity.java | 48 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()
|
D | AddNetworkFragment.java | 44 import com.android.settings.wifi.dpp.WifiDppUtils; 132 WifiDppUtils.getEnrolleeQrCodeScannerIntent(view.getContext(), ssid), in onClick()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | ScreenTimeoutSettings.java | 47 import com.android.settings.wifi.dpp.WifiDppUtils; 410 WifiDppUtils.showLockScreen( in onClick()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | NetworkProviderSettings.java | 80 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()
|