Home
last modified time | relevance | path

Searched refs:dumpstate (Results 1 – 25 of 35) sorted by relevance

12

/hardware/interfaces/dumpstate/aidl/default/
DAndroid.bp25 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 …]
Ddumpstate-default.rc1 service vendor.dumpstate-default /vendor/bin/hw/android.hardware.dumpstate-service.example
5 interface aidl android.hardware.dumpstate.IDumpstateDevice/default
Dmain.cpp23 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()
DDumpstate.cpp23 using android::os::dumpstate::DumpFileToFd;
28 namespace dumpstate { namespace
/hardware/interfaces/dumpstate/1.1/vts/functional/
DVtsHalDumpstateV1_1TargetTest.cpp39 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 …]
DAndroid.bp31 "android.hardware.dumpstate@1.0",
32 "android.hardware.dumpstate@1.1",
/hardware/interfaces/dumpstate/1.0/vts/functional/
DVtsHalDumpstateV1_0TargetTest.cpp29 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/
DAndroid.bp11 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\"",
Dandroid.hardware.dumpstate@1.1-service.example.rc1 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
Dmain.cpp32 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/
Dservice.cpp29 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()
Dandroid.hardware.dumpstate@1.0-service.rc1 service vendor.dumpstate-1-0 /vendor/bin/hw/android.hardware.dumpstate@1.0-service.example
5 interface android.hardware.dumpstate@1.0::IDumpstateDevice default
DDumpstateDevice.cpp26 using android::os::dumpstate::DumpFileToFd;
27 using android::os::dumpstate::RunCommandToFd;
31 namespace dumpstate { namespace
DAndroid.bp11 name: "android.hardware.dumpstate@1.0-service.example",
12 init_rc: ["android.hardware.dumpstate@1.0-service.rc"],
25 "android.hardware.dumpstate@1.0",
DDumpstateDevice.h25 namespace dumpstate {
29 using ::android::hardware::dumpstate::V1_0::IDumpstateDevice;
/hardware/interfaces/dumpstate/aidl/vts/functional/
DVtsHalDumpstateTargetTest.cpp31 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/
Dte_macros4 # Grants permissions to interact with dumpstate and write to bugreport.
12 allow $1 dumpstate:fd use;
13 allow $1 dumpstate:fifo_file { write getattr };
Dbug_map1 dumpstate su process b/220019932
/hardware/google/pixel-sepolicy/googlebattery/
Ddumpstate.te2 allow dumpstate hal_googlebattery_service:service_manager find;
3 binder_call(dumpstate, hal_googlebattery)
Dhal_googlebattery.te19 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/
DIDumpstateDevice.aidl34 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/
DIDumpstateDevice.aidl34 package android.hardware.dumpstate;
37 …void dumpstateBoard(in ParcelFileDescriptor[] fd, in android.hardware.dumpstate.IDumpstateDevice.D… in dumpstateBoard()
/hardware/interfaces/dumpstate/1.1/
DAndroid.bp13 name: "android.hardware.dumpstate@1.1",
20 "android.hardware.dumpstate@1.0",
DIDumpstateDevice.hal17 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/
DAndroid.bp25 name: "android.hardware.dumpstate",
27 srcs: ["android/hardware/dumpstate/*.aidl"],

12