Home
last modified time | relevance | path

Searched refs:privacyPolicy (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp136 status_t strip(uint8_t privacyPolicy);
184 status_t FieldStripper::strip(const uint8_t privacyPolicy) { in strip() argument
187 if (mCurrentLevel < privacyPolicy) { in strip()
188 PrivacySpec spec(privacyPolicy); in strip()
214 mCurrentLevel = privacyPolicy; in strip()
237 FilterFd::FilterFd(uint8_t privacyPolicy, int fd) in FilterFd() argument
238 :mPrivacyPolicy(privacyPolicy), in FilterFd()
274 uint8_t privacyPolicy = PRIVACY_POLICY_LOCAL; // a.k.a. no filtering in writeData() local
278 if (privacyPolicy != output->getPrivacyPolicy()) { in writeData()
279 privacyPolicy = output->getPrivacyPolicy(); in writeData()
[all …]
DReporter.cpp55 IncidentMetadata_Destination privacy_policy_to_dest(uint8_t privacyPolicy) { in privacy_policy_to_dest() argument
56 switch (privacyPolicy) { in privacy_policy_to_dest()
81 int64_t reportId, int32_t privacyPolicy, ARGS args) { in make_metadata() argument
83 result->set_dest(privacy_policy_to_dest(privacyPolicy)); in make_metadata()
97 StreamingFilterFd(uint8_t privacyPolicy, int fd, const sp<ReportRequest>& request);
105 StreamingFilterFd::StreamingFilterFd(uint8_t privacyPolicy, int fd, in StreamingFilterFd() argument
107 :FilterFd(privacyPolicy, fd), in StreamingFilterFd()
119 PersistedFilterFd(uint8_t privacyPolicy, int fd, const sp<ReportFile>& reportFile);
127 PersistedFilterFd::PersistedFilterFd(uint8_t privacyPolicy, int fd, in PersistedFilterFd() argument
129 :FilterFd(privacyPolicy, fd), in PersistedFilterFd()
[all …]
DPrivacyFilter.h43 FilterFd(uint8_t privacyPolicy, int fd);
DReporter.h191 void setMaxPersistedPrivacyPolicy(uint8_t privacyPolicy);
/frameworks/base/libs/incident/src/
DIncidentReportArgs.cpp142 int32_t privacyPolicy; in readFromParcel() local
143 err = in->readInt32(&privacyPolicy); in readFromParcel()
147 mPrivacyPolicy = privacyPolicy; in readFromParcel()
165 IncidentReportArgs::setPrivacyPolicy(int privacyPolicy) in setPrivacyPolicy() argument
167 mPrivacyPolicy = privacyPolicy; in setPrivacyPolicy()
/frameworks/base/cmds/incidentd/tests/
DPrivacyFilter_test.cpp74 void assertStrip(uint8_t privacyPolicy, std::string expected, Privacy* policy) {
75 PrivacySpec spec = PrivacySpec::new_spec(privacyPolicy);
82 void assertStripByFields(uint8_t privacyPolicy, std::string expected, int size,
94 assertStrip(privacyPolicy, expected, create_message_privacy(300, list));
97 Privacy* create_privacy(uint32_t field_id, uint8_t type, uint8_t privacyPolicy) {
102 p->policy = privacyPolicy;
/frameworks/base/core/java/android/os/
DIncidentReportArgs.java159 public void setPrivacyPolicy(int privacyPolicy) { in setPrivacyPolicy() argument
160 switch (privacyPolicy) { in setPrivacyPolicy()
164 mPrivacyPolicy = privacyPolicy; in setPrivacyPolicy()
/frameworks/base/cmds/incident/
Dmain.cpp252 int privacyPolicy = PRIVACY_POLICY_AUTOMATIC; in main() local
288 privacyPolicy = get_privacy_policy(optarg); in main()
347 args.setPrivacyPolicy(privacyPolicy); in main()
/frameworks/base/libs/incident/include/android/os/
DIncidentReportArgs.h49 void setPrivacyPolicy(int privacyPolicy);