/external/bluetooth/bluez/attrib/ |
client.h | 26 struct btd_device *device, int psm,
|
gatttool.h | 26 const gchar *sec_level, int psm, int mtu,
|
utils.c | 44 const gchar *sec_level, int psm, int mtu, 55 minimum_mtu = psm ? ATT_MIN_MTU_L2CAP : ATT_MIN_MTU_LE; 84 if (psm == 0) 96 BT_IO_OPT_PSM, psm,
|
gatt.h | 55 uuid_t *prim_uuid, uint16_t *psm,
|
gatt.c | 599 static gboolean parse_proto_params(sdp_list_t *proto_list, uint16_t *psm, 604 if (psm) 605 *psm = sdp_get_proto_port(proto_list, L2CAP_UUID); 626 uuid_t *prim_uuid, uint16_t *psm, 642 ret = parse_proto_params(list, psm, start, end);
|
/external/bluetooth/bluez/cups/ |
sdp.c | 67 unsigned short psm = sdp_get_proto_port(protos, L2CAP_UUID); local 68 if (psm > 0) { 69 *ctrl_psm = psm; 74 unsigned short psm = sdp_get_proto_port(protos, L2CAP_UUID); local 75 if (psm > 0 && *ctrl_psm > 0) { 76 *data_psm = psm;
|
/external/chromium/net/base/ |
keygen_handler_nss.cc | 14 // PSM = Mozilla's Personal Security Manager. 15 namespace psm = mozilla_security_manager; 37 return psm::GenKeyAndSignChallenge(key_size_in_bits_, challenge_, url_,
|
cert_database_nss.cc | 24 // PSM = Mozilla's Personal Security Manager. 25 namespace psm = mozilla_security_manager; 31 psm::EnsurePKCS12Init(); 160 int result = psm::nsPKCS12Blob_Import(module->os_module_handle(), 173 return psm::nsPKCS12Blob_Export(output, certs, password); 203 bool success = psm::ImportCACerts(certificates, root, trust_bits, 213 return psm::ImportServerCert(certificates, not_imported); 224 psm::nsNSSCertTrust trust(&nsstrust); 242 bool success = psm::SetCertTrust(cert, type, trusted);
|
cert_database_nss_unittest.cc | 30 namespace psm = mozilla_security_manager; 210 psm::nsNSSCertTrust trust(cert->os_cert_handle()->trust); 242 psm::nsNSSCertTrust trust(cert->os_cert_handle()->trust); 273 psm::nsNSSCertTrust trust(cert->os_cert_handle()->trust); 459 psm::nsNSSCertTrust goog_trust(goog_cert->os_cert_handle()->trust); 484 psm::nsNSSCertTrust puny_trust(puny_cert->os_cert_handle()->trust);
|
/external/bluetooth/hcidump/parser/ |
parser.c | 64 uint16_t psm; member in struct:__anon2123 69 void set_proto(uint16_t handle, uint16_t psm, uint8_t channel, uint32_t proto) 73 if (psm > 0 && psm < 0x1000 && !channel) 76 if (!psm && channel) 77 psm = RFCOMM_PSM; 80 if (proto_table[i].handle == handle && proto_table[i].psm == psm && proto_table[i].channel == channel) { 85 if (pos < 0 && !proto_table[i].handle && !proto_table[i].psm && !proto_table[i].channel) 93 proto_table[pos].psm = psm [all...] |
sdp.c | 269 static inline void print_int(uint8_t de_type, int level, int n, struct frame *frm, uint16_t *psm, uint8_t *channel) 294 if (psm && de_type == SDP_DE_UINT) 295 if (*psm == 0) 296 *psm = val; 321 static inline void print_uuid(int n, struct frame *frm, uint16_t *psm, uint8_t *channel) 353 if (psm && *psm > 0 && *psm != 0xffff) { 354 set_proto(frm->handle, *psm, 0, uuid); 355 *psm = 0xffff 517 uint16_t attr_id, psm; local [all...] |
l2cap.c | 57 uint16_t psm; member in struct:__anon2120 93 static void add_cid(int in, uint16_t handle, uint16_t cid, uint16_t psm) 102 if (table[i].psm == psm) 109 table[pos].psm = psm; 133 cid_table[t][i].psm = 0; 150 cid_table[t][i].psm = 0; 164 return table[i].psm; 235 return "Connection refused - PSM not supported" 391 uint16_t psm = btohs(h->psm); local 409 uint16_t psm; local 715 uint16_t psm; local 810 uint16_t psm = get_psm(!frm->in, cid); local [all...] |
parser.h | 202 void set_proto(uint16_t handle, uint16_t psm, uint8_t channel, uint32_t proto); 203 uint32_t get_proto(uint16_t handle, uint16_t psm, uint8_t channel);
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsvideo.c | 202 ((unsigned long long)image->psm << 56); 314 switch (vinfo.psm) { 322 SDL_SetError("Unknown console pixel format: %d", vinfo.psm); 325 vformat->BitsPerPixel = GS_pixelmasks[vinfo.psm].bpp; 326 vformat->Rmask = GS_pixelmasks[vinfo.psm].r; 327 vformat->Gmask = GS_pixelmasks[vinfo.psm].g; 328 vformat->Bmask = GS_pixelmasks[vinfo.psm].b; 428 (GS_pixelmasks[vinfo.psm].bpp != bpp) ) { 454 vinfo.psm = GS_formatmap[bpp/8]; 455 if ( vinfo.psm < 0 ) [all...] |
SDL_gsyuv.c | 83 int fbp, fbw, psm; local 218 psm = screen_image.psm; 231 ((unsigned long long)psm << 56); 271 ((unsigned long long)psm << 20) + 403 if ( screen_image.psm == PS2_GS_PSMCT16 ) {
|
/external/bluetooth/bluez/tools/ |
ciptool.c | 91 static int get_psm(bdaddr_t *src, bdaddr_t *dst, unsigned short *psm) 122 *psm = p; 131 static int do_connect(int ctl, int dev_id, bdaddr_t *src, bdaddr_t *dst, unsigned short psm, uint32_t flags) 182 addr.l2_psm = htobs(psm); 228 unsigned short psm; local 256 if (!get_psm(&src, &dst, &psm)) 262 do_connect(ctl, dev_id, &src, &dst, psm, 0); 275 unsigned short psm; local 293 if (!get_psm(&src, &dst, &psm)) 294 psm = 4099 341 unsigned short psm; local [all...] |
sdptool.c | 1038 printf(" PSM: %d\n", p->val.uint16); 1139 uint16_t psm; member in struct:__anon1831 2034 sdp_data_t *psm, *version; local 2111 sdp_data_t *psm, *version; local 2174 sdp_data_t *psm, *version; local 2239 sdp_data_t *psm, *lang_lst, *lang_lst2, *hid_spec_lst, *hid_spec_lst2; local 2402 sdp_data_t *psm, *lang_lst, *lang_lst2, *hid_spec_lst, *hid_spec_lst2; local 2573 uint16_t psm = si->psm ? si->psm : 0x1001; local 2696 sdp_data_t *psm, *version; local 2757 sdp_data_t *psm, *version; local 2818 sdp_data_t *psm, *version, *features; local 2882 sdp_data_t *psm, *version, *features; local 3389 uint16_t psm = 0xf0f9; local 3437 sdp_data_t *psm, *sh, *eh; local [all...] |
/external/chromium/chrome/common/net/ |
x509_certificate_model_nss.cc | 24 namespace psm = mozilla_security_manager; 58 return psm::GetOIDText(&algorithm_id->algorithm); 69 psm::ProcessExtensionData(SECOID_FindOIDTag(&extension->id), 123 return psm::GetCertTokenName(cert_handle); 135 return psm::GetCertType(cert_handle); 146 psm::GetCertUsageStrings(cert_handle, usages); 154 key_usage_str = psm::ProcessKeyUsageBitString(&key_usage, ','); 209 return psm::GetCertTitle(cert_handle); 213 return psm::ProcessName(&cert_handle->issuer); 217 return psm::ProcessName(&cert_handle->subject) [all...] |
/external/bluetooth/bluez/input/ |
device.h | 54 int input_device_set_channel(const bdaddr_t *src, const bdaddr_t *dst, int psm,
|
server.c | 63 uint16_t psm; local 76 BT_IO_OPT_PSM, &psm, 85 DBG("Incoming connection on PSM %d", psm); 87 ret = input_device_set_channel(&src, &dst, psm, chan); 92 if (ret == -ENOENT && psm == L2CAP_PSM_HIDP_CTRL) {
|
/external/bluetooth/bluez/health/ |
hdp_util.c | 361 sdp_data_t *psm = NULL, *mcap_ver = NULL; local 372 psm = sdp_data_alloc(SDP_UINT16, &adapter->ccpsm); 373 if (!psm) { 378 if (!sdp_list_append(l2cap_list, psm)) { 435 if (psm) 436 sdp_data_free(psm); 475 sdp_data_t *psm = NULL; local 485 psm = sdp_data_alloc(SDP_UINT16, &adapter->dcpsm); 486 if (!psm) { 491 if (!sdp_list_append(l2cap_list, psm)) { [all...] |
/external/bluetooth/bluez/test/ |
btiotest.c | 227 static void l2cap_connect(const char *src, const char *dst, uint16_t psm, 233 printf("Connecting to %s L2CAP PSM %u\n", dst, psm); 243 BT_IO_OPT_PSM, psm, 251 BT_IO_OPT_PSM, psm, 262 static void l2cap_listen(const char *src, uint16_t psm, gint defer, 280 printf("Listening on L2CAP PSM %u\n", psm); 289 BT_IO_OPT_PSM, psm, 297 BT_IO_OPT_PSM, psm, [all...] |
l2test.c | 88 /* Default addr and psm and cid */ 90 static unsigned short psm = 0x1011; variable 293 else if (psm) 294 addr.l2_psm = htobs(psm); 362 else if (psm) 363 addr.l2_psm = htobs(psm); 450 psm = btohs(addr.l2_psm); 453 syslog(LOG_INFO, "Waiting for connection on psm %d ...", psm); 1078 "\t[-b bytes] [-i device] [-P psm] [-J cid]\n [all...] |
/external/qemu/hw/ |
bt-l2cap.c | 98 int psm; member in struct:bt_l2cap_psm_s 389 struct bt_l2cap_device_s *device, int psm) 393 while (ret && ret->psm != psm) 400 int psm, int source_cid) 409 psm_info = l2cap_psm(l2cap->dev, psm); 744 int psm, int source_cid) 746 struct l2cap_chan_s *ch = l2cap_channel_open(l2cap, psm, source_cid); 826 le16_to_cpu(((l2cap_conn_req *) params)->psm), [all...] |
/external/bluetooth/bluez/audio/ |
control.c | 212 sdp_data_t *psm, *version, *features; local 232 psm = sdp_data_alloc(SDP_UINT16, &lp); 233 proto[0] = sdp_list_append(proto[0], psm); 256 free(psm); 276 sdp_data_t *psm, *version, *features; local 299 psm = sdp_data_alloc(SDP_UINT16, &lp); 300 proto[0] = sdp_list_append(proto[0], psm); 323 free(psm);
|