Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp135 status_t strip(uint8_t privacyPolicy);
189 status_t FieldStripper::strip(const uint8_t privacyPolicy) { in strip() argument
192 if (mCurrentLevel < privacyPolicy) { in strip()
193 PrivacySpec spec(privacyPolicy); in strip()
220 mCurrentLevel = privacyPolicy; in strip()
243 FilterFd::FilterFd(uint8_t privacyPolicy, int fd) in FilterFd() argument
244 :mPrivacyPolicy(privacyPolicy), in FilterFd()
280 uint8_t privacyPolicy = PRIVACY_POLICY_LOCAL; // a.k.a. no filtering in writeData() local
284 if (privacyPolicy != output->getPrivacyPolicy()) { in writeData()
285 privacyPolicy = output->getPrivacyPolicy(); in writeData()
[all …]
DReporter.cpp59 IncidentMetadata_Destination privacy_policy_to_dest(uint8_t privacyPolicy) { in privacy_policy_to_dest() argument
60 switch (privacyPolicy) { in privacy_policy_to_dest()
85 int64_t reportId, int32_t privacyPolicy, ARGS args) { in make_metadata() argument
87 result->set_dest(privacy_policy_to_dest(privacyPolicy)); in make_metadata()
101 StreamingFilterFd(uint8_t privacyPolicy, int fd, const sp<ReportRequest>& request);
109 StreamingFilterFd::StreamingFilterFd(uint8_t privacyPolicy, int fd, in StreamingFilterFd() argument
111 :FilterFd(privacyPolicy, fd), in StreamingFilterFd()
123 PersistedFilterFd(uint8_t privacyPolicy, int fd, const sp<ReportFile>& reportFile);
131 PersistedFilterFd::PersistedFilterFd(uint8_t privacyPolicy, int fd, in PersistedFilterFd() argument
133 :FilterFd(privacyPolicy, fd), in PersistedFilterFd()
[all …]
DPrivacyFilter.h43 FilterFd(uint8_t privacyPolicy, int fd);
DReporter.h198 void setMaxPersistedPrivacyPolicy(uint8_t privacyPolicy);
/frameworks/base/libs/incident/src/
DIncidentReportArgs.cpp149 int32_t privacyPolicy; in readFromParcel() local
150 err = in->readInt32(&privacyPolicy); in readFromParcel()
154 mPrivacyPolicy = privacyPolicy; in readFromParcel()
181 IncidentReportArgs::setPrivacyPolicy(int privacyPolicy) in setPrivacyPolicy() argument
183 mPrivacyPolicy = privacyPolicy; in setPrivacyPolicy()
Dincident_report.cpp51 void AIncidentReportArgs_setPrivacyPolicy(AIncidentReportArgs* args, int privacyPolicy) { in AIncidentReportArgs_setPrivacyPolicy() argument
52 reinterpret_cast<IncidentReportArgs*>(args)->setPrivacyPolicy(privacyPolicy); in AIncidentReportArgs_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/libs/incident/tests/
DIncidentReportRequest_test.cpp48 inline void setPrivacyPolicy(int privacyPolicy) { in setPrivacyPolicy() argument
49 AIncidentReportArgs_setPrivacyPolicy(mImpl, privacyPolicy); in setPrivacyPolicy()
/frameworks/base/libs/incident/include/incident/
Dincident_report.h89 void AIncidentReportArgs_setPrivacyPolicy(AIncidentReportArgs* args, int privacyPolicy);
/frameworks/base/cmds/incident/
Dmain.cpp253 int privacyPolicy = PRIVACY_POLICY_AUTOMATIC; in main() local
289 privacyPolicy = get_privacy_policy(optarg); in main()
351 args.setPrivacyPolicy(privacyPolicy); in main()
/frameworks/base/libs/incident/include_priv/android/os/
DIncidentReportArgs.h51 void setPrivacyPolicy(int privacyPolicy);