]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/blob - dumpstate/1.0/IDumpstateDevice.hal
Merge "hidl_test: update expression test"
[android/platform-hardware-interfaces.git] / dumpstate / 1.0 / IDumpstateDevice.hal
1 /*
2  * Copyright (C) 2016 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
17 package android.hardware.dumpstate@1.0;
19 interface IDumpstateDevice {
20     /**
21      * Dump device-specific state into the given file descriptors.
22      *
23      * One file descriptor must be passed to this method but two may be passed:
24      * the first descriptor must be used to dump device-specific state in text
25      * format, the second descriptor is optional and may be used to dump
26      * device-specific state in binary format.
27      *
28      * @param h A native handle with one or two valid file descriptors.
29      */
30     dumpstateBoard(handle h);
31 };