Searched refs:IDumpstateListener (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 27 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/ |
D | IDumpstate.aidl | 19 import android.os.IDumpstateListener; 36 IDumpstateToken setListener(@utf8InCpp String name, IDumpstateListener listener, in setListener() 82 int bugreportMode, IDumpstateListener listener); in startBugreport()
|
D | IDumpstateListener.aidl | 29 interface IDumpstateListener { interface
|
/frameworks/base/core/java/android/os/ |
D | BugreportManager.java | 81 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/ |
D | DumpstateService.cpp | 56 [[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()
|
D | DumpstateSectionReporter.h | 39 DumpstateSectionReporter(const std::string& title, sp<android::os::IDumpstateListener> listener, 54 android::sp<android::os::IDumpstateListener> listener_;
|
D | DumpstateService.h | 41 binder::Status setListener(const std::string& name, const sp<IDumpstateListener>& listener, 48 const sp<IDumpstateListener>& listener) override;
|
D | DumpstateSectionReporter.cpp | 26 sp<android::os::IDumpstateListener> listener, in DumpstateSectionReporter()
|
D | Android.bp | 68 "binder/android/os/IDumpstateListener.aidl",
|
D | dumpstate.h | 455 android::sp<android::os::IDumpstateListener> listener_;
|
D | dumpstate.cpp | 93 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/ |
D | dumpstate_smoke_test.cpp | 413 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()
|
D | dumpstate_test.cpp | 60 class DumpstateListenerMock : public IDumpstateListener {
|
/frameworks/base/packages/Shell/ |
D | Android.mk | 10 ../../../native/cmds/dumpstate/binder/android/os/IDumpstateListener.aidl \
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 83 import android.os.IDumpstateListener; 1909 private final class DumpstateListener extends IDumpstateListener.Stub
|