/external/chromium_org/remoting/host/setup/ |
pin_validator.cc | 9 bool IsPinValid(const std::string& pin) { 10 if (pin.length() < 6) 12 for (size_t i = 0; i < pin.length(); i++) { 13 char c = pin[i];
|
pin_validator.h | 12 // Returns true if a PIN is valid. 13 bool IsPinValid(const std::string& pin);
|
/external/chromium_org/third_party/webrtc/modules/video_capture/windows/ |
help_functions_ds.cc | 38 IPin* pin = NULL; local 46 // get first unconnected pin 47 hr = pPinEnum->Reset(); // set to first pin 49 while (S_OK == pPinEnum->Next(1, &pin, NULL)) 52 pin->QueryDirection(&pPinDir); 53 if (PINDIR_INPUT == pPinDir) // This is an input pin 56 if (S_OK != pin->ConnectedTo(&tempPin)) // The pint is not connected 59 return pin; 62 pin->Release(); 71 IPin* pin = NULL local [all...] |
/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"
|
/external/chromium_org/remoting/host/ |
pin_hash.h | 13 // hashed host ID and PIN. 14 std::string MakeHostPinHash(const std::string& host_id, const std::string& pin); 17 // hash of the given host ID and PIN, and compares that hash to the given hash. 21 const std::string& pin);
|
pin_hash.cc | 15 const std::string& pin) { 17 protocol::AuthenticationMethod::HMAC_SHA256, host_id, pin); 25 const std::string& pin) { 33 hash_parsed.hash_function, host_id, 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 | 31 /** 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 = null [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...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
intrinsic_colormatrix.rs | 31 float4 pin = 0.f; 36 pin.xyzw = rsGetElementAt_float4(in, x, y); 39 pin.xyz = rsGetElementAt_float3(in, x, y); 42 pin.xy = rsGetElementAt_float2(in, x, y); 45 pin.x = rsGetElementAt_float(in, x, y); 66 pin = rsUnpackColor8888(u); 69 pin = rsMatrixMultiply(&m, pin); 70 pin += add; 75 rsSetElementAt_float4(out, pin, x, y) [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/chromium_org/remoting/webapp/browser_test/ |
cancel_pin_browser_test.js | 10 * 2. Hit cancel at the PIN prompt. 11 * 3. Reconnect with the PIN. 21 browserTest.expect(typeof data.pin == 'string'); 26 browserTest.clickOnControl('cancel-pin-entry-button'); 32 this.enterPin_.bind(this, data.pin) 42 browserTest.Cancel_PIN.prototype.enterPin_ = function(pin) { 43 document.getElementById('pin-entry').value = pin; 44 browserTest.clickOnControl('pin-connect-button');
|
invalid_pin_browser_test.js | 10 * 2. Enter |data.pin| at the PIN prompt. 21 browserTest.expect(typeof data.pin == 'string'); 27 this.enterPIN_.bind(this, data.pin) 40 browserTest.Invalid_PIN.prototype.enterPIN_ = function(pin) { 41 document.getElementById('pin-entry').value = pin; 42 browserTest.clickOnControl('pin-connect-button');
|
/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...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pProvDiscEvent.java | 40 public String pin; field in class:WifiP2pProvDiscEvent 51 * P2P-PROV-DISC-ENTER-PIN 42:fc:89:e1:e2:27 52 * P2P-PROV-DISC-SHOW-PIN 42:fc:89:e1:e2:27 44490607 66 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; 67 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN; 75 pin = tokens[2]; 83 sbuf.append("\n pin: ").append(pin);
|
/external/chromium_org/remoting/host/mac/ |
me2me_preference_pane_confirm_pin.h | 8 - (void)applyConfiguration:(id)sender pin:(NSString*)pin;
|
/external/chromium_org/chrome/browser/resources/chromeos/ |
sim_unlock.css | 10 #pin-error-msg { 20 .change-pin-content-area { 27 .choose-pin-content-area { 40 #pin-input-area { 75 #choose-pin-msg { 79 #choose-pin-error { 93 .choose-pin-input-area { 98 #choose-pin-action-area {
|
/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 | 151 * Check if the SIM pin lock is enabled. 152 * @return true if the SIM pin lock is enabled. 157 * Supply a pin to unlock the SIM. Blocks until a result is determined. 158 * @param pin The pin to check. 161 boolean supplyPin(String pin); 164 * Supply a pin to unlock the SIM for particular subId. 166 * @param pin The pin to check. 170 boolean supplyPinForSubscriber(long subId, String pin); [all...] |