Home
last modified time | relevance | path

Searched refs:is_valid (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Bluetooth/system/types/test/bluetooth/
Duuid_unittest.cc127 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/
Duuid.cc65 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()
Duuid.h69 static Uuid FromString(const std::string& uuid, bool* is_valid = nullptr);
/packages/modules/Bluetooth/system/blueberry/tests/topshim/lib/
Doob_data.py23 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/
Davrc_utils.cc227 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/
Dle_security_test.py35 assertThat(oob_data.is_valid()).isTrue()
37 assertThat(oob_data.is_valid()).isTrue()
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_utils_test.cc709 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/
Dgpt.rs109 if !header.is_valid() { in new()
186 fn is_valid(&self) -> bool { in is_valid() method
Dinstance.rs168 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/
Ddevice_groups.cc892 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/
Dbtif_dm.h95 void btif_dm_proc_loc_oob(tBT_TRANSPORT transport, bool is_valid,
/packages/modules/Bluetooth/system/btif/src/
Dbtif_dm.cc3278 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 …]
Dbtif_storage.cc559 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()
Dbluetooth.cc1371 oob_data.is_valid = valid && !c_empty; in invoke_oob_data_request_cb()
/packages/services/Car/service/proto/android/car/telemetry/
Dstats_log.proto114 optional bool is_valid = 9; field
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
Ddialer_phone_number.proto56 optional bool is_valid = 3; field
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp264 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()
DStatsdStats.h85 bool is_valid; member
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_adv.rs528 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/
Dbluetooth.h452 bool is_valid = false; /* Default to invalid data; force caller to verify */ member
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dadapter_service.rs143 event_data_from_string(String::from(if data.is_valid { in fetch_events()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp681 ((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/
Dmain.rs419 if !context.lock().unwrap().manager_dbus.is_valid() { in main()
/packages/modules/StatsD/statsd/src/
Dstats_log.proto486 optional bool is_valid = 9; field
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp87 EXPECT_EQ(true, configReport.is_valid()); in TEST()

12