Home
last modified time | relevance | path

Searched refs:IDumpstateListener (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/os/
DBugreportManagerServiceImpl.java27 import android.os.IDumpstateListener;
67 public IDumpstateToken setListener(String name, IDumpstateListener listener, in setListener()
76 int bugreportMode, IDumpstateListener listener) { in startBugreport()
155 int bugreportMode, IDumpstateListener listener) { in startBugreportLocked()
160 IDumpstateListener.BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS); in startBugreportLocked()
167 reportError(listener, IDumpstateListener.BUGREPORT_ERROR_RUNTIME_ERROR); in startBugreportLocked()
172 IDumpstateListener myListener = new DumpstateListener(listener, ds); in startBugreportLocked()
233 private void reportError(IDumpstateListener listener, int errorCode) { in reportError()
248 private final class DumpstateListener extends IDumpstateListener.Stub
250 private final IDumpstateListener mListener;
[all …]
/frameworks/native/cmds/dumpstate/binder/android/os/
DIDumpstate.aidl19 import android.os.IDumpstateListener;
36 IDumpstateToken setListener(@utf8InCpp String name, IDumpstateListener listener, in setListener()
82 int bugreportMode, IDumpstateListener listener); in startBugreport()
DIDumpstateListener.aidl29 interface IDumpstateListener { interface
/frameworks/base/core/java/android/os/
DBugreportManager.java81 IDumpstateListener.BUGREPORT_ERROR_INVALID_INPUT;
85 IDumpstateListener.BUGREPORT_ERROR_RUNTIME_ERROR;
89 IDumpstateListener.BUGREPORT_ERROR_USER_DENIED_CONSENT;
93 IDumpstateListener.BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT;
97 IDumpstateListener.BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS;
194 private final class DumpstateListener extends IDumpstateListener.Stub {
/frameworks/native/cmds/dumpstate/
DDumpstateService.cpp56 [[noreturn]] static void signalErrorAndExit(sp<IDumpstateListener> listener, int error_code) { in signalErrorAndExit()
87 const sp<IDumpstateListener>& listener, in setListener()
121 const sp<IDumpstateListener>& listener) { in startBugreport()
130 listener->onError(IDumpstateListener::BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS); in startBugreport()
151 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in startBugreport()
157 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in startBugreport()
179 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_RUNTIME_ERROR); in startBugreport()
DDumpstateSectionReporter.h39 DumpstateSectionReporter(const std::string& title, sp<android::os::IDumpstateListener> listener,
54 android::sp<android::os::IDumpstateListener> listener_;
DDumpstateService.h41 binder::Status setListener(const std::string& name, const sp<IDumpstateListener>& listener,
48 const sp<IDumpstateListener>& listener) override;
DDumpstateSectionReporter.cpp26 sp<android::os::IDumpstateListener> listener, in DumpstateSectionReporter()
DAndroid.bp68 "binder/android/os/IDumpstateListener.aidl",
Ddumpstate.h455 android::sp<android::os::IDumpstateListener> listener_;
Ddumpstate.cpp93 using android::os::IDumpstateListener;
2457 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in Run()
2460 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_RUNTIME_ERROR); in Run()
2463 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT); in Run()
2466 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in Run()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp413 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
414 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
442 EXPECT_EQ(listener->getErrorCode(), IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in TEST_F()
478 IDumpstateListener::BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS); in TEST_F()
486 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
487 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
Ddumpstate_test.cpp60 class DumpstateListenerMock : public IDumpstateListener {
/frameworks/base/packages/Shell/
DAndroid.mk10 ../../../native/cmds/dumpstate/binder/android/os/IDumpstateListener.aidl \
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java83 import android.os.IDumpstateListener;
1909 private final class DumpstateListener extends IDumpstateListener.Stub