/frameworks/base/cmds/incidentd/src/ |
D | PrivacyFilter.cpp | 135 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 …]
|
D | Reporter.cpp | 59 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 …]
|
D | PrivacyFilter.h | 43 FilterFd(uint8_t privacyPolicy, int fd);
|
D | Reporter.h | 198 void setMaxPersistedPrivacyPolicy(uint8_t privacyPolicy);
|
/frameworks/base/libs/incident/src/ |
D | IncidentReportArgs.cpp | 149 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()
|
D | incident_report.cpp | 51 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/ |
D | PrivacyFilter_test.cpp | 74 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/ |
D | IncidentReportArgs.java | 159 public void setPrivacyPolicy(int privacyPolicy) { in setPrivacyPolicy() argument 160 switch (privacyPolicy) { in setPrivacyPolicy() 164 mPrivacyPolicy = privacyPolicy; in setPrivacyPolicy()
|
/frameworks/base/libs/incident/tests/ |
D | IncidentReportRequest_test.cpp | 48 inline void setPrivacyPolicy(int privacyPolicy) { in setPrivacyPolicy() argument 49 AIncidentReportArgs_setPrivacyPolicy(mImpl, privacyPolicy); in setPrivacyPolicy()
|
/frameworks/base/libs/incident/include/incident/ |
D | incident_report.h | 89 void AIncidentReportArgs_setPrivacyPolicy(AIncidentReportArgs* args, int privacyPolicy);
|
/frameworks/base/cmds/incident/ |
D | main.cpp | 253 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/ |
D | IncidentReportArgs.h | 51 void setPrivacyPolicy(int privacyPolicy);
|