1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/d0e99b35239cc3546dc8d635358ed735101d8a2e/out/android/os/IDumpstate.cpp.d --ninja -Iframeworks/native/cmds/dumpstate/binder -t --min_sdk_version=platform_apis -Iframeworks/native/cmds/dumpstate/binder/ frameworks/native/cmds/dumpstate/binder/android/os/IDumpstate.aidl out/soong/.temp/sbox/d0e99b35239cc3546dc8d635358ed735101d8a2e/out out/soong/.temp/sbox/d0e99b35239cc3546dc8d635358ed735101d8a2e/out/android/os/IDumpstate.cpp 4 * 5 * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..). 6 * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER 7 * AS A BUILD INTERMEDIATE ONLY. THIS IS NOT SOURCE CODE. 8 */ 9 #pragma once 10 11 #include <android-base/unique_fd.h> 12 #include <android/os/IDumpstateListener.h> 13 #include <binder/IBinder.h> 14 #include <binder/IInterface.h> 15 #include <binder/Status.h> 16 #include <binder/Trace.h> 17 #include <cstdint> 18 #include <string> 19 #include <utils/StrongPointer.h> 20 21 namespace android::os { 22 class IDumpstateListener; 23 } // namespace android::os 24 namespace android { 25 namespace os { 26 class LIBBINDER_EXPORTED IDumpstateDelegator; 27 28 class LIBBINDER_EXPORTED IDumpstate : public ::android::IInterface { 29 public: 30 typedef IDumpstateDelegator DefaultDelegator; 31 DECLARE_META_INTERFACE(Dumpstate) 32 enum : int32_t { BUGREPORT_MODE_FULL = 0 }; 33 enum : int32_t { BUGREPORT_MODE_INTERACTIVE = 1 }; 34 enum : int32_t { BUGREPORT_MODE_REMOTE = 2 }; 35 enum : int32_t { BUGREPORT_MODE_WEAR = 3 }; 36 enum : int32_t { BUGREPORT_MODE_TELEPHONY = 4 }; 37 enum : int32_t { BUGREPORT_MODE_WIFI = 5 }; 38 enum : int32_t { BUGREPORT_MODE_DEFAULT = 6 }; 39 enum : int32_t { BUGREPORT_MODE_ONBOARDING = 7 }; 40 enum : int32_t { BUGREPORT_FLAG_USE_PREDUMPED_UI_DATA = 1 }; 41 enum : int32_t { BUGREPORT_FLAG_DEFER_CONSENT = 2 }; 42 enum : int32_t { BUGREPORT_FLAG_KEEP_BUGREPORT_ON_RETRIEVAL = 4 }; 43 virtual ::android::binder::Status preDumpUiData(const ::std::string& callingPackage) = 0; 44 virtual ::android::binder::Status startBugreport(int32_t callingUid, const ::std::string& callingPackage, ::android::base::unique_fd bugreportFd, ::android::base::unique_fd screenshotFd, int32_t bugreportMode, int32_t bugreportFlags, const ::android::sp<::android::os::IDumpstateListener>& listener, bool isScreenshotRequested, bool skipUserConsent) = 0; 45 virtual ::android::binder::Status cancelBugreport(int32_t callingUid, const ::std::string& callingPackage) = 0; 46 virtual ::android::binder::Status retrieveBugreport(int32_t callingUid, const ::std::string& callingPackage, int32_t userId, ::android::base::unique_fd bugreportFd, const ::std::string& bugreportFile, bool keepBugreportOnRetrieval, bool skipUserConsent, const ::android::sp<::android::os::IDumpstateListener>& listener) = 0; 47 }; // class IDumpstate 48 49 class LIBBINDER_EXPORTED IDumpstateDefault : public IDumpstate { 50 public: onAsBinder()51 ::android::IBinder* onAsBinder() override { 52 return nullptr; 53 } preDumpUiData(const::std::string &)54 ::android::binder::Status preDumpUiData(const ::std::string& /*callingPackage*/) override { 55 return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION); 56 } startBugreport(int32_t,const::std::string &,::android::base::unique_fd,::android::base::unique_fd,int32_t,int32_t,const::android::sp<::android::os::IDumpstateListener> &,bool,bool)57 ::android::binder::Status startBugreport(int32_t /*callingUid*/, const ::std::string& /*callingPackage*/, ::android::base::unique_fd /*bugreportFd*/, ::android::base::unique_fd /*screenshotFd*/, int32_t /*bugreportMode*/, int32_t /*bugreportFlags*/, const ::android::sp<::android::os::IDumpstateListener>& /*listener*/, bool /*isScreenshotRequested*/, bool /*skipUserConsent*/) override { 58 return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION); 59 } cancelBugreport(int32_t,const::std::string &)60 ::android::binder::Status cancelBugreport(int32_t /*callingUid*/, const ::std::string& /*callingPackage*/) override { 61 return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION); 62 } retrieveBugreport(int32_t,const::std::string &,int32_t,::android::base::unique_fd,const::std::string &,bool,bool,const::android::sp<::android::os::IDumpstateListener> &)63 ::android::binder::Status retrieveBugreport(int32_t /*callingUid*/, const ::std::string& /*callingPackage*/, int32_t /*userId*/, ::android::base::unique_fd /*bugreportFd*/, const ::std::string& /*bugreportFile*/, bool /*keepBugreportOnRetrieval*/, bool /*skipUserConsent*/, const ::android::sp<::android::os::IDumpstateListener>& /*listener*/) override { 64 return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION); 65 } 66 }; // class IDumpstateDefault 67 } // namespace os 68 } // namespace android 69