Merge 007b07126e on remote branch
Change-Id: I1a403688c409730b7eb4b5e65229adffdb68fdd5
This commit is contained in:
17
umd/1.0/Android.bp
Normal file
17
umd/1.0/Android.bp
Normal file
@@ -0,0 +1,17 @@
|
||||
// This file is autogenerated by hidl-gen -Landroidbp.
|
||||
|
||||
hidl_interface {
|
||||
name: "vendor.qti.hardware.umd@1.0",
|
||||
root: "vendor.qti.hardware.umd",
|
||||
product_specific: true,
|
||||
srcs: [
|
||||
"types.hal",
|
||||
"IUMDAdaptor.hal",
|
||||
"IUMDAdaptorCallback.hal",
|
||||
],
|
||||
interfaces: [
|
||||
"android.hidl.base@1.0",
|
||||
],
|
||||
gen_java: true,
|
||||
}
|
||||
|
||||
17
umd/1.0/IUMDAdaptor.hal
Normal file
17
umd/1.0/IUMDAdaptor.hal
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.umd@1.0;
|
||||
|
||||
import IUMDAdaptorCallback;
|
||||
|
||||
interface IUMDAdaptor {
|
||||
initUVC() generates (int32_t result);
|
||||
deInitUVC();
|
||||
initUAC(IUMDAdaptorCallback callback) generates (int32_t result);
|
||||
deInitUAC();
|
||||
submitAudioBuffer(vec<uint8_t> data) generates (int32_t result);
|
||||
setAudioBufferSize(uint64_t size);
|
||||
};
|
||||
11
umd/1.0/IUMDAdaptorCallback.hal
Normal file
11
umd/1.0/IUMDAdaptorCallback.hal
Normal file
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.umd@1.0;
|
||||
|
||||
interface IUMDAdaptorCallback {
|
||||
onAudioBufferReceive(vec<uint8_t> data) generates (int32_t result);
|
||||
onAudioUevent(AudioStatus status);
|
||||
};
|
||||
14
umd/1.0/types.hal
Normal file
14
umd/1.0/types.hal
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
package vendor.qti.hardware.umd@1.0;
|
||||
|
||||
enum AudioStatus : int32_t {
|
||||
AUDIO_STATE_INVALID,
|
||||
AUDIO_STATE_PLAYBACK,
|
||||
AUDIO_STATE_CAPTURE,
|
||||
AUDIO_STATE_PLAYBACK_CAPTURE,
|
||||
AUDIO_STATE_PAUSED
|
||||
};
|
||||
4
umd/Android.bp
Normal file
4
umd/Android.bp
Normal file
@@ -0,0 +1,4 @@
|
||||
hidl_package_root {
|
||||
name: "vendor.qti.hardware.umd",
|
||||
use_current: true,
|
||||
}
|
||||
7
umd/current.txt
Normal file
7
umd/current.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
#Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
#SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
#HAL released in Android Q
|
||||
0ea54fffbc009eb09ad8eb56832f97192fcc49551672b7d4e1c60f5baf5f496b vendor.qti.hardware.umd@1.0::types
|
||||
28265d6a58d414bc244d0b0e93b88660b2f9bf12da48361a2f54d54120fb2e96 vendor.qti.hardware.umd@1.0::IUMDAdaptor
|
||||
ad5906c3bcf8b4ced9f51e804ba345f2c0831217ac45188f11057507e7dbd692 vendor.qti.hardware.umd@1.0::IUMDAdaptorCallback
|
||||
Reference in New Issue
Block a user