Searched refs:pin (Results 1 - 25 of 43) sorted by path

12

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothDevice.java468 * not respond to pin request in time
524 * The user will be prompted to enter a pin or
525 * an app will enter a pin for user.
568 * The user will be prompted to enter a 16 digit pin or
569 * an app will enter a 16 digit pin for user.
1291 * Set the pin during pairing when the pairing method is {@link #PAIRING_VARIANT_PIN}
1294 * @return true pin has been set
1297 public boolean setPin(byte[] pin) { argument
1300 Log.e(TAG, "BT not enabled. Cannot set Remote Device pin");
1304 return service.setPin(this, true, pin
1721 convertPinToBytes(String pin) argument
[all...]
/frameworks/base/core/java/android/os/
H A DMemoryFile.java43 private static native boolean native_pin(FileDescriptor fd, boolean pin) throws IOException; argument
/frameworks/base/core/java/android/provider/
H A DContactsContract.java8365 * @param pinnedPosition the position to pin the contact at. To unpin a contact, use
8368 public static void pin( method in class:ContactsContract.PinnedPositions
/frameworks/base/core/java/android/security/net/config/
H A DPinSet.java41 for (Pin pin : pins) {
42 algorithms.add(pin.digestAlgorithm);
/frameworks/base/core/java/com/android/server/net/
H A DNetworkPinner.java40 * This should maintain behaviour that's compatible with L, which would pin the whole system to
117 public static void pin(Context context, NetworkRequest request) { method in class:NetworkPinner
/frameworks/base/core/jni/
H A Dandroid_os_MemoryFile.cpp30 jboolean pin) {
32 int result = (pin ? ashmem_pin_region(fd, 0, 0) : ashmem_unpin_region(fd, 0, 0));
29 android_os_MemoryFile_pin(JNIEnv* env, jobject clazz, jobject fileDescriptor, jboolean pin) argument
/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.java156 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) { argument
161 mPin = pin;
726 * @param pin The pairing pin if pairing requires a pin. Any value if not.
728 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) { argument
729 pairOrAcceptPair(adapter, device, passkey, pin, true);
739 * @param pin The pairing pin if pairing requires a pin
741 acceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) argument
757 pairOrAcceptPair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin, boolean shouldPair) argument
1392 getPairReceiver(BluetoothDevice device, int passkey, byte[] pin, int expectedFlags) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMetadata.java391 final int pin = parcel.dataPosition(); // to roll back in case of errors.
396 Log.e(TAG, "Bad size " + size + " avail " + parcel.dataAvail() + " position " + pin);
397 parcel.setDataPosition(pin);
405 parcel.setDataPosition(pin);
411 parcel.setDataPosition(pin);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSimPinView.java205 protected CheckSimPin(String pin, int subId) { argument
206 mPin = pin;
H A DKeyguardSimPukView.java255 protected CheckSimPuk(String puk, String pin, int subId) { argument
257 mPin = pin;
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java2003 * between states. For example, when the user inputs the SIM pin
5292 public boolean supplyPin(String pin) { argument
5296 return telephony.supplyPin(pin);
5306 public boolean supplyPuk(String puk, String pin) { argument
5310 return telephony.supplyPuk(puk, pin);
5320 public int[] supplyPinReportResult(String pin) { argument
5324 return telephony.supplyPinReportResult(pin);
5334 public int[] supplyPukReportResult(String puk, String pin) { argument
5338 return telephony.supplyPukReportResult(puk, pin);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DITelephony.aidl199 * Supply a pin to unlock the SIM. Blocks until a result is determined.
200 * @param pin The pin to check.
203 boolean supplyPin(String pin);
206 * Supply a pin to unlock the SIM for particular subId.
208 * @param pin The pin to check.
212 boolean supplyPinForSubscriber(int subId, String pin);
215 * Supply puk to unlock the SIM and set SIM pin to new pin
[all...]
/frameworks/base/tests/net/java/com/android/server/
H A DConnectivityServiceTest.java3160 TestNetworkPinner.pin(mServiceContext, wifiRequest);
3172 // Disconnect and expect the pin to drop.
3177 // Reconnecting does not cause the pin to come back.
3183 // Pinning while connected causes the pin to take effect immediately.
3184 TestNetworkPinner.pin(mServiceContext, wifiRequest);
3198 // Pinning takes effect even if the pinned network is the default when the pin is set...
3199 TestNetworkPinner.pin(mServiceContext, wifiRequest);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java1267 final boolean pin = attemptConnect && mTargetSdkVersion < Build.VERSION_CODES.LOLLIPOP;
1268 if (pin) {
1273 NetworkPinner.pin(mContext, request);
1283 if (pin && !success) {
2352 public abstract void onStarted(String pin); argument
2745 ((WpsCallback) listener).onStarted(result.pin);
H A DWpsInfo.java31 /** Display pin method configuration - pin is generated and displayed on device */
33 /** Keypad pin method configuration - pin is entered on device */
35 /** Label pin method configuration - pin is labelled on device */
43 /** Passed with pin method KEYPAD */
46 /** Passed with pin method configuration */
47 public String pin; field in class:WpsInfo
52 pin
[all...]
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();
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pProvDiscEvent.java40 public String pin; field in class:WifiP2pProvDiscEvent
75 pin = tokens[2];
83 sbuf.append("\n pin: ").append(pin);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStaIfaceHal.java1506 * Start WPS pin registrar operation with the specified peer and pin.
1509 * @param pin Pin to be used.
1512 public boolean startWpsRegistrar(String bssidStr, String pin) { argument
1514 if (TextUtils.isEmpty(bssidStr) || TextUtils.isEmpty(pin)) return false;
1516 return startWpsRegistrar(NativeUtil.macAddressToByteArray(bssidStr), pin);
1525 private boolean startWpsRegistrar(byte[/* 6 */] bssid, String pin) { argument
1530 SupplicantStatus status = mISupplicantStaIface.startWpsRegistrar(bssid, pin);
1540 * Start WPS pin display operation with the specified peer.
1572 * Start WPS pin keypa
1577 startWpsPinKeypad(String pin) argument
[all...]
H A DWifiNative.java460 * Start WPS pin display operation with the specified peer.
470 * Start WPS pin keypad operation with the specified pin.
472 * @param pin Pin to be used.
475 public boolean startWpsPinKeypad(String pin) { argument
476 return mSupplicantStaIfaceHal.startWpsPinKeypad(pin);
480 * Start WPS pin display operation with the specified peer.
483 * @return new pin generated on success, null otherwise.
563 * Start WPS pin registrar operation with the specified peer and pin
569 startWpsRegistrar(String bssid, String pin) argument
[all...]
H A DWifiStateMachine.java5354 if (mWifiNative.startWpsRegistrar(wpsInfo.BSSID, wpsInfo.pin)) {
5362 wpsResult.pin = mWifiNative.startWpsPinDisplay(wpsInfo.BSSID);
5363 if (!TextUtils.isEmpty(wpsResult.pin)) {
5366 Log.e(TAG, "Failed to start WPS pin method configuration");
6879 // failures (especially for wps pin). We will get a WPS_XXX
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceCallback.java381 * @param generatedPin 8 digit pin generated.
414 event.pin = generatedPin;
421 event.pin = generatedPin;
H A DSupplicantP2pIfaceHal.java626 * @return String containing generated pin, if selected provision method
644 if (config.wps.setup == WpsInfo.PBC && !TextUtils.isEmpty(config.wps.pin)) {
645 Log.e(TAG, "Expected empty pin for PBC.");
663 String preSelectedPin = TextUtils.isEmpty(config.wps.pin) ? "" : config.wps.pin;
1538 * @param pin 8 digit pin to be used.
1541 public boolean startWpsPinKeypad(String groupIfName, String pin) { argument
1542 if (TextUtils.isEmpty(groupIfName) || TextUtils.isEmpty(pin)) return false;
1549 if (pin
[all...]
H A DWifiP2pNative.java113 * @param pin 8 digit pin to be used.
116 public boolean startWpsPinKeypad(String iface, String pin) { argument
117 return mSupplicantP2pIfaceHal.startWpsPinKeypad(iface, pin);
125 * @return generated pin if operation was successful, null otherwise.
319 * @return String containing generated pin, if selected provision method
H A DWifiP2pServiceImpl.java1866 // we already have the pin
1867 if (!TextUtils.isEmpty(mSavedPeerConfig.wps.pin)) {
1892 mSavedPeerConfig.wps.pin = provDisc.pin;
1894 notifyInvitationSent(provDisc.pin, device.deviceAddress);
2309 if (wps.pin == null) {
2310 String pin = mWifiNative.startWpsPinDisplay(
2313 Integer.parseInt(pin);
2314 notifyInvitationSent(pin, "any");
2320 wps.pin);
2611 notifyInvitationSent(String pin, String peerAddress) argument
[all...]

Completed in 550 milliseconds

12