Home
last modified time | relevance | path

Searched refs:pf (Results 1 – 25 of 26) sorted by relevance

12

/system/sepolicy/tools/sepolicy-analyze/
Dutils.c25 bool load_policy(char *filename, policydb_t * policydb, struct policy_file *pf) in load_policy() argument
47 policy_file_init(pf); in load_policy()
48 pf->type = PF_USE_MEMORY; in load_policy()
49 pf->data = map; in load_policy()
50 pf->len = sb.st_size; in load_policy()
55 if (policydb_read(policydb, pf, 0)) { in load_policy()
Dsepolicy-analyze.c45 struct policy_file pf; in main() local
53 if(!load_policy(policy, &policydb, &pf)) in main()
Dutils.h14 bool load_policy(char *filename, policydb_t * policydb, struct policy_file *pf);
/system/bt/stack/include/
Drfcdefs.h80 #define RFCOMM_PARSE_TYPE_FIELD(type, pf, p_data) \ argument
83 (pf) = (*(p_data)++ & RFCOMM_PF_MASK) >> RFCOMM_PF_OFFSET; \
86 #define RFCOMM_FORMAT_TYPE_FIELD(p_data, type, pf) \ argument
87 *(p_data)++ = ((type) | ((pf) << RFCOMM_PF_OFFSET)) { \
89 (pf) = (*(p_data)++ & RFCOMM_PF_MASK) >> RFCOMM_PF_OFFSET; \
/system/sepolicy/tools/
Dsepolicy-check.c188 int load_policy(char *filename, policydb_t *policydb, struct policy_file *pf) { in load_policy() argument
211 policy_file_init(pf); in load_policy()
212 pf->type = PF_USE_MEMORY; in load_policy()
213 pf->data = map; in load_policy()
214 pf->len = sb.st_size; in load_policy()
221 ret = policydb_read(policydb, pf, 0); in load_policy()
237 struct policy_file pf; in main() local
279 if (load_policy(policy, &policydb, &pf)) in main()
Dcheckfc.c38 sepol_policy_file_t *pf; member
221 if (global_state.sepolicy.pf) { in cleanup()
222 sepol_policy_file_free(global_state.sepolicy.pf); in cleanup()
290 if (sepol_policy_file_create(&global_state.sepolicy.pf) < 0) { in do_fc_check_and_die_on_error()
295 sepol_policy_file_set_fp(global_state.sepolicy.pf, global_state.sepolicy.file); in do_fc_check_and_die_on_error()
296 sepol_policy_file_set_handle(global_state.sepolicy.pf, global_state.sepolicy.handle); in do_fc_check_and_die_on_error()
304 rc = sepol_policydb_read(global_state.sepolicy.sdb, global_state.sepolicy.pf); in do_fc_check_and_die_on_error()
Dcheck_seapp.c147 sepol_policy_file_t *pf; member
174 .pf = NULL,
900 if (sepol_policy_file_create(&pol.pf) < 0) { in init()
906 sepol_policy_file_set_fp(pol.pf, pol.policy_file); in init()
907 sepol_policy_file_set_handle(pol.pf, pol.handle); in init()
915 if (sepol_policydb_read(pol.db, pol.pf) < 0) { in init()
1247 if (pol.pf) in cleanup()
1248 sepol_policy_file_free(pol.pf); in cleanup()
/system/vold/
DScryptParameters.cpp22 bool parse_scrypt_parameters(const char* paramstr, int* Nf, int* rf, int* pf) { in parse_scrypt_parameters() argument
49 *pf = params[2]; in parse_scrypt_parameters()
DScryptParameters.h26 bool parse_scrypt_parameters(const char* paramstr, int* Nf, int* rf, int* pf);
DKeyStorage.cpp343 int Nf, rf, pf; in stretchSecret() local
345 &rf, &pf)) { in stretchSecret()
352 1 << rf, 1 << pf, reinterpret_cast<uint8_t*>(&(*stretched)[0]), in stretchSecret()
Dcryptfs.cpp467 int Nf, rf, pf; in get_device_scrypt_params() local
470 if (!parse_scrypt_parameters(paramstr, &Nf, &rf, &pf)) { in get_device_scrypt_params()
472 parse_scrypt_parameters(SCRYPT_DEFAULTS, &Nf, &rf, &pf); in get_device_scrypt_params()
476 ftr->p_factor = pf; in get_device_scrypt_params()
/system/nfc/src/nfc/tags/
Drw_main.cc244 rw_t3t_select(p_activate_params->rf_tech_param.param.pf.nfcid2, in RW_SetActivatedTagType()
245 p_activate_params->rf_tech_param.param.pf.mrti_check, in RW_SetActivatedTagType()
246 p_activate_params->rf_tech_param.param.pf.mrti_update); in RW_SetActivatedTagType()
/system/bt/stack/avrc/
Davrc_int.h104 #define AVRC_CTRL_PKT_LEN(pf, pk) \ argument
105 { (pf) = (uint8_t*)((pk) + 1) + (pk)->offset + 2; }
/system/sepolicy/tests/
Dsepol_wrap.cpp231 struct policy_file pf; in load_policy() local
232 policy_file_init(&pf); in load_policy()
233 pf.type = PF_USE_MEMORY; in load_policy()
234 pf.data = static_cast<char *>(map.get()); in load_policy()
235 pf.len = sb.st_size; in load_policy()
243 if (policydb_read(db, &pf, 0)) { in load_policy()
/system/bt/stack/rfcomm/
Drfc_ts_frames.cc97 void rfc_send_dm(tRFC_MCB* p_mcb, uint8_t dlci, bool pf) { in rfc_send_dm() argument
107 *p_data++ = RFCOMM_DM | ((pf) ? RFCOMM_PF : 0); in rfc_send_dm()
524 RFCOMM_PARSE_TYPE_FIELD(p_frame->type, p_frame->pf, p_data); in rfc_parse_data()
546 (p_frame->dlci != RFCOMM_MX_DLCI) && (p_frame->pf == 1)) { in rfc_parse_data()
572 !p_frame->pf || len || !RFCOMM_VALID_DLCI(p_frame->dlci) || in rfc_parse_data()
581 !p_frame->pf || len || !RFCOMM_VALID_DLCI(p_frame->dlci) || in rfc_parse_data()
599 !p_frame->pf || len || !RFCOMM_VALID_DLCI(p_frame->dlci) || in rfc_parse_data()
Drfc_int.h92 uint8_t pf; member
326 extern void rfc_send_dm(tRFC_MCB* p_rfc_mcb, uint8_t dlci, bool pf);
Drfc_l2cap_if.cc332 rfc_send_dm(p_mcb, rfc_cb.rfc.rx_frame.dlci, rfc_cb.rfc.rx_frame.pf); in RFCOMM_BufDataInd()
/system/bt/stack/test/rfcomm/
Dstack_rfcomm_test_utils.h73 uint8_t GetControlField(bool pf, uint8_t frame_type);
Dstack_rfcomm_test_utils.cc50 uint8_t GetControlField(bool pf, uint8_t frame_type) { in GetControlField() argument
53 control.set(4, pf); in GetControlField()
/system/nfc/src/nfa/include/
Dnfa_api.h533 uint8_t pf; /* Frequency for NFC Technology F */ member
/system/nfc/src/nfc/include/
Dnfc_api.h604 tNFC_RF_PF_PARAMS pf; member
/system/nfc/src/nfa/dm/
Dnfa_dm_act.cc1747 p_nfcid = p_tech_params->param.pf.nfcid2; in nfa_dm_notify_activation_status()
Dnfa_dm_discover.cc128 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pf; in nfa_dm_get_rf_discover_config()
/system/nfc/src/nfc/nfc/
Dnfc_ncif.cc737 p_pf = &p_param->param.pf; in nfc_ncif_decode_rf_params()
/system/timezone/input_data/android/
Dcountryzones.txt2463 isoCode:"pf"

12