Home
last modified time | relevance | path

Searched refs:device_address (Results 1 – 10 of 10) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/examples/
Dmraa-i2c.c107 i2c_get(int bus, uint8_t device_address, uint8_t register_address, uint8_t* data) in i2c_get() argument
114 status = mraa_i2c_address(i2c, device_address); in i2c_get()
132 i2c_set(int bus, uint8_t device_address, uint8_t register_address, uint8_t data) in i2c_set() argument
139 status = mraa_i2c_address(i2c, device_address); in i2c_set()
200 uint8_t device_address = strtol(argv[3], NULL, 0); in process_command() local
204 if (i2c_get(bus, device_address, register_address, &data) == MRAA_SUCCESS) { in process_command()
218 uint8_t device_address = strtol(argv[3], NULL, 0); in process_command() local
221 fprintf(stdout, "Device %02X, Register = %02X, Value = %02X\n", device_address, in process_command()
223 if (i2c_set(bus, device_address, register_address, value) != MRAA_SUCCESS) { in process_command()
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_policy_hal.cpp67 const char *device_address) in ap_set_device_connection_state() argument
73 device_address); in ap_set_device_connection_state()
79 const char *device_address) in ap_get_device_connection_state() argument
84 device_address); in ap_get_device_connection_state()
/hardware/libhardware_legacy/audio/
Daudio_policy_hal.cpp67 const char *device_address) in ap_set_device_connection_state() argument
73 device_address); in ap_set_device_connection_state()
79 const char *device_address) in ap_get_device_connection_state() argument
84 device_address); in ap_get_device_connection_state()
DAudioPolicyManagerBase.cpp55 const char *device_address) in setDeviceConnectionState() argument
59 if (device_address == NULL) { in setDeviceConnectionState()
60 device_address = ""; in setDeviceConnectionState()
62 …GV("setDeviceConnectionState() device: 0x%X, state %d, address %s", device, state, device_address); in setDeviceConnectionState()
67 if (strlen(device_address) >= MAX_DEVICE_ADDRESS_LEN) { in setDeviceConnectionState()
68 ALOGE("setDeviceConnectionState() invalid address: %s", device_address); in setDeviceConnectionState()
106 param.add(String8(AUDIO_PARAMETER_A2DP_SINK_ADDRESS), String8(device_address)); in setDeviceConnectionState()
110 paramStr = String8(device_address, MAX_DEVICE_ADDRESS_LEN); in setDeviceConnectionState()
123 mA2dpDeviceAddress = String8(device_address, MAX_DEVICE_ADDRESS_LEN); in setDeviceConnectionState()
127 mScoDeviceAddress = String8(device_address, MAX_DEVICE_ADDRESS_LEN); in setDeviceConnectionState()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyInterface.h72 const char *device_address) = 0;
75 … const char *device_address) = 0;
DAudioPolicyManagerBase.h81 const char *device_address);
83 … const char *device_address);
/hardware/libhardware/include/hardware/
Daudio_policy.h92 const char *device_address);
98 const char *device_address);
/hardware/libhardware/modules/audio/
Daudio_policy.c48 const char *device_address) in ap_set_device_connection_state() argument
56 const char *device_address) in ap_get_device_connection_state() argument
/hardware/qcom/audio/msm8909/policy_hal/
DAudioPolicyManager.h58 const char *device_address,
DAudioPolicyManager.cpp121 const char *device_address, in setDeviceConnectionStateInt() argument
125 device, state, device_address, device_name); in setDeviceConnectionStateInt()
131 mHwModules.getDeviceDescriptor(device, device_address, device_name); in setDeviceConnectionStateInt()
149 if (!strncmp(device_address, "hdmi_spkr", 9)) { in setDeviceConnectionStateInt()
165 if (!strncmp(device_address, "hdmi_spkr", 9)) { in setDeviceConnectionStateInt()
214 if (!strncmp(device_address, "hdmi_spkr", 9)) { in setDeviceConnectionStateInt()
236 if (!strncmp(device_address, "hdmi_spkr", 9)) { in setDeviceConnectionStateInt()