Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DPrivacy.cpp31 uint64_t encode_field_id(const Privacy* p) { return (uint64_t)p->type << 32 | p->field_id; } in encode_field_id()
38 os << "Privacy{field_id=" << field_id << " type=" << ((int)type) in toString()
46 if (p->children[i]->field_id == fieldId) return p->children[i]; in lookup()
48 if (p->children[i]->field_id > fieldId) return NULL; in lookup()
DPrivacy.h41 uint32_t field_id; member
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()
DIncidentService.cpp590 fprintf(out, "%sid:%d, type:%d, dest:%d\n", indent.string(), p->field_id, p->type, p->policy); in printPrivacy()
/frameworks/base/cmds/incidentd/tests/
DPrivacyFilter_test.cpp97 Privacy* create_privacy(uint32_t field_id, uint8_t type, uint8_t privacyPolicy) {
99 p->field_id = field_id;
107 Privacy* create_message_privacy(uint32_t field_id, Privacy** children) {
109 p->field_id = field_id;
/frameworks/base/startop/view_compiler/
Ddex_builder.h268 static inline Instruction GetStaticField(size_t field_id, Value dest) { in GetStaticField() argument
269 return Instruction{Op::kGetStaticField, field_id, dest}; in GetStaticField()
272 static inline Instruction SetStaticField(size_t field_id, Value value) { in SetStaticField() argument
274 Op::kSetStaticField, field_id, /*result_is_object=*/false, /*dest=*/{}, value}; in SetStaticField()
277 static inline Instruction GetField(size_t field_id, Value dest, Value object) { in GetField() argument
278 return Instruction{Op::kGetInstanceField, field_id, /*result_is_object=*/false, dest, object}; in GetField()
281 static inline Instruction SetField(size_t field_id, Value object, Value value) { in SetField() argument
283 Op::kSetInstanceField, field_id, /*result_is_object=*/false, /*dest=*/{}, object, value}; in SetField()
/frameworks/base/core/proto/android/view/inputmethod/
Deditorinfo.proto31 optional int32 field_id = 5; field