Home
last modified time | relevance | path

Searched refs:pin (Results 1 – 25 of 33) sorted by relevance

12

/system/bt/gd/cert/
Dpy_security.py130 def __send_ui_callback(self, address, callback_type, b, uid, pin): argument
140 pin=bytes(pin),
189 def input_pin(self, cert_address, pin): argument
193 logging.info("DUT: Inputting pin code: %s" % str(pin))
195 …t_address=cert_address, reply_boolean=True, expected_ui_event=UiMsgType.DISPLAY_PIN_ENTRY, pin=pin)
197 def on_user_input(self, cert_address, reply_boolean, expected_ui_event, pin=[]): argument
215 callback_type = UiCallbackType.YES_NO if len(pin) == 0 else UiCallbackType.PIN
216 self.__send_ui_callback(cert_address, callback_type, reply_boolean, ui_id, pin)
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dsecurity_manager.cc204 const std::vector<uint8_t>& pin) { in SetLocalPin() argument
206 host_pin_ = pin; in SetLocalPin()
210 const std::vector<uint8_t>& pin) { in SetRemotePin() argument
212 peer_pin_ = pin; in SetRemotePin()
Dsecurity_manager.h84 void SetLocalPin(const Address& peer, const std::vector<uint8_t>& pin);
85 void SetRemotePin(const Address& peer, const std::vector<uint8_t>& pin);
/system/bt/gd/rust/gddi/macros/
Dlib.rs34 …fn #injected_ident(registry: std::sync::Arc<gddi::Registry>) -> std::pin::Pin<gddi::ProviderFuture… in provides()
35 Box::pin(async move { in provides()
199 … |registry: std::sync::Arc<gddi::Registry>| -> std::pin::Pin<gddi::ProviderFutureBox> { in part_out()
200 Box::pin(async move { in part_out()
/system/core/libcutils/
Dashmem-dev.cpp438 ashmem_pin pin = { static_cast<uint32_t>(offset), static_cast<uint32_t>(len) }; in ashmem_pin_region() local
439 return __ashmem_check_failure(fd, TEMP_FAILURE_RETRY(ioctl(fd, ASHMEM_PIN, &pin))); in ashmem_pin_region()
454 ashmem_pin pin = { static_cast<uint32_t>(offset), static_cast<uint32_t>(len) }; in ashmem_unpin_region() local
455 return __ashmem_check_failure(fd, TEMP_FAILURE_RETRY(ioctl(fd, ASHMEM_UNPIN, &pin))); in ashmem_unpin_region()
/system/bt/gd/security/cert/
Dcert_security.py235 def input_pin(self, address, pin): argument
240 if len(pin) > self.MAX_PIN_LENGTH or len(pin) < self.MIN_PIN_LENGTH:
245 logging.info("Cert: Send user input PIN %s for %s" % (pin.decode(), address))
247 pin_list = list(pin)
251 … self._enqueue_hci_command(hci_packets.PinCodeRequestReplyBuilder(peer, len(pin), pin_list), True)
253 def __send_ui_callback(self, address, callback_type, b, uid, pin): argument
Dsecurity_test.py179 pin = b'123456789A'
180 logging.info("pin: %s" % pin)
181 initiator.input_pin(responder.get_address(), pin)
182 responder.input_pin(initiator.get_address(), pin)
/system/bt/embdrv/sbc/decoder/include/
Doi_bt_spec.h152 uint8_t pin[OI_BT_PIN_CODE_SIZE]; member
/system/bt/gd/security/
Dsecurity_manager.cc121 …rityManager::OnPinEntry(const bluetooth::hci::AddressWithType& address, std::vector<uint8_t> pin) { in OnPinEntry() argument
123 …rityManagerImpl::OnPinEntry, common::Unretained(security_manager_impl_), address, std::move(pin))); in OnPinEntry()
Dsecurity_manager.h127 …void OnPinEntry(const bluetooth::hci::AddressWithType& address, std::vector<uint8_t> pin) override;
Dui.h134 …virtual void OnPinEntry(const bluetooth::hci::AddressWithType& address, std::vector<uint8_t> pin) …
Dfacade.proto78 bytes pin = 6; field
/system/bt/gd/rust/topshim/btif/
Dbtif_shim.cc316 std::copy(std::begin(code.pin), std::end(code.pin), pin_code.pin); in PinReply()
/system/sepolicy/prebuilts/api/28.0/private/
Dbpfloader.te11 # These permission is required for pin bpf program for netd.
/system/sepolicy/prebuilts/api/29.0/private/
Dbpfloader.te6 # These permission is required for pin bpf program for netd.
/system/sepolicy/prebuilts/api/30.0/private/
Dbpfloader.te6 # These permissions are required to pin ebpf maps & programs.
/system/bt/gd/security/pairing/
Dpairing_handler.h80 …virtual void OnPinEntry(const bluetooth::hci::AddressWithType& address, std::vector<uint8_t> pin) …
Dclassic_pairing_handler.cc96 …ringHandler::OnPinEntry(const bluetooth::hci::AddressWithType& address, std::vector<uint8_t> pin) { in OnPinEntry() argument
98 for (size_t i = 0; i < 16 && i < pin.size(); i++) { in OnPinEntry()
99 padded_pin[i] = pin[i]; in OnPinEntry()
102 …GetChannel()->SendCommand(hci::PinCodeRequestReplyBuilder::Create(address.GetAddress(), pin.size()… in OnPinEntry()
Dclassic_pairing_handler.h90 …void OnPinEntry(const bluetooth::hci::AddressWithType& address, std::vector<uint8_t> pin) override;
/system/bt/gd/rust/link/src/acl/
Dfragment.rs96 ) -> std::pin::Pin< in fragmenting_stream()
/system/sepolicy/prebuilts/api/31.0/private/
Dbpfloader.te6 # These permissions are required to pin ebpf maps & programs.
/system/sepolicy/private/
Dbpfloader.te6 # These permissions are required to pin ebpf maps & programs.
/system/bt/btif/src/
Dbtif_dm.cc741 pin_code.pin[0] = 0x30; in btif_dm_pin_req_evt()
742 pin_code.pin[1] = 0x30; in btif_dm_pin_req_evt()
743 pin_code.pin[2] = 0x30; in btif_dm_pin_req_evt()
744 pin_code.pin[3] = 0x30; in btif_dm_pin_req_evt()
747 BTA_DmPinReply(bd_addr, true, 4, pin_code.pin); in btif_dm_pin_req_evt()
756 pin_code.pin[0] = 0x30; in btif_dm_pin_req_evt()
757 pin_code.pin[1] = 0x30; in btif_dm_pin_req_evt()
758 pin_code.pin[2] = 0x30; in btif_dm_pin_req_evt()
759 pin_code.pin[3] = 0x30; in btif_dm_pin_req_evt()
762 BTA_DmPinReply(bd_addr, true, 4, pin_code.pin); in btif_dm_pin_req_evt()
[all …]
/system/bt/gd/rust/gddi/src/
Dlib.rs6 use std::pin::Pin;
/system/bt/gd/security/internal/
Dsecurity_manager_impl.h184 …void OnPinEntry(const bluetooth::hci::AddressWithType& address, std::vector<uint8_t> pin) override;

12