Home
last modified time | relevance | path

Searched refs:privacyPolicy (Results 1 – 14 of 14) 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()
222 mCurrentLevel = privacyPolicy; in strip()
245 FilterFd::FilterFd(uint8_t privacyPolicy, int fd) in FilterFd() argument
246 :mPrivacyPolicy(privacyPolicy), in FilterFd()
282 uint8_t privacyPolicy = PRIVACY_POLICY_LOCAL; // a.k.a. no filtering in writeData() local
286 if (privacyPolicy != output->getPrivacyPolicy()) { in writeData()
287 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.cpp148 int32_t privacyPolicy; in readFromParcel() local
149 err = in->readInt32(&privacyPolicy); in readFromParcel()
153 mPrivacyPolicy = privacyPolicy; in readFromParcel()
180 IncidentReportArgs::setPrivacyPolicy(int privacyPolicy) in setPrivacyPolicy() argument
182 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/tools/app_metadata_bundles/src/lib/java/com/android/asllib/marshallable/
DAppInfoFactory.java46 String privacyPolicy = in createFromHrElements() local
68 privacyPolicy, in createFromHrElements()
96 String privacyPolicy = in createFromOdElements() local
116 privacyPolicy, in createFromOdElements()
DAppInfo.java49 String privacyPolicy, in AppInfo() argument
62 this.mPrivacyPolicy = privacyPolicy; in AppInfo()
/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.java157 public void setPrivacyPolicy(int privacyPolicy) { in setPrivacyPolicy() argument
158 switch (privacyPolicy) { in setPrivacyPolicy()
162 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);