Searched refs:pin (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/wifi/java/android/net/wifi/
H A DWpsResult.java36 public String pin; field in class:WpsResult
40 pin = null;
45 pin = null;
52 sbuf.append(" pin: ").append(pin);
66 pin = source.pin;
73 dest.writeString(pin);
82 result.pin = in.readString();
H A DWpsInfo.java33 /** Display pin method configuration - pin is generated and displayed on device */
35 /** Keypad pin method configuration - pin is entered on device */
37 /** Label pin method configuration - pin is labelled on device */
48 /** Passed with pin method configuration */
49 public String pin; field in class:WpsInfo
54 pin = null;
63 sbuf.append(" pin
[all...]
H A DWifiNative.java387 public boolean startWpsPinKeypad(String pin) { argument
388 if (TextUtils.isEmpty(pin)) return false;
389 return doBooleanCommand("WPS_PIN any " + pin);
392 public boolean startWpsPinKeypad(String iface, String pin) { argument
393 if (TextUtils.isEmpty(pin)) return false;
394 return doBooleanCommand("WPS_PIN interface=" + iface + " any " + pin);
415 public boolean startWpsRegistrar(String bssid, String pin) { argument
416 if (TextUtils.isEmpty(bssid) || TextUtils.isEmpty(pin)) return false;
417 return doBooleanCommand("WPS_REG " + bssid + " " + pin);
519 /* p2p_connect <peer device address> <pbc|pin|PI
[all...]
H A DWifiManager.java1195 public void onStartSuccess(String pin); argument
1266 ((WpsListener) listener).onStartSuccess(result.pin);
H A DWifiConfigStore.java438 * Start WPS pin method configuration with pin obtained
441 * @return Wps result containing status and pin
445 if (mWifiNative.startWpsRegistrar(config.BSSID, config.pin)) {
450 loge("Failed to start WPS pin method configuration");
457 * Start WPS pin method configuration with pin obtained
459 * @return WpsResult indicating status and pin
463 result.pin = mWifiNative.startWpsPinDisplay(config.BSSID);
465 if (!TextUtils.isEmpty(result.pin)) {
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DITelephony.aidl131 * Check if the SIM pin lock is enabled.
132 * @return true if the SIM pin lock is enabled.
142 * Supply a pin to unlock the SIM. Blocks until a result is determined.
143 * @param pin The pin to check.
146 boolean supplyPin(String pin);
149 * Supply puk to unlock the SIM and set SIM pin to new pin.
152 * pin The new pin t
[all...]
H A DIccCard.java93 /* LOCKED means ICC is locked by pin or by network */
131 UNKNOWN is a transient state, for example, after uesr inputs ICC pin under
345 public void supplyPin (String pin, Message onComplete) { argument
346 mPhone.mCM.supplyIccPin(pin, mHandler.obtainMessage(EVENT_PINPUK_DONE, onComplete));
364 public void supplyNetworkDepersonalization (String pin, Message onComplete) { argument
365 mPhone.mCM.supplyNetworkDepersonalization(pin,
370 * Check whether ICC pin lock is enabled
371 * This is a sync call which returns the cached pin enabled state
382 * This is a sync call which returns the cached pin enabled state
392 * Set the ICC pin loc
[all...]
H A DCommandsInterface.java567 void supplyIccPin(String pin, Message result); argument
583 void supplyIccPinForApp(String pin, String aid, Message result); argument
600 * Supply the PUK, new pin for the app with this AID on the ICC card
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pProvDiscEvent.java44 public String pin; field in class:WifiP2pProvDiscEvent
79 pin = tokens[2];
87 sbuf.append("\n pin: ").append(pin);
H A DWifiP2pService.java1014 /* we already have the pin */
1015 if (!TextUtils.isEmpty(mSavedPeerConfig.wps.pin)) {
1031 mSavedPeerConfig.wps.pin = provDisc.pin;
1033 if (!sendShowPinReqToFrontApp(provDisc.pin)) {
1034 notifyInvitationSent(provDisc.pin, device.deviceAddress);
1231 if (config.wps.pin == null) {
1232 String pin = mWifiNative.startWpsPinDisplay(mGroup.getInterface());
1234 Integer.parseInt(pin);
1235 if (!sendShowPinReqToFrontApp(pin)) {
1446 notifyInvitationSent(String pin, String peerAddress) argument
1940 sendShowPinReqToFrontApp(String pin) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMetadata.java383 final int pin = parcel.dataPosition(); // to roll back in case of errors.
388 Log.e(TAG, "Bad size " + size + " avail " + parcel.dataAvail() + " position " + pin);
389 parcel.setDataPosition(pin);
397 parcel.setDataPosition(pin);
403 parcel.setDataPosition(pin);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestRunner.java48 * [-e pair_pin <pin>] \
183 byte[] pin = BluetoothDevice.convertPinToBytes(val);
184 if (pin != null) {
185 sDevicePairPin = pin;
H A DBluetoothTestUtils.java153 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) { argument
158 mPin = pin;
742 * @param pin The pairing pin if pairing requires a pin. Any value if not.
744 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) { argument
745 pairOrAcceptPair(adapter, device, passkey, pin, true);
755 * @param pin The pairing pin if pairing requires a pin
757 acceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) argument
773 pairOrAcceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin, boolean shouldPair) argument
1397 getPairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothDevice.java368 * not respond to pin request in time
424 * The user will be prompted to enter a pin
839 public boolean setPin(byte[] pin) { argument
841 return sService.setPin(mAddress, pin);
1019 * Check that a pin is valid and convert to byte array.
1021 * Bluetooth pin's are 1 to 16 bytes of UTF-8 characters.
1022 * @param pin pin as java String
1023 * @return the pin code as a UTF-8 byte array, or null if it is an invalid
1024 * Bluetooth pin
1027 convertPinToBytes(String pin) argument
[all...]
H A DIBluetooth.aidl78 boolean setPin(in String address, in byte[] pin);
/frameworks/base/telephony/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java110 public void supplyIccPin(String pin, Message result) { argument
121 if (pin != null && pin.equals(mPinCode)) {
288 Log.i(LOG_TAG, "[SimCmd] changeIccPin: pin failed!");
335 public void queryFacilityLock(String facility, String pin, argument
337 queryFacilityLockForApp(facility, pin, serviceClass, null, result);
341 public void queryFacilityLockForApp(String facility, String pin, int serviceClass, argument
369 public void setFacilityLock(String facility, boolean lockEnabled, String pin, int serviceClass, argument
371 setFacilityLockForApp(facility, lockEnabled, pin, serviceClass, null, result);
376 String pin, in
375 setFacilityLockForApp(String facility, boolean lockEnabled, String pin, int serviceClass, String appId, Message result) argument
1488 supplyIccPinForApp(String pin, String aid, Message response) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_MemoryFile.cpp110 static void android_os_MemoryFile_pin(JNIEnv* env, jobject clazz, jobject fileDescriptor, jboolean pin) argument
113 int result = (pin ? ashmem_pin_region(fd, 0, 0) : ashmem_unpin_region(fd, 0, 0));
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java43 public void supplyIccPin(String pin, Message result) { argument
49 public void supplyIccPin2(String pin, Message result) { argument
395 public void supplyIccPinForApp(String pin, String aid, Message response) { argument
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DSimPukUnlockScreen.java153 protected CheckSimPuk(String puk, String pin) { argument
155 mPin = pin;
H A DSimUnlockScreen.java150 protected CheckSimPin(String pin) { argument
151 mPin = pin;
205 // make sure that the pin is at least 4 digits long.
/frameworks/base/core/java/android/server/
H A DBluetoothEventLoop.java661 String pin = mBluetoothService.getDockPin();
662 mBluetoothService.setPin(address, BluetoothDevice.convertPinToBytes(pin));
689 int pin = (int) Math.floor(Math.random() * 10000);
690 sendDisplayPinIntent(address, pin);
728 private void sendDisplayPinIntent(String address, int pin) { argument
733 intent.putExtra(BluetoothDevice.EXTRA_PAIRING_KEY, pin);
H A DBluetoothService.java292 // Generate a random 4 digit pin between 0000 and 9999
294 int pin = (int) Math.floor(Math.random() * 10000);
296 mDockPin = String.format("%04d", pin);
300 Log.e(TAG, "FileNotFoundException while trying to write dock pairing pin");
302 Log.e(TAG, "IOException while while trying to write dock pairing pin");
557 // an incorrect error code for bonding failures and if the pin
691 // Check for keyboards which have fixed PIN 0000 as the pairing pin
722 // fails. Try to create the bond again and display the pin dialog
1375 public synchronized boolean setPin(String address, byte[] pin) { argument
1380 if (pin
2880 setPinNative(String address, String pin, int nativeData) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebSettingsClassic.java951 size = pin(size);
971 size = pin(size);
991 size = pin(size);
1011 size = pin(size);
1715 private int pin(int size) { method in class:WebSettingsClassic
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java164 public void supplyIccPin(String pin, Message result) { argument
168 public void supplyIccPinForApp(String pin, String aid, Message result) { argument
/frameworks/base/core/java/android/os/
H A DMemoryFile.java54 private static native void native_pin(FileDescriptor fd, boolean pin) throws IOException; argument

Completed in 558 milliseconds

12