Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 60) sorted by relevance

123

/system/bt/audio_bluetooth_hw/
Daudio_bluetooth_hw.cc31 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
37 static char* adev_get_parameters(const struct audio_hw_device* dev, in adev_get_parameters()
43 static int adev_init_check(const struct audio_hw_device* dev) { return 0; } in adev_init_check()
45 static int adev_set_voice_volume(struct audio_hw_device* dev, float volume) { in adev_set_voice_volume()
50 static int adev_set_master_volume(struct audio_hw_device* dev, float volume) { in adev_set_master_volume()
55 static int adev_get_master_volume(struct audio_hw_device* dev, float* volume) { in adev_get_master_volume()
59 static int adev_set_master_mute(struct audio_hw_device* dev, bool muted) { in adev_set_master_mute()
64 static int adev_get_master_mute(struct audio_hw_device* dev, bool* muted) { in adev_get_master_mute()
68 static int adev_set_mode(struct audio_hw_device* dev, audio_mode_t mode) { in adev_set_mode()
73 static int adev_set_mic_mute(struct audio_hw_device* dev, bool state) { in adev_set_mic_mute()
[all …]
Dstream_apis.cc596 int adev_open_output_stream(struct audio_hw_device* dev, in adev_open_output_stream()
659 void adev_close_output_stream(struct audio_hw_device* dev, in adev_close_output_stream()
675 size_t adev_get_input_buffer_size(const struct audio_hw_device* dev, in adev_get_input_buffer_size()
680 int adev_open_input_stream(struct audio_hw_device* dev, in adev_open_input_stream()
690 void adev_close_input_stream(struct audio_hw_device* dev, in adev_close_input_stream()
/system/core/deprecated-adf/libadfhwc/
Dadfhwc.cpp41 int adf_eventControl(struct adf_hwc_helper *dev, int disp, int event, in adf_eventControl()
65 int adf_blank(struct adf_hwc_helper *dev, int disp, int blank) in adf_blank()
74 int adf_query_display_types_supported(struct adf_hwc_helper *dev, int *value) in adf_query_display_types_supported()
85 int adf_getDisplayConfigs(struct adf_hwc_helper *dev, int disp, in adf_getDisplayConfigs()
145 int adf_getDisplayAttributes(struct adf_hwc_helper *dev, int disp, in adf_getDisplayAttributes()
196 int adf_getDisplayAttributes_hwc2(struct adf_hwc_helper *dev, int disp, in adf_getDisplayAttributes_hwc2()
220 int adf_set_active_config_hwc2(struct adf_hwc_helper *dev, int disp, in adf_set_active_config_hwc2()
234 static void handle_adf_event(struct adf_hwc_helper *dev, int disp) in handle_adf_event()
272 adf_hwc_helper *dev = static_cast<adf_hwc_helper *>(data); in adf_event_thread() local
314 struct adf_hwc_helper **dev) in adf_hwc_open()
[all …]
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp110 static keymaster_error_t add_digests(keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests()
131 static keymaster_error_t map_digests(keymaster1_device_t* dev, SoftKeymasterDevice::DigestMap* map, in map_digests()
368 template <typename T> SoftKeymasterDevice* convert_device(const T* dev) { in convert_device()
390 int SoftKeymasterDevice::close_device(hw_device_t* dev) { in close_device()
410 keymaster_error_t SoftKeymasterDevice::get_supported_algorithms(const keymaster1_device_t* dev, in get_supported_algorithms()
442 keymaster_error_t SoftKeymasterDevice::get_supported_block_modes(const keymaster1_device_t* dev, in get_supported_block_modes()
478 keymaster_error_t SoftKeymasterDevice::get_supported_padding_modes(const keymaster1_device_t* dev, in get_supported_padding_modes()
514 keymaster_error_t SoftKeymasterDevice::get_supported_digests(const keymaster1_device_t* dev, in get_supported_digests()
550 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_import_formats()
583 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_export_formats()
[all …]
/system/core/trusty/keymaster/legacy/
Dtrusty_keymaster_device.cpp641 static inline TrustyKeymasterDevice* convert_device(const keymaster2_device_t* dev) { in convert_device()
646 int TrustyKeymasterDevice::close_device(hw_device_t* dev) { in close_device()
652 keymaster_error_t TrustyKeymasterDevice::configure(const keymaster2_device_t* dev, in configure()
658 keymaster_error_t TrustyKeymasterDevice::add_rng_entropy(const keymaster2_device_t* dev, in add_rng_entropy()
665 const keymaster2_device_t* dev, const keymaster_key_param_set_t* params, in generate_key()
672 const keymaster2_device_t* dev, const keymaster_key_blob_t* key_blob, in get_key_characteristics()
681 const keymaster2_device_t* dev, const keymaster_key_param_set_t* params, in import_key()
688 keymaster_error_t TrustyKeymasterDevice::export_key(const keymaster2_device_t* dev, in export_key()
699 keymaster_error_t TrustyKeymasterDevice::attest_key(const keymaster2_device_t* dev, in attest_key()
708 const keymaster2_device_t* dev, const keymaster_key_blob_t* key_to_upgrade, in upgrade_key()
[all …]
Dmodule.cpp35 TrustyKeymasterDevice* dev = new TrustyKeymasterDevice(module); in trusty_keymaster_open() local
/system/core/deprecated-adf/libadf/
Dadf.cpp83 int adf_device_open(adf_id_t id, int flags, struct adf_device *dev) in adf_device_open()
97 void adf_device_close(struct adf_device *dev) in adf_device_close()
103 int adf_get_device_data(struct adf_device *dev, struct adf_device_data *data) in adf_get_device_data()
142 int adf_device_post(struct adf_device *dev, in adf_device_post()
165 int adf_device_post_v2(struct adf_device *dev, in adf_device_post_v2()
196 static int adf_device_attachment(struct adf_device *dev, in adf_device_attachment()
213 int adf_device_attach(struct adf_device *dev, adf_id_t overlay_engine, in adf_device_attach()
219 int adf_device_detach(struct adf_device *dev, adf_id_t overlay_engine, in adf_device_detach()
225 ssize_t adf_interfaces(struct adf_device *dev, adf_id_t **interfaces) in adf_interfaces()
233 ssize_t adf_interfaces_for_overlay_engine(struct adf_device *dev, in adf_interfaces_for_overlay_engine()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dtest_model.cc126 std::shared_ptr<Device> dev = devices_[dev_index]; in AddDeviceToPhy() local
143 std::shared_ptr<Device> dev = LinkLayerSocketDevice::Create(socket_fd, phy_type); in AddLinkLayerConnection() local
166 std::shared_ptr<HciSocketDevice> dev = HciSocketDevice::Create(socket_fd); in IncomingHciConnection() local
185 for (size_t dev = 0; dev < devices_.size(); dev++) { in List() local
198 for (size_t dev = 0; dev < devices_.size(); dev++) { in TimerTick() local
/system/keymaster/include/keymaster/contexts/
Dkeymaster0_passthrough_context.h32 explicit Keymaster0PassthroughContext(keymaster0_device_t* dev) : PureSoftKeymasterContext() { in Keymaster0PassthroughContext()
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp73 int TrustyGateKeeperDevice::close_device(hw_device_t* dev) { in close_device()
185 static inline TrustyGateKeeperDevice *convert_device(const gatekeeper_device *dev) { in convert_device()
190 int TrustyGateKeeperDevice::enroll(const struct gatekeeper_device *dev, uint32_t uid, in enroll()
217 int TrustyGateKeeperDevice::verify(const struct gatekeeper_device *dev, uint32_t uid, in verify()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.cpp758 static int close_device(hw_device_t* dev) { in close_device()
765 static const keymaster1_device_t* unwrap(const keymaster1_device_t* dev) { in unwrap()
769 static keymaster_error_t get_supported_algorithms(const struct keymaster1_device* dev, in get_supported_algorithms()
774 static keymaster_error_t get_supported_block_modes(const struct keymaster1_device* dev, in get_supported_block_modes()
782 static keymaster_error_t get_supported_padding_modes(const struct keymaster1_device* dev, in get_supported_padding_modes()
791 static keymaster_error_t get_supported_digests(const keymaster1_device_t* dev, in get_supported_digests()
814 static keymaster_error_t get_supported_import_formats(const struct keymaster1_device* dev, in get_supported_import_formats()
821 static keymaster_error_t get_supported_export_formats(const struct keymaster1_device* dev, in get_supported_export_formats()
828 static keymaster_error_t add_rng_entropy(const struct keymaster1_device* dev, in add_rng_entropy()
833 static keymaster_error_t generate_key(const keymaster1_device_t* dev, in generate_key()
[all …]
/system/vold/
DKeymaster.cpp104 for (auto& dev : devices) { in Keymaster() local
216 Keymaster dev; in keymaster_compatibility_cryptfs_scrypt() local
256 Keymaster dev; in keymaster_create_key_for_cryptfs_scrypt() local
274 Keymaster dev; in keymaster_upgrade_key_for_cryptfs_scrypt() local
290 Keymaster dev; in keymaster_sign_object_for_cryptfs_scrypt() local
/system/security/keystore/include/keystore/
Dkeystore_hidl_support.h56 inline static ErrorCode ksHandleHidlError(KMDevice dev, const Return<ErrorCode>& error, in ksHandleHidlError()
77 #define KS_HANDLE_HIDL_ERROR(dev, rc) \ argument
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc1513 static int adev_open_output_stream(struct audio_hw_device* dev, in adev_open_output_stream()
1620 static void adev_close_output_stream(struct audio_hw_device* dev, in adev_close_output_stream()
1647 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
1666 static char* adev_get_parameters(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_parameters()
1677 static int adev_init_check(UNUSED_ATTR const struct audio_hw_device* dev) { in adev_init_check()
1683 static int adev_set_voice_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_voice_volume()
1690 static int adev_set_master_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_master_volume()
1697 static int adev_set_mode(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mode()
1704 static int adev_set_mic_mute(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mic_mute()
1711 static int adev_get_mic_mute(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_mic_mute()
[all …]
/system/update_engine/common/
Dtest_utils.h108 std::string* dev) { in ScopedLoopbackDeviceBinder()
128 const std::string& dev() const { in dev() function
/system/security/keystore/
Dkey_store_service.h249 void addOperationDevice(sp<IBinder> token, std::shared_ptr<KeymasterWorker> dev) { in addOperationDevice()
Dkey_store_service.cpp682 auto dev = mKeyStore->getDevice(securityLevel); in generateKey() local
738 auto dev = mKeyStore->getDevice(keyBlob); in getKeyCharacteristics() local
782 auto dev = mKeyStore->getDevice(securityLevel); in importKey() local
840 auto dev = mKeyStore->getDevice(keyBlob); in exportKey() local
883 auto dev = mKeyStore->getDevice(keyBlob); in begin() local
908 auto dev = getOperationDevice(token); in update() local
933 auto dev = getOperationDevice(token); in finish() local
953 auto dev = getOperationDevice(token); in abort() local
1042 auto dev = mKeyStore->getDevice(keyBlob); in attestKey() local
1102 auto dev = mKeyStore->getDevice(SecurityLevel::TRUSTED_ENVIRONMENT); in attestDeviceIds() local
[all …]
/system/keymaster/android_keymaster/
Dkeymaster_configuration.cpp70 keymaster_error_t ConfigureDevice(keymaster2_device_t* dev, uint32_t os_version, in ConfigureDevice()
78 keymaster_error_t ConfigureDevice(keymaster2_device_t* dev) { in ConfigureDevice()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc1571 static int adev_open_output_stream(struct audio_hw_device* dev, in adev_open_output_stream()
1678 static void adev_close_output_stream(struct audio_hw_device* dev, in adev_close_output_stream()
1707 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
1726 static char* adev_get_parameters(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_parameters()
1737 static int adev_init_check(UNUSED_ATTR const struct audio_hw_device* dev) { in adev_init_check()
1743 static int adev_set_voice_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_voice_volume()
1750 static int adev_set_master_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_master_volume()
1757 static int adev_set_mode(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mode()
1764 static int adev_set_mic_mute(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mic_mute()
1771 static int adev_get_mic_mute(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_mic_mute()
[all …]
/system/libvintf/
DVintfObjectAfterUpdate.h89 bool set(const std::shared_ptr<T>& o, std::shared_ptr<T>* dev, std::shared_ptr<T>* fwk) { in set()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dloopback.cc65 std::string dev = GetTypeString() + "@" + properties_.GetLeAddress().ToString(); in ToString() local
Dbeacon.cc49 std::string dev = GetTypeString() + "@" + properties_.GetLeAddress().ToString(); in ToString() local
Ddevice.cc28 std::string dev = GetTypeString() + "@" + properties_.GetAddress().ToString(); in ToString() local
/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp57 static keymaster_error_t add_digests(const keymaster1_device_t* dev, keymaster_algorithm_t algorith… in add_digests()
78 static keymaster_error_t map_digests(const keymaster1_device_t* dev, in map_digests()
111 Keymaster1LegacySupport::Keymaster1LegacySupport(const keymaster1_device_t* dev) { in Keymaster1LegacySupport()
/system/netd/server/
DPppController.cpp84 char dev[32]; in attachPppd() local

123