/system/nvram/hal/tests/ |
D | nvram_hal_test.cc | 86 ScopedNvramSpace(SafeScopedNvramDevice* device, uint32_t index, uint32_t size) in ScopedNvramSpace() 95 ScopedNvramSpace(SafeScopedNvramDevice* device, in ScopedNvramSpace() 105 ScopedNvramSpace(SafeScopedNvramDevice* device, in ScopedNvramSpace() 137 bool CleanBurnSpaces(SafeScopedNvramDevice* device) { in CleanBurnSpaces() 175 bool GetNextBurnSpace(SafeScopedNvramDevice* device, uint32_t* index) { in GetNextBurnSpace() 204 SafeScopedNvramDevice device; in TEST() local 211 SafeScopedNvramDevice device; in TEST() local 220 SafeScopedNvramDevice device; in TEST() local 230 SafeScopedNvramDevice device; in TEST() local 237 SafeScopedNvramDevice device; in TEST() local [all …]
|
/system/media/brillo/audio/audioservice/ |
D | brillo_audio_device_info.cpp | 25 BAudioDeviceInfo* BAudioDeviceInfo_new(int device) { in BAudioDeviceInfo_new() 32 int BAudioDeviceInfo_getType(BAudioDeviceInfo* device) { in BAudioDeviceInfo_getType() 36 void BAudioDeviceInfo_delete(BAudioDeviceInfo* device) { in BAudioDeviceInfo_delete()
|
D | audio_device_handler.cpp | 128 audio_devices_t device, audio_policy_dev_state_t state) { in NotifyAudioPolicyService() 150 void AudioDeviceHandler::ConnectAudioDevice(audio_devices_t device) { in ConnectAudioDevice() 160 void AudioDeviceHandler::DisconnectAudioDevice(audio_devices_t device) { in DisconnectAudioDevice() 171 for (auto device : kSupportedInputDevices_) { in DisconnectAllSupportedDevices() local 174 for (auto device : kSupportedOutputDevices_) { in DisconnectAllSupportedDevices() local 181 audio_devices_t device = *(connected_input_devices_.begin()); in DisconnectAllConnectedDevices() local 185 audio_devices_t device = *(connected_output_devices_.begin()); in DisconnectAllConnectedDevices() local
|
D | audio_volume_handler.cpp | 82 for (auto device : AudioDeviceHandler::kSupportedOutputDevices_) { in GenerateVolumeFile() local 104 audio_devices_t device) { in GetVolumeCurrentIndex() 113 audio_devices_t device) { in GetVolumeIndex() 119 audio_devices_t device, in SetVolumeIndex() 132 audio_devices_t device, in PersistVolumeConfiguration() 143 for (auto device : AudioDeviceHandler::kSupportedOutputDevices_) { in InitAPSAllStreams() local 196 auto device = aps_->getDevicesForStream(stream); in AdjustStreamVolume() local
|
D | audio_service_callback.cpp | 40 for (auto device : devices) { in OnAudioDevicesConnected() local 51 for (auto device : devices) { in OnAudioDevicesDisconnected() local
|
D | brillo_audio_manager.cpp | 75 const BAudioDeviceInfo* device) { in BAudioManager_setInputDevice() 87 const BAudioManager* brillo_audio_manager, const BAudioDeviceInfo* device, in BAudioManager_setOutputDevice() 122 const BAudioDeviceInfo* device, in BAudioManager_setVolumeIndex() 137 const BAudioDeviceInfo* device, in BAudioManager_getVolumeIndex()
|
D | brillo_audio_device_info_internal.cpp | 69 unsigned int device) { in CreateFromAudioDevicesT()
|
/system/nvram/hal/ |
D | nvram_device_adapter.cpp | 35 nvram_result_t Execute(const nvram_device_t* device, in Execute() 61 nvram_result_t device_get_total_size_in_bytes(const nvram_device_t* device, in device_get_total_size_in_bytes() 71 nvram_result_t device_get_available_size_in_bytes(const nvram_device_t* device, in device_get_available_size_in_bytes() 81 nvram_result_t device_get_max_space_size_in_bytes(const nvram_device_t* device, in device_get_max_space_size_in_bytes() 91 nvram_result_t device_get_max_spaces(const nvram_device_t* device, in device_get_max_spaces() 101 nvram_result_t device_get_space_list(const nvram_device_t* device, in device_get_space_list() 123 nvram_result_t device_get_space_size(const nvram_device_t* device, in device_get_space_size() 135 nvram_result_t device_get_space_controls(const nvram_device_t* device, in device_get_space_controls() 159 nvram_result_t device_is_space_locked(const nvram_device_t* device, in device_is_space_locked() 173 nvram_result_t device_create_space(const nvram_device_t* device, in device_create_space() [all …]
|
/system/nvram/client/ |
D | nvram_client.c | 101 static int HandleGetTotalSize(nvram_device_t* device, char* args[]) { in HandleGetTotalSize() 113 static int HandleGetAvailableSize(nvram_device_t* device, char* args[]) { in HandleGetAvailableSize() 126 static int HandleGetMaxSpaceSize(nvram_device_t* device, char* args[]) { in HandleGetMaxSpaceSize() 139 static int HandleGetMaxSpaces(nvram_device_t* device, char* args[]) { in HandleGetMaxSpaces() 151 static int HandleGetSpaceList(nvram_device_t* device, char* args[]) { in HandleGetSpaceList() 183 static int HandleGetSpaceSize(nvram_device_t* device, char* args[]) { in HandleGetSpaceSize() 195 static int HandleGetSpaceControls(nvram_device_t* device, char* args[]) { in HandleGetSpaceControls() 233 static int HandleIsSpaceReadLocked(nvram_device_t* device, char* args[]) { in HandleIsSpaceReadLocked() 247 static int HandleIsSpaceWriteLocked(nvram_device_t* device, char* args[]) { in HandleIsSpaceWriteLocked() 261 static int HandleCreateSpace(nvram_device_t* device, char* args[]) { in HandleCreateSpace() [all …]
|
/system/core/libusbhost/ |
D | usbhost.c | 356 void usb_device_close(struct usb_device *device) in usb_device_close() 364 struct usb_device *device = calloc(1, sizeof(struct usb_device)); in usb_device_new() local 389 static int usb_device_reopen_writeable(struct usb_device *device) in usb_device_reopen_writeable() 405 int usb_device_get_fd(struct usb_device *device) in usb_device_get_fd() 412 const char* usb_device_get_name(struct usb_device *device) in usb_device_get_name() 417 int usb_device_get_unique_id(struct usb_device *device) in usb_device_get_unique_id() 440 uint16_t usb_device_get_vendor_id(struct usb_device *device) in usb_device_get_vendor_id() 446 uint16_t usb_device_get_product_id(struct usb_device *device) in usb_device_get_product_id() 452 const struct usb_device_descriptor* usb_device_get_device_descriptor(struct usb_device *device) in usb_device_get_device_descriptor() 457 char* usb_device_get_string(struct usb_device *device, int id, int timeout) in usb_device_get_string() [all …]
|
/system/nfc/halimpl/bcm2079x/adaptation/ |
D | HalAdaptation.cpp | 77 int HaiInitializeLibrary(const bcm2079x_dev_t* device) { in HaiInitializeLibrary() 224 int HaiOpen(const bcm2079x_dev_t* device, nfc_stack_callback_t* halCallbackFunc, in HaiOpen() 291 int HaiClose(const bcm2079x_dev_t* device) { in HaiClose() 303 int HaiCoreInitialized(const bcm2079x_dev_t* device, in HaiCoreInitialized() 326 int HaiPreDiscover(const bcm2079x_dev_t* device) { in HaiPreDiscover() 338 int HaiControlGranted(const bcm2079x_dev_t* device) { in HaiControlGranted() 348 int HaiPowerCycle(const bcm2079x_dev_t* device) { in HaiPowerCycle() 358 int HaiGetMaxNfcee(const bcm2079x_dev_t* device, uint8_t* maxNfcee) { in HaiGetMaxNfcee()
|
/system/core/init/ |
D | perfboot.py | 91 def __init__(self, interval, device): argument 170 def disable_dropbox(device): argument 181 def restore_dropbox(device, original_dropbox_max_files): argument 192 def init_perf(device, output, record_list, tags): argument 212 def check_dm_verity_settings(device): argument 243 def filter_event_tags(tags, device): argument 357 def do_iteration(device, interval_adjuster, event_tags_re, end_tag): argument 421 def install_apks(device, apk_dir): argument
|
/system/media/brillo/audio/audioservice/test/ |
D | brillo_audio_manager_test.cpp | 91 auto device = BAudioDeviceInfo_new(TYPE_UNKNOWN); in TEST_F() local 100 auto device = BAudioDeviceInfo_new(TYPE_WIRED_HEADSET_MIC); in TEST_F() local 110 auto device = BAudioDeviceInfo_new(TYPE_BUILTIN_MIC); in TEST_F() local 120 auto device = BAudioDeviceInfo_new(TYPE_UNKNOWN); in TEST_F() local 131 auto device = BAudioDeviceInfo_new(TYPE_WIRED_HEADSET); in TEST_F() local 141 auto device = BAudioDeviceInfo_new(TYPE_BUILTIN_SPEAKER); in TEST_F() local 151 auto device = BAudioDeviceInfo_new(TYPE_WIRED_HEADPHONES); in TEST_F() local 161 auto device = BAudioDeviceInfo_new(TYPE_WIRED_HEADPHONES); in TEST_F() local 250 auto device = BAudioDeviceInfo_new(TYPE_WIRED_HEADSET_MIC); in TEST_F() local 258 auto device = BAudioDeviceInfo_new(TYPE_WIRED_HEADPHONES); in TEST_F() local [all …]
|
D | audio_device_handler_test.cpp | 248 audio_devices_t device = AUDIO_DEVICE_IN_WIRED_HEADSET; in TEST_F() local 264 audio_devices_t device = AUDIO_DEVICE_OUT_WIRED_HEADPHONE; in TEST_F() local 350 audio_devices_t device = AUDIO_DEVICE_IN_WIRED_HEADSET; in TEST_F() local 365 audio_devices_t device = AUDIO_DEVICE_OUT_WIRED_HEADSET; in TEST_F() local 380 audio_devices_t device = AUDIO_DEVICE_IN_WIRED_HEADSET; in TEST_F() local 395 audio_devices_t device = AUDIO_DEVICE_OUT_WIRED_HEADSET; in TEST_F() local
|
/system/core/trusty/keymaster/ |
D | trusty_keymaster_main.cpp | 138 static bool do_operation(TrustyKeymasterDevice* device, keymaster_purpose_t purpose, in do_operation() 172 static bool test_import_rsa(TrustyKeymasterDevice* device) { in test_import_rsa() 209 static bool test_rsa(TrustyKeymasterDevice* device) { in test_rsa() 276 static bool test_import_ecdsa(TrustyKeymasterDevice* device) { in test_import_ecdsa() 314 static bool test_ecdsa(TrustyKeymasterDevice* device) { in test_ecdsa() 381 TrustyKeymasterDevice device(NULL); in main() local
|
D | module.cpp | 29 static int trusty_keymaster_open(const hw_module_t* module, const char* name, hw_device_t** device)… in trusty_keymaster_open()
|
/system/core/adb/client/ |
D | usb_libusb.cpp | 157 static std::string get_device_address(libusb_device* device) { in get_device_address() 163 static std::string get_device_serial_path(libusb_device* device) { in get_device_serial_path() 177 static std::string get_device_dev_path(libusb_device* device) { in get_device_dev_path() 194 static void process_device(libusb_device* device) { in process_device() 392 static void device_connected(libusb_device* device) { in device_connected() 413 static void device_disconnected(libusb_device* device) { in device_disconnected() 441 libusb_device* device = pair.second; in hotplug_thread() local 451 static int hotplug_callback(libusb_context*, libusb_device* device, libusb_hotplug_event event, in hotplug_callback()
|
/system/update_engine/common/ |
D | fake_boot_control.h | 47 std::string* device) const override { in GetPartitionDevice() 90 const std::string& device) { in SetPartitionDevice()
|
/system/tools/hidl/c2hal/test/ |
D | simple.h | 73 struct simple_t** device) { in showColor() 78 static inline int hideColor(struct simple_t* device) { in hideColor()
|
/system/media/brillo/audio/audioservice/aidl/android/brillo/brilloaudioservice/ |
D | IBrilloAudioService.aidl | 52 void SetVolumeIndex(int stream, int device, int index); in SetVolumeIndex() 55 int GetVolumeIndex(int stream, int device); in GetVolumeIndex()
|
/system/core/trusty/gatekeeper/ |
D | module.cpp | 28 hw_device_t **device) { in trusty_gatekeeper_open()
|
/system/media/audio/include/system/ |
D | audio.h | 419 struct audio_port_config_device_ext device; /* device specific info */ member 470 struct audio_port_device_ext device; member 527 static inline bool audio_is_output_device(audio_devices_t device) in audio_is_output_device() 536 static inline bool audio_is_input_device(audio_devices_t device) in audio_is_input_device() 546 static inline bool audio_is_output_devices(audio_devices_t device) in audio_is_output_devices() 551 static inline bool audio_is_a2dp_in_device(audio_devices_t device) in audio_is_a2dp_in_device() 561 static inline bool audio_is_a2dp_out_device(audio_devices_t device) in audio_is_a2dp_out_device() 570 static inline bool audio_is_a2dp_device(audio_devices_t device) in audio_is_a2dp_device() 575 static inline bool audio_is_bluetooth_sco_device(audio_devices_t device) in audio_is_bluetooth_sco_device() 589 static inline bool audio_is_usb_out_device(audio_devices_t device) in audio_is_usb_out_device() [all …]
|
/system/update_engine/ |
D | utils_android.cc | 43 bool DeviceForMountPoint(const string& mount_point, base::FilePath* device) { in DeviceForMountPoint()
|
/system/vold/ |
D | EmulatedVolume.cpp | 47 EmulatedVolume::EmulatedVolume(const std::string& rawPath, dev_t device, in EmulatedVolume()
|
/system/keymaster/ |
D | keymaster0_engine.h | 62 const keymaster0_device_t* device() { return keymaster0_device_; } in device() function
|