/system/bt/audio_a2dp_hw/ |
D | audio_a2dp_hw.c | 116 struct a2dp_stream_common common; member 123 struct a2dp_stream_common common; member 145 static void a2dp_open_ctrl_path(struct a2dp_stream_common *common); 333 static int a2dp_ctrl_receive(struct a2dp_stream_common *common, void* buffer, int length) in a2dp_ctrl_receive() argument 339 OSI_NO_INTR(ret = recv(common->ctrl_fd, buffer, length, MSG_NOSIGNAL)); in a2dp_ctrl_receive() 358 skt_disconnect(common->ctrl_fd); in a2dp_ctrl_receive() 359 common->ctrl_fd = AUDIO_SKT_DISCONNECTED; in a2dp_ctrl_receive() 364 static int a2dp_command(struct a2dp_stream_common *common, char cmd) in a2dp_command() argument 370 if (common->ctrl_fd == AUDIO_SKT_DISCONNECTED) { in a2dp_command() 372 a2dp_open_ctrl_path(common); in a2dp_command() [all …]
|
/system/bt/embdrv/sbc/decoder/srce/ |
D | bitalloc-sbc.c | 33 static void dualBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT *common) in dualBitAllocation() argument 42 bitcountL = computeBitneed(common, bitneedsL.uint8, 0, &bitpoolPreferenceL); in dualBitAllocation() 43 bitcountR = computeBitneed(common, bitneedsR.uint8, 1, &bitpoolPreferenceR); in dualBitAllocation() 45 oneChannelBitAllocation(common, &bitneedsL, 0, bitcountL); in dualBitAllocation() 46 oneChannelBitAllocation(common, &bitneedsR, 1, bitcountR); in dualBitAllocation() 49 static void stereoBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT *common) in stereoBitAllocation() argument 51 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in stereoBitAllocation() 60 bitcount = computeBitneed(common, &bitneeds.uint8[0], 0, &bitpoolPreference); in stereoBitAllocation() 61 bitcount += computeBitneed(common, &bitneeds.uint8[nrof_subbands], 1, &bitpoolPreference); in stereoBitAllocation() 65 …bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds.uint32, 2 * nrof_subbands, bitc… in stereoBitAllocation() [all …]
|
D | decoder-sbc.c | 70 context->common.frameInfo.enhanced = (**frameData == OI_SBC_ENHANCED_SYNCWORD); in FindSyncword() 87 context->common.frameInfo.enhanced = FALSE; in FindSyncword() 105 …OI_UINT frameSamples = context->common.frameInfo.nrof_blocks * context->common.frameInfo.nrof_subb… in DecodeBody() 111 … if (*pcmBytes < (sizeof(OI_INT16) * frameSamples * context->common.pcmStride) && !allowPartial) { in DecodeBody() 116 …} else if (*pcmBytes < sizeof (OI_INT16) * context->common.frameInfo.nrof_subbands * context->comm… in DecodeBody() 124 OI_SBC_ReadScalefactors(&context->common, bodyData, &bs); in DecodeBody() 127 OI_SBC_ComputeBitAllocation(&context->common); in DecodeBody() 130 if (context->common.frameInfo.mode == SBC_JOINT_STEREO) { in DecodeBody() 136 context->bufferedBlocks = context->common.frameInfo.nrof_blocks; in DecodeBody() 140 …code_block_count = *pcmBytes / sizeof(OI_INT16) / context->common.pcmStride / context->common.fram… in DecodeBody() [all …]
|
D | decoder-private.c | 65 …status = OI_CODEC_SBC_Alloc(&context->common, decoderData, decoderDataBytes, maxChannels, pcmStrid… in internal_DecoderReset() 71 context->common.codecInfo = OI_Codec_Copyright; in internal_DecoderReset() 72 context->common.maxBitneed = 0; in internal_DecoderReset() 74 OI_SBC_ExpandFrameFields(&context->common.frameInfo); in internal_DecoderReset() 88 INLINE void OI_SBC_ReadHeader(OI_CODEC_SBC_COMMON_CONTEXT *common, const OI_BYTE *data) in OI_SBC_ReadHeader() argument 90 OI_CODEC_SBC_FRAME_INFO *frame = &common->frameInfo; in OI_SBC_ReadHeader() 134 PRIVATE void OI_SBC_ReadScalefactors(OI_CODEC_SBC_COMMON_CONTEXT *common, in OI_SBC_ReadScalefactors() argument 138 OI_UINT i = common->frameInfo.nrof_subbands * common->frameInfo.nrof_channels; in OI_SBC_ReadScalefactors() 139 OI_INT8 *scale_factor = common->scale_factor; in OI_SBC_ReadScalefactors() 142 if (common->frameInfo.nrof_subbands == 8 || common->frameInfo.mode != SBC_JOINT_STEREO) { in OI_SBC_ReadScalefactors() [all …]
|
D | synthesis-sbc.c | 262 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; in OI_SBC_SynthFrame_80() 263 OI_UINT pcmStrideShift = context->common.pcmStride == 1 ? 0 : 1; in OI_SBC_SynthFrame_80() 264 OI_UINT offset = context->common.filterBufferOffset; in OI_SBC_SynthFrame_80() 265 OI_INT32 *s = context->common.subdata + 8 * nrof_channels * blkstart; in OI_SBC_SynthFrame_80() 270 …_32BIT_ALIGNED_72_HALFWORDS(context->common.filterBuffer[0] + context->common.filterBufferLen - 72… in OI_SBC_SynthFrame_80() 272 …_32BIT_ALIGNED_72_HALFWORDS(context->common.filterBuffer[1] + context->common.filterBufferLen - 72… in OI_SBC_SynthFrame_80() 274 offset = context->common.filterBufferLen - 80; in OI_SBC_SynthFrame_80() 280 DCT2_8(context->common.filterBuffer[ch] + offset, s); in OI_SBC_SynthFrame_80() 281 SYNTH80(pcm + ch, context->common.filterBuffer[ch] + offset, pcmStrideShift); in OI_SBC_SynthFrame_80() 286 context->common.filterBufferOffset = offset; in OI_SBC_SynthFrame_80() [all …]
|
D | alloc.c | 27 PRIVATE OI_STATUS OI_CODEC_SBC_Alloc(OI_CODEC_SBC_COMMON_CONTEXT *common, in OI_CODEC_SBC_Alloc() argument 46 common->maxChannels = maxChannels; in OI_CODEC_SBC_Alloc() 47 common->pcmStride = pcmStride; in OI_CODEC_SBC_Alloc() 51 subdataSize = maxChannels * sizeof(common->subdata[0]) * SBC_MAX_BANDS * SBC_MAX_BLOCKS; in OI_CODEC_SBC_Alloc() 56 …filterBufferCount = (codecDataBytes - subdataSize) / (sizeof(common->filterBuffer[0][0]) * SBC_MAX… in OI_CODEC_SBC_Alloc() 60 common->filterBufferLen = filterBufferCount * SBC_MAX_BANDS; in OI_CODEC_SBC_Alloc() 63 common->subdata = (OI_INT32*)codecData; in OI_CODEC_SBC_Alloc() 70 size_t allocSize = common->filterBufferLen * sizeof(common->filterBuffer[0][0]); in OI_CODEC_SBC_Alloc() 71 common->filterBuffer[i] = (SBC_BUFFER_T*)codecData; in OI_CODEC_SBC_Alloc()
|
D | decoder-oina.c | 79 context->common.frameInfo.enhanced = enhanced; in OI_CODEC_SBC_DecoderConfigureRaw() 81 context->common.frameInfo.enhanced = FALSE; in OI_CODEC_SBC_DecoderConfigureRaw() 83 context->common.frameInfo.freqIndex = frequency; in OI_CODEC_SBC_DecoderConfigureRaw() 84 context->common.frameInfo.mode = mode; in OI_CODEC_SBC_DecoderConfigureRaw() 85 context->common.frameInfo.subbands = subbands; in OI_CODEC_SBC_DecoderConfigureRaw() 86 context->common.frameInfo.blocks = blocks; in OI_CODEC_SBC_DecoderConfigureRaw() 87 context->common.frameInfo.alloc = alloc; in OI_CODEC_SBC_DecoderConfigureRaw() 88 context->common.frameInfo.bitpool = maxBitpool; in OI_CODEC_SBC_DecoderConfigureRaw() 90 OI_SBC_ExpandFrameFields(&context->common.frameInfo); in OI_CODEC_SBC_DecoderConfigureRaw() 92 if (context->common.frameInfo.nrof_channels >= context->common.pcmStride) { in OI_CODEC_SBC_DecoderConfigureRaw()
|
D | bitalloc.c | 118 OI_UINT computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT *common, in computeBitneed() argument 137 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; in computeBitneed() 139 OI_INT8 *scale_factor = &common->scale_factor[ch ? nrof_subbands : 0]; in computeBitneed() 144 if (common->frameInfo.alloc == SBC_SNR) { in computeBitneed() 158 offset = offset4[common->frameInfo.freqIndex]; in computeBitneed() 160 offset = offset8[common->frameInfo.freqIndex]; in computeBitneed() 180 common->maxBitneed = OI_MAX(maxBits, common->maxBitneed); in computeBitneed() 342 void oneChannelBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT *common, in oneChannelBitAllocation() argument 347 const OI_UINT8 nrof_subbands = common->frameInfo.nrof_subbands; in oneChannelBitAllocation() 356 …bitadjust = adjustToFitBitpool(common->frameInfo.bitpool, bitneeds->uint32, nrof_subbands, bitcoun… in oneChannelBitAllocation() [all …]
|
D | readsamplesjoint.inc | 26 void OI_SBC_ReadSamplesJoint4(OI_CODEC_SBC_COMMON_CONTEXT *common, OI_BITSTREAM *global_bs) 33 void OI_SBC_ReadSamplesJoint8(OI_CODEC_SBC_COMMON_CONTEXT *common, OI_BITSTREAM *global_bs) 42 void OI_SBC_ReadSamplesJoint(OI_CODEC_SBC_COMMON_CONTEXT *common, OI_BITSTREAM *global_bs) 44 OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; 59 OI_CODEC_SBC_COMMON_CONTEXT *common = &context->common; 60 OI_UINT bl = common->frameInfo.nrof_blocks; 61 OI_INT32 * RESTRICT s = common->subdata; 65 OI_UINT8 jmask = common->frameInfo.join << (8 - NROF_SUBBANDS); 68 OI_INT8 *sf_array = &common->scale_factor[0]; 69 OI_UINT8 *bits_array = &common->bits.uint8[0];
|
/system/bt/service/ |
D | Android.mk | 42 common/bluetooth/adapter_state.cpp \ 43 common/bluetooth/advertise_data.cpp \ 44 common/bluetooth/advertise_settings.cpp \ 45 common/bluetooth/gatt_identifier.cpp \ 46 common/bluetooth/scan_filter.cpp \ 47 common/bluetooth/scan_result.cpp \ 48 common/bluetooth/scan_settings.cpp \ 49 common/bluetooth/util/address_helper.cpp \ 50 common/bluetooth/util/atomic_string.cpp \ 51 common/bluetooth/uuid.cpp [all …]
|
D | BUILD.gn | 27 "common/bluetooth/advertise_data.cpp", 28 "common/bluetooth/adapter_state.cpp", 29 "common/bluetooth/uuid.cpp", 30 "common/bluetooth/scan_filter.cpp", 31 "common/bluetooth/scan_result.cpp", 32 "common/bluetooth/scan_settings.cpp", 33 "common/bluetooth/gatt_identifier.cpp", 34 "common/bluetooth/advertise_settings.cpp", 35 "common/bluetooth/util/atomic_string.cpp", 36 "common/bluetooth/util/address_helper.cpp", [all …]
|
/system/update_engine/ |
D | update_engine.gyp | 91 'includes': ['../../../platform2/common-mk/protoc.gypi'], 104 'includes': ['../../../platform2/common-mk/generate-dbus-adaptors.gypi'], 119 'includes': ['../../../platform2/common-mk/generate-dbus-proxies.gypi'], 123 # The payload application component and common dependencies. 160 'common/action_processor.cc', 161 'common/boot_control_stub.cc', 162 'common/certificate_checker.cc', 163 'common/clock.cc', 164 'common/constants.cc', 165 'common/cpu_limiter.cc', [all …]
|
D | Android.mk | 151 common/action_processor.cc \ 152 common/boot_control_stub.cc \ 153 common/clock.cc \ 154 common/constants.cc \ 155 common/cpu_limiter.cc \ 156 common/error_code_utils.cc \ 157 common/hash_calculator.cc \ 158 common/http_common.cc \ 159 common/http_fetcher.cc \ 160 common/file_fetcher.cc \ [all …]
|
/system/bt/service/common/ |
D | README | 1 This directory contains all the "common" sources between the bluetooth daemon 4 Only common files should go here. All headers that go into common/bluetooth must 5 only include other headers from common/bluetooth and must use "bluetooth" as the 11 one common include path exported to them, and our headers can find eachother 14 It is however OK to include from the package root when including common headers 16 common/bluetooth/adapter_state.cpp should do: 18 #include "service/common/bluetooth/adapter_state.h"
|
/system/core/include/system/ |
D | window.h | 93 common.magic = ANDROID_NATIVE_BUFFER_MAGIC; in ANativeWindowBuffer() 94 common.version = sizeof(ANativeWindowBuffer); in ANativeWindowBuffer() 95 memset(common.reserved, 0, sizeof(common.reserved)); in ANativeWindowBuffer() 101 common.incRef(const_cast<android_native_base_t*>(&common)); in incStrong() 104 common.decRef(const_cast<android_native_base_t*>(&common)); in decStrong() 108 struct android_native_base_t common; member 408 common.magic = ANDROID_NATIVE_WINDOW_MAGIC; in ANativeWindow() 409 common.version = sizeof(ANativeWindow); in ANativeWindow() 410 memset(common.reserved, 0, sizeof(common.reserved)); in ANativeWindow() 416 common.incRef(const_cast<android_native_base_t*>(&common)); in incStrong() [all …]
|
/system/tpm/attestation/ |
D | attestation.gyp | 44 'proto_in_dir': 'common', 45 'proto_out_dir': 'include/attestation/common', 49 '<(proto_in_dir)/common.proto', 52 'common/print_common_proto.cc', 53 'common/print_interface_proto.cc', 55 'includes': ['../../../../platform2/common-mk/protoc.gypi'], 57 # A library for common code. 62 'common/crypto_utility_impl.cc', 63 'common/tpm_utility_v1.cc', 165 'includes': ['../../../../platform2/common-mk/common_test.gypi'], [all …]
|
/system/tpm/tpm_manager/ |
D | tpm_manager.gyp | 19 'includes': ['../../../../platform2/common-mk/common.gypi'], 41 'proto_in_dir': 'common', 42 'proto_out_dir': 'include/tpm_manager/common', 49 'common/print_local_data_proto.cc', 50 'common/print_tpm_manager_status_proto.cc', 51 'common/print_tpm_nvram_interface_proto.cc', 52 'common/print_tpm_ownership_interface_proto.cc', 54 'includes': ['../../../../platform2/common-mk/protoc.gypi'], 145 'includes': ['../../../../platform2/common-mk/common_test.gypi'], 155 'common/mock_tpm_nvram_interface.cc', [all …]
|
/system/weaved/ |
D | Android.mk | 38 libavahi-common \ 69 LOCAL_MODULE := weave-common 85 common/binder_constants.cc \ 86 common/binder_utils.cc \ 95 LOCAL_MODULE := weave-daemon-common 103 LOCAL_STATIC_LIBRARIES := weave-common 146 LOCAL_STATIC_LIBRARIES := weave-common \ 148 LOCAL_WHOLE_STATIC_LIBRARIES := weave-daemon-common 174 LOCAL_STATIC_LIBRARIES := weave-common 205 weave-daemon-common \ [all …]
|
/system/media/ |
D | CleanSpec.mk | 48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterfw_intermediates) 49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_imageproc_inte… 50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_text_intermedi… 51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_ui_intermediat… 52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_videosrc_inter… 54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterfw_intermediates)
|
/system/security/keystore/ |
D | keystore_main.cpp | 74 km0_device->common.close(&km0_device->common); in keymaster0_device_initialize() 96 km0_device->common.close(&km0_device->common); in keymaster0_device_initialize() 130 km1_device->common.close(&km1_device->common); in keymaster1_device_initialize() 153 km2_device->common.close(&km2_device->common); in keymaster2_device_initialize() 189 dev->common.close(&dev->common); in keymaster_device_release()
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_codec_sbc_private.h | 129 OI_UINT computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT *common, 134 void oneChannelBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT *common, 157 void monoBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT *common); 159 typedef void (*BIT_ALLOC)(OI_CODEC_SBC_COMMON_CONTEXT *common); 209 INLINE void OI_SBC_ReadHeader(OI_CODEC_SBC_COMMON_CONTEXT *common, const OI_BYTE *data); 210 PRIVATE void OI_SBC_ReadScalefactors(OI_CODEC_SBC_COMMON_CONTEXT *common, const OI_BYTE *b, OI_BITS… 211 PRIVATE void OI_SBC_ReadSamples(OI_CODEC_SBC_DECODER_CONTEXT *common, OI_BITSTREAM *ob); 212 PRIVATE void OI_SBC_ReadSamplesJoint(OI_CODEC_SBC_DECODER_CONTEXT *common, OI_BITSTREAM *global_bs); 219 PRIVATE OI_STATUS OI_CODEC_SBC_Alloc(OI_CODEC_SBC_COMMON_CONTEXT *common,
|
/system/webservd/ |
D | webserver.gyp | 28 # in ../common-mk/common.gypi) and replace it with -fPIC. 32 '../common-mk/generate-dbus-adaptors.gypi' 58 'includes': ['../common-mk/generate-dbus-proxies.gypi'], 71 'includes': ['../common-mk/generate-dbus-proxies.gypi'], 111 'includes': ['../common-mk/generate-dbus-adaptors.gypi'], 126 'includes': ['../common-mk/generate-dbus-proxies.gypi'], 134 '../common-mk/deps.gypi', 168 'includes': ['../common-mk/common_test.gypi'], 179 'includes': ['../common-mk/common_test.gypi'],
|
/system/core/metricsd/ |
D | metrics.gyp | 96 '../common-mk/protoc.gypi' 115 'includes': ['../common-mk/common_test.gypi'], 127 'includes': ['../common-mk/common_test.gypi'], 141 'includes': ['../common-mk/common_test.gypi'], 161 '../common-mk/common_test.gypi', 175 'includes': ['../common-mk/common_test.gypi'],
|
/system/media/audio/include/system/ |
D | sound_trigger.h | 130 struct sound_trigger_sound_model common; member 140 struct sound_trigger_sound_model common; member 199 struct sound_trigger_recognition_event common; member 205 struct sound_trigger_recognition_event common; member
|
/system/core/trusty/gatekeeper/ |
D | trusty_gatekeeper.cpp | 40 static_assert(offsetof(TrustyGateKeeperDevice, device_.common) == 0, in TrustyGateKeeperDevice() 44 assert(reinterpret_cast<hw_device_t *>(this) == &(device_.common)); in TrustyGateKeeperDevice() 48 device_.common.tag = HARDWARE_DEVICE_TAG; in TrustyGateKeeperDevice() 49 device_.common.version = 1; in TrustyGateKeeperDevice() 50 device_.common.module = const_cast<hw_module_t *>(module); in TrustyGateKeeperDevice() 51 device_.common.close = close_device; in TrustyGateKeeperDevice() 68 return &device_.common; in hw_device()
|