/packages/modules/Bluetooth/system/types/test/bluetooth/ |
D | uuid_unittest.cc | 127 bool is_valid = false; in TEST() local 129 Uuid::FromString("e39c6285-867f-4b1d-9db0-35fbd9aebf22", &is_valid); in TEST() 130 EXPECT_TRUE(is_valid); in TEST() 135 is_valid = false; in TEST() 136 uuid = Uuid::FromString("1Ae8", &is_valid); in TEST() 137 EXPECT_TRUE(is_valid); in TEST() 142 is_valid = false; in TEST() 143 uuid = Uuid::FromString("12341128", &is_valid); in TEST() 144 EXPECT_TRUE(is_valid); in TEST() 149 bool is_valid = false; in TEST() local [all …]
|
/packages/modules/Bluetooth/system/types/bluetooth/ |
D | uuid.cc | 65 Uuid Uuid::FromString(const std::string& uuid, bool* is_valid) { in FromString() argument 66 if (is_valid) *is_valid = false; in FromString() 88 if (is_valid) *is_valid = true; in FromString() 96 if (is_valid) *is_valid = true; in FromString() 103 if (is_valid) *is_valid = true; in FromString()
|
D | uuid.h | 69 static Uuid FromString(const std::string& uuid, bool* is_valid = nullptr);
|
/packages/modules/Bluetooth/system/blueberry/tests/topshim/lib/ |
D | oob_data.py | 23 def __init__(self, is_valid, transport, byte_string_address, byte_string_c, byte_string_r): argument 31 self.__is_valid = True if is_valid == "1" else False 37 def is_valid(self): member in OobData
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_utils.cc | 227 bool is_valid = false; in avrc_is_valid_opcode() local 232 is_valid = true; in avrc_is_valid_opcode() 235 return is_valid; in avrc_is_valid_opcode()
|
/packages/modules/Bluetooth/system/blueberry/tests/topshim/security/ |
D | le_security_test.py | 35 assertThat(oob_data.is_valid()).isTrue() 37 assertThat(oob_data.is_valid()).isTrue()
|
/packages/modules/Bluetooth/system/stack/test/sdp/ |
D | stack_sdp_utils_test.cc | 709 bool is_valid{false}; in TEST_F() local 710 bluetooth::Uuid uuid = bluetooth::Uuid::FromString("1234", &is_valid); in TEST_F() 713 ASSERT_TRUE(is_valid); in TEST_F() 731 bool is_valid{false}; in TEST_F() local 732 bluetooth::Uuid uuid = bluetooth::Uuid::FromString("12345678", &is_valid); in TEST_F() 735 ASSERT_TRUE(is_valid); in TEST_F() 757 bool is_valid{false}; in TEST_F() local 759 "12345678-9abc-def0-1234-56789abcdef0", &is_valid); in TEST_F() 764 ASSERT_TRUE(is_valid); in TEST_F()
|
/packages/modules/Virtualization/pvmfw/src/ |
D | gpt.rs | 109 if !header.is_valid() { in new() 186 fn is_valid(&self) -> bool { in is_valid() method
|
D | instance.rs | 168 pub fn is_valid(&self) -> bool { in is_valid() method 212 if !header.is_valid() { in locate_entry()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | device_groups.cc | 892 auto& [is_valid, existing_conf] = in UpdateAudioSetConfigurationCache() 896 if (!update_config && !is_valid) { in UpdateAudioSetConfigurationCache() 1659 bool is_valid = false; in GetConfiguration() local 1665 is_valid = valid_config_pair.first; in GetConfiguration() 1668 if (!is_valid || (conf == nullptr)) { in GetConfiguration() 1679 bool is_valid = false; in GetAudioSessionCodecConfigForDirection() local 1685 is_valid = valid_config_pair.first; in GetAudioSessionCodecConfigForDirection() 1688 if (!is_valid || (conf == nullptr)) { in GetAudioSessionCodecConfigForDirection()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_dm.h | 95 void btif_dm_proc_loc_oob(tBT_TRANSPORT transport, bool is_valid,
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_dm.cc | 3278 static void get_address_callback(tBT_TRANSPORT transport, bool is_valid, in get_address_callback() argument 3282 transport, is_valid, c, r, address, address_type); in get_address_callback() 3288 bool is_valid, const Octet16& c, in start_advertising_callback() argument 3302 id, base::Bind(&get_address_callback, transport, is_valid, c, r)); in start_advertising_callback() 3315 static void id_status_callback(tBT_TRANSPORT transport, bool is_valid, in id_status_callback() argument 3350 base::Bind(&start_advertising_callback, id, transport, is_valid, c, r), in id_status_callback() 3356 static void start_oob_advertiser(tBT_TRANSPORT transport, bool is_valid, in start_oob_advertiser() argument 3360 base::Bind(&id_status_callback, transport, is_valid, c, r)); in start_oob_advertiser() 3363 void btif_dm_proc_loc_oob(tBT_TRANSPORT transport, bool is_valid, in btif_dm_proc_loc_oob() argument 3366 if (!is_valid) { in btif_dm_proc_loc_oob() [all …]
|
D | btif_storage.cc | 559 bool is_valid; in btif_split_uuids_string() local 561 Uuid::FromString(std::string(str, Uuid::kString128BitLen), &is_valid); in btif_split_uuids_string() 562 if (!is_valid) break; in btif_split_uuids_string()
|
D | bluetooth.cc | 1371 oob_data.is_valid = valid && !c_empty; in invoke_oob_data_request_cb()
|
/packages/services/Car/service/proto/android/car/telemetry/ |
D | stats_log.proto | 114 optional bool is_valid = 9; field
|
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/ |
D | dialer_phone_number.proto | 56 optional bool is_valid = 3; field
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.cpp | 264 configStats->is_valid = !reason.has_value(); in noteConfigReceived() 1259 configStats->alert_count, configStats->is_valid); in dumpStats() 1277 if (!configStats->is_valid) { in dumpStats() 1336 configStats->is_valid); in dumpStats() 1350 if (!configStats->is_valid) { in dumpStats() 1651 proto->write(FIELD_TYPE_BOOL | FIELD_ID_CONFIG_STATS_VALID, configStats.is_valid); in addConfigStatsToProto() 1653 if (!configStats.is_valid) { in addConfigStatsToProto()
|
D | StatsdStats.h | 85 bool is_valid; member
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | bluetooth_adv.rs | 528 fn is_valid(&self) -> bool { in is_valid() method 739 for s in self.sets.values_mut().filter(|s| s.is_valid() && s.is_enabled()) { in enter_suspend() 763 for s in self.sets.values_mut().filter(|s| s.is_valid() && s.is_paused()) { in exit_suspend() 883 if s.is_valid() { in unregister_callback() 889 self.sets.retain(|_, s| s.callback_id() != callback_id || !s.is_valid()); in unregister_callback()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bluetooth.h | 452 bool is_valid = false; /* Default to invalid data; force caller to verify */ member
|
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/ |
D | adapter_service.rs | 143 event_data_from_string(String::from(if data.is_valid { in fetch_events()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_btservice_AdapterService.cpp | 681 ((oob_data.is_valid) in generate_local_oob_data_callback() 687 ((oob_data.is_valid) in generate_local_oob_data_callback() 1366 oob_data.is_valid = false; in generateLocalOobDataNative()
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | main.rs | 419 if !context.lock().unwrap().manager_dbus.is_valid() { in main()
|
/packages/modules/StatsD/statsd/src/ |
D | stats_log.proto | 486 optional bool is_valid = 9; field
|
/packages/modules/StatsD/statsd/tests/guardrail/ |
D | StatsdStats_test.cpp | 87 EXPECT_EQ(true, configReport.is_valid()); in TEST()
|