/external/skia/src/effects/ |
SkColorFilters.cpp | 228 static inline unsigned pin(unsigned value, unsigned max) { function 265 unsigned r = pin(SkAlphaMul(SkGetPackedR32(c), scaleR) + SkAlphaMul(addR, scaleA), a); 266 unsigned g = pin(SkAlphaMul(SkGetPackedG32(c), scaleG) + SkAlphaMul(addG, scaleA), a); 267 unsigned b = pin(SkAlphaMul(SkGetPackedB32(c), scaleB) + SkAlphaMul(addB, scaleA), a); 313 unsigned r = pin(SkGetPackedR32(c) + SkAlphaMul(addR, scaleA), a); 314 unsigned g = pin(SkGetPackedG32(c) + SkAlphaMul(addG, scaleA), a); 315 unsigned b = pin(SkGetPackedB32(c) + SkAlphaMul(addB, scaleA), a);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothDevice.java | 283 * not respond to pin request in time 313 /** The user will be prompted to enter a pin 644 public boolean setPin(byte[] pin) { 646 return sService.setPin(mAddress, pin); 773 * Check that a pin is valid and convert to byte array. 775 * Bluetooth pin's are 1 to 16 bytes of UTF-8 characters. 776 * @param pin pin as java String 777 * @return the pin code as a UTF-8 byte array, or null if it is an invalid 778 * Bluetooth pin [all...] |
IBluetooth.aidl | 63 boolean setPin(in String address, in byte[] pin);
|
/frameworks/base/core/jni/ |
android_os_MemoryFile.cpp | 110 static void android_os_MemoryFile_pin(JNIEnv* env, jobject clazz, jobject fileDescriptor, jboolean pin) 113 int result = (pin ? ashmem_pin_region(fd, 0, 0) : ashmem_unpin_region(fd, 0, 0));
|
/packages/apps/Settings/src/com/android/settings/ |
ConfirmLockPassword.java | 91 final String pin = mPasswordEntry.getText().toString(); local 92 if (mLockPatternUtils.checkPassword(pin)) {
|
/external/quake/quake/src/QW/client/ |
model.c | 1232 void * Mod_LoadAliasFrame (void * pin, int *pframeindex, int numv, 1239 pdaliasframe = (daliasframe_t *)pin; 1280 void * Mod_LoadAliasGroup (void * pin, int *pframeindex, int numv, 1290 pingroup = (daliasgroup_t *)pin; 1345 void * Mod_LoadAliasSkin (void * pin, int *pskinindex, int skinsize, 1353 pinskin = (byte *)pin; 1384 void * Mod_LoadAliasSkinGroup (void * pin, int *pskinindex, int skinsize, 1394 pinskingroup = (daliasskingroup_t *)pin; 1805 dsprite_t *pin; local [all...] |
gl_model.c | 1277 void * Mod_LoadAliasFrame (void * pin, maliasframedesc_t *frame) 1283 pdaliasframe = (daliasframe_t *)pin; 1313 void *Mod_LoadAliasGroup (void * pin, maliasframedesc_t *frame) 1320 pingroup = (daliasgroup_t *)pin; 1798 dsprite_t *pin; local [all...] |
/external/quake/quake/src/WinQuake/ |
model.cpp | 1235 void * Mod_LoadAliasFrame (void * pin, int *pframeindex, int numv, 1242 pdaliasframe = (daliasframe_t *)pin; 1283 void * Mod_LoadAliasGroup (void * pin, int *pframeindex, int numv, 1293 pingroup = (daliasgroup_t *)pin; 1348 void * Mod_LoadAliasSkin (void * pin, int *pskinindex, int skinsize, 1356 pinskin = (byte *)pin; 1387 void * Mod_LoadAliasSkinGroup (void * pin, int *pskinindex, int skinsize, 1397 pinskingroup = (daliasskingroup_t *)pin; 1782 dsprite_t *pin; local [all...] |
gl_model.cpp | 1252 void * Mod_LoadAliasFrame (void * pin, maliasframedesc_t *frame) 1258 pdaliasframe = (daliasframe_t *)pin; 1288 void *Mod_LoadAliasGroup (void * pin, maliasframedesc_t *frame) 1295 pingroup = (daliasgroup_t *)pin; 1754 dsprite_t *pin; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
wpa_supplicant.conf | 455 # EAP-WSC (WPS) uses following options: pin=<Device Password> or 649 pin="1234" 813 # Optional PIN configuration; this can be left out and PIN will be 815 pin="1234"
|
/packages/apps/Phone/src/com/android/phone/ |
FdnSetting.java | 45 * The first is used for toggling FDN enable, the second for the PIN change. 51 // We only care about the pin preferences here, the manage FDN contacts 76 // size limits for the pin. 99 // validate the pin first, before submitting it to the RIL for FDN enable. 109 // throw up error if the pin is invalid. 117 * Attempt to change the pin. 131 // 1. Enter old pin 132 // 2. Enter new pin 133 // 3. Re-Enter new pin 143 // if the pin is not valid, display a message and reset the state [all...] |
PhoneInterfaceManager.java | 390 public boolean supplyPin(String pin) { 394 return checkSimPin.checkPin(pin); 443 synchronized boolean checkPin(String pin) { 454 mSimCard.supplyPin(pin, callback);
|
/libcore/luni/src/test/java/tests/api/java/io/ |
PipedInputStreamTest.java | 124 PipedInputStream pin = new PipedInputStream(); local 125 PipedOutputStream pout = new PipedOutputStream(pin); 131 assertEquals("Incorrect available count", BUFFER_SIZE , pin.available());
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_wsc.c | 118 pos = os_strstr(phase1, "pin="); 121 cfg.pin = (const u8 *) pos; 124 cfg.pin_len = pos - (const char *) cfg.pin; 131 if (cfg.pin == NULL && !cfg.pbc) { 132 wpa_printf(MSG_INFO, "EAP-WSC: PIN or PBC not set in phase1 " 145 if (registrar && cfg.pin) { 147 cfg.pin, cfg.pin_len, 0);
|
eap_tls.c | 54 "PIN"); 97 * PIN. It may be wrong, we cannot be sure but trying 101 os_free(config->pin); 102 config->pin = NULL;
|
/external/wpa_supplicant/ |
pcsc_funcs.c | 232 static int scard_verify_pin(struct scard_data *scard, const char *pin); 430 * selected sim_type. In addition, local flag is set if a PIN is needed to 585 wpa_printf(MSG_DEBUG, "SCARD: Failed to determine whether PIN " 612 * scard_set_pin - Set PIN (CHV1/PIN1) code for accessing SIM/USIM commands 614 * pin: PIN code as an ASCII string (e.g., "1234") 617 int scard_set_pin(struct scard_data *scard, const char *pin) 624 if (pin == NULL) { 625 wpa_printf(MSG_DEBUG, "No PIN configured for SIM " 629 if (scard_verify_pin(scard, pin)) { [all...] |
eap_tls_common.c | 60 params->pin = config->pin; 127 /* At this point with the pkcs11 engine the PIN might be wrong. 128 * We reset the PIN in the configuration to be sure to not use 130 os_free(config->pin); 131 config->pin = NULL; 134 /* We don't know exactly but maybe the PIN was wrong, 136 os_free(config->pin); 137 config->pin = NULL; 525 /* TODO: clean pin if engine used? * [all...] |
config_ssid.h | 549 * pin - PIN for USIM, GSM SIM, and smartcards 551 * This field is used to configure PIN for SIM and smartcards for 557 char *pin; member in struct:wpa_ssid 671 * pending_req_pin - Whether there is a pending PIN request
|
eap_tls.c | 53 "PIN"); 95 * PIN. It may be wrong, we cannot be sure but trying 99 os_free(config->pin); 100 config->pin = NULL;
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
pcsc_funcs.c | 232 static int scard_verify_pin(struct scard_data *scard, const char *pin); 430 * selected sim_type. In addition, local flag is set if a PIN is needed to 585 wpa_printf(MSG_DEBUG, "SCARD: Failed to determine whether PIN " 612 * scard_set_pin - Set PIN (CHV1/PIN1) code for accessing SIM/USIM commands 614 * @pin: PIN code as an ASCII string (e.g., "1234") 617 int scard_set_pin(struct scard_data *scard, const char *pin) 624 if (pin == NULL) { 625 wpa_printf(MSG_DEBUG, "No PIN configured for SIM " 629 if (scard_verify_pin(scard, pin)) { [all...] |
/frameworks/base/core/tests/coretests/src/android/bluetooth/ |
BluetoothTestUtils.java | 282 public PairReceiver(BluetoothDevice device, int passkey, byte[] pin) { 286 mPin = pin; 637 public void pair(BluetoothAdapter adapter, BluetoothDevice device, int passkey, byte[] pin) { 638 pairOrAcceptPair(adapter, device, passkey, pin, true); 642 byte[] pin) { 643 pairOrAcceptPair(adapter, device, passkey, pin, false); 647 byte[] pin, boolean pair) { 652 PairReceiver pairReceiver = getPairReceiver(mContext, device, passkey, pin); [all...] |
/external/qemu/hw/ |
qdev.h | 57 void qdev_connect_gpio_out(DeviceState *dev, int n, qemu_irq pin);
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
SimulatedCommands.java | 112 public void supplyIccPin(String pin, Message result) { 123 if (pin != null && pin.equals(mPinCode)) { 290 Log.i(LOG_TAG, "[SimCmd] changeIccPin: pin failed!"); 341 * @param pin password or "" if not required 345 public void queryFacilityLock (String facility, String pin, 377 * @param pin the SIM pin or "" if not required 381 String pin, int serviceClass, 385 if (pin != null && pin.equals(mPinCode)) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps.c | 46 if (cfg->pin) { 53 os_memcpy(data->dev_password, cfg->pin, cfg->pin_len); 59 /* Use special PIN '00000000' for PBC */ 102 wpa_printf(MSG_DEBUG, "WPS: Full PIN information revealed and " 189 * wps_is_selected_pin_registrar - Check whether WPS IE indicates active PIN 191 * Returns: 1 if PIN Registrar is active, 0 if not
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
SipCommandInterface.java | 43 public void supplyIccPin(String pin, Message result) { 49 public void supplyIccPin2(String pin, Message result) {
|