/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wps-ap-cli | 16 echo "Enter a PIN from a station to be enrolled to the network." 17 read -p "Enrollee PIN: " pin 18 cpin=`$CLI wps_check_pin "$pin" | tail -1` 21 read -p "Do you want to use this PIN (y/n)? " resp 24 cpin=`echo "$pin" | sed "s/[^1234567890]//g"` 32 echo "Invalid PIN: $pin" 35 echo "Enabling Enrollee PIN: $cpin" 49 echo "2: Enter Enrollee PIN" [all...] |
openCryptoki.conf | 6 # Please enter User PIN: 38 # set the PIN code; leave this out to configure the PIN to be requested 40 pin="123456"
|
/frameworks/base/wifi/java/android/net/wifi/ |
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();
|
WpsInfo.java | 33 /** 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: ").append(pin) [all...] |
/external/arduino/hardware/arduino/cores/arduino/ |
wiring_analog.c | 35 // will connect AVCC and the AREF pin, which would cause a short if 40 int analogRead(uint8_t pin) 45 if (pin >= 54) pin -= 54; // allow for channel or pin numbers 47 if (pin >= 14) pin -= 14; // allow for channel or pin numbers 53 ADCSRB = (ADCSRB & ~(1 << MUX5)) | (((pin >> 3) & 0x01) << MUX5); 60 ADMUX = (analog_reference << 6) | (pin & 0x07) [all...] |
wiring_pulse.c | 28 /* Measures the length (in microseconds) of a pulse on the pin; state is HIGH 32 unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout) 34 // cache the port and bit of the pin in order to speed up the 37 uint8_t bit = digitalPinToBitMask(pin); 38 uint8_t port = digitalPinToPort(pin);
|
wiring_digital.c | 30 void pinMode(uint8_t pin, uint8_t mode) 32 uint8_t bit = digitalPinToBitMask(pin); 33 uint8_t port = digitalPinToPort(pin); 124 void digitalWrite(uint8_t pin, uint8_t val) 126 uint8_t timer = digitalPinToTimer(pin); 127 uint8_t bit = digitalPinToBitMask(pin); 128 uint8_t port = digitalPinToPort(pin); 133 // If the pin that support PWM output, we need to turn it off 152 int digitalRead(uint8_t pin) 154 uint8_t timer = digitalPinToTimer(pin); [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
InputStreamReaderTest.java | 32 PipedInputStream pin = new PipedInputStream(); local 33 PipedOutputStream pos = new PipedOutputStream(pin); 36 InputStreamReader reader = new InputStreamReader(pin);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old_handlers_wps.c | 60 * wpas_dbus_iface_wps_pin - Establish the PIN number of the enrollee 73 char *pin = NULL; local 78 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) 90 if (os_strlen(pin) > 0) 91 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, 100 "Could not init PIN"); 108 dbus_message_append_args(reply, DBUS_TYPE_STRING, &pin, 121 * wpas_dbus_iface_wps_reg - Request credentials using the PIN of the AP 133 char *pin = NULL; local 138 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID) [all...] |
/external/qemu/telephony/ |
sim_card.h | 36 extern void asimcard_set_pin( ASimCard sim, const char* pin ); 39 extern int asimcard_check_pin( ASimCard sim, const char* pin ); 40 extern int asimcard_check_puk( ASimCard sim, const char* puk, const char* pin );
|
sim_card.c | 27 char pin[ A_SIM_PIN_SIZE+1 ]; member in struct:ASimCardRec_ 45 strncpy( card->pin, "0000", sizeof(card->pin) ); 79 return sim->pin; 89 asimcard_set_pin( ASimCard sim, const char* pin ) 91 strncpy( sim->pin, pin, A_SIM_PIN_SIZE ); 104 asimcard_check_pin( ASimCard sim, const char* pin ) 110 if ( !strcmp( sim->pin, pin ) ) { [all...] |
/external/wpa_supplicant_6/wpa_supplicant/examples/ |
openCryptoki.conf | 6 # Please enter User PIN: 38 # set the PIN code; leave this out to configure the PIN to be requested 40 pin="123456"
|
/system/core/libcutils/ |
ashmem-dev.c | 77 struct ashmem_pin pin = { offset, len }; local 78 return ioctl(fd, ASHMEM_PIN, &pin); 83 struct ashmem_pin pin = { offset, len }; local 84 return ioctl(fd, ASHMEM_UNPIN, &pin);
|
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
p2p_connect.py | 19 print " -a <addr> [-p <pin>] [-g <go_intent>] \ " 25 print " -p = pin number (8 digits)" 66 global pin 79 pin,wps_method,go_intent): 86 self.pin = pin 155 # Display requires a pin, and a go intent of 15 157 if (self.pin != None): 158 self.p2p_connect_arguements.update({'pin':self.pin}) 228 pin = None variable in class:P2P_Connect [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ITelephony.aidl | 131 * 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 to be set in SI [all...] |
/external/skia/src/core/ |
SkDeviceProfile.cpp | 10 static float pin(float value, float min, float max) { function 21 fGammaExponent = pin(gammaExp, 0, 10); 22 fContrastScale = pin(contrast, 0, 1);
|
/external/valgrind/tsan/ |
tsan_pin.sh | 3 PIN_ROOT=${PIN_ROOT:-$HOME/pin} 10 PIN_BINARY=${PIN_BINARY:-pin} 14 PIN_BINARY=${PIN_BINARY:-pin.bat}
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pProvDiscEvent.java | 44 public String pin; field in class:WifiP2pProvDiscEvent 55 * P2P-PROV-DISC-ENTER-PIN 42:fc:89:e1:e2:27 56 * P2P-PROV-DISC-SHOW-PIN 42:fc:89:e1:e2:27 44490607 70 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; 71 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN; 79 pin = tokens[2]; 87 sbuf.append("\n pin: ").append(pin);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wps_supplicant.h | 36 const char *pin, int p2p_group, u16 dev_pw_id); 41 const char *pin, struct wps_new_ap_settings *settings); 55 const char *uuid, const char *pin); 58 const char *pin); 62 const char *pin, struct wps_new_ap_settings *settings);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
PinListEntry.java | 31 * This class represents a single entry in the pin file. 69 // entry must have a CN, an enforcement value, and at least one pin 71 throw new PinEntryException("Received malformed pin entry"); 91 * Checks the given chain against the pin list corresponding to this entry. 93 * If the pin list does not contain the required certs and the enforcing field is true then 120 for (String pin : pins) { 121 validatePin(pin); 126 private static void validatePin(String pin) { 128 if (pin.length() != 128) { 129 throw new IllegalArgumentException("Pin is not a valid length") [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_common.c | 204 * wps_pin_checksum - Compute PIN checksum 205 * @pin: Seven digit PIN (i.e., eight digit PIN without the checksum digit) 208 unsigned int wps_pin_checksum(unsigned int pin) 211 while (pin) { 212 accum += 3 * (pin % 10); 213 pin /= 10; 214 accum += pin % 10; 215 pin /= 10 [all...] |
wps_registrar.c | 32 u8 *pin; member in struct:wps_uuid_pin 41 static void wps_free_pin(struct wps_uuid_pin *pin) 43 os_free(pin->pin); 44 os_free(pin); 50 struct wps_uuid_pin *pin, *prev; local 52 pin = pins; 53 while (pin) { 54 prev = pin; 55 pin = pin->next 470 struct wps_uuid_pin *pin, *prev, *del; local 504 struct wps_uuid_pin *pin, *prev; local 530 struct wps_uuid_pin *pin; local 588 struct wps_uuid_pin *pin; local 883 const u8 *pin; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
wps_supplicant.h | 29 const char *pin); 31 const char *pin);
|
/external/wpa_supplicant_8/src/ap/ |
wps_hostapd.h | 20 const char *uuid, const char *pin, int timeout); 31 int hostapd_wps_ap_pin_set(struct hostapd_data *hapd, const char *pin,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccCard.java | 73 * Supply the ICC PIN to the ICC 83 * If the supplied PIN is incorrect: 90 public void supplyPin (String pin, Message onComplete); 110 public void supplyNetworkDepersonalization (String pin, Message onComplete); 113 * Check whether ICC pin lock is enabled 114 * This is a sync call which returns the cached pin enabled state 123 * This is a sync call which returns the cached pin enabled state 131 * Set the ICC pin lock enabled or disabled 135 * @param password needed to change the ICC pin state, aka. Pin1 159 * Change the ICC password used in ICC pin loc [all...] |