Searched refs:IDumpstateListener (Results 1 – 12 of 12) 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/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/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/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() 160 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in startBugreport() 179 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_RUNTIME_ERROR); in startBugreport()
|
D | DumpstateService.h | 41 binder::Status setListener(const std::string& name, const sp<IDumpstateListener>& listener, 48 const sp<IDumpstateListener>& listener) override;
|
D | Android.bp | 68 "binder/android/os/IDumpstateListener.aidl",
|
D | dumpstate.h | 453 android::sp<android::os::IDumpstateListener> listener_;
|
D | dumpstate.cpp | 106 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/ |
D | dumpstate_smoke_test.cpp | 462 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()
|
D | dumpstate_test.cpp | 60 class DumpstateListenerMock : public IDumpstateListener {
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 83 import android.os.IDumpstateListener; 1907 private final class DumpstateListener extends IDumpstateListener.Stub
|