Searched refs:IDumpstateListener (Results 1 – 17 of 17) sorted by relevance
/frameworks/native/cmds/dumpstate/binder/android/os/ |
D | IDumpstate.aidl | 19 import android.os.IDumpstateListener; 99 IDumpstateListener listener, boolean isScreenshotRequested, in startBugreport() 135 IDumpstateListener listener); in retrieveBugreport()
|
D | IDumpstateListener.aidl | 27 interface IDumpstateListener { interface
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateService.cpp | 72 [[noreturn]] static void signalErrorAndExit(sp<IDumpstateListener> listener, int error_code) { in signalErrorAndExit() 120 const sp<IDumpstateListener>& listener, in startBugreport() 130 listener->onError(IDumpstateListener::BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS); in startBugreport() 152 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in startBugreport() 161 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in startBugreport() 185 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_RUNTIME_ERROR); in startBugreport() 214 const sp<IDumpstateListener>& listener) { in retrieveBugreport() 235 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in retrieveBugreport() 243 signalErrorAndExit(listener, IDumpstateListener::BUGREPORT_ERROR_RUNTIME_ERROR); in retrieveBugreport()
|
D | DumpstateService.h | 46 int bugreport_flags, const sp<IDumpstateListener>& listener, 56 const sp<IDumpstateListener>& listener)
|
D | Android.bp | 74 "binder/android/os/IDumpstateListener.aidl",
|
D | dumpstate.h | 523 android::sp<android::os::IDumpstateListener> listener_;
|
D | dumpstate.cpp | 123 using android::os::IDumpstateListener; 3144 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in HandleRunStatus() 3147 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_RUNTIME_ERROR); in HandleRunStatus() 3150 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT); in HandleRunStatus() 3153 listener_->onError(IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in HandleRunStatus()
|
/frameworks/base/core/java/android/os/ |
D | BugreportManager.java | 103 IDumpstateListener.BUGREPORT_ERROR_INVALID_INPUT; 107 IDumpstateListener.BUGREPORT_ERROR_RUNTIME_ERROR; 111 IDumpstateListener.BUGREPORT_ERROR_USER_DENIED_CONSENT; 115 IDumpstateListener.BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT; 119 IDumpstateListener.BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS; 123 IDumpstateListener.BUGREPORT_ERROR_NO_BUGREPORT_TO_RETRIEVE; 420 private final class DumpstateListener extends IDumpstateListener.Stub {
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | BugreportManagerServiceImpl.java | 38 import android.os.IDumpstateListener; 489 int bugreportMode, int bugreportFlags, IDumpstateListener listener, in startBugreport() 525 reportError(listener, IDumpstateListener.BUGREPORT_ERROR_RUNTIME_ERROR); in startBugreport() 582 IDumpstateListener listener) { in retrieveBugreport() 593 reportError(listener, IDumpstateListener.BUGREPORT_ERROR_NO_BUGREPORT_TO_RETRIEVE); in retrieveBugreport() 602 IDumpstateListener.BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS); in retrieveBugreport() 609 reportError(listener, IDumpstateListener.BUGREPORT_ERROR_RUNTIME_ERROR); in retrieveBugreport() 808 int bugreportMode, int bugreportFlags, IDumpstateListener listener, in startBugreportLocked() 813 reportError(listener, IDumpstateListener.BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS); in startBugreportLocked() 840 reportError(listener, IDumpstateListener.BUGREPORT_ERROR_RUNTIME_ERROR); in startBugreportLocked() [all …]
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_smoke_test.cpp | 519 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F() 520 listener->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F() 549 EXPECT_EQ(listener->getErrorCode(), IDumpstateListener::BUGREPORT_ERROR_INVALID_INPUT); in TEST_F() 594 IDumpstateListener::BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS); in TEST_F() 602 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_DENIED_CONSENT || in TEST_F() 603 listener1->getErrorCode() == IDumpstateListener::BUGREPORT_ERROR_USER_CONSENT_TIMED_OUT); in TEST_F()
|
D | dumpstate_test.cpp | 71 class DumpstateListenerMock : public IDumpstateListener {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/os/ |
D | BugreportManagerServiceImplTest.java | 36 import android.os.IDumpstateListener; 278 private static class Listener implements IDumpstateListener {
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 57 import android.os.IDumpstateListener; 160 private IDumpstateListener mIDumpstateListener; 608 ArgumentCaptor<IDumpstateListener> listenerCap = ArgumentCaptor.forClass( in sendBugreportStarted() 609 IDumpstateListener.class); in sendBugreportStarted()
|
/frameworks/base/boot/ |
D | preloaded-classes | 6050 android.os.IDumpstateListener$Stub$Proxy 6051 android.os.IDumpstateListener$Stub 6052 android.os.IDumpstateListener
|
D | boot-image-profile.txt | 28448 Landroid/os/IDumpstateListener$Stub$Proxy; 28449 Landroid/os/IDumpstateListener$Stub; 28450 Landroid/os/IDumpstateListener;
|
/frameworks/base/config/ |
D | preloaded-classes | 6054 android.os.IDumpstateListener$Stub$Proxy 6055 android.os.IDumpstateListener$Stub 6056 android.os.IDumpstateListener
|
D | boot-image-profile.txt | 38582 Landroid/os/IDumpstateListener$Stub$Proxy; 38583 Landroid/os/IDumpstateListener$Stub; 38584 Landroid/os/IDumpstateListener;
|