Searched refs:ReportRequest (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/cmds/incidentd/src/ |
D | Reporter.h | 38 struct ReportRequest : public virtual RefBase { struct 44 ReportRequest(const IncidentReportArgs& args, const sp<IIncidentReportStatusListener>& listener, argument 46 virtual ~ReportRequest(); 57 void add(const sp<ReportRequest>& request); 61 typedef vector<sp<ReportRequest>>::iterator iterator; 75 vector<sp<ReportRequest>> mRequests;
|
D | IncidentService.h | 46 void addRequest(const sp<ReportRequest>& request); 47 sp<ReportRequest> getNextRequest(); 51 deque<sp<ReportRequest> > mQueue; 66 void scheduleRunReport(const sp<ReportRequest>& request);
|
D | IncidentService.cpp | 103 void ReportRequestQueue::addRequest(const sp<ReportRequest>& request) { in addRequest() 108 sp<ReportRequest> ReportRequestQueue::getNextRequest() { in getNextRequest() 113 sp<ReportRequest> front(mQueue.front()); in getNextRequest() 140 void ReportHandler::scheduleRunReport(const sp<ReportRequest>& request) { in scheduleRunReport() 163 sp<ReportRequest> request = mQueue->getNextRequest(); in run_report() 217 mHandler->scheduleRunReport(new ReportRequest(args, NULL, -1)); in reportIncident() 237 mHandler->scheduleRunReport(new ReportRequest(args, listener, fd)); in reportIncidentToStream()
|
D | Reporter.cpp | 47 ReportRequest::ReportRequest(const IncidentReportArgs& a, in ReportRequest() function in android::os::incidentd::ReportRequest 51 ReportRequest::~ReportRequest() { in ~ReportRequest() 58 bool ReportRequest::ok() { return fd >= 0 && err == NO_ERROR; } in ok() 67 void ReportRequestSet::add(const sp<ReportRequest>& request) { in add()
|
D | Section.cpp | 89 map<PrivacySpec, vector<sp<ReportRequest>>> requestsBySpec; in write_report_requests() 91 sp<ReportRequest> request = *it; in write_report_requests() 106 sp<ReportRequest> request = *it; in write_report_requests() 169 const sp<ReportRequest> request = *it; in Execute() 221 const sp<ReportRequest> request = *it; in Execute()
|
/frameworks/base/cmds/incidentd/tests/ |
D | Reporter_test.cpp | 147 sp<ReportRequest> r1 = new ReportRequest(args1, l, tf.fd); in TEST_F() 148 sp<ReportRequest> r2 = new ReportRequest(args2, l, tf.fd); in TEST_F() 174 sp<ReportRequest> r = new ReportRequest(args, l, -1); in TEST_F() 191 sp<ReportRequest> r = new ReportRequest(args, l, -1); in TEST_F()
|
D | Section_test.cpp | 101 requests.add(new ReportRequest(args1, new SimpleListener(), -1)); in TEST_F() 102 requests.add(new ReportRequest(args2, new SimpleListener(), tf.fd)); in TEST_F() 275 sp<ReportRequest> badFdRequest = new ReportRequest(args, new SimpleListener(), 1234567); in TEST_F() 292 requests.add(new ReportRequest(args, new SimpleListener(), -1)); in TEST_F() 311 requests.add(new ReportRequest(args1, l, output1.fd)); in TEST_F() 312 requests.add(new ReportRequest(args2, l, output2.fd)); in TEST_F() 313 requests.add(new ReportRequest(args3, l, output3.fd)); in TEST_F() 353 requests.add(new ReportRequest(args1, l, output1.fd)); in TEST_F() 354 requests.add(new ReportRequest(args2, l, output2.fd)); in TEST_F() 355 requests.add(new ReportRequest(args3, l, output3.fd)); in TEST_F()
|