aboutsummaryrefslogtreecommitdiff
path: root/en/devices/_toc-interfaces.yaml
blob: dba14fbea5c0f5e5c2562586febb18443dabb9c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
toc:
- title: Overview
  path: /devices/
- title: Architecture
  section:
  - title: Overview
    path: /devices/architecture/
  - title: Hardware Abstraction Layer (HAL)
    path: /devices/architecture/hal
  - title: HAL Types
    path: /devices/architecture/hal-types
  - title: Treble
    path: /devices/architecture/treble
  - title: Kernel
    section:
    - title: Overview
      path: /devices/architecture/kernel/
    - title: Stable Releases & Updates
      path: /devices/architecture/kernel/releases
    - title: Android Common Kernels
      path: /devices/architecture/kernel/android-common
    - title: Modular Kernel Requirements
      path: /devices/architecture/kernel/modular-kernels
    - title: Interface Requirements
      path: /devices/architecture/kernel/reqs-interfaces
    - title: Configuration
      path: /devices/architecture/kernel/config
    - title: Kernel Hardening
      path: /devices/architecture/kernel/hardening
    - title: SquashFS
      path: /devices/architecture/kernel/squashfs
    - title: LLDB Debugging
      path: /devices/architecture/kernel/lldb-debug
    - title: Network Tests
      path: /devices/architecture/kernel/network_tests
  - title: HIDL (General)
    section:
    - title: Overview
      path: /devices/architecture/hidl/
    - title: Interfaces & Packages
      path: /devices/architecture/hidl/interfaces
    - title: Interface Hashing
      path: /devices/architecture/hidl/hashing
    - title: Services & Data Transfer
      path: /devices/architecture/hidl/services
    - title: Fast Message Queue
      path: /devices/architecture/hidl/fmq
    - title: Using Binder IPC
      path: /devices/architecture/hidl/binder-ipc
    - title: Network Stack Configuration Tools
      path: /devices/architecture/hidl/network-stack
    - title: Threading Models
      path: /devices/architecture/hidl/threading
    - title: Converting Modules
      path: /devices/architecture/hidl/converting
    - title: Data Types
      path: /devices/architecture/hidl/types
    - title: Versioning
      path: /devices/architecture/hidl/versioning
    - title: Code Style Guide
      path: /devices/architecture/hidl/code-style
  - title: HIDL (C++)
    section:
    - title: Overview
      path: /devices/architecture/hidl-cpp/
    - title: Packages
      path: /devices/architecture/hidl-cpp/packages
    - title: Interfaces
      path: /devices/architecture/hidl-cpp/interfaces
    - title: Data Types
      path: /devices/architecture/hidl-cpp/types
    - title: Functions
      path: /devices/architecture/hidl-cpp/functions
  - title: HIDL (Java)
    section:
    - title: Overview
      path: /devices/architecture/hidl-java/
    - title: Data Types
      path: /devices/architecture/hidl-java/types
    - title: Interface Errors & Methods
      path: /devices/architecture/hidl-java/interfaces
    - title: Exporting Constants
      path: /devices/architecture/hidl-java/constants
  - title: ConfigStore HAL
    section:
    - title: Overview
      path: /devices/architecture/configstore/
    - title: Creating the HAL Interface
      path: /devices/architecture/configstore/interface
    - title: Implementing the Service
      path: /devices/architecture/configstore/service
    - title: Client-Side Usage
      path: /devices/architecture/configstore/client
    - title: Adding Classes & Items
      path: /devices/architecture/configstore/add-class-item
  - title: Device Tree Overlays
    section:
    - title: Overview
      path: /devices/architecture/dto/
    - title: Implementing DTO
      path: /devices/architecture/dto/implement
    - title: DTO Syntax
      path: /devices/architecture/dto/syntax
    - title: Compiling & Verifying
      path: /devices/architecture/dto/compile
    - title: Using Multiple DTs
      path: /devices/architecture/dto/multiple
    - title: DTB/DTBO Partition Format
      path: /devices/architecture/dto/partitions
    - title: Optimizing DTO
      path: /devices/architecture/dto/optimize
  - title: Vendor NDK
    section:
    - title: Overview
      path: /devices/architecture/vndk/
    - title: Enabling the VNDK
      path: /devices/architecture/vndk/enabling
    - title: VNDK Build System Support
      path: /devices/architecture/vndk/build-system
    - title: VNDK Extensions
      path: /devices/architecture/vndk/extensions
    - title: VNDK Definition Tool
      path: /devices/architecture/vndk/deftool
    - title: Linker Namespace
      path: /devices/architecture/vndk/linker-namespace
    - title: Directories, Rules, and sepolicy
      path: /devices/architecture/vndk/dir-rules-sepolicy
    - title: Renderscript
      path: /devices/architecture/vndk/renderscript
  - title: Vendor Interface Object
    section:
    - title: Overview
      path: /devices/architecture/vintf/
    - title: VINTF Object Data
      path: /devices/architecture/vintf/objects
    - title: Compatibility Matrices
      path: /devices/architecture/vintf/comp-matrices
    - title: Matching Rules
      path: /devices/architecture/vintf/match-rules
    - title: Resources
      path: /devices/architecture/vintf/resources
