Home
last modified time | relevance | path

Searched refs:psm (Results 1 – 25 of 44) sorted by relevance

12

/external/bluetooth/bluedroid/stack/l2cap/
Dl2c_ucd.c93 UINT16 psm; in l2c_ucd_data_ind_cback() local
99 STREAM_TO_UINT16(psm, p) in l2c_ucd_data_ind_cback()
104 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL) in l2c_ucd_data_ind_cback()
106 L2CAP_TRACE_ERROR ("L2CAP - no RCB for l2c_ucd_data_ind_cback, PSM: 0x%04x", psm); in l2c_ucd_data_ind_cback()
139 is_congested, p_rcb->psm, in l2c_ucd_congestion_status_cback()
202 BOOLEAN L2CA_UcdRegister ( UINT16 psm, tL2CAP_UCD_CB_INFO *p_cb_info ) in L2CA_UcdRegister() argument
206 L2CAP_TRACE_API ("L2CA_UcdRegister() PSM: 0x%04x", psm); in L2CA_UcdRegister()
211 L2CAP_TRACE_ERROR ("L2CAP - no callback registering PSM(0x%04x) on UCD", psm); in L2CA_UcdRegister()
215 if ((p_rcb = l2cu_find_rcb_by_psm (psm)) == NULL) in L2CA_UcdRegister()
217 L2CAP_TRACE_ERROR ("L2CAP - no RCB for L2CA_UcdRegister, PSM: 0x%04x", psm); in L2CA_UcdRegister()
[all …]
Dl2c_api.c52 UINT16 L2CA_Register (UINT16 psm, tL2CAP_APPL_INFO *p_cb_info) in L2CA_Register() argument
55 UINT16 vpsm = psm; in L2CA_Register()
57 L2CAP_TRACE_API ("L2CAP - L2CA_Register() called for PSM: 0x%04x", psm); in L2CA_Register()
69 L2CAP_TRACE_ERROR ("L2CAP - no cb registering PSM: 0x%04x", psm); in L2CA_Register()
74 if (L2C_INVALID_PSM(psm)) in L2CA_Register()
76 L2CAP_TRACE_ERROR ("L2CAP - invalid PSM value, PSM: 0x%04x", psm); in L2CA_Register()
82 if ( (psm >= 0x1001) && (p_cb_info->pL2CA_ConnectInd_Cb == NULL) ) in L2CA_Register()
90 L2CAP_TRACE_API ("L2CA_Register - Real PSM: 0x%04x Virtual PSM: 0x%04x", psm, vpsm); in L2CA_Register()
98 L2CAP_TRACE_WARNING ("L2CAP - no RCB available, PSM: 0x%04x vPSM: 0x%04x", psm, vpsm); in L2CA_Register()
104 p_rcb->real_psm = psm; in L2CA_Register()
[all …]
Dl2c_main.c63 void l2c_bcst_msg( BT_HDR *p_buf, UINT16 psm ) in l2c_bcst_msg() argument
98 UINT16_TO_STREAM (p, psm); in l2c_bcst_msg()
126 UINT16 l2cap_len, rcv_cid, psm; in l2c_rcv_acl_data() local
235 STREAM_TO_UINT16 (psm, p); in l2c_rcv_acl_data()
236 L2CAP_TRACE_DEBUG( "GOT CONNECTIONLESS DATA PSM:%d", psm ) ; in l2c_rcv_acl_data()
238 if (psm == TCS_PSM_INTERCOM || psm == TCS_PSM_CORDLESS) in l2c_rcv_acl_data()
435 STREAM_TO_UINT16 (con_info.psm, p); in process_l2cap_cmd()
437 if ((p_rcb = l2cu_find_rcb_by_psm (con_info.psm)) == NULL) in process_l2cap_cmd()
439 L2CAP_TRACE_WARNING ("L2CAP - rcvd conn req for unknown PSM: %d", con_info.psm); in process_l2cap_cmd()
447 … L2CAP_TRACE_WARNING ("L2CAP - rcvd conn req for outgoing-only connection PSM: %d", con_info.psm); in process_l2cap_cmd()
Dl2c_csm.c169 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_closed()
207 if (btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_closed()
264 if (btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_closed()
334 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_orig_w4_sec_comp()
436 p_ccb->p_rcb->psm, p_ccb->remote_id); in l2c_csm_term_w4_sec_comp()
495 btm_sec_l2cap_access_req (p_ccb->p_lcb->remote_bd_addr, p_ccb->p_rcb->psm, in l2c_csm_term_w4_sec_comp()
686 p_ccb->p_rcb->psm, in l2c_csm_w4_l2ca_connect_rsp()
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
DSDL_gsvideo.c202 ((unsigned long long)image->psm << 56); in loadimage_nonblock()
314 switch (vinfo.psm) { in GS_VideoInit()
322 SDL_SetError("Unknown console pixel format: %d", vinfo.psm); in GS_VideoInit()
325 vformat->BitsPerPixel = GS_pixelmasks[vinfo.psm].bpp; in GS_VideoInit()
326 vformat->Rmask = GS_pixelmasks[vinfo.psm].r; in GS_VideoInit()
327 vformat->Gmask = GS_pixelmasks[vinfo.psm].g; in GS_VideoInit()
328 vformat->Bmask = GS_pixelmasks[vinfo.psm].b; in GS_VideoInit()
428 (GS_pixelmasks[vinfo.psm].bpp != bpp) ) { in GS_SetVideoMode()
454 vinfo.psm = GS_formatmap[bpp/8]; in GS_SetVideoMode()
455 if ( vinfo.psm < 0 ) { in GS_SetVideoMode()
[all …]
DSDL_gsyuv.c83 int fbp, fbw, psm; in GS_CreateYUVOverlay() local
218 psm = screen_image.psm; in GS_CreateYUVOverlay()
231 ((unsigned long long)psm << 56); in GS_CreateYUVOverlay()
271 ((unsigned long long)psm << 20) + in GS_CreateYUVOverlay()
403 if ( screen_image.psm == PS2_GS_PSMCT16 ) { in GS_DisplayYUVOverlay()
/external/bluetooth/bluedroid/stack/include/
Dl2c_api.h123 #define L2C_INVALID_PSM(psm) (((psm) & 0x0101) != 0x0001) argument
124 #define L2C_IS_VALID_PSM(psm) (((psm) & 0x0101) == 0x0001) argument
350 L2C_API extern UINT16 L2CA_Register (UINT16 psm, tL2CAP_APPL_INFO *p_cb_info);
362 L2C_API extern void L2CA_Deregister (UINT16 psm);
388 L2C_API extern UINT16 L2CA_ConnectReq (UINT16 psm, BD_ADDR p_bd_addr);
417 L2C_API extern UINT16 L2CA_ErtmConnectReq (UINT16 psm, BD_ADDR p_bd_addr,
596 L2C_API extern UINT16 L2CA_LocalLoopbackReq (UINT16 psm, UINT16 handle, BD_ADDR p_bd_addr);
835 L2C_API extern BOOLEAN L2CA_UcdRegister ( UINT16 psm, tL2CAP_UCD_CB_INFO *p_cb_info );
848 L2C_API extern BOOLEAN L2CA_UcdDeregister ( UINT16 psm );
865 L2C_API extern BOOLEAN L2CA_UcdDiscover ( UINT16 psm, BD_ADDR rem_bda, UINT8 info_type );
[all …]
/external/chromium_org/chrome/common/net/
Dx509_certificate_model_nss.cc25 namespace psm = mozilla_security_manager;
59 return psm::GetOIDText(&algorithm_id->algorithm); in ProcessSecAlgorithmInternal()
69 return criticality + "\n" + psm::ProcessExtensionData(extension); in ProcessExtension()
119 return psm::GetCertTokenName(cert_handle); in GetTokenName()
134 return psm::GetCertType(cert_handle); in GetType()
139 psm::GetCertUsageStrings(cert_handle, usages); in GetUsageStrings()
191 return psm::GetCertTitle(cert_handle); in GetTitle()
195 return psm::ProcessName(&cert_handle->issuer); in GetIssuerName()
199 return psm::ProcessName(&cert_handle->subject); in GetSubjectName()
210 extension.name = psm::GetOIDText(&cert_handle->extensions[i]->id); in GetExtensions()
[all …]
/external/bluetooth/bluedroid/stack/mcap/
Dmca_l2c.c153 void mca_l2c_cconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) in mca_l2c_cconn_ind_cback() argument
155 tMCA_HANDLE handle = mca_handle_by_cpsm(psm); in mca_l2c_cconn_ind_cback()
163 MCA_TRACE_EVENT ("mca_l2c_cconn_ind_cback: lcid:x%x psm:x%x id:x%x", lcid, psm, id); in mca_l2c_cconn_ind_cback()
178 rc = btm_sec_mx_access_request (bd_addr, psm, FALSE, BTM_SEC_PROTO_MCA, 0, in mca_l2c_cconn_ind_cback()
229 void mca_l2c_dconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) in mca_l2c_dconn_ind_cback() argument
231 tMCA_HANDLE handle = mca_handle_by_dpsm(psm); in mca_l2c_dconn_ind_cback()
240 MCA_TRACE_EVENT ("mca_l2c_dconn_ind_cback: lcid:x%x psm:x%x ", lcid, psm); in mca_l2c_dconn_ind_cback()
563 UINT16 mca_l2c_open_req(BD_ADDR bd_addr, UINT16 psm, const tMCA_CHNL_CFG *p_chnl_cfg) in mca_l2c_open_req() argument
585 return L2CA_ErtmConnectReq (psm, bd_addr, &ertm_info); in mca_l2c_open_req()
Dmca_int.h304 extern tMCA_HANDLE mca_handle_by_cpsm(UINT16 psm);
305 extern tMCA_HANDLE mca_handle_by_dpsm(UINT16 psm);
328 extern void mca_l2c_cconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id);
329 extern void mca_l2c_dconn_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id);
Dmca_main.c68 tMCA_HANDLE mca_handle_by_cpsm(UINT16 psm) in mca_handle_by_cpsm() argument
76 if (p_rcb->p_cback && p_rcb->reg.ctrl_psm == psm) in mca_handle_by_cpsm()
95 tMCA_HANDLE mca_handle_by_dpsm(UINT16 psm) in mca_handle_by_dpsm() argument
103 if (p_rcb->p_cback && p_rcb->reg.data_psm == psm) in mca_handle_by_dpsm()
/external/bluetooth/bluedroid/stack/gap/
Dgap_conn.c33 static void gap_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id);
123 BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg, in GAP_ConnOpen() argument
179 …if ((p_ccb->psm = L2CA_REGISTER (psm, &gap_cb.conn.reg_info, AMP_AUTOSWITCH_ALLOWED|AMP_USE_AMP_IF… in GAP_ConnOpen()
181 GAP_TRACE_ERROR ("GAP_ConnOpen: Failure registering PSM 0x%04x", psm); in GAP_ConnOpen()
188 …M_SetSecurityLevel ((UINT8)!is_server, p_serv_name, p_ccb->service_id, security, p_ccb->psm, 0, 0)) in GAP_ConnOpen()
227 …if (p_rem_bda && ((cid = L2CA_CONNECT_REQ (p_ccb->psm, p_rem_bda, &p_ccb->ertm_info, &bt_uuid)) !=… in GAP_ConnOpen()
727 static void gap_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id) in gap_connect_ind() argument
737 && (p_ccb->psm == psm) in gap_connect_ind()
847 btm_sec_mx_access_request (p_ccb->rem_dev_address, p_ccb->psm, TRUE, in gap_connect_cfm()
1170 UINT16 psm = p_ccb->psm; in gap_release_ccb() local
[all …]
/external/chromium_org/extensions/browser/api/bluetooth_socket/
Dbluetooth_socket_api.cc93 bool IsValidPsm(int psm) { in IsValidPsm() argument
94 if (psm <= 0) in IsValidPsm()
98 while (psm > 0) { in IsValidPsm()
99 octets.push_back(psm & 0xFF); in IsValidPsm()
100 psm = psm >> 8; in IsValidPsm()
421 if (options->psm) { in CreateService()
422 int psm = *options->psm; in CreateService() local
423 if (!IsValidPsm(psm)) { in CreateService()
428 service_options.psm.reset(new int(psm)); in CreateService()
/external/chromium_org/net/base/
Dkeygen_handler_nss.cc14 namespace psm = mozilla_security_manager;
37 return psm::GenKeyAndSignChallenge(key_size_in_bits_, challenge_, url_, in GenKeyAndSignChallenge()
/external/bluetooth/bluedroid/stack/btm/
Dbtm_sec.c52 static tBTM_SEC_SERV_REC *btm_sec_find_first_serv (BOOLEAN is_originator, UINT16 psm);
54 static tBTM_SEC_SERV_REC *btm_sec_find_mx_serv (UINT8 is_originator, UINT16 psm,
73 static BOOLEAN btm_sec_queue_mx_request (BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_orig,
88 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id,
528 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id, in BTM_SetUCDSecurityLevel() argument
540 sec_level, psm, mx_proto_id, mx_chan_id)); in BTM_SetUCDSecurityLevel()
546 UNUSED(psm); in BTM_SetUCDSecurityLevel()
573 UINT16 sec_level, UINT16 psm, UINT32 mx_proto_id, in BTM_SetSecurityLevel() argument
585 sec_level, psm, mx_proto_id, mx_chan_id)); in BTM_SetSecurityLevel()
588 sec_level, psm, mx_proto_id, mx_chan_id)); in BTM_SetSecurityLevel()
[all …]
/external/chromium_org/net/cert/
Dnss_cert_database.cc36 namespace psm = mozilla_security_manager;
94 psm::EnsurePKCS12Init(); in NSSCertDatabase()
190 int result = psm::nsPKCS12Blob_Import(module->os_module_handle(), in ImportFromPKCS12()
205 return psm::nsPKCS12Blob_Export(output, certs, password); in ExportToPKCS12()
236 bool success = psm::ImportCACerts( in ImportCACerts()
248 return psm::ImportServerCert( in ImportServerCert()
355 bool success = psm::SetCertTrust(cert, type, trust_bits); in SetCertTrust()
/external/bluetooth/bluedroid/stack/avct/
Davct_l2c.c39 void avct_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id);
104 void avct_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) in avct_l2c_connect_ind_cback() argument
109 UNUSED(psm); in avct_l2c_connect_ind_cback()
/external/bluetooth/bluedroid/stack/rfcomm/
Drfc_l2cap_if.c40 static void RFCOMM_ConnectInd (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id);
88 void RFCOMM_ConnectInd (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) in RFCOMM_ConnectInd() argument
91 UNUSED(psm); in RFCOMM_ConnectInd()
/external/chromium_org/device/bluetooth/
Dbluetooth_socket_mac.mm167 psm:(BluetoothL2CAPPSM)psm;
176 psm:(BluetoothL2CAPPSM)psm {
187 withPSM:psm
331 int psm = options.psm ? *options.psm : kInvalidL2capPsm;
339 @"DataElementValue": [NSNumber numberWithInt:psm]
441 // Registers an L2CAP service with the specified |uuid|, |options.psm|, and
443 // |options.psm| is null. Does not register a name if |options.name| is null.
453 base::Bind(&VerifyL2capService, options.psm.get(), registered_psm));
535 psm:registered_psm]);
Dbluetooth_l2cap_channel_mac.h36 BluetoothL2CAPPSM psm,
Dbluetooth_l2cap_channel_mac.mm82 BluetoothL2CAPPSM psm,
95 withPSM:psm
/external/bluetooth/bluedroid/stack/avdt/
Davdt_l2c.c39 void avdt_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id);
175 void avdt_l2c_connect_ind_cback(BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) in avdt_l2c_connect_ind_cback() argument
182 UNUSED(psm); in avdt_l2c_connect_ind_cback()
/external/bluetooth/bluedroid/stack/hid/
Dhidh_conn.c53 UINT16 psm, UINT8 l2cap_id);
205 static void hidh_l2cif_connect_ind (BD_ADDR bd_addr, UINT16 l2cap_cid, UINT16 psm, UINT8 l2cap_id) in hidh_l2cif_connect_ind() argument
212 HIDH_TRACE_EVENT ("HID-Host Rcvd L2CAP conn ind, PSM: 0x%04x CID 0x%x", psm, l2cap_cid); in hidh_l2cif_connect_ind()
225 if (psm == HID_PSM_INTERRUPT) in hidh_l2cif_connect_ind()
260 if (psm == HID_PSM_CONTROL) in hidh_l2cif_connect_ind()
290 psm, l2cap_cid); in hidh_l2cif_connect_ind()
/external/chromium_org/chromeos/dbus/
Dbluetooth_profile_manager_client.h51 scoped_ptr<uint16> psm; member
Dbluetooth_profile_manager_client.cc98 if (options.psm.get() != NULL) { in RegisterProfile()
102 dict_writer.AppendVariantOfUint16(*(options.psm)); in RegisterProfile()

12