summaryrefslogtreecommitdiff
path: root/aidl
diff options
context:
space:
mode:
authorKriti Dang <kritidang@google.com>2021-02-17 17:36:07 +0100
committerKriti Dang <kritidang@google.com>2021-02-17 18:12:26 +0100
commit256dca81f663e1c88f1df6e2346edf2956276f4a (patch)
treefe57ea7e3bf6bdbda1c6cac0eed06425afa97e55 /aidl
parent1c69780efbb60608767a28a0887f2cb548fa2002 (diff)
Adding aidl file to share deviceProductInfo constants bw java and c++
Bug: 179775994 Test: N/A Change-Id: Id6767127f82f0256cbcbe15eb682b88c93bb27fa
Diffstat (limited to 'aidl')
-rw-r--r--aidl/gui/android/hardware/display/IDeviceProductInfoConstants.aidl32
1 files changed, 32 insertions, 0 deletions
diff --git a/aidl/gui/android/hardware/display/IDeviceProductInfoConstants.aidl b/aidl/gui/android/hardware/display/IDeviceProductInfoConstants.aidl
new file mode 100644
index 0000000000..7cc272adff
--- /dev/null
+++ b/aidl/gui/android/hardware/display/IDeviceProductInfoConstants.aidl
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2021 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package android.hardware.display;
+
+/** @hide */
+interface IDeviceProductInfoConstants {
+ /** The device connection to the display sink is unknown. */
+ const int CONNECTION_TO_SINK_UNKNOWN = 0;
+
+ /** The device is built-in in the display sink. */
+ const int CONNECTION_TO_SINK_BUILT_IN = 1;
+
+ /** The device is directly connected to the display sink. */
+ const int CONNECTION_TO_SINK_DIRECT = 2;
+
+ /** The device is transitively connected to the display sink. */
+ const int CONNECTION_TO_SINK_TRANSITIVE = 3;
+} \ No newline at end of file