-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interfaces: Dump vendor.semc.hardware.display service
Signed-off-by: Luofan Chen <[email protected]>
- Loading branch information
Showing
10 changed files
with
157 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// This file is autogenerated by hidl-gen -Landroidbp. | ||
hidl_interface { | ||
name: "[email protected]", | ||
root: "vendor.semc", | ||
system_ext_specific: true, | ||
srcs: [ | ||
"IDisplay.hal", | ||
"IDisplayCallback.hal", | ||
"types.hal" | ||
], | ||
interfaces: [ | ||
"[email protected]", | ||
], | ||
gen_java: true, | ||
gen_java_constants: true, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (C) 2022 The LineageOS Project | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package [email protected]; | ||
|
||
import [email protected]::IDisplayCallback; | ||
|
||
interface IDisplay { | ||
get_wp_limits_pcc() generates (PccLimits limit); | ||
oneway setVendorProperty(string key, string value); | ||
set_primary_pcc_matrix(PccMatrix cc_matrix) generates (int32_t status); | ||
get_primary_pcc_matrix() generates (PccMatrix cc_matrix); | ||
save_primary_pcc_matrix(PccMatrix cc_matrix) generates (int32_t status); | ||
setup() generates (int32_t status); | ||
set_color_mode(int32_t mode_id) generates (int32_t status); | ||
set_sspp_color_mode(int32_t mode_id) generates (int32_t status); | ||
registerCallback(IDisplayCallback callback); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* Copyright (C) 2022 The LineageOS Project | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package [email protected]; | ||
|
||
interface IDisplayCallback { | ||
onWhiteBalanceMatrixChanged(PccMatrix matrix); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright (C) 2022 The LineageOS Project | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package [email protected]; | ||
|
||
struct PccLimits { | ||
float red_low; | ||
float red_high; | ||
float green_low; | ||
float green_high; | ||
float blue_low; | ||
float blue_high; | ||
}; | ||
|
||
struct PccMatrix { | ||
float red; | ||
float green; | ||
float blue; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// This file is autogenerated by hidl-gen -Landroidbp. | ||
hidl_interface { | ||
name: "[email protected]", | ||
root: "vendor.semc", | ||
system_ext_specific: true, | ||
srcs: [ | ||
"IDisplay.hal", | ||
"IFramerateController.hal" | ||
], | ||
interfaces: [ | ||
"[email protected]", | ||
"[email protected]" | ||
], | ||
gen_java: true, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (C) 2022 The LineageOS Project | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package [email protected]; | ||
|
||
import @2.0::IDisplay; | ||
import @2.0::types; | ||
import @2.0::IDisplayCallback; | ||
|
||
interface IDisplay extends @2.0::IDisplay { | ||
}; |
12 changes: 12 additions & 0 deletions
12
interfaces/semc/hardware/display/2.1/IFramerateController.hal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Copyright (C) 2022 The LineageOS Project | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package [email protected]; | ||
|
||
interface IFramerateController { | ||
set_fps_mode(int32_t mode) generates (int32_t status); | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// This file is autogenerated by hidl-gen -Landroidbp. | ||
hidl_interface { | ||
name: "[email protected]", | ||
root: "vendor.semc", | ||
system_ext_specific: true, | ||
srcs: [ | ||
"IDisplay.hal", | ||
"IFramerateController.hal", | ||
], | ||
interfaces: [ | ||
"[email protected]", | ||
"[email protected]", | ||
"[email protected]" | ||
], | ||
gen_java: true, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Copyright (C) 2022 The LineageOS Project | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package [email protected]; | ||
|
||
import [email protected]::IDisplay; | ||
import [email protected]::types; | ||
import [email protected]::IDisplayCallback; | ||
|
||
interface IDisplay extends @2.1::IDisplay { | ||
}; |
16 changes: 16 additions & 0 deletions
16
interfaces/semc/hardware/display/2.2/IFramerateController.hal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (C) 2022 The LineageOS Project | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package [email protected]; | ||
|
||
import [email protected]::IFramerateController; | ||
|
||
interface IFramerateController extends @2.1::IFramerateController { | ||
set_opec_mode(int32_t mode) generates (int32_t status); | ||
set_hmd_mode(int32_t mode) generates (int32_t status); | ||
}; | ||
|
||
|