/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WpsResult.java | 36 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 D | WpsInfo.java | 36 /** Display pin method configuration - pin is generated and displayed on device */ 38 /** Keypad pin method configuration - pin is entered on device */ 40 /** Label pin method configuration - pin is labelled on device */ 51 /** Passed with pin method configuration */ 52 public String pin; field in class:WpsInfo 66 pin = null; 78 sbuf.append(" pin [all...] |
H A D | WifiNative.java | 220 public static boolean wpsPin(String pin) { argument 221 return doBooleanCommand("WPS_PIN any " + pin); 263 /* p2p_connect <peer device address> <pbc|pin|PIN#> [label|display|keypad] 276 //TODO: pass the pin back for display 277 args.add("pin"); 281 args.add(wps.pin); 285 args.add(wps.pin);
|
H A D | WifiConfigStore.java | 398 * Start WPS pin method configuration with pin obtained 403 if (WifiNative.startWpsWithPinFromAccessPointCommand(config.BSSID, config.pin)) { 408 loge("Failed to start WPS pin method configuration"); 415 * Start WPS pin method configuration with pin obtained 417 * @return WpsResult indicating status and pin 421 result.pin = WifiNative.startWpsWithPinFromDeviceCommand(config.BSSID); 423 if (!TextUtils.isEmpty(result.pin)) { 427 loge("Failed to start WPS pin metho [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ITelephony.aidl | 130 * Check if the SIM pin lock is enabled. 131 * @return true if the SIM pin lock is enabled. 141 * Supply a pin to unlock the SIM. Blocks until a result is determined. 142 * @param pin The pin to check. 145 boolean supplyPin(String pin); 148 * Supply puk to unlock the SIM and set SIM pin to new pin. 151 * pin The new pin t [all...] |
H A D | IccCard.java | 71 /* LOCKED means ICC is locked by pin or by network */ 107 UNKNOWN is a transient state, for example, after uesr inputs ICC pin under 251 public void supplyPin (String pin, Message onComplete) { argument 252 mPhone.mCM.supplyIccPin(pin, mHandler.obtainMessage(EVENT_PINPUK_DONE, onComplete)); 270 public void supplyNetworkDepersonalization (String pin, Message onComplete) { argument 271 mPhone.mCM.supplyNetworkDepersonalization(pin, 276 * Check whether ICC pin lock is enabled 277 * This is a sync call which returns the cached pin enabled state 288 * This is a sync call which returns the cached pin enabled state 298 * Set the ICC pin loc [all...] |
H A D | CommandsInterface.java | 654 void supplyIccPin(String pin, Message result); argument 670 void supplyIccPinForApp(String pin, String aid, Message result); argument 687 * Supply the PUK, new pin for the app with this AID on the ICC card
|
H A D | RIL.java | 672 supplyIccPin(String pin, Message result) { argument 673 supplyIccPinForApp(pin, null, result); 677 supplyIccPinForApp(String pin, String aid, Message result) { argument 685 rr.mp.writeString(pin); 713 supplyIccPin2(String pin, Message result) { argument 714 supplyIccPin2ForApp(pin, null, result); 718 supplyIccPin2ForApp(String pin, String aid, Message result) { argument 726 rr.mp.writeString(pin);
|
/frameworks/base/media/java/android/media/ |
H A D | Metadata.java | 383 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 D | BluetoothTestRunner.java | 48 * [-e pair_pin <pin>] \ 183 byte[] pin = BluetoothDevice.convertPinToBytes(val); 184 if (pin != null) { 185 sDevicePairPin = pin;
|
H A D | BluetoothTestUtils.java | 153 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/libs/rs/driver/ |
H A D | rsdCore.cpp | 347 const uint8_t *pin = (const uint8_t *)p->in; local 350 (*(fe*)vRoot)(pin, x, y); 351 pin += instep; 374 const uint8_t *pin = (const uint8_t *)p->in; local 377 (*(fe*)vRoot)(pin, pout, x, y); 378 pin += instep; 388 const uint8_t *pin = (const uint8_t *)p->in; local 392 (*(fe*)vRoot)(pin, usr, x, y); 393 pin += instep; 417 const uint8_t *pin local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothDevice.java | 356 * not respond to pin request in time 412 * The user will be prompted to enter a pin 827 public boolean setPin(byte[] pin) { argument 829 return sService.setPin(mAddress, pin); 1007 * Check that a pin is valid and convert to byte array. 1009 * Bluetooth pin's are 1 to 16 bytes of UTF-8 characters. 1010 * @param pin pin as java String 1011 * @return the pin code as a UTF-8 byte array, or null if it is an invalid 1012 * Bluetooth pin 1015 convertPinToBytes(String pin) argument [all...] |
H A D | IBluetooth.aidl | 77 boolean setPin(in String address, in byte[] pin);
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 110 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 1487 supplyIccPinForApp(String pin, String aid, Message response) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_MemoryFile.cpp | 110 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/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pService.java | 705 String pin = WifiNative.p2pConnect(mSavedConnectConfig, join); 707 Integer.parseInt(pin); 708 notifyWpsPin(pin, mSavedConnectConfig.deviceAddress); 710 // do nothing if p2pConnect did not return a pin 1149 private void notifyWpsPin(String pin, String peerAddress) { argument 1153 .setMessage(r.getString(R.string.wifi_p2p_pin_display_message, pin, peerAddress)) 1165 final EditText pin = (EditText) textEntryView .findViewById(R.id.wifi_p2p_wps_pin); 1172 if (DBG) logd(getName() + " connect " + pin.getText()); 1174 if (pin.getVisibility() == View.GONE) { 1178 mSavedGoNegotiationConfig.wps.pin [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 43 public void supplyIccPin(String pin, Message result) { argument 49 public void supplyIccPin2(String pin, Message result) { argument 389 public void supplyIccPinForApp(String pin, String aid, Message response) { argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | SimUnlockScreen.java | 150 protected CheckSimPin(String pin) { argument 151 mPin = pin; 205 // make sure that the pin is at least 4 digits long.
|
H A D | SimPukUnlockScreen.java | 153 protected CheckSimPuk(String puk, String pin) { argument 155 mPin = pin;
|
/frameworks/base/core/java/android/server/ |
H A D | BluetoothEventLoop.java | 653 String pin = mBluetoothService.getDockPin(); 654 mBluetoothService.setPin(address, BluetoothDevice.convertPinToBytes(pin)); 681 int pin = (int) Math.floor(Math.random() * 10000); 682 sendDisplayPinIntent(address, pin); 720 private void sendDisplayPinIntent(String address, int pin) { argument 725 intent.putExtra(BluetoothDevice.EXTRA_PAIRING_KEY, pin);
|
H A D | BluetoothService.java | 289 // Generate a random 4 digit pin between 0000 and 9999 291 int pin = (int) Math.floor(Math.random() * 10000); 293 mDockPin = String.format("%04d", pin); 297 Log.e(TAG, "FileNotFoundException while trying to write dock pairing pin"); 299 Log.e(TAG, "IOException while while trying to write dock pairing pin"); 528 // an incorrect error code for bonding failures and if the pin 646 // Check for keyboards which have fixed PIN 0000 as the pairing pin 677 // fails. Try to create the bond again and display the pin dialog 1330 public synchronized boolean setPin(String address, byte[] pin) { argument 1335 if (pin 2813 setPinNative(String address, String pin, int nativeData) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 1081 size = pin(size); 1102 size = pin(size); 1123 size = pin(size); 1144 size = pin(size); 1871 private int pin(int size) { method in class:WebSettings
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java | 164 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 D | MemoryFile.java | 54 private static native void native_pin(FileDescriptor fd, boolean pin) throws IOException; argument
|