Lines Matching refs:Data_Asset
47 | int OH_Data_Asset_SetName(Data_Asset *asset, const char *name) | Sets the name for a data asset.|
48 | int OH_Data_Asset_SetUri(Data_Asset *asset, const char *uri) | Sets the absolute path for a data …
49 | int OH_Data_Asset_SetPath(Data_Asset *asset, const char *path) | Sets the relative path in the ap…
50 | int OH_Data_Asset_SetCreateTime(Data_Asset *asset, int64_t createTime) | Sets the creation time f…
51 | int OH_Data_Asset_SetModifyTime(Data_Asset *asset, int64_t modifyTime) | Sets the last modificati…
52 | int OH_Data_Asset_SetSize(Data_Asset *asset, size_t size) | Sets the size of a data asset.|
53 | int OH_Data_Asset_SetStatus(Data_Asset *asset, Data_AssetStatus status) | Sets the status for a d…
54 | int OH_Data_Asset_GetName(Data_Asset *asset, char *name, size_t *length) | Obtains the name of a …
55 | int OH_Data_Asset_GetUri(Data_Asset *asset, char *uri, size_t *length) | Obtains the absolute pat…
56 | int OH_Data_Asset_GetPath(Data_Asset *asset, char *path, size_t *length) | Obtains the relative p…
57 | int OH_Data_Asset_GetCreateTime(Data_Asset *asset, int64_t *createTime) | Obtains the creation ti…
58 | int OH_Data_Asset_GetModifyTime(Data_Asset *asset, int64_t *modifyTime) | Obtains the last modifi…
59 | int OH_Data_Asset_GetSize(Data_Asset *asset, size_t *size) | Obtains the size of a data asset.|
60 | int OH_Data_Asset_GetStatus(Data_Asset *asset, Data_AssetStatus *status) | Obtains the status of …
61 | Data_Asset *OH_Data_Asset_CreateOne() | Creates a data asset instance. When this data asset is no…
62 | int OH_Data_Asset_DestroyOne(Data_Asset *asset) | Destroys a data asset instance to reclaim memor…
63 | Data_Asset **OH_Data_Asset_CreateMultiple(uint32_t count) | Creates an instance for multiple data…
64 | int OH_Data_Asset_DestroyMultiple(Data_Asset **assets, uint32_t count) | Destroys multiple data a…
224 Data_Asset *asset = OH_Data_Asset_CreateOne();
234 Data_Asset **assets = OH_Data_Asset_CreateMultiple(2);
254 // Destroy Data_Asset* and Data_Asset**.
270 Data_Asset **assets = OH_Data_Asset_CreateMultiple(assetCount);
272 Data_Asset *asset = assets[1];