Home
last modified time | relevance | path

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

123

/system/bt/audio_bluetooth_hw/
Daudio_bluetooth_hw.cc33 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
57 static char* adev_get_parameters(const struct audio_hw_device* dev, in adev_get_parameters()
63 static int adev_init_check(const struct audio_hw_device* dev) { return 0; } in adev_init_check()
65 static int adev_set_voice_volume(struct audio_hw_device* dev, float volume) { in adev_set_voice_volume()
70 static int adev_set_master_volume(struct audio_hw_device* dev, float volume) { in adev_set_master_volume()
75 static int adev_get_master_volume(struct audio_hw_device* dev, float* volume) { in adev_get_master_volume()
79 static int adev_set_master_mute(struct audio_hw_device* dev, bool muted) { in adev_set_master_mute()
84 static int adev_get_master_mute(struct audio_hw_device* dev, bool* muted) { in adev_get_master_mute()
88 static int adev_set_mode(struct audio_hw_device* dev, audio_mode_t mode) { in adev_set_mode()
93 static int adev_set_mic_mute(struct audio_hw_device* dev, bool state) { in adev_set_mic_mute()
[all …]
Dstream_apis.cc631 int adev_open_output_stream(struct audio_hw_device* dev, in adev_open_output_stream()
699 void adev_close_output_stream(struct audio_hw_device* dev, in adev_close_output_stream()
720 size_t adev_get_input_buffer_size(const struct audio_hw_device* dev, in adev_get_input_buffer_size()
725 int adev_open_input_stream(struct audio_hw_device* dev, in adev_open_input_stream()
735 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/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.cc142 auto dev = devices_[dev_index]; in AddDeviceToPhy() local
164 std::shared_ptr<Device> dev = LinkLayerSocketDevice::Create(socket_fd, phy_type); in AddLinkLayerConnection() local
187 auto dev = HciSocketDevice::Create(socket_fd); in IncomingHciConnection() local
253 for (const auto& dev : devices_) { in TimerTick() local
262 for (const auto& dev : devices_) { in Reset() local
/system/keymaster/include/keymaster/contexts/
Dkeymaster0_passthrough_context.h32 explicit Keymaster0PassthroughContext(keymaster0_device_t* dev) : PureSoftKeymasterContext() { in Keymaster0PassthroughContext()
/system/vold/
DKeymaster.cpp104 for (auto& dev : devices) { in Keymaster() local
233 for (auto& dev : devices) { in earlyBootEnded() local
254 Keymaster dev; in keymaster_compatibility_cryptfs_scrypt() local
294 Keymaster dev; in keymaster_create_key_for_cryptfs_scrypt() local
312 Keymaster dev; in keymaster_upgrade_key_for_cryptfs_scrypt() local
328 Keymaster dev; in keymaster_sign_object_for_cryptfs_scrypt() local
/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/core/fs_mgr/libdm/
Ddm_test.cpp76 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
139 TempDevice dev("libdm-test-dm-suspend-resume", table); in TEST() local
546 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
572 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
591 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
612 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
Ddm_linear_fuzzer.cpp103 TempDevice dev("libdm-test-dm-linear", table); in LLVMFuzzerTestOneInput() 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.cc1512 static int adev_open_output_stream(struct audio_hw_device* dev, in adev_open_output_stream()
1619 static void adev_close_output_stream(struct audio_hw_device* dev, in adev_close_output_stream()
1646 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
1665 static char* adev_get_parameters(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_parameters()
1676 static int adev_init_check(UNUSED_ATTR const struct audio_hw_device* dev) { in adev_init_check()
1682 static int adev_set_voice_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_voice_volume()
1689 static int adev_set_master_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_master_volume()
1696 static int adev_set_mode(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mode()
1703 static int adev_set_mic_mute(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mic_mute()
1710 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/bt/vendor_libs/test_vendor_lib/model/devices/
Dloopback.cc51 std::string dev = GetTypeString() + "@" + properties_.GetLeAddress().ToString(); in ToString() local
Dbeacon.cc45 std::string dev = GetTypeString() + "@" + properties_.GetLeAddress().ToString(); in ToString() local
Ddevice.cc26 std::string dev = GetTypeString() + "@" + properties_.GetAddress().ToString(); in ToString() local
/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.cc1570 static int adev_open_output_stream(struct audio_hw_device* dev, in adev_open_output_stream()
1677 static void adev_close_output_stream(struct audio_hw_device* dev, in adev_close_output_stream()
1706 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
1725 static char* adev_get_parameters(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_parameters()
1736 static int adev_init_check(UNUSED_ATTR const struct audio_hw_device* dev) { in adev_init_check()
1742 static int adev_set_voice_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_voice_volume()
1749 static int adev_set_master_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_master_volume()
1756 static int adev_set_mode(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mode()
1763 static int adev_set_mic_mute(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mic_mute()
1770 static int adev_get_mic_mute(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_mic_mute()
[all …]
/system/security/keystore/
Dkey_store_service.cpp644 auto dev = mKeyStore->getDevice(securityLevel); in generateKey() local
699 auto dev = mKeyStore->getDevice(keyBlob); in getKeyCharacteristics() local
742 auto dev = mKeyStore->getDevice(securityLevel); in importKey() local
799 auto dev = mKeyStore->getDevice(keyBlob); in exportKey() local
841 auto dev = mKeyStore->getDevice(keyBlob); in begin() local
865 auto dev = mKeyStore->getOperationDevice(token); in update() local
890 auto dev = mKeyStore->getOperationDevice(token); in finish() local
907 auto dev = mKeyStore->getOperationDevice(token); in abort() local
971 std::shared_ptr<KeymasterWorker> dev = mKeyStore->getDevice(SecurityLevel::TRUSTED_ENVIRONMENT); in getTokensForCredstore() local
1137 auto dev = mKeyStore->getDevice(keyBlob); in attestKey() local
[all …]
/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/apex/apexd/
Dapex_database.cpp91 BlockDevice dev(entry); in GetSlaves() local
137 for (const auto& dev : slaves) { in PopulateLoopInfo() local
/system/netd/server/
DPppController.cpp85 char dev[32]; in attachPppd() local
/system/core/libusbhost/include/usbhost/
Dusbhost.h44 struct usb_device *dev; member
/system/bt/bta/sys/
Dutl.cc160 uint8_t* dev; in utl_set_device_class() local

123