/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/ |
H A D | db_adapter.cpp | 209 std::string uuid = DHContext::GetInstance().GetUUIDByDeviceId(deviceId); in GetNetworkIdByKey() local 210 if (uuid.empty()) { in GetNetworkIdByKey() 211 DHLOGW("Get uuid empty, deviceId: %{public}s", GetAnonyString(deviceId).c_str()); in GetNetworkIdByKey() 214 if (!DHContext::GetInstance().IsDeviceOnline(uuid)) { in GetNetworkIdByKey() 215 DHLOGW("The device not online, no need sync, uuid: %{public}s, deviceId: %{public}s", in GetNetworkIdByKey() 216 GetAnonyString(uuid).c_str(), GetAnonyString(deviceId).c_str()); in GetNetworkIdByKey() 219 return DHContext::GetInstance().GetNetworkIdByUUID(uuid); in GetNetworkIdByKey()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_ble.cpp | 473 UUID uuid {}; in ParseScanFilterServiceUuidParameters() 474 NAPI_BT_CALL_RETURN(ParseUuidParams(env, scanFilter, "serviceUuid", exist, uuid)); in ParseScanFilterServiceUuidParameters() 476 HILOGI("Scan filter serviceUuid is %{public}s", uuid.ToString().c_str()); in ParseScanFilterServiceUuidParameters() 477 bleScanFilter.SetServiceUuid(uuid); in ParseScanFilterServiceUuidParameters() 493 UUID uuid {}; in ParseScanFilterSolicitationUuidParameters() 494 NAPI_BT_CALL_RETURN(ParseUuidParams(env, scanFilter, "serviceSolicitationUuid", exist, uuid)); in ParseScanFilterSolicitationUuidParameters() 496 HILOGI("Scan filter serviceSolicitationUuid is %{public}s", uuid.ToString().c_str()); in ParseScanFilterSolicitationUuidParameters() 497 bleScanFilter.SetServiceSolicitationUuid(uuid); in ParseScanFilterSolicitationUuidParameters() 720 ParcelUuid::FromString(vec[i].uuid), in ParseServiceDataParameters()
|
/kernel/linux/linux-5.10/drivers/char/ |
H A D | random.c | 52 #include <linux/uuid.h> 1420 * - uuid - a random UUID, different each time the file is read. 1457 u8 tmp_uuid[UUID_SIZE], *uuid; in proc_do_uuid() local 1467 uuid = table->data; in proc_do_uuid() 1468 if (!uuid) { in proc_do_uuid() 1469 uuid = tmp_uuid; in proc_do_uuid() 1470 generate_random_uuid(uuid); in proc_do_uuid() 1475 if (!uuid[8]) in proc_do_uuid() 1476 generate_random_uuid(uuid); in proc_do_uuid() 1480 snprintf(uuid_string, sizeof(uuid_string), "%pU", uuid); in proc_do_uuid() [all...] |
/kernel/linux/linux-6.6/drivers/char/ |
H A D | random.c | 52 #include <linux/uuid.h> 1575 * - uuid - a random UUID, different each time the file is read. 1612 u8 tmp_uuid[UUID_SIZE], *uuid; in proc_do_uuid() local 1622 uuid = table->data; in proc_do_uuid() 1623 if (!uuid) { in proc_do_uuid() 1624 uuid = tmp_uuid; in proc_do_uuid() 1625 generate_random_uuid(uuid); in proc_do_uuid() 1630 if (!uuid[8]) in proc_do_uuid() 1631 generate_random_uuid(uuid); in proc_do_uuid() 1635 snprintf(uuid_string, sizeof(uuid_string), "%pU", uuid); in proc_do_uuid() [all...] |
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | backend-native.c | 542 static void register_profile(pa_bluetooth_backend *b, const char *object, const char *uuid, pa_bluetooth_profile_t profile) { in register_profile() argument 550 pa_log_debug("Registering Profile %s %s", pa_bluetooth_profile_to_string(profile), uuid); in register_profile() 556 pa_assert_se(dbus_message_iter_append_basic(&i, DBUS_TYPE_STRING, &uuid)); in register_profile() 563 if (pa_bluetooth_uuid_is_hsp_hs(uuid)) { in register_profile() 1117 const char *uuid; in profile_init() local 1124 uuid = PA_BLUETOOTH_UUID_HSP_AG; in profile_init() 1128 uuid = PA_BLUETOOTH_UUID_HSP_HS; in profile_init() 1132 uuid = PA_BLUETOOTH_UUID_HFP_AG; in profile_init() 1142 register_profile(b, object_name, uuid, profile); in profile_init()
|
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysessionndk_fuzzer/ |
H A D | mediakeysessionndk_fuzzer.cpp | 120 uuid = "com.clearplay.drm"; in GetUuid() 122 uuid = "com.wiseplay.drm"; in GetUuid() 192 DRM_INFO_LOG("uuid = %{public}s", uuid.c_str()); in Init() 194 OH_MediaKeySystem_Create(uuid.c_str(), &mediaKeySystem); in Init()
|
/foundation/multimedia/drm_framework/frameworks/native/test/fuzztest/mediakeysystemndk_fuzzer/ |
H A D | mediakeysystemndk_fuzzer.cpp | 88 uuid = "com.clearplay.drm"; in GetUuid() 90 uuid = "com.wiseplay.drm"; in GetUuid() 159 DRM_INFO_LOG("uuid = %{public}s", uuid.c_str()); in Init() 161 OH_MediaKeySystem_Create(uuid.c_str(), &mediaKeySystem); in Init()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_utils.c | 166 if (pManager->getLocalIpByUuid(info.uuid, myIp, sizeof(myIp)) == SOFTBUS_OK) { in HbHasActiveHmlConnection() 396 LNN_LOGW(LNN_HEART_BEAT, "local DeviceInfo, uuid=%{public}s, udid=%{public}s, udidShortHash=%{public}s, " in LnnDumpLocalBasicInfo() 438 char uuid[UUID_BUF_LEN] = {0}; in LnnDumpPrintUuid() local 439 if (LnnGetRemoteStrInfo(networkId, STRING_KEY_UUID, uuid, UUID_BUF_LEN) != SOFTBUS_OK) { in LnnDumpPrintUuid() 440 LNN_LOGE(LNN_HEART_BEAT, "get uuid failed"); in LnnDumpPrintUuid() 444 Anonymize(uuid, &tmpUuid); in LnnDumpPrintUuid()
|
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/unittest/common/camera_source/callback/ |
H A D | dcamera_source_callback_test.cpp | 50 int32_t OnRegisterResult(const std::string &uuid, const std::string &dhId, int32_t status, in OnRegisterResult() argument 62 void OnStateChanged(const std::string &uuid, const std::string &dhId, const BusinessState state) override 73 void OnDataSyncTrigger(const std::string &uuid) override 84 int32_t OnUnregisterResult(const std::string &uuid, const std::string &dhId, int32_t status, in OnUnregisterResult() argument
|
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/ |
H A D | int3400_thermal.c | 238 enum int3400_thermal_uuid uuid, bool enable) in int3400_thermal_run_osc() 249 if (uuid < 0 || uuid >= INT3400_THERMAL_MAXIMUM_UUID) in int3400_thermal_run_osc() 252 context.uuid_str = int3400_thermal_uuids[uuid]; in int3400_thermal_run_osc() 237 int3400_thermal_run_osc(acpi_handle handle, enum int3400_thermal_uuid uuid, bool enable) int3400_thermal_run_osc() argument
|
/kernel/linux/linux-5.10/fs/afs/ |
H A D | fs_probe.c | 108 _enter("%pU,%u", &server->uuid, index); in afs_fileserver_probe_result() 179 &server->uuid, index, &alist->addrs[index].transport, in afs_fileserver_probe_result() 196 _enter("%pU", &server->uuid); in afs_fs_probe_fileserver() 406 _debug("probe %pU", &server->uuid); in afs_fs_probe_dispatcher()
|
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | sys-hypervisor.c | 149 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show_fallback() 160 xen_domain_handle_t uuid; in uuid_show() local 162 ret = HYPERVISOR_xen_version(XENVER_guest_handle, uuid); in uuid_show() 165 ret = sprintf(buffer, "%pU\n", uuid); in uuid_show() 169 HYPERVISOR_ATTR_RO(uuid); variable
|
/kernel/linux/linux-5.10/init/ |
H A D | do_mounts.c | 66 const char *uuid; member 71 * match_dev_by_uuid - callback for finding a partition using its uuid 85 if (strncasecmp(cmp->uuid, part->info->uuid, cmp->len)) in match_dev_by_uuid() 118 cmp.uuid = uuid_str; in devt_from_partuuid() 164 "Expected PARTUUID=<valid-uuid-id>[/PARTNROFF=%%d]\n"); in devt_from_partuuid()
|
/kernel/linux/linux-6.6/drivers/acpi/x86/ |
H A D | s2idle.c | 414 static int validate_dsm(acpi_handle handle, const char *uuid, int rev, guid_t *dsm_guid) in validate_dsm() argument 419 guid_parse(uuid, dsm_guid); in validate_dsm() 426 "_DSM UUID %s rev %d function 0 evaluation failed\n", uuid, rev); in validate_dsm() 431 acpi_handle_debug(handle, "_DSM UUID %s rev %d function mask: 0x%x\n", uuid, rev, ret); in validate_dsm()
|
/kernel/linux/linux-6.6/fs/afs/ |
H A D | fs_probe.c | 109 _enter("%pU,%u", &server->uuid, index); in afs_fileserver_probe_result() 185 &server->uuid, index, &alist->addrs[index].transport, in afs_fileserver_probe_result() 202 _enter("%pU", &server->uuid); in afs_fs_probe_fileserver() 412 _debug("probe %pU", &server->uuid); in afs_fs_probe_dispatcher()
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | sys-hypervisor.c | 151 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show_fallback() 162 xen_domain_handle_t uuid; in uuid_show() local 164 ret = HYPERVISOR_xen_version(XENVER_guest_handle, uuid); in uuid_show() 167 ret = sprintf(buffer, "%pU\n", uuid); in uuid_show() 171 HYPERVISOR_ATTR_RO(uuid); variable
|
/kernel/linux/linux-6.6/drivers/nvdimm/ |
H A D | core.c | 211 * nd_uuid_store: common implementation for writing 'uuid' sysfs attributes 212 * @dev: container device for the uuid property 213 * @uuid_out: uuid buffer to replace 223 uuid_t uuid; in nd_uuid_store() local 229 rc = uuid_parse(buf, &uuid); in nd_uuid_store() 234 *uuid_out = kmemdup(&uuid, sizeof(uuid), GFP_KERNEL); in nd_uuid_store()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | i915_perf.c | 31 strscpy(oa_config->uuid, TEST_OA_CONFIG_UUID, sizeof(oa_config->uuid)); in alloc_empty_config() 56 if (!strcmp(tmp->uuid, TEST_OA_CONFIG_UUID)) { in destroy_empty_config() 80 if (!strcmp(tmp->uuid, TEST_OA_CONFIG_UUID)) { in get_empty_config()
|
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_cuda.c | 498 CUuuid uuid; in cuda_device_derive() local 504 ret = CHECK_CU(cu->cuDeviceGetUuid(&uuid, dev)); in cuda_device_derive() 508 if (memcmp(src_uuid, uuid.bytes, sizeof (uuid.bytes)) == 0) { in cuda_device_derive()
|
/third_party/node/src/ |
H A D | inspector_io.cc | 51 char uuid[256]; in GenerateID() local 52 snprintf(uuid, sizeof(uuid), "%04x%04x-%04x-%04x-%04x-%04x%04x%04x", in GenerateID() 61 return uuid; in GenerateID()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_screen.c | 100 crocus_get_device_uuid(struct pipe_screen *pscreen, char *uuid) in crocus_get_device_uuid() argument 104 intel_uuid_compute_device_id((uint8_t *)uuid, &screen->devinfo, PIPE_UUID_SIZE); in crocus_get_device_uuid() 108 crocus_get_driver_uuid(struct pipe_screen *pscreen, char *uuid) in crocus_get_driver_uuid() argument 113 intel_uuid_compute_driver_id((uint8_t *)uuid, devinfo, PIPE_UUID_SIZE); in crocus_get_driver_uuid()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps.c | 47 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN); in wps_init() 50 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN); in wps_init() 485 * @uuid: Own UUID 495 const u8 *uuid, in wps_build_probe_req_ie() 511 wps_build_uuid_e(ie, uuid) || in wps_build_probe_req_ie() 494 wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, const u8 *uuid, enum wps_request_type req_type, unsigned int num_req_dev_types, const u8 *req_dev_types) wps_build_probe_req_ie() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps.c | 46 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN); in wps_init() 49 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN); in wps_init() 491 * @uuid: Own UUID 501 const u8 *uuid, in wps_build_probe_req_ie() 517 wps_build_uuid_e(ie, uuid) || in wps_build_probe_req_ie() 500 wps_build_probe_req_ie(u16 pw_id, struct wps_device_data *dev, const u8 *uuid, enum wps_request_type req_type, unsigned int num_req_dev_types, const u8 *req_dev_types) wps_build_probe_req_ie() argument
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | app_provision_info.h | 34 std::string uuid; member
|
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_ble_central_manager_callback.h | 35 virtual void OnNotifyMsgReportFromLpDevice(const bluetooth::Uuid &uuid, int msgType,
|