/hardware/interfaces/dumpstate/aidl/default/ |
D | Android.bp | 25 name: "android.hardware.dumpstate-service.example", 27 init_rc: ["dumpstate-default.rc"], 28 vintf_fragments: ["dumpstate-default.xml"], 37 "android.hardware.dumpstate-V1-ndk", 44 "-DLOG_TAG=\"android.hardware.dumpstate-service.example\"", 49 name: "dumpstate-default.xml", 50 src: "dumpstate-default.xml", 56 name: "dumpstate-default.rc", 57 src: ":gen-dumpstate-default.rc-for-apex", 62 name: "gen-dumpstate-default.rc-for-apex", [all …]
|
D | dumpstate-default.rc | 1 service vendor.dumpstate-default /vendor/bin/hw/android.hardware.dumpstate-service.example 5 interface aidl android.hardware.dumpstate.IDumpstateDevice/default
|
D | main.cpp | 23 using aidl::android::hardware::dumpstate::Dumpstate; 27 std::shared_ptr<Dumpstate> dumpstate = ndk::SharedRefBase::make<Dumpstate>(); in main() local 31 AServiceManager_registerLazyService(dumpstate->asBinder().get(), instance.c_str()); in main()
|
D | Dumpstate.cpp | 23 using android::os::dumpstate::DumpFileToFd; 28 namespace dumpstate { namespace
|
/hardware/interfaces/dumpstate/1.1/vts/functional/ |
D | VtsHalDumpstateV1_1TargetTest.cpp | 39 using ::android::hardware::dumpstate::V1_1::DumpstateMode; 40 using ::android::hardware::dumpstate::V1_1::DumpstateStatus; 41 using ::android::hardware::dumpstate::V1_1::IDumpstateDevice; 42 using ::android::hardware::dumpstate::V1_1::toString; 54 dumpstate = IDumpstateDevice::getService(instance_name); in GetService() 55 ASSERT_NE(dumpstate, nullptr) << "Could not get HIDL instance " << instance_name; in GetService() 59 Return<void> status = dumpstate->setVerboseLoggingEnabled(enable); in ToggleVerboseLogging() 62 if (!dumpstate->ping().isOk()) { in ToggleVerboseLogging() 68 Return<bool> logging_enabled = dumpstate->getVerboseLoggingEnabled(); in ToggleVerboseLogging() 74 if (!dumpstate->ping().isOk()) { in ToggleVerboseLogging() [all …]
|
D | Android.bp | 31 "android.hardware.dumpstate@1.0", 32 "android.hardware.dumpstate@1.1",
|
/hardware/interfaces/dumpstate/1.0/vts/functional/ |
D | VtsHalDumpstateV1_0TargetTest.cpp | 29 using ::android::hardware::dumpstate::V1_0::IDumpstateDevice; 36 dumpstate = IDumpstateDevice::getService(GetParam()); in SetUp() 37 ASSERT_NE(dumpstate, nullptr) << "Could not get HIDL instance"; in SetUp() 40 sp<IDumpstateDevice> dumpstate; member in DumpstateHidlTest 45 Return<void> status = dumpstate->dumpstateBoard(nullptr); in TEST_P() 55 Return<void> status = dumpstate->dumpstateBoard(handle); in TEST_P() 73 Return<void> status = dumpstate->dumpstateBoard(handle); in TEST_P() 96 Return<void> status = dumpstate->dumpstateBoard(handle); in TEST_P()
|
/hardware/interfaces/dumpstate/1.1/default/ |
D | Android.bp | 11 name: "android.hardware.dumpstate@1.1-service.example", 16 "android.hardware.dumpstate@1.1-service.example.rc", 19 "android.hardware.dumpstate@1.1-service.example.xml", 23 "android.hardware.dumpstate@1.0", 24 "android.hardware.dumpstate@1.1", 33 "-DLOG_TAG=\"android.hardware.dumpstate@1.1-service.example\"",
|
D | android.hardware.dumpstate@1.1-service.example.rc | 1 service dumpstate-1-1 /vendor/bin/hw/android.hardware.dumpstate@1.1-service.example 5 interface android.hardware.dumpstate@1.0::IDumpstateDevice default 6 interface android.hardware.dumpstate@1.1::IDumpstateDevice default
|
D | main.cpp | 32 using ::android::hardware::dumpstate::V1_1::DumpstateMode; 33 using ::android::hardware::dumpstate::V1_1::DumpstateStatus; 34 using ::android::hardware::dumpstate::V1_1::IDumpstateDevice; 36 using ::android::os::dumpstate::DumpFileToFd; 119 auto dumpstate = sp<DumpstateDevice>::make(); in main() local 122 if (serviceRegistrar.registerService(dumpstate) != ::android::OK) { in main()
|
/hardware/interfaces/dumpstate/1.0/default/ |
D | service.cpp | 29 using ::android::hardware::dumpstate::V1_0::IDumpstateDevice; 30 using ::android::hardware::dumpstate::V1_0::implementation::DumpstateDevice; 33 sp<IDumpstateDevice> dumpstate = new DumpstateDevice; in main() local 37 if (registrar.registerService(dumpstate) != OK) { in main()
|
D | android.hardware.dumpstate@1.0-service.rc | 1 service vendor.dumpstate-1-0 /vendor/bin/hw/android.hardware.dumpstate@1.0-service.example 5 interface android.hardware.dumpstate@1.0::IDumpstateDevice default
|
D | DumpstateDevice.cpp | 26 using android::os::dumpstate::DumpFileToFd; 27 using android::os::dumpstate::RunCommandToFd; 31 namespace dumpstate { namespace
|
D | Android.bp | 11 name: "android.hardware.dumpstate@1.0-service.example", 12 init_rc: ["android.hardware.dumpstate@1.0-service.rc"], 25 "android.hardware.dumpstate@1.0",
|
D | DumpstateDevice.h | 25 namespace dumpstate { 29 using ::android::hardware::dumpstate::V1_0::IDumpstateDevice;
|
/hardware/interfaces/dumpstate/aidl/vts/functional/ |
D | VtsHalDumpstateTargetTest.cpp | 31 using aidl::android::hardware::dumpstate::IDumpstateDevice; 63 dumpstate = IDumpstateDevice::fromBinder(dumpstateBinder); in GetService() 64 ASSERT_NE(dumpstate, nullptr) << "Could not get AIDL instance " << instance_name; in GetService() 71 status = dumpstate->setVerboseLoggingEnabled(enable); in ToggleVerboseLogging() 74 status = dumpstate->getVerboseLoggingEnabled(&logging_enabled); in ToggleVerboseLogging() 84 std::shared_ptr<IDumpstateDevice> dumpstate; member in DumpstateAidlTestBase 130 auto status = dumpstate->dumpstateBoard(dumpstateFds, GetMode(), kDefaultTimeoutMillis); in TEST_P() 145 auto status = dumpstate->dumpstateBoard(dumpstateFds, GetMode(), kDefaultTimeoutMillis); in TEST_P() 170 auto status = dumpstate->dumpstateBoard(dumpstateFds, GetMode(), kDefaultTimeoutMillis); in TEST_P() 197 auto status = dumpstate->dumpstateBoard(dumpstateFds, in TEST_P() [all …]
|
/hardware/google/pixel-sepolicy/common/vendor/ |
D | te_macros | 4 # Grants permissions to interact with dumpstate and write to bugreport. 12 allow $1 dumpstate:fd use; 13 allow $1 dumpstate:fifo_file { write getattr };
|
D | bug_map | 1 dumpstate su process b/220019932
|
/hardware/google/pixel-sepolicy/googlebattery/ |
D | dumpstate.te | 2 allow dumpstate hal_googlebattery_service:service_manager find; 3 binder_call(dumpstate, hal_googlebattery)
|
D | hal_googlebattery.te | 19 allow hal_googlebattery dumpstate:fd use; 20 allow hal_googlebattery dumpstate:fifo_file write;
|
/hardware/interfaces/dumpstate/aidl/aidl_api/android.hardware.dumpstate/1/android/hardware/dumpstate/ |
D | IDumpstateDevice.aidl | 34 package android.hardware.dumpstate; 37 …void dumpstateBoard(in ParcelFileDescriptor[] fd, in android.hardware.dumpstate.IDumpstateDevice.D… in dumpstateBoard()
|
/hardware/interfaces/dumpstate/aidl/aidl_api/android.hardware.dumpstate/current/android/hardware/dumpstate/ |
D | IDumpstateDevice.aidl | 34 package android.hardware.dumpstate; 37 …void dumpstateBoard(in ParcelFileDescriptor[] fd, in android.hardware.dumpstate.IDumpstateDevice.D… in dumpstateBoard()
|
/hardware/interfaces/dumpstate/1.1/ |
D | Android.bp | 13 name: "android.hardware.dumpstate@1.1", 20 "android.hardware.dumpstate@1.0",
|
D | IDumpstateDevice.hal | 17 package android.hardware.dumpstate@1.1; 32 * This method may still be called by the dumpstate routine even if getVerboseLoggingEnabled 57 * dumpstate routine, and essential information that does not identify the user may be included. 68 * dumpstate routine, and essential information that does not identify the user may be included.
|
/hardware/interfaces/dumpstate/aidl/ |
D | Android.bp | 25 name: "android.hardware.dumpstate", 27 srcs: ["android/hardware/dumpstate/*.aidl"],
|