Searched refs:psm (Results 1 - 25 of 38) sorted by relevance

12

/external/bluetooth/bluez/attrib/
H A Dclient.h26 struct btd_device *device, int psm,
H A Dgatttool.h26 const gchar *sec_level, int psm, int mtu,
H A Dutils.c44 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,
43 gatt_connect(const gchar *src, const gchar *dst, const gchar *sec_level, int psm, int mtu, BtIOConnect connect_cb) argument
H A Dgatt.h55 uuid_t *prim_uuid, uint16_t *psm,
H A Dgatt.c599 static gboolean parse_proto_params(sdp_list_t *proto_list, uint16_t *psm, argument
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);
625 gatt_parse_record(const sdp_record_t *rec, uuid_t *prim_uuid, uint16_t *psm, uint16_t *start, uint16_t *end) argument
/external/bluetooth/bluez/cups/
H A Dsdp.c67 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/
H A Dkeygen_handler_nss.cc15 namespace psm = mozilla_security_manager;
37 return psm::GenKeyAndSignChallenge(key_size_in_bits_, challenge_, url_,
H A Dcert_database_nss.cc25 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);
H A Dcert_database_nss_unittest.cc30 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/
H A Dparser.c64 uint16_t psm; member in struct:__anon1038
69 void set_proto(uint16_t handle, uint16_t psm, uint8_t channel, uint32_t proto) argument
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
98 get_proto(uint16_t handle, uint16_t psm, uint8_t channel) argument
[all...]
H A Dsdp.c269 static inline void print_int(uint8_t de_type, int level, int n, struct frame *frm, uint16_t *psm, uint8_t *channel) argument
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) argument
353 if (psm && *psm > 0 && *psm != 0xffff) {
354 set_proto(frm->handle, *psm, 0, uuid);
355 *psm
399 print_des(uint8_t de_type, int level, int n, struct frame *frm, int *split, uint16_t *psm, uint8_t *channel) argument
406 print_de(int level, struct frame *frm, int *split, uint16_t *psm, uint8_t *channel) argument
517 uint16_t attr_id, psm; local
[all...]
H A Dl2cap.c57 uint16_t psm; member in struct:__anon1035
93 static void add_cid(int in, uint16_t handle, uint16_t cid, uint16_t psm) argument
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;
391 uint16_t psm local
409 uint16_t psm; local
715 uint16_t psm; local
810 uint16_t psm = get_psm(!frm->in, cid); local
[all...]
H A Dparser.h202 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/bluetooth/bluez/tools/
H A Dciptool.c91 static int get_psm(bdaddr_t *src, bdaddr_t *dst, unsigned short *psm) argument
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) argument
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
341 unsigned short psm; local
[all...]
H A Dsdptool.c1139 uint16_t psm; member in struct:__anon746
2034 sdp_data_t *psm, *version; local
2055 psm = sdp_data_alloc(SDP_UINT16, &lp);
2056 proto[0] = sdp_list_append(proto[0], psm);
2094 sdp_data_free(psm);
2111 sdp_data_t *psm, *version; local
2132 psm = sdp_data_alloc(SDP_UINT16, &lp);
2133 proto[0] = sdp_list_append(proto[0], psm);
2157 sdp_data_free(psm);
2174 sdp_data_t *psm, *versio 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/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
H A DSDL_gsvideo.c202 ((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 <
[all...]
H A DSDL_gsyuv.c83 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/chromium/chrome/common/net/
H A Dx509_certificate_model_nss.cc24 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
[all...]
/external/bluetooth/bluez/input/
H A Ddevice.h54 int input_device_set_channel(const bdaddr_t *src, const bdaddr_t *dst, int psm,
H A Dserver.c63 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/
H A Dhdp_util.c361 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)) {
906 hdp_get_prot_desc_list(const sdp_record_t *rec, guint16 *psm, guint16 *version) argument
930 hdp_get_add_prot_desc_list(const sdp_record_t *rec, guint16 *psm) argument
[all...]
/external/bluetooth/bluez/test/
H A Dbtiotest.c227 static void l2cap_connect(const char *src, const char *dst, uint16_t psm, argument
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, argument
280 printf("Listening on L2CAP PSM %u\n", psm);
289 BT_IO_OPT_PSM, psm,
297 BT_IO_OPT_PSM, psm,
475 { "psm", 'p', 0, G_OPTION_ARG_INT, &opt_psm,
H A Dl2test.c88 /* 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] [
[all...]
/external/qemu/hw/
H A Dbt-l2cap.c98 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),
1344 void bt_l2cap_psm_register(struct bt_l2cap_device_s *dev, int psm, in argument
388 l2cap_psm( struct bt_l2cap_device_s *device, int psm) argument
399 l2cap_channel_open(struct l2cap_instance_s *l2cap, int psm, int source_cid) argument
743 l2cap_channel_open_req_msg(struct l2cap_instance_s *l2cap, int psm, int source_cid) argument
[all...]
/external/bluetooth/bluez/audio/
H A Dcontrol.c212 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);

Completed in 2063 milliseconds

12