Home
last modified time | relevance | path

Searched refs:field_id (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/incidentd/src/
DPrivacy.cpp26 uint64_t encode_field_id(const Privacy* p) { return (uint64_t)p->type << 32 | p->field_id; } in encode_field_id()
31 if (p->children[i]->field_id == fieldId) return p->children[i]; in lookup()
33 if (p->children[i]->field_id > fieldId) return NULL; in lookup()
Dincidentd_util.cpp39 if (p->field_id < (uint32_t)id) { in get_privacy_of_section()
41 } else if (p->field_id > (uint32_t)id) { in get_privacy_of_section()
DPrivacy.h41 uint32_t field_id; member
DIncidentService.cpp333 fprintf(out, "%sid:%d, type:%d, dest:%d\n", indent.string(), p->field_id, p->type, p->dest); in printPrivacy()
/frameworks/base/cmds/incidentd/tests/
DPrivacyBuffer_test.cpp95 Privacy* create_privacy(uint32_t field_id, uint8_t type, uint8_t dest) { in create_privacy() argument
97 p->field_id = field_id; in create_privacy()
105 Privacy* create_message_privacy(uint32_t field_id, Privacy** children) { in create_message_privacy() argument
107 p->field_id = field_id; in create_message_privacy()