Chia-I Wu | b00f59d | 2017-01-13 14:47:23 +0800 | [diff] [blame] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 2.1 |
| 3 | component_name: "IComposerClient" |
| 4 | |
| 5 | package: "android.hardware.graphics.composer" |
| 6 | |
| 7 | import: "android.hardware.graphics.common@1.0::types" |
| 8 | import: "android.hardware.graphics.composer@2.1::IComposerCallback" |
| 9 | import: "android.hardware.graphics.composer@2.1::types" |
Zhuoyao Zhang | 3bef939 | 2017-02-13 18:03:06 -0800 | [diff] [blame] | 10 | import: "android.hidl.base@1.0::types" |
Chia-I Wu | b00f59d | 2017-01-13 14:47:23 +0800 | [diff] [blame] | 11 | |
| 12 | interface: { |
| 13 | attribute: { |
| 14 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Attribute" |
| 15 | type: TYPE_ENUM |
| 16 | enum_value: { |
| 17 | scalar_type: "int32_t" |
| 18 | |
| 19 | enumerator: "INVALID" |
| 20 | scalar_value: { |
| 21 | int32_t: 0 |
| 22 | } |
| 23 | enumerator: "WIDTH" |
| 24 | scalar_value: { |
| 25 | int32_t: 1 |
| 26 | } |
| 27 | enumerator: "HEIGHT" |
| 28 | scalar_value: { |
| 29 | int32_t: 2 |
| 30 | } |
| 31 | enumerator: "VSYNC_PERIOD" |
| 32 | scalar_value: { |
| 33 | int32_t: 3 |
| 34 | } |
| 35 | enumerator: "DPI_X" |
| 36 | scalar_value: { |
| 37 | int32_t: 4 |
| 38 | } |
| 39 | enumerator: "DPI_Y" |
| 40 | scalar_value: { |
| 41 | int32_t: 5 |
| 42 | } |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | attribute: { |
| 47 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::DisplayRequest" |
| 48 | type: TYPE_ENUM |
| 49 | enum_value: { |
| 50 | scalar_type: "uint32_t" |
| 51 | |
| 52 | enumerator: "FLIP_CLIENT_TARGET" |
| 53 | scalar_value: { |
| 54 | uint32_t: 1 |
| 55 | } |
| 56 | enumerator: "WRITE_CLIENT_TARGET_TO_OUTPUT" |
| 57 | scalar_value: { |
| 58 | uint32_t: 2 |
| 59 | } |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | attribute: { |
| 64 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::LayerRequest" |
| 65 | type: TYPE_ENUM |
| 66 | enum_value: { |
| 67 | scalar_type: "uint32_t" |
| 68 | |
| 69 | enumerator: "CLEAR_CLIENT_TARGET" |
| 70 | scalar_value: { |
| 71 | uint32_t: 1 |
| 72 | } |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | attribute: { |
| 77 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::PowerMode" |
| 78 | type: TYPE_ENUM |
| 79 | enum_value: { |
| 80 | scalar_type: "int32_t" |
| 81 | |
| 82 | enumerator: "OFF" |
| 83 | scalar_value: { |
| 84 | int32_t: 0 |
| 85 | } |
| 86 | enumerator: "DOZE" |
| 87 | scalar_value: { |
| 88 | int32_t: 1 |
| 89 | } |
| 90 | enumerator: "DOZE_SUSPEND" |
| 91 | scalar_value: { |
| 92 | int32_t: 3 |
| 93 | } |
| 94 | enumerator: "ON" |
| 95 | scalar_value: { |
| 96 | int32_t: 2 |
| 97 | } |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | attribute: { |
| 102 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Vsync" |
| 103 | type: TYPE_ENUM |
| 104 | enum_value: { |
| 105 | scalar_type: "int32_t" |
| 106 | |
| 107 | enumerator: "INVALID" |
| 108 | scalar_value: { |
| 109 | int32_t: 0 |
| 110 | } |
| 111 | enumerator: "ENABLE" |
| 112 | scalar_value: { |
| 113 | int32_t: 1 |
| 114 | } |
| 115 | enumerator: "DISABLE" |
| 116 | scalar_value: { |
| 117 | int32_t: 2 |
| 118 | } |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | attribute: { |
| 123 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::BlendMode" |
| 124 | type: TYPE_ENUM |
| 125 | enum_value: { |
| 126 | scalar_type: "int32_t" |
| 127 | |
| 128 | enumerator: "INVALID" |
| 129 | scalar_value: { |
| 130 | int32_t: 0 |
| 131 | } |
| 132 | enumerator: "NONE" |
| 133 | scalar_value: { |
| 134 | int32_t: 1 |
| 135 | } |
| 136 | enumerator: "PREMULTIPLIED" |
| 137 | scalar_value: { |
| 138 | int32_t: 2 |
| 139 | } |
| 140 | enumerator: "COVERAGE" |
| 141 | scalar_value: { |
| 142 | int32_t: 3 |
| 143 | } |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | attribute: { |
| 148 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Composition" |
| 149 | type: TYPE_ENUM |
| 150 | enum_value: { |
| 151 | scalar_type: "int32_t" |
| 152 | |
| 153 | enumerator: "INVALID" |
| 154 | scalar_value: { |
| 155 | int32_t: 0 |
| 156 | } |
| 157 | enumerator: "CLIENT" |
| 158 | scalar_value: { |
| 159 | int32_t: 1 |
| 160 | } |
| 161 | enumerator: "DEVICE" |
| 162 | scalar_value: { |
| 163 | int32_t: 2 |
| 164 | } |
| 165 | enumerator: "SOLID_COLOR" |
| 166 | scalar_value: { |
| 167 | int32_t: 3 |
| 168 | } |
| 169 | enumerator: "CURSOR" |
| 170 | scalar_value: { |
| 171 | int32_t: 4 |
| 172 | } |
| 173 | enumerator: "SIDEBAND" |
| 174 | scalar_value: { |
| 175 | int32_t: 5 |
| 176 | } |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | attribute: { |
| 181 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::DisplayType" |
| 182 | type: TYPE_ENUM |
| 183 | enum_value: { |
| 184 | scalar_type: "int32_t" |
| 185 | |
| 186 | enumerator: "INVALID" |
| 187 | scalar_value: { |
| 188 | int32_t: 0 |
| 189 | } |
| 190 | enumerator: "PHYSICAL" |
| 191 | scalar_value: { |
| 192 | int32_t: 1 |
| 193 | } |
| 194 | enumerator: "VIRTUAL" |
| 195 | scalar_value: { |
| 196 | int32_t: 2 |
| 197 | } |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | attribute: { |
| 202 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::HandleIndex" |
| 203 | type: TYPE_ENUM |
| 204 | enum_value: { |
| 205 | scalar_type: "int32_t" |
| 206 | |
| 207 | enumerator: "EMPTY" |
| 208 | scalar_value: { |
| 209 | int32_t: -1 |
| 210 | } |
| 211 | enumerator: "CACHED" |
| 212 | scalar_value: { |
| 213 | int32_t: -2 |
| 214 | } |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | attribute: { |
| 219 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Rect" |
| 220 | type: TYPE_STRUCT |
| 221 | struct_value: { |
| 222 | name: "left" |
| 223 | type: TYPE_SCALAR |
| 224 | scalar_type: "int32_t" |
| 225 | } |
| 226 | struct_value: { |
| 227 | name: "top" |
| 228 | type: TYPE_SCALAR |
| 229 | scalar_type: "int32_t" |
| 230 | } |
| 231 | struct_value: { |
| 232 | name: "right" |
| 233 | type: TYPE_SCALAR |
| 234 | scalar_type: "int32_t" |
| 235 | } |
| 236 | struct_value: { |
| 237 | name: "bottom" |
| 238 | type: TYPE_SCALAR |
| 239 | scalar_type: "int32_t" |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | attribute: { |
| 244 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::FRect" |
| 245 | type: TYPE_STRUCT |
| 246 | struct_value: { |
| 247 | name: "left" |
| 248 | type: TYPE_SCALAR |
| 249 | scalar_type: "float_t" |
| 250 | } |
| 251 | struct_value: { |
| 252 | name: "top" |
| 253 | type: TYPE_SCALAR |
| 254 | scalar_type: "float_t" |
| 255 | } |
| 256 | struct_value: { |
| 257 | name: "right" |
| 258 | type: TYPE_SCALAR |
| 259 | scalar_type: "float_t" |
| 260 | } |
| 261 | struct_value: { |
| 262 | name: "bottom" |
| 263 | type: TYPE_SCALAR |
| 264 | scalar_type: "float_t" |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | attribute: { |
| 269 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Color" |
| 270 | type: TYPE_STRUCT |
| 271 | struct_value: { |
| 272 | name: "r" |
| 273 | type: TYPE_SCALAR |
| 274 | scalar_type: "uint8_t" |
| 275 | } |
| 276 | struct_value: { |
| 277 | name: "g" |
| 278 | type: TYPE_SCALAR |
| 279 | scalar_type: "uint8_t" |
| 280 | } |
| 281 | struct_value: { |
| 282 | name: "b" |
| 283 | type: TYPE_SCALAR |
| 284 | scalar_type: "uint8_t" |
| 285 | } |
| 286 | struct_value: { |
| 287 | name: "a" |
| 288 | type: TYPE_SCALAR |
| 289 | scalar_type: "uint8_t" |
| 290 | } |
| 291 | } |
| 292 | |
| 293 | attribute: { |
| 294 | name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Command" |
| 295 | type: TYPE_ENUM |
| 296 | enum_value: { |
| 297 | scalar_type: "int32_t" |
| 298 | |
| 299 | enumerator: "LENGTH_MASK" |
| 300 | scalar_value: { |
| 301 | int32_t: 65535 |
| 302 | } |
| 303 | enumerator: "OPCODE_SHIFT" |
| 304 | scalar_value: { |
| 305 | int32_t: 16 |
| 306 | } |
| 307 | enumerator: "OPCODE_MASK" |
| 308 | scalar_value: { |
| 309 | int32_t: -65536 |
| 310 | } |
| 311 | enumerator: "SELECT_DISPLAY" |
| 312 | scalar_value: { |
| 313 | int32_t: 0 |
| 314 | } |
| 315 | enumerator: "SELECT_LAYER" |
| 316 | scalar_value: { |
| 317 | int32_t: 65536 |
| 318 | } |
| 319 | enumerator: "SET_ERROR" |
| 320 | scalar_value: { |
| 321 | int32_t: 16777216 |
| 322 | } |
| 323 | enumerator: "SET_CHANGED_COMPOSITION_TYPES" |
| 324 | scalar_value: { |
| 325 | int32_t: 16842752 |
| 326 | } |
| 327 | enumerator: "SET_DISPLAY_REQUESTS" |
| 328 | scalar_value: { |
| 329 | int32_t: 16908288 |
| 330 | } |
| 331 | enumerator: "SET_PRESENT_FENCE" |
| 332 | scalar_value: { |
| 333 | int32_t: 16973824 |
| 334 | } |
| 335 | enumerator: "SET_RELEASE_FENCES" |
| 336 | scalar_value: { |
| 337 | int32_t: 17039360 |
| 338 | } |
| 339 | enumerator: "SET_COLOR_TRANSFORM" |
| 340 | scalar_value: { |
| 341 | int32_t: 33554432 |
| 342 | } |
| 343 | enumerator: "SET_CLIENT_TARGET" |
| 344 | scalar_value: { |
| 345 | int32_t: 33619968 |
| 346 | } |
| 347 | enumerator: "SET_OUTPUT_BUFFER" |
| 348 | scalar_value: { |
| 349 | int32_t: 33685504 |
| 350 | } |
| 351 | enumerator: "VALIDATE_DISPLAY" |
| 352 | scalar_value: { |
| 353 | int32_t: 33751040 |
| 354 | } |
| 355 | enumerator: "ACCEPT_DISPLAY_CHANGES" |
| 356 | scalar_value: { |
| 357 | int32_t: 33816576 |
| 358 | } |
| 359 | enumerator: "PRESENT_DISPLAY" |
| 360 | scalar_value: { |
| 361 | int32_t: 33882112 |
| 362 | } |
| 363 | enumerator: "SET_LAYER_CURSOR_POSITION" |
| 364 | scalar_value: { |
| 365 | int32_t: 50331648 |
| 366 | } |
| 367 | enumerator: "SET_LAYER_BUFFER" |
| 368 | scalar_value: { |
| 369 | int32_t: 50397184 |
| 370 | } |
| 371 | enumerator: "SET_LAYER_SURFACE_DAMAGE" |
| 372 | scalar_value: { |
| 373 | int32_t: 50462720 |
| 374 | } |
| 375 | enumerator: "SET_LAYER_BLEND_MODE" |
| 376 | scalar_value: { |
| 377 | int32_t: 67108864 |
| 378 | } |
| 379 | enumerator: "SET_LAYER_COLOR" |
| 380 | scalar_value: { |
| 381 | int32_t: 67174400 |
| 382 | } |
| 383 | enumerator: "SET_LAYER_COMPOSITION_TYPE" |
| 384 | scalar_value: { |
| 385 | int32_t: 67239936 |
| 386 | } |
| 387 | enumerator: "SET_LAYER_DATASPACE" |
| 388 | scalar_value: { |
| 389 | int32_t: 67305472 |
| 390 | } |
| 391 | enumerator: "SET_LAYER_DISPLAY_FRAME" |
| 392 | scalar_value: { |
| 393 | int32_t: 67371008 |
| 394 | } |
| 395 | enumerator: "SET_LAYER_PLANE_ALPHA" |
| 396 | scalar_value: { |
| 397 | int32_t: 67436544 |
| 398 | } |
| 399 | enumerator: "SET_LAYER_SIDEBAND_STREAM" |
| 400 | scalar_value: { |
| 401 | int32_t: 67502080 |
| 402 | } |
| 403 | enumerator: "SET_LAYER_SOURCE_CROP" |
| 404 | scalar_value: { |
| 405 | int32_t: 67567616 |
| 406 | } |
| 407 | enumerator: "SET_LAYER_TRANSFORM" |
| 408 | scalar_value: { |
| 409 | int32_t: 67633152 |
| 410 | } |
| 411 | enumerator: "SET_LAYER_VISIBLE_REGION" |
| 412 | scalar_value: { |
| 413 | int32_t: 67698688 |
| 414 | } |
| 415 | enumerator: "SET_LAYER_Z_ORDER" |
| 416 | scalar_value: { |
| 417 | int32_t: 67764224 |
| 418 | } |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | api: { |
| 423 | name: "registerCallback" |
| 424 | arg: { |
| 425 | type: TYPE_HIDL_CALLBACK |
Zhuoyao Zhang | 3bef939 | 2017-02-13 18:03:06 -0800 | [diff] [blame] | 426 | predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerCallback" |
Chia-I Wu | b00f59d | 2017-01-13 14:47:23 +0800 | [diff] [blame] | 427 | } |
| 428 | callflow: { |
| 429 | entry: true |
| 430 | } |
| 431 | callflow: { |
| 432 | next: "*" |
| 433 | } |
| 434 | } |
| 435 | |
| 436 | api: { |
| 437 | name: "getMaxVirtualDisplayCount" |
| 438 | return_type_hidl: { |
| 439 | type: TYPE_SCALAR |
| 440 | scalar_type: "uint32_t" |
| 441 | } |
| 442 | callflow: { |
| 443 | next: "*" |
| 444 | } |
| 445 | } |
| 446 | |
| 447 | api: { |
| 448 | name: "createVirtualDisplay" |
| 449 | return_type_hidl: { |
| 450 | type: TYPE_ENUM |
| 451 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 452 | } |
| 453 | return_type_hidl: { |
| 454 | type: TYPE_SCALAR |
| 455 | scalar_type: "uint64_t" |
| 456 | } |
| 457 | return_type_hidl: { |
| 458 | type: TYPE_ENUM |
| 459 | predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat" |
| 460 | } |
| 461 | arg: { |
| 462 | type: TYPE_SCALAR |
| 463 | scalar_type: "uint32_t" |
| 464 | } |
| 465 | arg: { |
| 466 | type: TYPE_SCALAR |
| 467 | scalar_type: "uint32_t" |
| 468 | } |
| 469 | arg: { |
| 470 | type: TYPE_ENUM |
| 471 | predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat" |
| 472 | } |
| 473 | arg: { |
| 474 | type: TYPE_SCALAR |
| 475 | scalar_type: "uint32_t" |
| 476 | } |
| 477 | callflow: { |
| 478 | next: "*" |
| 479 | } |
| 480 | } |
| 481 | |
| 482 | api: { |
| 483 | name: "destroyVirtualDisplay" |
| 484 | return_type_hidl: { |
| 485 | type: TYPE_ENUM |
| 486 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 487 | } |
| 488 | arg: { |
| 489 | type: TYPE_SCALAR |
| 490 | scalar_type: "uint64_t" |
| 491 | } |
| 492 | callflow: { |
| 493 | next: "*" |
| 494 | } |
| 495 | } |
| 496 | |
| 497 | api: { |
| 498 | name: "createLayer" |
| 499 | return_type_hidl: { |
| 500 | type: TYPE_ENUM |
| 501 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 502 | } |
| 503 | return_type_hidl: { |
| 504 | type: TYPE_SCALAR |
| 505 | scalar_type: "uint64_t" |
| 506 | } |
| 507 | arg: { |
| 508 | type: TYPE_SCALAR |
| 509 | scalar_type: "uint64_t" |
| 510 | } |
| 511 | arg: { |
| 512 | type: TYPE_SCALAR |
| 513 | scalar_type: "uint32_t" |
| 514 | } |
| 515 | callflow: { |
| 516 | next: "*" |
| 517 | } |
| 518 | } |
| 519 | |
| 520 | api: { |
| 521 | name: "destroyLayer" |
| 522 | return_type_hidl: { |
| 523 | type: TYPE_ENUM |
| 524 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 525 | } |
| 526 | arg: { |
| 527 | type: TYPE_SCALAR |
| 528 | scalar_type: "uint64_t" |
| 529 | } |
| 530 | arg: { |
| 531 | type: TYPE_SCALAR |
| 532 | scalar_type: "uint64_t" |
| 533 | } |
| 534 | callflow: { |
| 535 | next: "*" |
| 536 | } |
| 537 | } |
| 538 | |
| 539 | api: { |
| 540 | name: "getActiveConfig" |
| 541 | return_type_hidl: { |
| 542 | type: TYPE_ENUM |
| 543 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 544 | } |
| 545 | return_type_hidl: { |
| 546 | type: TYPE_SCALAR |
| 547 | scalar_type: "uint32_t" |
| 548 | } |
| 549 | arg: { |
| 550 | type: TYPE_SCALAR |
| 551 | scalar_type: "uint64_t" |
| 552 | } |
| 553 | callflow: { |
| 554 | next: "*" |
| 555 | } |
| 556 | } |
| 557 | |
| 558 | api: { |
| 559 | name: "getClientTargetSupport" |
| 560 | return_type_hidl: { |
| 561 | type: TYPE_ENUM |
| 562 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 563 | } |
| 564 | arg: { |
| 565 | type: TYPE_SCALAR |
| 566 | scalar_type: "uint64_t" |
| 567 | } |
| 568 | arg: { |
| 569 | type: TYPE_SCALAR |
| 570 | scalar_type: "uint32_t" |
| 571 | } |
| 572 | arg: { |
| 573 | type: TYPE_SCALAR |
| 574 | scalar_type: "uint32_t" |
| 575 | } |
| 576 | arg: { |
| 577 | type: TYPE_ENUM |
| 578 | predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat" |
| 579 | } |
| 580 | arg: { |
| 581 | type: TYPE_ENUM |
| 582 | predefined_type: "::android::hardware::graphics::common::V1_0::Dataspace" |
| 583 | } |
| 584 | callflow: { |
| 585 | next: "*" |
| 586 | } |
| 587 | } |
| 588 | |
| 589 | api: { |
| 590 | name: "getColorModes" |
| 591 | return_type_hidl: { |
| 592 | type: TYPE_ENUM |
| 593 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 594 | } |
| 595 | return_type_hidl: { |
| 596 | type: TYPE_VECTOR |
| 597 | vector_value: { |
| 598 | type: TYPE_ENUM |
| 599 | predefined_type: "::android::hardware::graphics::common::V1_0::ColorMode" |
| 600 | } |
| 601 | } |
| 602 | arg: { |
| 603 | type: TYPE_SCALAR |
| 604 | scalar_type: "uint64_t" |
| 605 | } |
| 606 | callflow: { |
| 607 | next: "*" |
| 608 | } |
| 609 | } |
| 610 | |
| 611 | api: { |
| 612 | name: "getDisplayAttribute" |
| 613 | return_type_hidl: { |
| 614 | type: TYPE_ENUM |
| 615 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 616 | } |
| 617 | return_type_hidl: { |
| 618 | type: TYPE_SCALAR |
| 619 | scalar_type: "int32_t" |
| 620 | } |
| 621 | arg: { |
| 622 | type: TYPE_SCALAR |
| 623 | scalar_type: "uint64_t" |
| 624 | } |
| 625 | arg: { |
| 626 | type: TYPE_SCALAR |
| 627 | scalar_type: "uint32_t" |
| 628 | } |
| 629 | arg: { |
| 630 | type: TYPE_ENUM |
| 631 | predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::Attribute" |
| 632 | } |
| 633 | callflow: { |
| 634 | next: "*" |
| 635 | } |
| 636 | } |
| 637 | |
| 638 | api: { |
| 639 | name: "getDisplayConfigs" |
| 640 | return_type_hidl: { |
| 641 | type: TYPE_ENUM |
| 642 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 643 | } |
| 644 | return_type_hidl: { |
| 645 | type: TYPE_VECTOR |
| 646 | vector_value: { |
| 647 | type: TYPE_SCALAR |
| 648 | scalar_type: "uint32_t" |
| 649 | } |
| 650 | } |
| 651 | arg: { |
| 652 | type: TYPE_SCALAR |
| 653 | scalar_type: "uint64_t" |
| 654 | } |
| 655 | callflow: { |
| 656 | next: "*" |
| 657 | } |
| 658 | } |
| 659 | |
| 660 | api: { |
| 661 | name: "getDisplayName" |
| 662 | return_type_hidl: { |
| 663 | type: TYPE_ENUM |
| 664 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 665 | } |
| 666 | return_type_hidl: { |
| 667 | type: TYPE_STRING |
| 668 | } |
| 669 | arg: { |
| 670 | type: TYPE_SCALAR |
| 671 | scalar_type: "uint64_t" |
| 672 | } |
| 673 | callflow: { |
| 674 | next: "*" |
| 675 | } |
| 676 | } |
| 677 | |
| 678 | api: { |
| 679 | name: "getDisplayType" |
| 680 | return_type_hidl: { |
| 681 | type: TYPE_ENUM |
| 682 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 683 | } |
| 684 | return_type_hidl: { |
| 685 | type: TYPE_ENUM |
| 686 | predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::DisplayType" |
| 687 | } |
| 688 | arg: { |
| 689 | type: TYPE_SCALAR |
| 690 | scalar_type: "uint64_t" |
| 691 | } |
| 692 | callflow: { |
| 693 | next: "*" |
| 694 | } |
| 695 | } |
| 696 | |
| 697 | api: { |
| 698 | name: "getDozeSupport" |
| 699 | return_type_hidl: { |
| 700 | type: TYPE_ENUM |
| 701 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 702 | } |
| 703 | return_type_hidl: { |
| 704 | type: TYPE_SCALAR |
| 705 | scalar_type: "bool_t" |
| 706 | } |
| 707 | arg: { |
| 708 | type: TYPE_SCALAR |
| 709 | scalar_type: "uint64_t" |
| 710 | } |
| 711 | callflow: { |
| 712 | next: "*" |
| 713 | } |
| 714 | } |
| 715 | |
| 716 | api: { |
| 717 | name: "getHdrCapabilities" |
| 718 | return_type_hidl: { |
| 719 | type: TYPE_ENUM |
| 720 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 721 | } |
| 722 | return_type_hidl: { |
| 723 | type: TYPE_VECTOR |
| 724 | vector_value: { |
| 725 | type: TYPE_ENUM |
| 726 | predefined_type: "::android::hardware::graphics::common::V1_0::Hdr" |
| 727 | } |
| 728 | } |
| 729 | return_type_hidl: { |
| 730 | type: TYPE_SCALAR |
| 731 | scalar_type: "float_t" |
| 732 | } |
| 733 | return_type_hidl: { |
| 734 | type: TYPE_SCALAR |
| 735 | scalar_type: "float_t" |
| 736 | } |
| 737 | return_type_hidl: { |
| 738 | type: TYPE_SCALAR |
| 739 | scalar_type: "float_t" |
| 740 | } |
| 741 | arg: { |
| 742 | type: TYPE_SCALAR |
| 743 | scalar_type: "uint64_t" |
| 744 | } |
| 745 | callflow: { |
| 746 | next: "*" |
| 747 | } |
| 748 | } |
| 749 | |
| 750 | api: { |
| 751 | name: "setClientTargetSlotCount" |
| 752 | return_type_hidl: { |
| 753 | type: TYPE_ENUM |
| 754 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 755 | } |
| 756 | arg: { |
| 757 | type: TYPE_SCALAR |
| 758 | scalar_type: "uint64_t" |
| 759 | } |
| 760 | arg: { |
| 761 | type: TYPE_SCALAR |
| 762 | scalar_type: "uint32_t" |
| 763 | } |
| 764 | callflow: { |
| 765 | next: "*" |
| 766 | } |
| 767 | } |
| 768 | |
| 769 | api: { |
| 770 | name: "setActiveConfig" |
| 771 | return_type_hidl: { |
| 772 | type: TYPE_ENUM |
| 773 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 774 | } |
| 775 | arg: { |
| 776 | type: TYPE_SCALAR |
| 777 | scalar_type: "uint64_t" |
| 778 | } |
| 779 | arg: { |
| 780 | type: TYPE_SCALAR |
| 781 | scalar_type: "uint32_t" |
| 782 | } |
| 783 | callflow: { |
| 784 | next: "*" |
| 785 | } |
| 786 | } |
| 787 | |
| 788 | api: { |
| 789 | name: "setColorMode" |
| 790 | return_type_hidl: { |
| 791 | type: TYPE_ENUM |
| 792 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 793 | } |
| 794 | arg: { |
| 795 | type: TYPE_SCALAR |
| 796 | scalar_type: "uint64_t" |
| 797 | } |
| 798 | arg: { |
| 799 | type: TYPE_ENUM |
| 800 | predefined_type: "::android::hardware::graphics::common::V1_0::ColorMode" |
| 801 | } |
| 802 | callflow: { |
| 803 | next: "*" |
| 804 | } |
| 805 | } |
| 806 | |
| 807 | api: { |
| 808 | name: "setPowerMode" |
| 809 | return_type_hidl: { |
| 810 | type: TYPE_ENUM |
| 811 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 812 | } |
| 813 | arg: { |
| 814 | type: TYPE_SCALAR |
| 815 | scalar_type: "uint64_t" |
| 816 | } |
| 817 | arg: { |
| 818 | type: TYPE_ENUM |
| 819 | predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::PowerMode" |
| 820 | } |
| 821 | callflow: { |
| 822 | next: "*" |
| 823 | } |
| 824 | } |
| 825 | |
| 826 | api: { |
| 827 | name: "setVsyncEnabled" |
| 828 | return_type_hidl: { |
| 829 | type: TYPE_ENUM |
| 830 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 831 | } |
| 832 | arg: { |
| 833 | type: TYPE_SCALAR |
| 834 | scalar_type: "uint64_t" |
| 835 | } |
| 836 | arg: { |
| 837 | type: TYPE_ENUM |
| 838 | predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::Vsync" |
| 839 | } |
| 840 | callflow: { |
| 841 | next: "*" |
| 842 | } |
| 843 | } |
| 844 | |
| 845 | api: { |
| 846 | name: "setInputCommandQueue" |
| 847 | return_type_hidl: { |
| 848 | type: TYPE_ENUM |
| 849 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 850 | } |
| 851 | arg: { |
Zhuoyao Zhang | 3bef939 | 2017-02-13 18:03:06 -0800 | [diff] [blame] | 852 | type: TYPE_FMQ_SYNC |
| 853 | fmq_value: { |
| 854 | type: TYPE_SCALAR |
| 855 | scalar_type: "uint32_t" |
| 856 | } |
Chia-I Wu | b00f59d | 2017-01-13 14:47:23 +0800 | [diff] [blame] | 857 | } |
| 858 | callflow: { |
| 859 | next: "*" |
| 860 | } |
| 861 | } |
| 862 | |
| 863 | api: { |
| 864 | name: "getOutputCommandQueue" |
| 865 | return_type_hidl: { |
| 866 | type: TYPE_ENUM |
| 867 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 868 | } |
| 869 | return_type_hidl: { |
Zhuoyao Zhang | 3bef939 | 2017-02-13 18:03:06 -0800 | [diff] [blame] | 870 | type: TYPE_FMQ_SYNC |
| 871 | fmq_value: { |
| 872 | type: TYPE_SCALAR |
| 873 | scalar_type: "uint32_t" |
| 874 | } |
Chia-I Wu | b00f59d | 2017-01-13 14:47:23 +0800 | [diff] [blame] | 875 | } |
| 876 | callflow: { |
| 877 | next: "*" |
| 878 | } |
| 879 | } |
| 880 | |
| 881 | api: { |
| 882 | name: "executeCommands" |
| 883 | return_type_hidl: { |
| 884 | type: TYPE_ENUM |
| 885 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 886 | } |
| 887 | return_type_hidl: { |
| 888 | type: TYPE_SCALAR |
| 889 | scalar_type: "bool_t" |
| 890 | } |
| 891 | return_type_hidl: { |
| 892 | type: TYPE_SCALAR |
| 893 | scalar_type: "uint32_t" |
| 894 | } |
| 895 | return_type_hidl: { |
| 896 | type: TYPE_VECTOR |
| 897 | vector_value: { |
| 898 | type: TYPE_HANDLE |
| 899 | } |
| 900 | } |
| 901 | arg: { |
| 902 | type: TYPE_SCALAR |
| 903 | scalar_type: "uint32_t" |
| 904 | } |
| 905 | arg: { |
| 906 | type: TYPE_VECTOR |
| 907 | vector_value: { |
| 908 | type: TYPE_HANDLE |
| 909 | } |
| 910 | } |
| 911 | callflow: { |
| 912 | next: "*" |
| 913 | } |
| 914 | } |
| 915 | |
| 916 | } |