Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 55) 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 …]
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp109 static keymaster_error_t add_digests(keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in add_digests()
130 static keymaster_error_t map_digests(keymaster1_device_t* dev, SoftKeymasterDevice::DigestMap* map, in map_digests()
331 template <typename T> SoftKeymasterDevice* convert_device(const T* dev) { in convert_device()
352 int SoftKeymasterDevice::close_device(hw_device_t* dev) { in close_device()
372 keymaster_error_t SoftKeymasterDevice::get_supported_algorithms(const keymaster1_device_t* dev, in get_supported_algorithms()
401 keymaster_error_t SoftKeymasterDevice::get_supported_block_modes(const keymaster1_device_t* dev, in get_supported_block_modes()
435 keymaster_error_t SoftKeymasterDevice::get_supported_padding_modes(const keymaster1_device_t* dev, in get_supported_padding_modes()
469 keymaster_error_t SoftKeymasterDevice::get_supported_digests(const keymaster1_device_t* dev, in get_supported_digests()
503 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_import_formats()
534 const keymaster1_device_t* dev, keymaster_algorithm_t algorithm, in get_supported_export_formats()
[all …]
/system/iorap/src/inode2filename/
Dinode.h61 constexpr inline unsigned int major(dev_t dev) { in major()
71 constexpr inline unsigned int minor(dev_t dev) { in minor()
/system/core/fs_mgr/libdm/
Ddm_test.cpp77 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
140 TempDevice dev("libdm-test-dm-suspend-resume", table); in TEST() local
547 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
573 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
592 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
613 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
631 TempDevice dev("libdm-test-dm-linear", table); in TEST() local
657 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/keymaster/tests/
Dandroid_keymaster_test_utils.cpp793 static int close_device(hw_device_t* dev) { in close_device()
800 static const keymaster1_device_t* unwrap(const keymaster1_device_t* dev) { in unwrap()
804 static keymaster_error_t get_supported_algorithms(const struct keymaster1_device* dev, in get_supported_algorithms()
809 static keymaster_error_t get_supported_block_modes(const struct keymaster1_device* dev, in get_supported_block_modes()
817 static keymaster_error_t get_supported_padding_modes(const struct keymaster1_device* dev, in get_supported_padding_modes()
826 static keymaster_error_t get_supported_digests(const keymaster1_device_t* dev, in get_supported_digests()
848 static keymaster_error_t get_supported_import_formats(const struct keymaster1_device* dev, in get_supported_import_formats()
855 static keymaster_error_t get_supported_export_formats(const struct keymaster1_device* dev, in get_supported_export_formats()
862 static keymaster_error_t add_rng_entropy(const struct keymaster1_device* dev, in add_rng_entropy()
867 static keymaster_error_t generate_key(const keymaster1_device_t* dev, in generate_key()
[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/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.cc1535 static int adev_open_output_stream(struct audio_hw_device* dev, in adev_open_output_stream()
1642 static void adev_close_output_stream(struct audio_hw_device* dev, in adev_close_output_stream()
1669 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
1688 static char* adev_get_parameters(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_parameters()
1699 static int adev_init_check(UNUSED_ATTR const struct audio_hw_device* dev) { in adev_init_check()
1705 static int adev_set_voice_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_voice_volume()
1712 static int adev_set_master_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_master_volume()
1719 static int adev_set_mode(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mode()
1726 static int adev_set_mic_mute(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mic_mute()
1733 static int adev_get_mic_mute(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_mic_mute()
[all …]
/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.cc24 std::string dev = GetTypeString() + "@" + properties_.GetAddress().ToString(); in ToString() local
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dtest_model.cc142 auto dev = devices_[dev_index]; in AddDeviceToPhy() local
168 std::shared_ptr<Device> dev = LinkLayerSocketDevice::Create(socket_fd, phy_type); in AddLinkLayerConnection() local
191 auto dev = HciSocketDevice::Create(socket_fd); in IncomingHciConnection() local
/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/keymaster/android_keymaster/
Dkeymaster_configuration.cpp111 keymaster_error_t ConfigureDevice(keymaster2_device_t* dev, uint32_t os_version, in ConfigureDevice()
119 keymaster_error_t ConfigureDevice(keymaster2_device_t* dev) { in ConfigureDevice()
/system/keymaster/legacy_support/
Dkeymaster1_legacy_support.cpp57 static keymaster_error_t add_digests(const keymaster1_device_t* dev, in add_digests()
78 static keymaster_error_t map_digests(const keymaster1_device_t* dev, in map_digests()
108 Keymaster1LegacySupport::Keymaster1LegacySupport(const keymaster1_device_t* dev) { in Keymaster1LegacySupport()
Dkeymaster_passthrough_engine.cpp296 engine_ptr_t KeymasterPassthroughEngine::createInstance(const keymaster1_device_t* dev) { in createInstance()
299 engine_ptr_t KeymasterPassthroughEngine::createInstance(const keymaster2_device_t* dev) { in createInstance()
/system/netd/server/
DPppController.cpp85 char dev[32]; in attachPppd() local
/system/core/libusbhost/include/usbhost/
Dusbhost.h44 struct usb_device *dev; member
/system/apex/apexd/
Dapex_database.cpp94 BlockDevice dev(entry); in GetSlaves() local
143 for (const auto& dev : slaves) { in PopulateLoopInfo() local
/system/bt/bta/sys/
Dutl.cc161 uint8_t* dev; in utl_set_device_class() local
/system/core/fastboot/
Dusb_osx.cpp89 static int try_interfaces(IOUSBDeviceInterface500** dev, usb_handle* handle) { in try_interfaces()
273 IOUSBDeviceInterface500** dev = NULL; in try_device() local
/system/core/libusbhost/
Dusbhost.c429 int bus = 0, dev = 0; in usb_device_get_unique_id() local
436 int bus = 0, dev = 0; in usb_device_get_unique_id_from_name() local
444 int dev = id % 1000; in usb_device_get_name_from_unique_id() local
692 struct usb_request *usb_request_new(struct usb_device *dev, in usb_request_new()
747 struct usb_request *usb_request_wait(struct usb_device *dev, int timeoutMillis) in usb_request_wait()
/system/core/set-verity-state/
Dset-verity-state.cpp51 static bool make_block_device_writable(const std::string& dev) { in make_block_device_writable()
/system/security/keystore2/src/
Dremote_provisioning.rs243 let dev = get_remotely_provisioned_component(&SecurityLevel::TRUSTED_ENVIRONMENT) in new_native_binder() localVariable
287 let dev = self.get_dev_by_sec_level(&sec_level)?; in generate_csr() localVariable
364 let dev = self.get_dev_by_sec_level(&sec_level)?; in generate_key_pair() localVariable

123