Home
last modified time | relevance | path

Searched refs:device (Results 1 - 13 of 13) sorted by relevance

/applications/standard/app_samples/code/BasicFeature/Native/NdkVulkan/entry/src/main/cpp/render/vulkan/
H A Dvulkan_example.cpp52 utils::LoadVulkanFunctions(device); in InitVulkan()
99 vkDestroySemaphore(device, renderFinishedSemaphore, nullptr); in ~VulkanExample()
100 vkDestroySemaphore(device, imageAvailableSemaphore, nullptr); in ~VulkanExample()
101 vkDestroyFence(device, inFlightFence, nullptr); in ~VulkanExample()
103 vkDestroyCommandPool(device, commandPool, nullptr); in ~VulkanExample()
106 vkDestroyFramebuffer(device, framebuffer, nullptr); in ~VulkanExample()
109 vkDestroyPipeline(device, graphicsPipeline, nullptr); in ~VulkanExample()
110 vkDestroyPipelineLayout(device, pipelineLayout, nullptr); in ~VulkanExample()
111 vkDestroyDescriptorSetLayout(device, descriptorSetLayout, nullptr); in ~VulkanExample()
112 vkDestroyDescriptorPool(device, descriptorPoo in ~VulkanExample()
969 QuerySwapChainSupport(VkPhysicalDevice device) QuerySwapChainSupport() argument
994 IsDeviceSuitable(VkPhysicalDevice device) IsDeviceSuitable() argument
1010 CheckDeviceExtensionSupport(VkPhysicalDevice device) CheckDeviceExtensionSupport() argument
1028 FindQueueFamilies(VkPhysicalDevice device) FindQueueFamilies() argument
[all...]
H A Dvulkan_example.h91 SwapChainSupportDetails QuerySwapChainSupport(VkPhysicalDevice device);
92 bool IsDeviceSuitable(VkPhysicalDevice device);
93 bool CheckDeviceExtensionSupport(VkPhysicalDevice device);
94 QueueFamilyIndices FindQueueFamilies(VkPhysicalDevice device);
151 VkDevice device; member in vkExample::VulkanExample
H A Dvulkan_utils.cpp402 void LoadVulkanFunctions(VkDevice device) in LoadVulkanFunctions() argument
405 reinterpret_cast<PFN_vkCreateSwapchainKHR>(vkGetDeviceProcAddr(device, "vkCreateSwapchainKHR")); in LoadVulkanFunctions()
407 reinterpret_cast<PFN_vkDestroySwapchainKHR>(vkGetDeviceProcAddr(device, "vkDestroySwapchainKHR")); in LoadVulkanFunctions()
409 reinterpret_cast<PFN_vkGetSwapchainImagesKHR>(vkGetDeviceProcAddr(device, "vkGetSwapchainImagesKHR")); in LoadVulkanFunctions()
411 reinterpret_cast<PFN_vkAcquireNextImageKHR>(vkGetDeviceProcAddr(device, "vkAcquireNextImageKHR")); in LoadVulkanFunctions()
413 reinterpret_cast<PFN_vkQueuePresentKHR>(vkGetDeviceProcAddr(device, "vkQueuePresentKHR")); in LoadVulkanFunctions()
415 vkGetDeviceProcAddr(device, "vkGetMemoryNativeBufferOHOS")); in LoadVulkanFunctions()
417 vkGetDeviceProcAddr(device, "vkGetNativeBufferPropertiesOHOS")); in LoadVulkanFunctions()
H A Dvulkan_utils.h147 void LoadVulkanFunctions(VkDevice device);
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/DistributeCalc/entry/src/main/js/MainAbility/common/
H A DRemoteDeviceModel.js47 changeState(device, state) {
55 if (this.deviceList[i].deviceId !== device.deviceId) {
56 list[i] = device
60 logger.debug(TAG, `ready, device list = ${JSON.stringify(device)}`)
64 if (this.deviceList[j].deviceId === device.deviceId) {
65 this.deviceList[j] = device
69 logger.debug(TAG, `offline, device list= ${JSON.stringify(this.deviceList)}`)
74 changeStateOnline(device) {
75 this.deviceList[this.deviceList.length] = device
[all...]
/build/ohos/images/mkimage/
H A Dmkimages.py84 def sparse_img2simg(is_sparse: str, device: str):
87 tmp_device = "%s.tmp" % device
88 run_cmd(" ".join(["img2simg ", device, " ", tmp_device]))
89 os.rename(tmp_device, device)
92 def mk_system_img(mkfs_tools: str, mk_configs: str, device: str, src_dir: str, is_sparse: str):
94 mk_configs = " ".join([src_dir, device, mk_configs])
97 sparse_img2simg(is_sparse, device)
102 def mk_ramdisk_img(mkfs_tools: str, mk_configs: str, device: str, src_dir: str, is_sparse: str):
106 " ".join([src_dir, device, ramdisk_size])
111 def mk_other_img(mkfs_tools: str, mk_configs: str, device
[all...]
H A Dmkcpioimage.py30 parser.add_argument("device", help="The device for mkfs.")
66 if args.device == "ramdisk.img":
67 output_path = os.path.join("%s/../images" % os.getcwd(), args.device)
68 elif args.device == "updater_ramdisk.img":
73 output_path = os.path.join(work_dir, args.device)
98 if "ramdisk.img" == args.device:
101 elif "updater_ramdisk.img" == args.device:
119 if "updater_ramdisk.img" in args.device:
H A Dmkf2fsimage.py26 parser.add_argument("device", help="The device for mkfs.")
76 " " + args.device)
111 sloadf2fs_cmd += ("sload.f2fs " + sloadf2fs_opts + " " + args.device)
124 trunc_cmd = "truncate -s " + args.fs_size + " " + args.device
135 os.remove(args.device)
H A Dmkextimage.py29 parser.add_argument("device", help="The device for mkfs.")
85 + str(BLOCKSIZE) + " " + args.device + " " + str(blocks))
112 " " + args.device)
130 os.remove(args.device)
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer/entry/src/main/js/MainAbility/model/
H A DRemoteDeviceModel.js78 this.deviceList.push(data.device)
79 logger.debug(TAG, `ready, updated device list=${JSON.stringify(this.deviceList)}`)
95 if (this.deviceList[j].deviceId !== data.device.deviceId) {
96 list[j] = data.device
101 logger.debug(TAG, `offline, updated device list=${JSON.stringify(data.device)}`)
112 if (this.discoverList[i].deviceId === data.device.deviceId) {
113 logger.info(TAG, `device founded, ignored`)
117 this.discoverList[this.discoverList.length] = data.device
/build/tools/
H A Dproduct_config_version_convert.py24 device_dir = "../../productdefine/common/device"
30 device = data["product_device"]
31 device_path = os.path.join(device_dir, f"{device}.json")
53 readjson(new_file_name, device)
56 def readjson(path, device):
80 data.update({"board": device})
/build/hb/
H A Dmain.py260 device = check_device.stdout.strip()
262 device = sys.argv[4]
263 if device not in check_device.stdout:
264 print("Error: Wrong device number")
266 subprocess.run(["hdc", "-t", str(device), "shell", "mount", "-o", "rw,remount", "/"], check=True,
283 ["hdc", "-t", str(device), "file", "send", os.path.join(CURRENT_OHOS_ROOT, one_push.get("src")),
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer/entry/src/main/js/MainAbility/pages/index/
H A Dindex.js236 logger.debug(TAG, `on remote device updated, count=${deviceList.length}`)
238 logger.debug(TAG, `device ${i}/${deviceList.length} deviceId=${deviceList[i].deviceId}` +
303 logger.info(TAG, `continue to unauthed device`)
327 logger.info(TAG, `continue to authed device`)

Completed in 6 milliseconds