/device/google/cuttlefish/host/frontend/adb_connector/ |
D | adb_connection_maintainer.cpp | 46 std::string MakeTransportMessage(const std::string& address) { in MakeTransportMessage() argument 47 return MakeMessage("host:transport:" + address); in MakeTransportMessage() 50 std::string MakeConnectMessage(const std::string& address) { in MakeConnectMessage() argument 51 return MakeMessage("host:connect:" + address); in MakeConnectMessage() 54 std::string MakeDisconnectMessage(const std::string& address) { in MakeDisconnectMessage() argument 55 return MakeMessage("host:disconnect:" + address); in MakeDisconnectMessage() 58 std::string MakeGetStateMessage(const std::string& address) { in MakeGetStateMessage() argument 59 return MakeMessage("host-serial:" + address + ":get-state"); in MakeGetStateMessage() 89 bool AdbConnect(const std::string& address) { in AdbConnect() argument 90 return AdbSendMessage(MakeConnectMessage(address)); in AdbConnect() [all …]
|
D | main.cpp | 41 void LaunchConnectionMaintainerThread(const std::string& address) { in LaunchConnectionMaintainerThread() argument 42 std::thread(EstablishAndMaintainConnection, address).detach(); in LaunchConnectionMaintainerThread() 65 for (const auto& address : ParseAddressList(FLAGS_addresses)) { in AdbConnectorMain() local 66 LaunchConnectionMaintainerThread(address); in AdbConnectorMain()
|
/device/google/atv/audio_proxy/service/ |
D | DeviceImpl.cpp | 266 std::string address; in openOutputStreamImpl() local 270 address = "default"; in openOutputStreamImpl() 272 address = device.address.id(); in openOutputStreamImpl() 278 const auto configIt = mServiceConfig.streams.find(address); in openOutputStreamImpl() 286 address, *aidlConfig, *outputFlags, in openOutputStreamImpl() 323 std::string address; in openOutputStream() local 325 address = "default"; in openOutputStream() 327 address = device.busAddress; in openOutputStream() 333 const auto configIt = mServiceConfig.streams.find(address); in openOutputStream() 342 address, aidlConfig, static_cast<int32_t>(flags), in openOutputStream() [all …]
|
D | BusStreamProvider.cpp | 53 const std::string& address, const AidlAudioConfig& config, int32_t flags, in openOutputStream() argument 56 return openOutputStream_Locked(address, config, flags, bufferSizeBytes, in openOutputStream() 67 const std::string& address, const AidlAudioConfig& config, int32_t flags, in openOutputStream_Locked() argument 74 return std::make_shared<DummyBusOutputStream>(address, newConfig, flags); in openOutputStream_Locked() 79 mStreamProvider->openOutputStream(address, config, flags, &stream); in openOutputStream_Locked() 82 return std::make_shared<DummyBusOutputStream>(address, newConfig, flags); in openOutputStream_Locked() 96 return std::make_shared<RemoteBusOutputStream>(std::move(stream), address, in openOutputStream_Locked()
|
D | BusOutputStream.cpp | 23 BusOutputStream::BusOutputStream(const std::string& address, in BusOutputStream() argument 25 : mAddress(address), mConfig(config), mFlags(flags) {} in BusOutputStream()
|
D | BusStreamProvider.h | 55 const std::string& address, const AidlAudioConfig& config, int32_t flags, 63 const std::string& address, const AidlAudioConfig& config, int32_t flags,
|
/device/linaro/dragonboard/shared/utils/rmtfs/ |
D | sharedmem.c | 23 uint64_t address; member 95 ret = parse_hex_sysattr(dev, "phys_addr", &rmem->address); in rmtfs_mem_open_rfsa() 165 ret = parse_hex_sysattr(dev, "maps/map0/addr", &rmem->address); in rmtfs_mem_open_uio() 230 rmem->address = strtoull(val, &endptr, 16); in rmtfs_mem_open_rfsa() 231 if ((rmem->address == ULLONG_MAX && errno == ERANGE) || endptr == val) { in rmtfs_mem_open_rfsa() 301 base = mmap(0, rmem->size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, rmem->address); in rmtfs_mem_open() 330 return rmem->address; in rmtfs_mem_alloc() 348 if (start < rmem->address || end > rmem->address + rmem->size) in rmtfs_mem_ptr() 351 return (char*)rmem->base + phys_address - rmem->address; in rmtfs_mem_ptr() 366 offset = phys_address - rmem->address; in rmtfs_mem_read() [all …]
|
D | rmtfs.c | 257 int64_t address = 0; in rmtfs_alloc_buf() local 272 address = rmtfs_mem_alloc(rmem, alloc_size); in rmtfs_alloc_buf() 273 if (address < 0) { in rmtfs_alloc_buf() 278 resp.buff_address = address; in rmtfs_alloc_buf() 281 …dbgprintf("[RMTFS] alloc %d, %d => 0x%lx (%d:%d)\n", caller_id, alloc_size, address, resp.result.r… in rmtfs_alloc_buf()
|
/device/google/contexthub/util/stm32_flash/ |
D | flash.c | 80 uint32_t address = 0x08000000; in main() local 107 address); in main() 131 address = strtol(optarg, NULL, 0); in main() 238 write_filename, address); in main() 251 ret = write_memory(handle, address, in main() 255 ret = write_memory(handle, address, in main() 279 ret = read_memory(handle, address, length, buffer); in main() 285 length, read_filename, address); in main() 293 ret = read_memory(handle, address, sizeof(uint32_t), tmp_buf); in main() 302 ret = read_memory(handle, address, in main() [all …]
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/pairing/ |
D | BluetoothScanner.java | 42 String address; field in BluetoothScanner.Device 50 str.append(address); in toString() 203 final String address = btDevice.getAddress(); in onReceive() local 206 if (address == null || name == null) { in onReceive() 218 address.equals(d.address)).findFirst().orElse(null); in onReceive() 224 device.address = address; in onReceive() 245 Log.v(TAG, device.address + " -- Found"); in onReceive() 249 Log.v(TAG, device.address + " -- Removing"); in onReceive() 255 Log.v(TAG, device.address in onReceive()
|
/device/generic/car/emulator/usbpt/usbip-service/ |
D | UsbIpUtils.cpp | 56 struct sockaddr_in address; in get_usbip_connection() local 78 address.sin_family = AF_INET; in get_usbip_connection() 79 if (inet_aton(server, &address.sin_addr) == 0) { in get_usbip_connection() 87 address.sin_port = strtol(port, &error, 10); in get_usbip_connection() 88 if (address.sin_port == 0) { in get_usbip_connection() 93 address.sin_port = htons(address.sin_port); in get_usbip_connection() 94 if (connect(info->sock_fd, (struct sockaddr *)&address, sizeof(address)) == in get_usbip_connection()
|
/device/generic/goldfish/dhcp/client/ |
D | interface.cpp | 29 in_addr_t broadcastFromNetmask(in_addr_t address, in_addr_t netmask) { in broadcastFromNetmask() argument 36 return address | (~netmask); in broadcastFromNetmask() 109 Result Interface::setAddress(in_addr_t address, in_addr_t subnetMask) { in setAddress() argument 130 addRouterAttribute(request, IFA_ADDRESS, &address, sizeof(address)); in setAddress() 131 addRouterAttribute(request, IFA_LOCAL, &address, sizeof(address)); in setAddress() 132 in_addr_t broadcast = broadcastFromNetmask(address, subnetMask); in setAddress()
|
/device/generic/goldfish/audio/ |
D | device_port_sink.cpp | 361 const DeviceAddress &address, in create() argument 376 switch (xsd::stringToAudioDevice(address.deviceType)) { in create() 386 __func__, __LINE__, address.deviceType.c_str()); in create() 393 ALOGW("%s:%d creating NullSink for '%s'.", __func__, __LINE__, address.deviceType.c_str()); in create() 397 …ALOGW("%s:%d unsupported device: '%s', creating NullSink", __func__, __LINE__, address.deviceType.… in create() 405 int DevicePortSink::getLatencyMs(const DeviceAddress &address, const AudioConfig &cfg) { in getLatencyMs() argument 406 switch (xsd::stringToAudioDevice(address.deviceType)) { in getLatencyMs() 408 ALOGW("%s:%d unsupported device: '%s'", __func__, __LINE__, address.deviceType.c_str()); in getLatencyMs() 421 bool DevicePortSink::validateDeviceAddress(const DeviceAddress& address) { in validateDeviceAddress() argument 422 switch (xsd::stringToAudioDevice(address.deviceType)) { in validateDeviceAddress() [all …]
|
D | device_port_source.cpp | 422 const DeviceAddress &address, in create() argument 433 switch (xsd::stringToAudioDevice(address.deviceType)) { in create() 447 __func__, __LINE__, address.deviceType.c_str()); in create() 463 __func__, __LINE__, address.deviceType.c_str()); in create() 472 bool DevicePortSource::validateDeviceAddress(const DeviceAddress& address) { in validateDeviceAddress() argument 473 switch (xsd::stringToAudioDevice(address.deviceType)) { in validateDeviceAddress() 475 ALOGW("%s:%d unsupported device: '%s'", __func__, __LINE__, address.deviceType.c_str()); in validateDeviceAddress()
|
/device/google/contexthub/firmware/os/core/ |
D | bl.c | 75 uint8_t *address; member 136 ((dst < mBlFlashTable[0].address)) || in blProgramFlash() 137 ((dst + length) > (mBlFlashTable[sector_cnt-1].address + in blProgramFlash() 144 if (dst >= mBlFlashTable[i].address && in blProgramFlash() 145 dst < (mBlFlashTable[i].address + mBlFlashTable[i].length)) { in blProgramFlash() 153 offset = (uint32_t)(dst - mBlFlashTable[i].address); in blProgramFlash() 154 ptr = mBlFlashTable[i].address; in blProgramFlash() 159 ptr = mBlFlashTable[i].address; in blProgramFlash() 188 if ((dst >= mBlFlashTable[i].address && in blProgramTypedArea() 189 dst < (mBlFlashTable[i].address + mBlFlashTable[i].length)) || in blProgramTypedArea() [all …]
|
/device/generic/car/emulator/audio/driver/ |
D | audio_hw.c | 162 static struct generic_stream_out * get_audio_device(const char *address, const char *caller) { in get_audio_device() argument 170 struct generic_stream_out *out = hashmapGet(device_handle->out_bus_stream_map, address); in get_audio_device() 373 static int get_zone_id_from_address(const char *address) { in get_zone_id_from_address() argument 375 char *zone_start = strstr(address, AUDIO_ZONE_KEYWORD); in get_zone_id_from_address() 1031 static bool address_has_tone_keyword(char * address) { in address_has_tone_keyword() argument 1032 return strstr(address, TONE_ADDRESS_KEYWORD) != NULL; in address_has_tone_keyword() 1181 struct audio_config *config, struct audio_stream_out **stream_out, const char *address) { in adev_open_output_stream() argument 1250 if (address) { in adev_open_output_stream() 1251 out->bus_address = calloc(strlen(address) + 1, sizeof(char)); in adev_open_output_stream() 1252 strncpy(out->bus_address, address, strlen(address)); in adev_open_output_stream() [all …]
|
/device/google/cuttlefish/common/libs/net/ |
D | network_interface.h | 68 NetworkInterface& SetAddress(const std::string& address) { in SetAddress() argument 69 ip_address_ = address; in SetAddress() 79 NetworkInterface& SetBroadcastAddress(const std::string& address) { in SetBroadcastAddress() argument 80 bc_address_ = address; in SetBroadcastAddress()
|
D | network_interface_manager.cpp | 56 in_addr_t address{inet_addr(interface.Address().c_str())}; in BuildAddrRequest() local 57 request.AddInt(IFA_LOCAL, address); in BuildAddrRequest() 58 request.AddInt(IFA_ADDRESS, address); in BuildAddrRequest()
|
/device/google/atv/audio_proxy/interfaces/5.0/ |
D | IAudioProxyDevicesManager.hal | 20 * Registers IBusDevice at `address`. IBusService impl should live as long 23 * @param address The address associated with the device. 27 registerDevice(string address, IBusDevice device) generates (bool success);
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/ |
D | BluetoothDeviceService.java | 208 public static BluetoothDevice findDevice(String address) { in findDevice() argument 212 if (address.equals(device.getAddress())) { in findDevice() 496 protected void startRemoteDfu(String address) { in startRemoteDfu() argument 497 BluetoothDevice device = findDevice(address); in startRemoteDfu() 642 protected Version getRemoteVersion(String address) { in getRemoteVersion() argument 643 BluetoothDevice device = findDevice(address); in getRemoteVersion() 898 public void dismissDfuNotification(String address) { in dismissDfuNotification() argument 899 BluetoothDevice device = BluetoothDeviceService.findDevice(address); in dismissDfuNotification()
|
/device/google/cuttlefish/host/commands/modem_simulator/ |
D | pdu_parser.cpp | 215 std::string address; in GetPhoneNumberFromAddress() local 217 address = originator_address_.substr(6); in GetPhoneNumberFromAddress() 219 address = originator_address_.substr(4); in GetPhoneNumberFromAddress() 222 return BCDToString(address); in GetPhoneNumberFromAddress()
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/ |
D | RemoteDfuConfirmationActivity.java | 99 final String address = origIntent.getStringExtra(EXTRA_BT_ADDRESS); in onChoice() local 103 intent.putExtra(EXTRA_BT_ADDRESS, address); in onChoice() 108 mBtDeviceServiceBinder.dismissDfuNotification(address); in onChoice()
|
/device/generic/goldfish/dhcp/common/ |
D | utils.cpp | 19 std::string addrToStr(in_addr_t address) { in addrToStr() argument 21 if (::inet_ntop(AF_INET, &address, buffer, sizeof(buffer)) == nullptr) { in addrToStr()
|
/device/google/cuttlefish/common/libs/utils/ |
D | network_test.cpp | 33 uint8_t address[] = {0x20, 0x01, 0x0d, 0xb8, 0x00, 0x00, 0x00, 0x00, in TEST() local 35 ASSERT_EQ(Ipv6ToString(address), "2001:db8::ff00:42:8329"); in TEST()
|
/device/google/atv/audio_proxy/ |
D | StreamProviderImpl.cpp | 33 const std::string& address, const AudioConfig& config, int32_t flags, in openOutputStream() argument 38 mDevice->openOutputStream(address, config, flags); in openOutputStream()
|