1119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim/*
2119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * Copyright (C) 2014 The Android Open Source Project
3119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim *
4119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * Licensed under the Apache License, Version 2.0 (the "License");
5119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * you may not use this file except in compliance with the License.
6119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * You may obtain a copy of the License at
7119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim *
8119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim *      http://www.apache.org/licenses/LICENSE-2.0
9119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim *
10119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * Unless required by applicable law or agreed to in writing, software
11119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * distributed under the License is distributed on an "AS IS" BASIS,
12119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * See the License for the specific language governing permissions and
14119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * limitations under the License.
15119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim */
16119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim
17119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kimpackage android.hardware.hdmi;
18119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim
19119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim/**
20119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * Callback interface definition for HDMI client to get the vendor-specific
21119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * commands.
22119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim *
23119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim * @hide
24119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim */
25f17024873b10dabed069e502030dd85d6257c0c4Yuncheol Heointerface IHdmiVendorCommandListener {
260608b9328b1c2f804ffb2d4165c34383d34bde2aYuncheol Heo    void onReceived(int logicalAddress, int destAddress, in byte[] operands, boolean hasVendorId);
270608b9328b1c2f804ffb2d4165c34383d34bde2aYuncheol Heo    void onControlStateChanged(boolean enabled, int reason);
28119160a68195bcb2f5bdf4a269807e01228eca97Jinsuk Kim}
29