Lines Matching refs:argsCopy
252 IncidentReportArgs argsCopy(args); in reportIncident() local
256 argsCopy.setPrivacyPolicy(cleanup_privacy_policy(args.getPrivacyPolicy())); in reportIncident()
269 if (argsCopy.getPrivacyPolicy() < PRIVACY_POLICY_EXPLICIT) { in reportIncident()
271 argsCopy.setPrivacyPolicy(PRIVACY_POLICY_EXPLICIT); in reportIncident()
275 if (argsCopy.receiverPkg().length() == 0 && argsCopy.receiverCls().length() == 0) { in reportIncident()
276 argsCopy.setReceiverPkg(DROPBOX_SENTINEL.getPackageName()); in reportIncident()
277 argsCopy.setReceiverCls(DROPBOX_SENTINEL.getClassName()); in reportIncident()
280 mHandler->schedulePersistedReport(argsCopy); in reportIncident()
288 IncidentReportArgs argsCopy(args); in reportIncidentToStream() local
291 argsCopy.setReceiverPkg(""); in reportIncidentToStream()
292 argsCopy.setReceiverCls(""); in reportIncidentToStream()
296 argsCopy.setPrivacyPolicy(cleanup_privacy_policy(args.getPrivacyPolicy())); in reportIncidentToStream()
298 Status status = checkIncidentPermissions(argsCopy); in reportIncidentToStream()
309 mHandler->scheduleStreamingReport(argsCopy, listener, fd); in reportIncidentToStream()