Home
last modified time | relevance | path

Searched refs:Privacy (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/cmds/incidentd/tests/
DPrivacyFilter_test.cpp74 void assertStrip(uint8_t privacyPolicy, std::string expected, Privacy* policy) {
83 Privacy* privacy, ...) {
84 Privacy* list[size + 1];
89 Privacy* p = va_arg(args, Privacy*);
97 Privacy* create_privacy(uint32_t field_id, uint8_t type, uint8_t privacyPolicy) {
98 Privacy* p = new_uninit_privacy();
107 Privacy* create_message_privacy(uint32_t field_id, Privacy** children) {
108 Privacy* p = new_uninit_privacy();
123 std::vector<Privacy*> privacies;
125 Privacy* new_uninit_privacy() {
[all …]
Dsection_list.cpp56 Privacy sub_field_1{1, 1, NULL, PRIVACY_POLICY_LOCAL, NULL};
57 Privacy sub_field_2{2, 9, NULL, PRIVACY_POLICY_AUTOMATIC, NULL};
59 Privacy* list[] = {&sub_field_1, &sub_field_2, NULL};
61 Privacy field_0{0, 11, list, PRIVACY_POLICY_EXPLICIT, NULL};
62 Privacy field_1{1, 9, NULL, PRIVACY_POLICY_AUTOMATIC, NULL};
64 Privacy* final_list[] = {&field_0, &field_1};
66 const Privacy** PRIVACY_POLICY_LIST = const_cast<const Privacy**>(final_list);
/frameworks/base/cmds/incidentd/src/
DPrivacy.h39 struct Privacy { struct
49 Privacy** children; argument
61 uint64_t encode_field_id(const Privacy* p); argument
64 const Privacy* lookup(const Privacy* p, uint32_t fieldId);
78 bool CheckPremission(const Privacy* privacy,
DPrivacy.cpp31 uint64_t encode_field_id(const Privacy* p) { return (uint64_t)p->type << 32 | p->field_id; } in encode_field_id()
33 string Privacy::toString() const { in toString()
43 const Privacy* lookup(const Privacy* p, uint32_t fieldId) { in lookup()
88 bool PrivacySpec::CheckPremission(const Privacy* privacy, const uint8_t defaultDest) const { in CheckPremission()
DPrivacyFilter.cpp94 const Privacy* parentPolicy, const PrivacySpec& spec, int depth) { in strip_field()
100 const Privacy* policy = lookup(parentPolicy, fieldId); in strip_field()
129 FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data,
152 const Privacy* mRestrictions;
172 FieldStripper::FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data, in FieldStripper()
246 PrivacyFilter::PrivacyFilter(int sectionId, const Privacy* restrictions) in PrivacyFilter()
DPrivacyFilter.h65 PrivacyFilter(int sectionId, const Privacy* restrictions);
90 const Privacy* mRestrictions;
Dincidentd_util.cpp32 const Privacy* get_privacy_of_section(int id) { in get_privacy_of_section()
37 const Privacy* p = PRIVACY_POLICY_LIST[mid]; in get_privacy_of_section()
Dsection_list.h40 extern const Privacy** PRIVACY_POLICY_LIST;
Dincidentd_util.h38 const Privacy* get_privacy_of_section(int id);
Dreport_file.proto42 * Privacy policy at which this report should be shared.
DIncidentService.cpp534 static void printPrivacy(const Privacy* p, FILE* out, String8 indent) { in printPrivacy()
551 const Privacy* p = get_privacy_of_section(sectionId); in cmd_privacy()
/frameworks/base/cmds/incidentd/
DAndroid.bp107 "src/Privacy.cpp",
/frameworks/base/core/proto/android/os/
Dincident.proto60 // Privacy tag can be marked to override UNSET messages so generic
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto593 // OPEN: QS Sensor Privacy Mode tile shown
594 // ACTION: QS Sensor Privacy Mode tile tapped
2186 // OPEN: Settings > Privacy
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto6673 // OPEN: Settings > Privacy
6734 // OPEN: QS Sensor Privacy Mode tile shown
6735 // ACTION: QS Sensor Privacy Mode tile tapped
/frameworks/base/cmds/statsd/src/
Datoms.proto3835 * Logs user interaction with the Privacy Indicators added in Q. In particular:
3838 * - How does the user exit the Privacy Dialog