Home
last modified time | relevance | path

Searched refs:IDumpstateListener (Results 1 – 12 of 12) 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/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/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/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()
160 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in startBugreport()
179 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_RUNTIME_ERROR); in startBugreport()
DDumpstateService.h41 binder::Status setListener(const std::string& name, const sp<IDumpstateListener>& listener,
48 const sp<IDumpstateListener>& listener) override;
DAndroid.bp68 "binder/android/os/IDumpstateListener.aidl",
Ddumpstate.h453 android::sp<android::os::IDumpstateListener> listener_;
Ddumpstate.cpp106 using android::os::IDumpstateListener;
2528 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in Run()
2531 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_RUNTIME_ERROR); in Run()
2534 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT); in Run()
2537 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in Run()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp462 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
463 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
491 EXPECT_EQ(listener->getErrorCode(), IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in TEST_F()
531 IDumpstateListener::BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS); in TEST_F()
539 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F()
540 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
Ddumpstate_test.cpp60 class DumpstateListenerMock : public IDumpstateListener {
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java83 import android.os.IDumpstateListener;
1907 private final class DumpstateListener extends IDumpstateListener.Stub