Searched refs:qrCode (Results 1 – 10 of 10) sorted by relevance
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiQrCode.java | 87 public WifiQrCode(String qrCode) throws IllegalArgumentException { in WifiQrCode() argument 88 if (TextUtils.isEmpty(qrCode)) { in WifiQrCode() 92 mQrCode = qrCode; in WifiQrCode() 94 if (qrCode.startsWith(PREFIX_DPP)) { in WifiQrCode() 96 parseWifiDppQrCode(qrCode); in WifiQrCode() 97 } else if (qrCode.startsWith(PREFIX_ZXING_WIFI_NETWORK_CONFIG)) { in WifiQrCode() 99 parseZxingWifiQrCode(qrCode); in WifiQrCode() 106 private void parseWifiDppQrCode(String qrCode) throws IllegalArgumentException { in parseWifiDppQrCode() argument 107 List<String> keyValueList = getKeyValueList(qrCode, PREFIX_DPP, DELIMITER_QR_CODE); in parseWifiDppQrCode() 119 private void parseZxingWifiQrCode(String qrCode) throws IllegalArgumentException { in parseZxingWifiQrCode() argument [all …]
|
D | WifiDppInitiatorViewModel.java | 71 void startEasyConnectAsConfiguratorInitiator(String qrCode, int networkId) { in startEasyConnectAsConfiguratorInitiator() argument 75 wifiManager.startEasyConnectAsConfiguratorInitiator(qrCode, networkId, in startEasyConnectAsConfiguratorInitiator() 80 void startEasyConnectAsEnrolleeInitiator(String qrCode) { in startEasyConnectAsEnrolleeInitiator() argument 84 wifiManager.startEasyConnectAsEnrolleeInitiator(qrCode, getApplication().getMainExecutor(), in startEasyConnectAsEnrolleeInitiator()
|
D | AdbQrCode.java | 32 public AdbQrCode(String qrCode) throws IllegalArgumentException { in AdbQrCode() argument 33 super(qrCode); in AdbQrCode()
|
D | WifiDppConfiguratorActivity.java | 101 String qrCode = savedInstanceState.getString(KEY_QR_CODE); in onCreate() local 103 mWifiDppQrCode = WifiQrCode.getValidWifiDppQrCodeOrNull(qrCode); in onCreate()
|
D | WifiDppQrCodeScannerFragment.java | 486 public boolean isValid(String qrCode) { in isValid() argument 488 mWifiQrCode = new WifiQrCode(qrCode); in isValid() 508 public void handleSuccessfulResult(String qrCode) { in handleSuccessfulResult() argument
|
D | WifiDppAddDeviceFragment.java | 393 final String qrCode = wifiQrCode.getQrCode(); in startWifiDppConfiguratorInitiator() local 399 model.startEasyConnectAsConfiguratorInitiator(qrCode, networkId); in startWifiDppConfiguratorInitiator()
|
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/ |
D | QrCamera.java | 173 boolean isValid(String qrCode); in isValid() argument 259 Result qrCode = null; in doInBackground() local 261 qrCode = in doInBackground() 270 if (qrCode != null) { in doInBackground() 271 if (mScannerCallback.isValid(qrCode.getText())) { in doInBackground() 272 return qrCode.getText(); in doInBackground() 283 protected void onPostExecute(String qrCode) { in onPostExecute() argument 284 if (qrCode != null) { in onPostExecute() 285 mScannerCallback.handleSuccessfulResult(qrCode); in onPostExecute() 458 Result qrCode = null; in decodeImage() local [all …]
|
/packages/apps/Car/LinkViewer/src/com/android/car/linkviewer/ |
D | LinkViewerActivity.java | 80 QRCode qrCode; in showUrl() local 82 qrCode = Encoder.encode(url, ErrorCorrectionLevel.H); in showUrl() 88 BitmapDrawable drawable = new BitmapDrawable(getResources(), qrToBitmap(qrCode)); in showUrl() 94 private Bitmap qrToBitmap(QRCode qrCode) { in qrToBitmap() argument 95 ByteMatrix matrix = qrCode.getMatrix(); in qrToBitmap()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/qrcode/ |
D | QrCameraTest.java | 79 public void handleSuccessfulResult(String qrCode) { in handleSuccessfulResult() argument 80 mQrCode = qrCode; in handleSuccessfulResult() 95 public boolean isValid(String qrCode) { in isValid() argument
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AdbQrcodeScannerFragment.java | 258 public boolean isValid(String qrCode) { in isValid() argument 261 mAdbQrCode = new AdbQrCode(qrCode); in isValid() 273 public void handleSuccessfulResult(String qrCode) { in handleSuccessfulResult() argument
|