/hardware/bsp/intel/peripheral/libmraa/examples/ |
D | mraa-i2c.c | 107 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/ |
D | audio_policy_hal.cpp | 67 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/ |
D | audio_policy_hal.cpp | 67 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()
|
D | AudioPolicyManagerBase.cpp | 55 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/ |
D | AudioPolicyInterface.h | 72 const char *device_address) = 0; 75 … const char *device_address) = 0;
|
D | AudioPolicyManagerBase.h | 81 const char *device_address); 83 … const char *device_address);
|
/hardware/libhardware/include/hardware/ |
D | audio_policy.h | 92 const char *device_address); 98 const char *device_address);
|
/hardware/libhardware/modules/audio/ |
D | audio_policy.c | 48 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/ |
D | AudioPolicyManager.h | 58 const char *device_address,
|
D | AudioPolicyManager.cpp | 121 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()
|