- title: Audio
  section:
  - title: Overview
    path: /devices/audio/
  - title: Terminology
    path: /devices/audio/terminology
  - title: Implementation
    section:
    - title: Overview
      path: /devices/audio/implement
    - title: Policy Configuration
      path: /devices/audio/implement-policy
    - title: Shared Library
      path: /devices/audio/implement-shared-library
    - title: Pre-processing Effects
      path: /devices/audio/implement-pre-processing
  - title: Data Formats
    path: /devices/audio/data_formats
  - title: Attributes
    path: /devices/audio/attributes
  - title: AAudio and MMAP
    path: /devices/audio/aaudio
  - title: Warmup
    path: /devices/audio/warmup
  - title: Latency
    section:
    - title: Overview
      path: /devices/audio/latency
    - title: Contributors
      path: /devices/audio/latency_contrib
    - title: Design
      path: /devices/audio/latency_design
    - title: Measure
      path: /devices/audio/latency_measure
    - title: Light Testing Circuit
      path: /devices/audio/testing_circuit
    - title: Audio Loopback Dongle
      path: /devices/audio/loopback
    - title: Measurements
      path: /devices/audio/latency_measurements
    - title: Applications
      path: /devices/audio/latency_app
  - title: Priority Inversion
    path: /devices/audio/avoiding_pi
  - title: Sample Rate Conversion
    path: /devices/audio/src
  - title: Debugging
    path: /devices/audio/debugging
  - title: MIDI
    section:
    - title: Overview
      path: /devices/audio/midi
    - title: MIDI Architecture
      path: /devices/audio/midi_arch
    - title: MIDI Test Procedure
      path: /devices/audio/midi_test
  - title: USB Digital Audio
    path: /devices/audio/usb
  - title: TV Audio
    path: /devices/audio/tv
- title: Automotive
  section:
  - title: Overview
    path: /devices/automotive/
  - title: Vehicle Properties
    path: /devices/automotive/properties
  - title: Camera HAL
    path: /devices/automotive/camera-hal
  - title: IVI Connectivity
    path: /devices/automotive/ivi_connectivity
- title: Bluetooth
  section:
  - title: Overview
    path: /devices/bluetooth
  - title: Services
    path: /devices/bluetooth/services
  - title: BLE Advertising
    path: /devices/bluetooth/ble_advertising
  - title: Verifying and Debugging
    path: /devices/bluetooth/verifying_debugging
  - title: HCI Requirements
    path: /devices/bluetooth/hci_requirements
- title: Camera
  section:
  - title: Overview
    path: /devices/camera/
  - title: Camera3
    path: /devices/camera/camera3
  - title: HAL Subsystem
    path: /devices/camera/camera3_requests_hal
  - title: Metadata and Controls
    path: /devices/camera/camera3_metadata
  - title: 3A Modes and State
    path: /devices/camera/camera3_3Amodes
  - title: Output and Cropping
    path: /devices/camera/camera3_crop_reprocess
  - title: Errors and Streams
    path: /devices/camera/camera3_error_stream
  - title: Request Creation
    path: /devices/camera/camera3_requests_methods
  - title: Version Support
    path: /devices/camera/versioning
- title: DRM
  path: /devices/drm
