/hardware/interfaces/audio/common/all-versions/default/ |
D | HidlUtils.h | 39 static status_t audioConfigFromHal(const audio_config_t& halConfig, bool isInput, 41 static status_t audioConfigToHal(const AudioConfig& config, audio_config_t* halConfig); 43 static status_t audioContentTypeFromHal(const audio_content_type_t halContentType, 45 static status_t audioContentTypeToHal(const AudioContentType& contentType, 48 static status_t audioGainConfigFromHal(const struct audio_gain_config& halConfig, bool isInput, 50 static status_t audioGainConfigToHal(const AudioGainConfig& config, 52 static status_t audioGainFromHal(const struct audio_gain& halGain, bool isInput, 54 static status_t audioGainToHal(const AudioGain& gain, struct audio_gain* halGain); 55 static status_t audioUsageFromHal(audio_usage_t halUsage, AudioUsage* usage); 56 static status_t audioUsageToHal(const AudioUsage& usage, audio_usage_t* halUsage); [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioHardwareALSA.h | 194 status_t (*init)(alsa_device_t *, ALSAHandleList &); 195 status_t (*open)(alsa_handle_t *); 196 status_t (*close)(alsa_handle_t *); 197 status_t (*standby)(alsa_handle_t *); 198 status_t (*route)(alsa_handle_t *, uint32_t, int); 199 status_t (*startVoiceCall)(alsa_handle_t *); 200 status_t (*startVoipCall)(alsa_handle_t *); 201 status_t (*startFm)(alsa_handle_t *); 207 status_t (*setFmVolume)(int); 209 status_t (*setLpaVolume)(int); [all …]
|
/hardware/libhardware_legacy/audio/ |
D | A2dpAudioInterface.h | 38 virtual status_t initCheck(); 40 virtual status_t setVoiceVolume(float volume); 41 virtual status_t setMasterVolume(float volume); 43 virtual status_t setMode(int mode); 46 virtual status_t setMicMute(bool state); 47 virtual status_t getMicMute(bool* state); 49 virtual status_t setParameters(const String8& keyValuePairs); 60 status_t *status=0); 68 status_t *status, 74 virtual status_t dump(int fd, const Vector<String16>& args); [all …]
|
D | AudioHardwareStub.h | 32 virtual status_t set(int *pFormat, uint32_t *pChannels, uint32_t *pRate); 38 virtual status_t setVolume(float left, float right) { return NO_ERROR; } in setVolume() 40 virtual status_t standby(); 41 virtual status_t dump(int fd, const Vector<String16>& args); 42 virtual status_t setParameters(const String8& keyValuePairs) { return NO_ERROR;} in setParameters() 44 virtual status_t getRenderPosition(uint32_t *dspFrames); 49 …virtual status_t set(int *pFormat, uint32_t *pChannels, uint32_t *pRate, AudioSystem::audio_in_… 54 virtual status_t setGain(float gain) { return NO_ERROR; } in setGain() 56 virtual status_t dump(int fd, const Vector<String16>& args); 57 virtual status_t standby() { return NO_ERROR; } in standby() [all …]
|
D | AudioHardwareGeneric.h | 42 virtual status_t set( 55 virtual status_t setVolume(float left, float right) { return INVALID_OPERATION; } in setVolume() 57 virtual status_t standby(); 58 virtual status_t dump(int fd, const Vector<String16>& args); 59 virtual status_t setParameters(const String8& keyValuePairs); 61 virtual status_t getRenderPosition(uint32_t *dspFrames); 75 virtual status_t set( 88 virtual status_t setGain(float gain) { return INVALID_OPERATION; } in setGain() 90 virtual status_t dump(int fd, const Vector<String16>& args); 91 virtual status_t standby() { return NO_ERROR; } in standby() [all …]
|
D | AudioDumpInterface.h | 51 virtual status_t setVolume(float left, float right); 52 virtual status_t standby(); 53 virtual status_t setParameters(const String8& keyValuePairs); 55 virtual status_t dump(int fd, const Vector<String16>& args); 60 virtual status_t getRenderPosition(uint32_t *dspFrames); 92 virtual status_t setGain(float gain); 94 virtual status_t standby(); 95 virtual status_t setParameters(const String8& keyValuePairs); 98 virtual status_t dump(int fd, const Vector<String16>& args); 126 status_t *status=0); [all …]
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | AudioHardwareInterface.h | 86 virtual status_t setVolume(float left, float right) = 0; 95 virtual status_t standby() = 0; 98 virtual status_t dump(int fd, const Vector<String16>& args) = 0; 106 virtual status_t setParameters(const String8& keyValuePairs) = 0; 111 virtual status_t getRenderPosition(uint32_t *dspFrames) = 0; 117 virtual status_t getNextWriteTimestamp(int64_t *timestamp); 122 virtual status_t getPresentationPosition(uint64_t *frames, struct timespec *timestamp); 158 virtual status_t setGain(float gain) = 0; 164 virtual status_t dump(int fd, const Vector<String16>& args) = 0; 170 virtual status_t standby() = 0; [all …]
|
D | AudioPolicyInterface.h | 70 virtual status_t setDeviceConnectionState(audio_devices_t device, 85 virtual status_t initCheck() = 0; 99 virtual status_t startOutput(audio_io_handle_t output, 103 virtual status_t stopOutput(audio_io_handle_t output, 116 virtual status_t startInput(audio_io_handle_t input) = 0; 118 virtual status_t stopInput(audio_io_handle_t input) = 0; 134 virtual status_t setStreamVolumeIndex(AudioSystem::stream_type stream, 141 virtual status_t getStreamVolumeIndex(AudioSystem::stream_type stream, 153 virtual status_t registerEffect(const effect_descriptor_t *desc, 158 virtual status_t unregisterEffect(int id) = 0; [all …]
|
/hardware/google/camera/common/hal/tests/ |
D | mock_device_session_hwl.h | 40 status_t ConstructDefaultRequestSettings( 44 status_t PrepareConfigureStreams( 47 status_t ConfigurePipeline(uint32_t camera_id, 53 status_t BuildPipelines() override; 57 status_t GetRequiredIntputStreams(const StreamConfiguration& overall_config, 61 status_t PreparePipeline(uint32_t /*pipeline_id*/, uint32_t /*frame_number*/) { in PreparePipeline() 65 status_t GetConfiguredHalStream( 70 status_t SubmitRequests(uint32_t frame_number, 73 status_t Flush() override; 79 status_t GetCameraCharacteristics( [all …]
|
/hardware/google/camera/common/hal/utils/ |
D | hal_camera_metadata.h | 30 using ::android::status_t; 83 status_t Set(uint32_t tag, const uint8_t* data, uint32_t data_count); 84 status_t Set(uint32_t tag, const int32_t* data, uint32_t data_count); 85 status_t Set(uint32_t tag, const float* data, uint32_t data_count); 86 status_t Set(uint32_t tag, const int64_t* data, uint32_t data_count); 87 status_t Set(uint32_t tag, const double* data, uint32_t data_count); 88 status_t Set(uint32_t tag, const camera_metadata_rational_t* data, 90 status_t Set(uint32_t tag, const std::string& string); 93 status_t Set(const camera_metadata_ro_entry& entry); 96 status_t Get(uint32_t tag, camera_metadata_ro_entry* entry) const; [all …]
|
D | internal_stream_manager.h | 45 status_t RegisterNewInternalStream(const Stream& stream, int32_t* stream_id); 54 status_t AllocateBuffers(const HalStream& hal_stream, 66 status_t AllocateSharedBuffers(const std::vector<HalStream>& hal_streams, 74 status_t GetStreamBuffer(int32_t stream_id, StreamBuffer* buffer); 77 status_t ReturnStreamBuffer(const StreamBuffer& buffer); 80 status_t ReturnFilledBuffer(uint32_t frame_number, const StreamBuffer& buffer); 83 status_t ReturnMetadata(int32_t stream_id, uint32_t frame_number, 88 status_t GetMostRecentStreamBuffer( 94 status_t ReturnZslStreamBuffers(uint32_t frame_number, int32_t stream_id); 111 status_t IsStreamRegisteredLocked(int32_t stream_id) const; [all …]
|
D | stream_buffer_cache_manager.h | 43 std::function<status_t(uint32_t num_buffer, std::vector<StreamBuffer>* buffers, 48 std::function<status_t(const std::vector<StreamBuffer>& buffers)>; 115 status_t RegisterStream(const StreamBufferCacheRegInfo& reg_info); 120 status_t NotifyProviderReadiness(int32_t stream_id); 130 status_t GetStreamBuffer(int32_t stream_id, StreamBufferRequestResult* res); 136 status_t NotifyFlushingAll(); 143 status_t IsStreamActive(int32_t stream_id, bool* is_active); 178 status_t UpdateCache(bool forced_flushing); 182 status_t GetBuffer(StreamBufferRequestResult* res); 206 status_t FlushLocked(bool forced_flushing); [all …]
|
/hardware/interfaces/camera/common/1.0/default/include/ |
D | CameraMetadata.h | 74 status_t unlock(const camera_metadata_t *buffer) const; 106 status_t append(const CameraMetadata &other); 111 status_t append(const camera_metadata* other); 126 status_t sort(); 133 status_t update(uint32_t tag, 135 status_t update(uint32_t tag, 137 status_t update(uint32_t tag, 139 status_t update(uint32_t tag, 141 status_t update(uint32_t tag, 143 status_t update(uint32_t tag, [all …]
|
/hardware/interfaces/audio/core/all-versions/default/util/include/util/ |
D | CoreUtils.h | 45 static status_t deviceAddressToHal(const DeviceAddress& device, audio_devices_t* halDeviceType, 47 … static status_t deviceAddressFromHal(audio_devices_t halDeviceType, const char* halDeviceAddress, 50 … static status_t microphoneInfoFromHal(const struct audio_microphone_characteristic_t& halMicInfo, 52 …static status_t microphoneInfoToHal(const MicrophoneInfo& micInfo, audio_microphone_characteristic… 56 static status_t sinkMetadataFromHal(const std::vector<record_track_metadata_t>& halTracks, 58 static status_t sinkMetadataFromHalV7(const std::vector<record_track_metadata_v7_t>& halTracks, 60 static status_t sinkMetadataToHal(const SinkMetadata& sinkMetadata, 62 static status_t sinkMetadataToHalV7(const SinkMetadata& sinkMetadata, bool ignoreNonVendorTags, 64 static status_t sourceMetadataFromHal(const std::vector<playback_track_metadata_t>& halTracks, 66 …static status_t sourceMetadataFromHalV7(const std::vector<playback_track_metadata_v7_t>& halTracks, [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/test/ |
D | qcamera_test.h | 69 status_t openCamera(); 70 status_t closeCamera(); 72 status_t startPreview(); 73 status_t stopPreview(); 74 status_t resumePreview(); 75 status_t autoFocus(); 76 status_t enablePreviewCallbacks(); 77 status_t takePicture(); 78 status_t startRecording(); 79 status_t stopRecording(); [all …]
|
/hardware/google/camera/common/hal/hwl_interface/ |
D | camera_device_session_hwl.h | 39 virtual status_t ConstructDefaultRequestSettings( 43 virtual status_t PrepareConfigureStreams( 65 virtual status_t ConfigurePipeline(uint32_t camera_id, 74 virtual status_t BuildPipelines() = 0; 85 virtual status_t PreparePipeline(uint32_t pipeline_id, 93 virtual status_t GetRequiredIntputStreams( 100 virtual status_t GetConfiguredHalStream( 111 virtual status_t SubmitRequests(uint32_t frame_number, 115 virtual status_t Flush() = 0; 126 virtual status_t GetCameraCharacteristics( [all …]
|
/hardware/google/camera/common/hal/google_camera_hal/ |
D | depth_process_block.h | 54 status_t ConfigureStreams(const StreamConfiguration& stream_config, 57 status_t SetResultProcessor( 60 status_t GetConfiguredHalStreams( 63 status_t ProcessRequests( 67 status_t Flush() override; 87 status_t LoadDepthGenerator(std::unique_ptr<DepthGenerator>* depth_generator); 90 status_t MapBuffersForDepthGenerator(const StreamBuffer& stream_buffer, 94 status_t GetStreamBufferSize(const Stream& stream, int32_t* buffer_size); 97 status_t UnmapBuffersForDepthGenerator(const StreamBuffer& stream_buffer, 101 status_t PrepareDepthRequestInfo(const CaptureRequest& request, [all …]
|
D | camera_provider.h | 41 status_t SetCallback(const CameraProviderCallback* callback); 45 status_t TriggerDeferredCallbacks(); 48 status_t GetVendorTags( 52 status_t GetCameraIdList(std::vector<uint32_t>* camera_ids) const; 58 status_t CreateCameraDevice(uint32_t camera_id, 62 status_t GetConcurrentStreamingCameraIds( 66 status_t IsConcurrentStreamCombinationSupported( 70 status_t NotifyDeviceStateChange(google_camera_hal::DeviceState device_state); 76 status_t Initialize(std::unique_ptr<CameraProviderHwl> camera_provider_hwl); 79 status_t InitializeVendorTags(); [all …]
|
D | rgbird_rt_request_processor.h | 41 status_t ConfigureStreams( 46 status_t SetProcessBlock(std::unique_ptr<ProcessBlock> process_block) override; 48 status_t ProcessRequest(const CaptureRequest& request) override; 50 status_t Flush() override; 72 status_t CreateDepthInternalStreams( 76 status_t RegisterHdrplusInternalRaw( 78 status_t TryAddHdrplusRawOutputLocked(CaptureRequest* block_request, 83 status_t TryAddDepthInternalYuvOutputLocked(CaptureRequest* block_request); 84 status_t AddIrRawProcessBlockRequestLocked( 88 status_t TryAddRgbProcessBlockRequestLocked( [all …]
|
/hardware/google/camera/common/hal/hidl_service/ |
D | hidl_utils.h | 66 status_t ConvertToHidlVendorTagSections( 70 status_t ConvertToHidlVendorTagType( 74 status_t ConvertToHidlResourceCost( 78 status_t ConvertToHidlHalStreamConfig( 85 status_t ConvertToHidlCaptureResult( 90 status_t ConverToHidlNotifyMessage( 103 Status ConvertToHidlStatus(status_t hal_status); 109 status_t ConvertToHidlCameraDeviceStatus( 117 status_t ConvertToHidlTorchModeStatus( 122 status_t ConvertToHidlBufferRequest( [all …]
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedRequestState.h | 43 status_t Initialize(std::unique_ptr<HalCameraMetadata> static_meta); 45 status_t GetDefaultRequest( 52 status_t InitializeSensorSettings( 59 status_t InitializeRequestDefaults(); 60 status_t InitializeSensorDefaults(); 61 status_t InitializeFlashDefaults(); 62 status_t InitializeControlDefaults(); 63 status_t InitializeControlAEDefaults(); 64 status_t InitializeControlAWBDefaults(); 65 status_t InitializeControlAFDefaults(); [all …]
|
D | EmulatedCameraProviderHWLImpl.h | 51 status_t SetCallback(const HwlCameraProviderCallback& callback) override; 52 status_t TriggerDeferredCallbacks() override; 54 status_t GetVendorTags( 57 status_t GetVisibleCameraIds(std::vector<std::uint32_t>* camera_ids) override; 63 status_t GetConcurrentStreamingCameraIds( 66 status_t IsConcurrentStreamCombinationSupported( 69 status_t CreateCameraDeviceHwl( 73 status_t CreateBufferAllocatorHwl(std::unique_ptr<CameraBufferAllocatorHwl>* 76 status_t NotifyDeviceStateChange(DeviceState device_state) override; 80 status_t Initialize(); [all …]
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_session.h | 93 virtual android::status_t notifyCallback(uint32_t command, const android::Parcel *input_parcel, 97 android::status_t SetMaxMixerStages(const android::Parcel *input_parcel); 98 android::status_t SetDisplayMode(const android::Parcel *input_parcel); 99 android::status_t SetSecondaryDisplayStatus(const android::Parcel *input_parcel, 101 android::status_t ToggleScreenUpdates(const android::Parcel *input_parcel, 103 android::status_t ConfigureRefreshRate(const android::Parcel *input_parcel); 104 android::status_t QdcmCMDHandler(const android::Parcel *input_parcel, 106 android::status_t ControlPartialUpdate(const android::Parcel *input_parcel, android::Parcel *out); 107 android::status_t OnMinHdcpEncryptionLevelChange(const android::Parcel *input_parcel, 109 android::status_t SetPanelBrightness(const android::Parcel *input_parcel, [all …]
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_session.h | 93 virtual android::status_t notifyCallback(uint32_t command, const android::Parcel *input_parcel, 97 android::status_t SetMaxMixerStages(const android::Parcel *input_parcel); 98 android::status_t SetDisplayMode(const android::Parcel *input_parcel); 99 android::status_t SetSecondaryDisplayStatus(const android::Parcel *input_parcel, 101 android::status_t ToggleScreenUpdates(const android::Parcel *input_parcel, 103 android::status_t ConfigureRefreshRate(const android::Parcel *input_parcel); 104 android::status_t QdcmCMDHandler(const android::Parcel *input_parcel, 106 android::status_t ControlPartialUpdate(const android::Parcel *input_parcel, android::Parcel *out); 107 android::status_t OnMinHdcpEncryptionLevelChange(const android::Parcel *input_parcel, 109 android::status_t SetPanelBrightness(const android::Parcel *input_parcel, [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_session.h | 90 virtual android::status_t notifyCallback(uint32_t command, const android::Parcel *input_parcel, 94 android::status_t SetMaxMixerStages(const android::Parcel *input_parcel); 95 android::status_t SetDisplayMode(const android::Parcel *input_parcel); 96 android::status_t SetSecondaryDisplayStatus(const android::Parcel *input_parcel, 98 android::status_t ToggleScreenUpdates(const android::Parcel *input_parcel, 100 android::status_t ConfigureRefreshRate(const android::Parcel *input_parcel); 101 android::status_t QdcmCMDHandler(const android::Parcel *input_parcel, 103 android::status_t ControlPartialUpdate(const android::Parcel *input_parcel, android::Parcel *out); 104 android::status_t OnMinHdcpEncryptionLevelChange(const android::Parcel *input_parcel, 106 android::status_t SetPanelBrightness(const android::Parcel *input_parcel, [all …]
|