Home
last modified time | relevance | path

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

/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.cc62 Uuid Uuid::FromString(const std::string& uuid, bool* is_valid) { in FromString() argument
63 if (is_valid) *is_valid = false; in FromString()
85 if (is_valid) *is_valid = true; in FromString()
93 if (is_valid) *is_valid = true; in FromString()
100 if (is_valid) *is_valid = true; in FromString()
Duuid.h71 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.cc220 bool is_valid = false; in avrc_is_valid_opcode() local
225 is_valid = true; in avrc_is_valid_opcode()
228 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/Virtualization/pvmfw/src/
Dgpt.rs186 if header.is_valid() { in from_bytes()
193 fn is_valid(&self) -> bool { in is_valid() method
Dinstance.rs170 pub fn is_valid(&self) -> bool { in is_valid() method
181 if header.is_valid() { in from_bytes()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_dm.cc3171 static void get_address_callback(tBT_TRANSPORT transport, bool is_valid, in get_address_callback() argument
3175 transport, is_valid, c, r, address, address_type); in get_address_callback()
3181 bool is_valid, const Octet16& c, in start_advertising_callback() argument
3195 id, base::Bind(&get_address_callback, transport, is_valid, c, r)); in start_advertising_callback()
3209 static void id_status_callback(tBT_TRANSPORT transport, bool is_valid, in id_status_callback() argument
3244 base::Bind(&start_advertising_callback, id, transport, is_valid, c, r), in id_status_callback()
3250 static void start_oob_advertiser(tBT_TRANSPORT transport, bool is_valid, in start_oob_advertiser() argument
3254 base::Bind(&id_status_callback, transport, is_valid, c, r)); in start_oob_advertiser()
3257 void btif_dm_proc_loc_oob(tBT_TRANSPORT transport, bool is_valid, in btif_dm_proc_loc_oob() argument
3260 if (!is_valid) { in btif_dm_proc_loc_oob()
[all …]
Dbtif_storage.cc541 bool is_valid; in btif_split_uuids_string() local
543 Uuid::FromString(std::string(str, Uuid::kString128BitLen), &is_valid); in btif_split_uuids_string()
544 if (!is_valid) break; in btif_split_uuids_string()
Dbluetooth.cc1292 oob_data.is_valid = valid && !c_empty; in invoke_oob_data_request_cb()
/packages/modules/Bluetooth/system/btif/include/
Dbtif_dm.h87 void btif_dm_proc_loc_oob(tBT_TRANSPORT transport, bool is_valid,
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp201 configStats->is_valid = !reason.has_value(); in noteConfigReceived()
915 configStats->alert_count, configStats->is_valid, in dumpStats()
918 if (!configStats->is_valid) { in dumpStats()
961 configStats->is_valid, configStats->device_info_table_creation_failed, in dumpStats()
964 if (!configStats->is_valid) { in dumpStats()
1178 proto->write(FIELD_TYPE_BOOL | FIELD_ID_CONFIG_STATS_VALID, configStats.is_valid); in addConfigStatsToProto()
1180 if (!configStats.is_valid) { in addConfigStatsToProto()
DStatsdStats.h86 bool is_valid; member
/packages/services/Car/service/proto/android/car/telemetry/
Dstats_log.proto114 optional bool is_valid = 9; field
/packages/modules/Bluetooth/system/test/mock/
Dmock_btif_dm.cc160 void btif_dm_proc_loc_oob(tBT_TRANSPORT transport, bool is_valid, in btif_dm_proc_loc_oob() argument
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
Ddialer_phone_number.proto56 optional bool is_valid = 3; field
/packages/modules/Bluetooth/system/include/hardware/
Dbluetooth.h421 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/system/gd/rust/linux/client/src/
Dmain.rs344 if !context.lock().unwrap().manager_dbus.is_valid() { in main()
Ddbus_iface.rs982 pub(crate) fn is_valid(&self) -> bool { in is_valid() method
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_btservice_AdapterService.cpp664 ((oob_data.is_valid) in generate_local_oob_data_callback()
670 ((oob_data.is_valid) in generate_local_oob_data_callback()
1462 oob_data.is_valid = false; in generateLocalOobDataNative()
/packages/modules/StatsD/statsd/src/
Dstats_log.proto488 optional bool is_valid = 9; field
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp56 EXPECT_EQ(true, configReport.is_valid()); in TEST()