/ohos5.0/docs/zh-cn/application-dev/reference/apis-localization-kit/ |
H A D | _raw_file_descriptor.md | 1 # RawFileDescriptor chapter 8 RawFileDescriptor是[OH_ResourceManager_GetRawFileDescriptor](rawfile.md#oh_resourcemanager_getrawfil… 33 int RawFileDescriptor::fd 42 long RawFileDescriptor::length 51 long RawFileDescriptor::start
|
H A D | rawFileDescriptor.md | 1 # RawFileDescriptor chapter 15 ## RawFileDescriptor section
|
H A D | Readme-CN.md | 12 - [RawFileDescriptor](rawFileDescriptor.md) 26 - [RawFileDescriptor](_raw_file_descriptor.md)
|
H A D | raw__file_8h.md | 24 | struct [RawFileDescriptor](_raw_file_descriptor.md) | 提供rawfile文件描述符信息。 | 46 …rawfiledescriptor) (const [RawFile](rawfile.md#rawfile) \*rawFile, [RawFileDescriptor](_raw_file_d… 47 …or](rawfile.md#oh_resourcemanager_releaserawfiledescriptor) (const [RawFileDescriptor](_raw_file_d…
|
H A D | rawfile.md | 27 | struct [RawFileDescriptor](_raw_file_descriptor.md) | 提供rawfile文件描述符信息。 | 54 …anager_getrawfiledescriptor) (const [RawFile](#rawfile) \*rawFile, [RawFileDescriptor](_raw_file_d… 55 …leDescriptor](#oh_resourcemanager_releaserawfiledescriptor) (const [RawFileDescriptor](_raw_file_d… 233 bool OH_ResourceManager_GetRawFileDescriptor (const RawFile * rawFile, RawFileDescriptor & descript… 660 bool OH_ResourceManager_ReleaseRawFileDescriptor (const RawFileDescriptor & descriptor)
|
/ohos5.0/base/global/resource_management/interfaces/native/resource/include/ |
H A D | raw_file.h | 95 } RawFileDescriptor; typedef 204 bool OH_ResourceManager_GetRawFileDescriptor(const RawFile *rawFile, RawFileDescriptor &descriptor); 217 bool OH_ResourceManager_GetRawFileDescriptorData(const RawFile *rawFile, RawFileDescriptor *descrip… 231 bool OH_ResourceManager_ReleaseRawFileDescriptor(const RawFileDescriptor &descriptor); 243 bool OH_ResourceManager_ReleaseRawFileDescriptorData(const RawFileDescriptor *descriptor);
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.2/ |
H A D | changelogs-global.md | 5 …版本中,新增不解压特性,rawfile文件描述符接口返回值的含义发生了变化。接口用于返回获取的rawfile文件的descriptor:RawFileDescriptor {fd,offset, … 31 | getRawFd(path: string, callback: AsyncCallback\<RawFileDescriptor>): void | 32 | getRawFd(path: string): Promise\<RawFileDescriptor> | 33 | getRawFileDescriptor(path: string, callback: AsyncCallback\<RawFileDescriptor>): void| 34 | getRawFileDescriptor(path: string): Promise\<RawFileDescriptor>|
|
/ohos5.0/docs/en/application-dev/reference/apis-localization-kit/ |
H A D | _raw_file_descriptor.md | 1 # RawFileDescriptor chapter 8 **RawFileDescriptor** is an output parameter of [OH_ResourceManager_GetRawFileDescriptor()](rawfile… 33 int RawFileDescriptor::fd 42 long RawFileDescriptor::length 51 long RawFileDescriptor::start
|
H A D | rawFileDescriptor.md | 1 # RawFileDescriptor chapter 15 ## RawFileDescriptor section
|
H A D | Readme-EN.md | 12 - [RawFileDescriptor](rawFileDescriptor.md) 26 - [RawFileDescriptor](_raw_file_descriptor.md)
|
H A D | raw__file_8h.md | 24 | struct [RawFileDescriptor](_raw_file_descriptor.md) | Defines the file descriptor info… 46 …rawfiledescriptor) (const [RawFile](rawfile.md#rawfile) \*rawFile, [RawFileDescriptor](_raw_file_d… 47 …or](rawfile.md#oh_resourcemanager_releaserawfiledescriptor) (const [RawFileDescriptor](_raw_file_d…
|
/ohos5.0/docs/zh-cn/application-dev/media/image/ |
H A D | image-decoding.md | 63 …- 方法四:通过资源管理器获取资源文件的RawFileDescriptor。具体请参考[ResourceManager API参考文档](../../reference/apis-localiza… 74 不同模型获取资源管理器的方式不同,获取资源管理器后,再调用resourceMgr.getRawFd()获取资源文件的RawFileDescriptor。 78 … resourceMgr.getRawFd('test.jpg').then((rawFileDescriptor : resourceManager.RawFileDescriptor) => { 79 console.log("Succeeded in getting RawFileDescriptor") 81 console.error("Failed to get RawFileDescriptor") 107 - 方法四:通过资源文件的RawFileDescriptor创建ImageSource。RawFileDescriptor可以通过步骤2的方法四获取。 192 - 方式二:通过rawfile文件夹下test.jpg的RawFileDescriptor创建。 197 … resourceMgr.getRawFd('test.jpg').then((rawFileDescriptor : resourceManager.RawFileDescriptor) => {
|
H A D | image-picture-decoding.md | 60 …- 方法四:通过资源管理器获取资源文件的RawFileDescriptor。具体请参考[ResourceManager API参考文档](../../reference/apis-localiza… 68 不同模型获取资源管理器的方式不同,获取资源管理器后,再调用resourceMgr.getRawFd()获取资源文件的RawFileDescriptor。 72 … resourceMgr.getRawFd('test.jpg').then((rawFileDescriptor : resourceManager.RawFileDescriptor) => { 73 console.log("Succeeded in getting RawFileDescriptor") 75 console.error("Failed to get RawFileDescriptor") 101 - 方法四:通过资源文件的RawFileDescriptor创建ImageSource。RawFileDescriptor可以通过步骤2的方法四获取。 177 - 通过rawfile文件夹下test.jpg的RawFileDescriptor创建。 180 … resourceMgr.getRawFd('test.jpg').then((rawFileDescriptor : resourceManager.RawFileDescriptor) => {
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/v4.0-beta1/ |
H A D | changelogs-global.md | 6 …版本中,新增不解压特性,rawfile文件描述符接口返回值的含义发生了变化。接口用于返回获取的rawfile文件的descriptor:RawFileDescriptor {fd,offset, … 32 | getRawFd(path: string, callback: AsyncCallback\<RawFileDescriptor>): void | 33 | getRawFd(path: string): Promise\<RawFileDescriptor> | 34 | getRawFileDescriptor(path: string, callback: AsyncCallback\<RawFileDescriptor>): void| 35 | getRawFileDescriptor(path: string): Promise\<RawFileDescriptor>|
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.2.2/ |
H A D | changelogs-global.md | 5 …he change in the meaning of the return value, namely, **descriptor: RawFileDescriptor {fd, offset,… 31 | getRawFd(path: string, callback: AsyncCallback\<RawFileDescriptor>): void | 32 | getRawFd(path: string): Promise\<RawFileDescriptor> | 33 | getRawFileDescriptor(path: string, callback: AsyncCallback\<RawFileDescriptor>): void| 34 | getRawFileDescriptor(path: string): Promise\<RawFileDescriptor>|
|
/ohos5.0/docs/en/release-notes/changelogs/v4.0-beta1/ |
H A D | changelogs-global.md | 6 …he change in the meaning of the return value, namely, **descriptor: RawFileDescriptor {fd, offset,… 32 | getRawFd(path: string, callback: AsyncCallback\<RawFileDescriptor>): void | 33 | getRawFd(path: string): Promise\<RawFileDescriptor> | 34 | getRawFileDescriptor(path: string, callback: AsyncCallback\<RawFileDescriptor>): void| 35 | getRawFileDescriptor(path: string): Promise\<RawFileDescriptor>|
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/ |
H A D | hap_manager.h | 220 ResourceManager::RawFileDescriptor &descriptor); 304 …RState FindRawFileDescriptor(const std::string &name, ResourceManager::RawFileDescriptor &descript… 341 RState GetRawFd(const std::string &rawFile, ResourceManager::RawFileDescriptor &descriptor); 420 std::unordered_map<std::string, ResourceManager::RawFileDescriptor> rawFileDescriptor_;
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | raw_file_manager.cpp | 355 static bool GetRawFileDescriptorFromHap(const RawFile *rawFile, RawFileDescriptor &descriptor) in GetRawFileDescriptorFromHap() 357 ResourceManager::RawFileDescriptor resMgrDescriptor; in GetRawFileDescriptorFromHap() 370 bool OH_ResourceManager_GetRawFileDescriptor(const RawFile *rawFile, RawFileDescriptor &descriptor) in OH_ResourceManager_GetRawFileDescriptor() 375 bool OH_ResourceManager_GetRawFileDescriptorData(const RawFile *rawFile, RawFileDescriptor *descrip… in OH_ResourceManager_GetRawFileDescriptorData() 404 bool OH_ResourceManager_ReleaseRawFileDescriptor(const RawFileDescriptor &descriptor) in OH_ResourceManager_ReleaseRawFileDescriptor() 409 bool OH_ResourceManager_ReleaseRawFileDescriptorData(const RawFileDescriptor *descriptor) in OH_ResourceManager_ReleaseRawFileDescriptorData() 450 ResourceManager::RawFileDescriptor resMgrDescriptor; in LoadRawFileFromHap64() 591 ResourceManager::RawFileDescriptor resMgrDescriptor; in GetRawFileDescriptorFromHap64()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-global.md | 9 | rawFileDescriptor | RawFileDescriptor | length: number; | 新增 | 10 | rawFileDescriptor | RawFileDescriptor | offset: number; | 新增 | 11 | rawFileDescriptor | RawFileDescriptor | fd: number; | 新增 | 14 …ing, callback: AsyncCallback\<RawFileDescriptor>): void;<br>getRawFileDescriptor(path: string): Pr…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-global.md | 9 | rawFileDescriptor | RawFileDescriptor | length: number; | Added| 10 | rawFileDescriptor | RawFileDescriptor | offset: number; | Added| 11 | rawFileDescriptor | RawFileDescriptor | fd: number; | Added| 14 …ing, callback: AsyncCallback\<RawFileDescriptor>): void;<br>getRawFileDescriptor(path: string): Pr…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.33/ |
H A D | changelogs-global.md | 165 …le, RawFileDescriptor &descriptor) | 使用接口获取rawfile文件描述符 | bool OH_ResourceManager_GetRawFileDescri… 166 …nst RawFileDescriptor &descriptor) | 使用接口释放rawfile文件描述符 | bool OH_ResourceManager_Re…
|
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | rawfile-guidelines.md | 24 | bool OH_ResourceManager_GetRawFileDescriptor(const RawFile *rawFile, RawFileDescriptor &descripto… 25 | bool OH_ResourceManager_ReleaseRawFileDescriptor(const RawFileDescriptor &descriptor) | 释放rawfile… 55 …ptor: (resmgr: resourceManager.ResourceManager, path: string) => resourceManager.RawFileDescriptor; 206 napi_value createJsFileDescriptor(napi_env env, RawFileDescriptor &descriptor) 267 // 获取rawfile的描述符RawFileDescriptor {fd, offset, length} 268 RawFileDescriptor descriptor;
|
/ohos5.0/base/global/resource_management/interfaces/inner_api/include/ |
H A D | resource_manager.h | 47 } RawFileDescriptor; typedef 146 virtual RState GetRawFileDescriptor(const std::string &name, RawFileDescriptor &descriptor) = 0; 167 …virtual RState GetRawFileDescriptorFromHap(const std::string &rawFileName, RawFileDescriptor &desc… 195 …virtual RState GetRawFdNdkFromHap(const std::string &rawFileName, RawFileDescriptor &descriptor) =…
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/include/ |
H A D | mock_resource_manager_impl.h | 349 virtual RState GetRawFileDescriptor(const std::string &name, RawFileDescriptor &descriptor); 438 …virtual RState GetRawFileDescriptorFromHap(const std::string &rawFileName, RawFileDescriptor &desc… 530 virtual RState GetRawFdNdkFromHap(const std::string &name, RawFileDescriptor &descriptor);
|
/ohos5.0/base/sensors/miscdevice/utils/common/include/ |
H A D | raw_file_descriptor.h | 23 struct RawFileDescriptor { struct
|