- title: Graphics
  section:
  - title: Overview
    path: /devices/graphics/
  - title: Architecture
    section:
    - title: Overview
      path: /devices/graphics/architecture
    - title: BufferQueue
      path: /devices/graphics/arch-bq-gralloc
    - title: SurfaceFlinger and HWC
      path: /devices/graphics/arch-sf-hwc
    - title: Surface and SurfaceHolder
      path: /devices/graphics/arch-sh
    - title: OpenGL ES
      path: /devices/graphics/arch-egl-opengl
    - title: OpenGLRenderer Configuration
      path: /devices/graphics/renderer
    - title: Vulkan
      path: /devices/graphics/arch-vulkan
    - title: SurfaceView
      path: /devices/graphics/arch-sv-glsv
    - title: SurfaceTexture
      path: /devices/graphics/arch-st
    - title: TextureView
      path: /devices/graphics/arch-tv
    - title: Game Loops
      path: /devices/graphics/arch-gameloops
  - title: Implementation
    section:
    - title: Overview
      path: /devices/graphics/implement
    - title: Hardware Composer HAL
      path: /devices/graphics/implement-hwc
    - title: VSYNC
      path: /devices/graphics/implement-vsync
    - title: Vulkan
      path: /devices/graphics/implement-vulkan
    - title: Virtual Displays
      path: /devices/graphics/implement-vdisplays
  - title: OpenGL ES Testing
    section:
    - title: Overview
      path: /devices/graphics/testing
    - title: Building Test Programs
      path: /devices/graphics/build-tests
    - title: Porting the Test Framework
      path: /devices/graphics/port-tests
    - title: Running the Tests
      path: /devices/graphics/run-tests
    - title: Automating the Tests
      path: /devices/graphics/automate-tests
    - title: Using Special Test Groups
      path: /devices/graphics/test-groups
    - title: Integrating with Android CTS
      path: /devices/graphics/cts-integration
- title: Input
  section:
  - title: Overview
    path: /devices/input/
  - title: Key Layout Files
    path: /devices/input/key-layout-files
  - title: Key Character Map Files
    path: /devices/input/key-character-map-files
  - title: Input Device Configuration Files
    path: /devices/input/input-device-configuration-files
  - title: Migration Guide
    path: /devices/input/migration-guide
  - title: Keyboard Devices
    path: /devices/input/keyboard-devices
  - title: Touch Devices
    path: /devices/input/touch-devices
  - title: Getevent
    path: /devices/input/getevent
  - title: Validate Keymaps
    path: /devices/input/validate-keymaps
- title: Media
  section:
  - title: Overview
    path: /devices/media/
  - title: Framework Hardening
    path: /devices/media/framework-hardening
  - title: SoC Dependencies
    path: /devices/media/soc
  - title: OEM Dependencies
    path: /devices/media/oem
- title: Peripherals
  path: /devices/accessories
  section:
  - title: Audio Accessories
    section:
    - title: Overview
      path: /devices/accessories/audio
    - title: 3.5 mm Headset
      section:
      - title: Headset Spec
        path: /devices/accessories/headset/plug-headset-spec
      - title: Device Spec
        path: /devices/accessories/headset/jack-headset-spec
    - title: USB Headset
      section:
      - title: Headset Spec
        path: /devices/accessories/headset/usb-headset-spec
      - title: Adapter Spec
        path: /devices/accessories/headset/usb-adapter
      - title: Device Spec
        path: /devices/accessories/headset/usb-device
    - title: Expected Behavior
      path: /devices/accessories/headset/expected-behavior
    - title: Testing
      path: /devices/accessories/headset/testing
  - title: Custom Accessories
    section:
    - title: Overview
      path: /devices/accessories/custom
    - title: AOA
      section:
      - title: Overview
        path: /devices/accessories/protocol
      - title: AOA 2.0
        path: /devices/accessories/aoa2
      - title: AOA 1.0
        path: /devices/accessories/aoa
    - title: Stylus
      path: /devices/accessories/stylus
- title: Sensors
  section:
  - title: Overview
    path: /devices/sensors/
  - title: Sensor Stack
    path: /devices/sensors/sensor-stack
  - title: Reporting Modes
    path: /devices/sensors/report-modes
  - title: Suspend Mode
    path: /devices/sensors/suspend-mode
  - title: Power Consumption
    path: /devices/sensors/power-use
  - title: Interaction
    path: /devices/sensors/interaction
  - title: HAL Interface
    path: /devices/sensors/hal-interface
  - title: Batching
    path: /devices/sensors/batching
  - title: Sensor Types
    path: /devices/sensors/sensor-types
  - title: Version Deprecation
    path: /devices/sensors/versioning
- title: Storage
  section:
  - title: Overview
    path: /devices/storage/
  - title: Traditional Storage
    path: /devices/storage/traditional
  - title: Adoptable Storage
    path: /devices/storage/adoptable
  - title: Device Configuration
    path: /devices/storage/config
  - title: Configuration Examples
    path: /devices/storage/config-example
  - title: Faster Statistics
    path: /devices/storage/faster-stats
- title: TV
  section:
  - title: Overview
    path: /devices/tv
  - title: HDMI-CEC Control Service
    path: /devices/tv/hdmi-cec
  - title: Reference TV App
    path: /devices/tv/reference-tv-app
  - title: Customize the TV App
    path: /devices/tv/customize-tv-app