/packages/modules/Bluetooth/system/main/shim/ |
D | config.cc | 81 int* size_bytes) { in GetStr() argument 83 ASSERT(size_bytes != nullptr); in GetStr() 84 if (*size_bytes == 0) { in GetStr() 93 *size_bytes = str->copy(value, (*size_bytes - 1)); in GetStr() 94 value[*size_bytes] = '\0'; in GetStr() 95 *size_bytes += 1; in GetStr()
|
D | config.h | 42 char* value, int* size_bytes);
|
/packages/modules/Bluetooth/tools/rootcanal/model/devices/ |
D | link_layer_socket_device.cc | 102 std::vector<uint8_t> size_bytes; in ReceiveLinkLayerPacket() local 103 bluetooth::packet::BitInserter bit_inserter(size_bytes); in ReceiveLinkLayerPacket() 106 if (socket_->Send(size_bytes.data(), size_bytes.size()) == kSizeBytes) { in ReceiveLinkLayerPacket()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_btif_config.h | 120 char* value, int* size_bytes)> 122 int* size_bytes) { return false; }}; 124 char* value, int* size_bytes) { in operator() 125 return body(section, key, value, size_bytes); in operator()
|
D | mock_device_iot_config.h | 127 char* value, int* size_bytes)> 129 char* value, int* size_bytes) { return return_value; }}; 131 char* value, int* size_bytes) { in operator() 132 return body(section, key, value, size_bytes); in operator()
|
D | mock_btif_config.cc | 97 char* value, int* size_bytes) { in btif_config_get_str() argument 100 size_bytes); in btif_config_get_str()
|
D | mock_device_iot_config.cc | 91 int* size_bytes) { in device_iot_config_get_str() argument 93 return test::mock::device_iot_config::device_iot_config_get_str(section, key, value, size_bytes); in device_iot_config_get_str()
|
D | mock_main_shim_BtifConfigInterface.cc | 52 int* size_bytes) { in GetStr() argument
|
/packages/modules/Bluetooth/system/device/test/ |
D | device_iot_config_test.cc | 2295 int size_bytes = initial_size_bytes; in TEST_F() local 2296 char get_value_str[size_bytes]; in TEST_F() 2298 get_value_str, &size_bytes)); in TEST_F() 2302 EXPECT_EQ(size_bytes, initial_size_bytes); in TEST_F() 2311 int size_bytes = initial_size_bytes; in TEST_F() local 2312 char get_value_str[size_bytes]; in TEST_F() 2317 get_value_str, &size_bytes)); in TEST_F() 2321 EXPECT_EQ(size_bytes, (int)actual_value_str.length() + 1); in TEST_F() 2322 EXPECT_TRUE(strncmp(get_value_str, actual_value_str.c_str(), size_bytes) == in TEST_F() 2484 size_t size_bytes = initial_size_bytes; in TEST_F() local [all …]
|
/packages/modules/Bluetooth/system/device/src/ |
D | device_iot_config.cc | 189 int* size_bytes) { in device_iot_config_get_str() argument 194 CHECK(size_bytes != NULL); in device_iot_config_get_str() 202 strlcpy(value, stored_value->c_str(), *size_bytes); in device_iot_config_get_str() 203 *size_bytes = strlen(value) + 1; in device_iot_config_get_str()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/ |
D | socket.rs | 83 let (size_bytes, rest) = bytes.split_at(std::mem::size_of::<u16>()); in try_from() 84 if u16::from_ne_bytes(size_bytes.clone().try_into().unwrap()) in try_from() 87 return Err(format!("Wrong size in Connection Complete: {:?}", size_bytes)); in try_from()
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | aidl.rs | 188 size_bytes: i64, in initializeWritablePartition() 192 let size_bytes = size_bytes.try_into().map_err(|e| { in initializeWritablePartition() localVariable 195 Some(format!("Invalid size {}: {:?}", size_bytes, e)), in initializeWritablePartition() 198 let size_bytes = round_up(size_bytes, PARTITION_GRANULARITY_BYTES); in initializeWritablePartition() localVariable 207 let mut part = QcowFile::new(image, size_bytes).map_err(|e| { in initializeWritablePartition()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_config.cc | 261 char* value, int* size_bytes) { in btif_config_get_str() argument 264 size_bytes); in btif_config_get_str()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_config.h | 58 char* value, int* size_bytes);
|
/packages/modules/Bluetooth/system/device/include/ |
D | device_iot_config.h | 47 int* size_bytes);
|
/packages/modules/Bluetooth/tools/rootcanal/scripts/ |
D | simple_link_layer_socket.py | 125 size_bytes = bytearray(size_chars)
|
D | send_simple_commands.py | 142 size_bytes = bytearray(size_chars)
|
D | test_channel.py | 116 size_bytes = bytearray(size_chars)
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | current.txt | 91 field public static final String SIZE_BYTES = "size_bytes";
|