Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/binder/android/os/
DIDumpstate.aidl19 import android.os.IDumpstateListener;
99 IDumpstateListener listener, boolean isScreenshotRequested, in startBugreport()
135 IDumpstateListener listener); in retrieveBugreport()
DIDumpstateListener.aidl27 interface IDumpstateListener { interface
/frameworks/native/cmds/dumpstate/
DDumpstateService.cpp72 [[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()
DDumpstateService.h46 int bugreport_flags, const sp<IDumpstateListener>& listener,
56 const sp<IDumpstateListener>& listener)
DAndroid.bp74 "binder/android/os/IDumpstateListener.aidl",
Ddumpstate.h523 android::sp<android::os::IDumpstateListener> listener_;
Ddumpstate.cpp123 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/
DBugreportManager.java103 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/
DBugreportManagerServiceImpl.java38 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/
Ddumpstate_smoke_test.cpp519 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()
Ddumpstate_test.cpp71 class DumpstateListenerMock : public IDumpstateListener {
/frameworks/base/services/tests/servicestests/src/com/android/server/os/
DBugreportManagerServiceImplTest.java36 import android.os.IDumpstateListener;
278 private static class Listener implements IDumpstateListener {
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java57 import android.os.IDumpstateListener;
160 private IDumpstateListener mIDumpstateListener;
608 ArgumentCaptor<IDumpstateListener> listenerCap = ArgumentCaptor.forClass( in sendBugreportStarted()
609 IDumpstateListener.class); in sendBugreportStarted()
/frameworks/base/boot/
Dpreloaded-classes6050 android.os.IDumpstateListener$Stub$Proxy
6051 android.os.IDumpstateListener$Stub
6052 android.os.IDumpstateListener
Dboot-image-profile.txt28448 Landroid/os/IDumpstateListener$Stub$Proxy;
28449 Landroid/os/IDumpstateListener$Stub;
28450 Landroid/os/IDumpstateListener;
/frameworks/base/config/
Dpreloaded-classes6054 android.os.IDumpstateListener$Stub$Proxy
6055 android.os.IDumpstateListener$Stub
6056 android.os.IDumpstateListener
Dboot-image-profile.txt38582 Landroid/os/IDumpstateListener$Stub$Proxy;
38583 Landroid/os/IDumpstateListener$Stub;
38584 Landroid/os/IDumpstateListener;