blob: 12a0db40b6728bd73454ffbdceaff1b9022c8306 [file] [log] [blame]
Felipe Lemee83f9fb2016-11-15 15:08:47 -08001/*
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 */
16
17package android.hardware.dumpstate@1.0;
18
19interface IDumpstateDevice {
Andreas Huber40d3a9b2017-03-28 16:19:16 -070020 /**
Jie Songcc4ddff2017-06-20 09:58:13 -070021 * 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.
Felipe Lemee83f9fb2016-11-15 15:08:47 -080029 */
30 dumpstateBoard(handle h);
31};