/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old_handlers_wps.c | 66 * wpas_dbus_iface_wps_pin - Establish the PIN number of the enrollee 79 char *pin = NULL; local 84 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID)) 96 if (os_strlen(pin) > 0) 97 ret = wpas_wps_start_pin(wpa_s, _bssid, pin, 0, 106 "Could not init PIN"); 114 dbus_message_append_args(reply, DBUS_TYPE_STRING, &pin, 127 * wpas_dbus_iface_wps_reg - Request credentials using the PIN of the AP 139 char *pin = NULL; local 144 DBUS_TYPE_STRING, &pin, DBUS_TYPE_INVALID) [all...] |
dbus_new_handlers_wps.c | 30 int type; /* 0 - not set, 1 - pin, 2 - pbc */ 32 char *pin; member in struct:wps_start_params 85 if (os_strcmp(val, "pin") == 0) 140 wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong Pin type, " 143 "Pin must be a string"); 146 dbus_message_iter_get_basic(&variant_iter, ¶ms->pin); 165 else if (os_strcmp(key, "Pin") == 0) 183 * (pin or push button) and optionally pin and bssid. Returned message 184 * has a dictionary argument which may contain newly generated pin (optional) [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);
|
/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);
|
/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 | 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: ").append(pin) [all...] |
/external/skia/src/animator/ |
SkDrawGradient.cpp | 33 SkScalar pin = SkScalarPin(x, 0, SK_Scalar1); local 35 return (int) (pin * 65535.0f); 37 return pin - (pin >= 32768);
|
/external/skia/src/ports/ |
SkImageRef_ashmem.cpp | 153 // fast case: check if we can just pin and get the cached data 157 int pin = ashmem_pin_region(fRec.fFD, 0, 0); local 159 if (ASHMEM_NOT_PURGED == pin) { // yea, fast case! 162 } else if (ASHMEM_WAS_PURGED == pin) { 175 fRec.fFD, pin, errno);
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11mouse.c | 197 char *mouse_param, *mouse_param_buf, *pin; local 208 pin = SDL_strchr(mouse_param, '/'); 209 if ( pin ) { 210 *pin = '\0'; 213 if ( pin ) { 214 mouse_param = pin+1;
|
/frameworks/base/libs/rs/driver/ |
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 = (const uint8_t *)p->in local [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterOutputStreamTest.java | 71 PipedInputStream pin = new PipedInputStream(pout); local 85 return new InflaterInputStream(pin);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
GZIPOutputStreamTest.java | 166 PipedInputStream pin = new PipedInputStream(pout); local 168 GZIPInputStream in = new GZIPInputStream(pin);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
StreamTokenizerTest.java | 180 final PipedInputStream pin = new PipedInputStream(); local 181 PipedOutputStream pout = new PipedOutputStream(pin); 183 StreamTokenizer s = new StreamTokenizer(pin);
|
/external/bluetooth/bluez/src/ |
event.c | 99 static size_t decode_hex(const char *pin, char *out) 103 for (i = 0; i < 16 && pin[i * 2] && pin[i * 2 + 1]; i++) 104 sscanf(&pin[i * 2], "%02hhX", &out[i]); 109 static size_t decode_pin(const char *pin, char *out) 113 if (!pin) 116 if (pin[0] == '$') { 117 len = decode_hex(&pin[1], out); 119 len = strnlen(pin, 16); 120 memcpy(out, pin, len) 159 char pin[17]; local [all...] |
agent.c | 369 char *pin; local 396 DBUS_TYPE_STRING, &pin, 404 len = strlen(pin); 408 error("Invalid PIN length (%zu) from agent", len); 416 cb(agent, NULL, pin, req->user_data);
|
/external/skia/src/effects/ |
SkColorFilters.cpp | 287 static inline unsigned pin(unsigned value, unsigned max) { function 324 unsigned r = pin(SkAlphaMul(SkGetPackedR32(c), scaleR) + SkAlphaMul(addR, scaleA), a); 325 unsigned g = pin(SkAlphaMul(SkGetPackedG32(c), scaleG) + SkAlphaMul(addG, scaleA), a); 326 unsigned b = pin(SkAlphaMul(SkGetPackedB32(c), scaleB) + SkAlphaMul(addB, scaleA), a); 375 unsigned r = pin(SkGetPackedR32(c) + SkAlphaMul(addR, scaleA), a); 376 unsigned g = pin(SkGetPackedG32(c) + SkAlphaMul(addG, scaleA), a); 377 unsigned b = pin(SkGetPackedB32(c) + SkAlphaMul(addB, scaleA), a);
|
SkColorMatrixFilter.cpp | 196 static int32_t pin(int32_t value, int32_t max) { function 259 r = pin(result[0], SK_R32_MASK); 260 g = pin(result[1], SK_G32_MASK); 261 b = pin(result[2], SK_B32_MASK); 262 a = pin(result[3], SK_A32_MASK); 299 r = pin(result[0], SK_R32_MASK); 300 g = pin(result[1], SK_G32_MASK); 301 b = pin(result[2], SK_B32_MASK);
|
/external/wpa_supplicant/ |
tls.h | 64 * @ppin: pointer to the pin variable in the configuration 99 const char *pin; member in struct:tls_connection_params 187 * TLS_SET_PARAMS_ENGINE_PRV_INIT_FAILED (-2) on possible PIN error causing 200 * TLS_SET_PARAMS_ENGINE_PRV_INIT_FAILED (-2) on possible PIN error causing
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
tls.h | 67 * @ppin: pointer to the pin variable in the configuration 106 const char *pin; member in struct:tls_connection_params 198 * TLS_SET_PARAMS_ENGINE_PRV_INIT_FAILED (-2) on possible PIN error causing 212 * TLS_SET_PARAMS_ENGINE_PRV_INIT_FAILED (-2) on possible PIN error causing
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_config.h | 360 * EAP-WSC (WPS) uses following options: pin=Device_Password and 385 * pin - PIN for USIM, GSM SIM, and smartcards 387 * This field is used to configure PIN for SIM and smartcards for 393 char *pin; member in struct:eap_peer_config 427 * pin2 - PIN for USIM, GSM SIM, and smartcards (Phase 2) 429 * This field is used to configure PIN for SIM and smartcards for 533 * pending_req_pin - Whether there is a pending PIN request
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_config.h | 369 * EAP-WSC (WPS) uses following options: pin=Device_Password and 394 * pin - PIN for USIM, GSM SIM, and smartcards 396 * This field is used to configure PIN for SIM and smartcards for 402 char *pin; member in struct:eap_peer_config 436 * pin2 - PIN for USIM, GSM SIM, and smartcards (Phase 2) 438 * This field is used to configure PIN for SIM and smartcards for 542 * pending_req_pin - Whether there is a pending PIN request
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ap.c | 642 const char *pin, char *buf, size_t buflen) 649 if (pin == NULL) { 652 pin = buf; 654 ret_len = os_snprintf(buf, buflen, "%s", pin); 656 ret = hostapd_wps_add_pin(wpa_s->ap_iface->bss[0], bssid, "any", pin, 667 wpa_printf(MSG_DEBUG, "WPS: AP PIN timed out"); 679 wpa_printf(MSG_DEBUG, "WPS: Enabling AP PIN (timeout=%d)", timeout); 694 wpa_printf(MSG_DEBUG, "WPS: Disabling AP PIN"); 705 unsigned int pin; local 711 pin = wps_generate_pin() [all...] |
/packages/apps/Settings/src/com/android/settings/ |
ConfirmLockPassword.java | 148 final String pin = mPasswordEntry.getText().toString(); local 149 if (mLockPatternUtils.checkPassword(pin)) { 152 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, pin);
|
/external/qemu/telephony/ |
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_8/hostapd/ |
ctrl_iface.c | 352 char *pin = os_strchr(txt, ' '); local 358 if (pin == NULL) 360 *pin++ = '\0'; 362 timeout_txt = os_strchr(pin, ' '); 375 return hostapd_wps_add_pin(hapd, addr, txt, pin, timeout); 382 char pin[9]; local 392 pin[len++] = *pos; 394 wpa_printf(MSG_DEBUG, "WPS: Too long PIN"); 399 wpa_printf(MSG_DEBUG, "WPS: Invalid PIN length %d", (int) len); 402 pin[len] = '\0' 481 char *pin; local [all...] |