/ohos5.0/foundation/distributeddatamgr/data_share/test/native/resource/datashare_ext_bundle/entry/src/main/ets/MainAbility/ |
H A D | MainAbility.ts | 53 this.openFile(); 110 openFile() { 111 globalThis.openFile = (async () => { 117 let result = await globalThis.dsHelper.openFile(dseUri, "rw");
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta3/ |
H A D | js-apidiff-distributed-data.md | 17 …a.dataShare | DataShareHelper | openFile(uri: string, mode: string, callback: AsyncCallback\<numbe…
|
H A D | js-apidiff-file-management.md | 16 …ss | FileAccessHelper | openFile(uri: string, flags: OPENFLAGS) : Promise\<number…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta3/ |
H A D | js-apidiff-distributed-data.md | 17 …a.dataShare | DataShareHelper | openFile(uri: string, mode: string, callback: AsyncCallback\<numbe…
|
H A D | js-apidiff-file-management.md | 16 …ss | FileAccessHelper | openFile(uri: string, flags: OPENFLAGS) : Promise\<number…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_compressor.cpp | 560 std::ifstream openFile(recordsPath_); local 561 if (!openFile.is_open()) { 566 while (!openFile.eof()) { 567 std::getline(openFile, line); 570 openFile.close();
|
/ohos5.0/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_ext_ability/ |
H A D | file_access_ext_ability.js | 20 openFile(sourceFileUri, flags) { method in FileAccessExtensionAbility
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | access-datashareextensionability-from-fa.md | 50 | openFile | 是 | 否 | 否 |
|
H A D | dataabilityhelper-switch.md | 6 …openFile(uri: string, mode: string, callback: AsyncCallback<number>…
|
H A D | dataability-lifecycle.md | 19 | openFile?(uri: string, mode: string, callback: AsyncCallback<number&g…
|
H A D | dataability-switch.md | 28 …| openFile?(uri: string, mode: string, callback: AsyncCallback<number&…
|
H A D | lifecycledata-switch.md | 13 | openFile?(uri: string, mode: string, callback: AsyncCallback<number&g…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-inner-ability-dataAbilityHelper.md | 25 ## DataAbilityHelper.openFile 27 openFile(uri: string, mode: string, callback: AsyncCallback\<number>): void 54 DAHelper.openFile('dataability:///com.example.DataAbility', mode, (error, data) => { 56 console.error(`openFile fail, error: ${JSON.stringify(error)}`); 58 console.log(`openFile success, data: ${JSON.stringify(data)}`); 63 ## DataAbilityHelper.openFile 65 openFile(uri: string, mode: string): Promise\<number> 97 DAHelper.openFile('dataability:///com.example.DataAbility', mode).then((data) => { 98 console.info(`openFile data: ${JSON.stringify(data)}`);
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/js/napi/datashare_ext_ability/ |
H A D | datashare_ext_ability.js | 26 openFile(uri, mode, callback) { method in DataShareExtensionAbility
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | dataabilityhelper-switch.md | 6 …openFile(uri: string, mode: string, callback: AsyncCallback<number>): void;](../reference/ap…
|
H A D | dataability-lifecycle.md | 19 | openFile?(uri: string, mode: string, callback: AsyncCallback<number>): void | Opens a file.…
|
H A D | access-datashareextensionability-from-fa.md | 52 | openFile | Yes| No| No|
|
H A D | lifecycledata-switch.md | 13 | openFile?(uri: string, mode: string, callback: AsyncCallback<number>): void; | There is no …
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | rdb_security_manager.h | 73 KeyFiles(const std::string &dbPath, bool openFile = true);
|
/ohos5.0/foundation/distributeddatamgr/data_share/test/native/resource/errorcode_ext_bundle/entry/src/main/ets/DataShareExtAbility/ |
H A D | DataShareExtAbility.ts | 52 async openFile(uri: string, mode: string, callback) {
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-distributed-data.md | 21 …a.dataShare | DataShareHelper | openFile(uri: string, mode: string, callback: AsyncCallback\<numbe…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-distributed-data.md | 21 …a.dataShare | DataShareHelper | openFile(uri: string, mode: string, callback: AsyncCallback\<numbe…
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-inner-ability-dataAbilityHelper.md | 25 ## DataAbilityHelper.openFile 27 openFile(uri: string, mode: string, callback: AsyncCallback\<number>): void 54 DAHelper.openFile('dataability:///com.example.DataAbility', mode, (error, data) => { 56 console.error(`openFile fail, error: ${JSON.stringify(error)}`); 58 console.log(`openFile success, data: ${JSON.stringify(data)}`); 63 ## DataAbilityHelper.openFile 65 openFile(uri: string, mode: string): Promise\<number> 97 DAHelper.openFile('dataability:///com.example.DataAbility', mode).then((data) => { 98 console.info(`openFile data: ${JSON.stringify(data)}`);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-fileAccess-sys.md | 888 ### openFile subsection 890 openFile(uri: string, flags: OPENFLAGS) : Promise<number> 928 let fd = await fileAccessHelper.openFile(targetUri, fileAccess.OPENFLAGS.READ); 932 console.error("openFile failed, errCode:" + error.code + ", errMessage:" + error.message); 937 ### openFile subsection 939 openFile(uri: string, flags: OPENFLAGS, callback: AsyncCallback<number>) : void 971 …fileAccessHelper.openFile(targetUri, fileAccess.OPENFLAGS.READ, (err: BusinessError, fd: number) =… 973 … console.error("Failed to openFile in async, errCode:" + err.code + ", errMessage:" + err.message); 975 console.log("openFile sucess, fd: " + fd); 980 console.error("openFile failed, errCode:" + error.code + ", errMessage:" + error.message);
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_security_manager.cpp | 644 RdbSecurityManager::KeyFiles::KeyFiles(const std::string &dbPath, bool openFile) in KeyFiles() argument 655 if (!openFile) { in KeyFiles()
|