/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_persistent.cpp | 46 auto persistent = Referenced::MakeRefPtr<JSPersistent>(needCrossThread, fileName); in ConstructorCallback() local 47 persistent->IncRefCount(); in ConstructorCallback() 48 args.SetReturnValue(Referenced::RawPtr(persistent)); in ConstructorCallback() 51 void JSPersistent::DestructorCallback(JSPersistent* persistent) in DestructorCallback() argument 53 if (persistent != nullptr) { in DestructorCallback() 54 persistent->DecRefCount(); in DestructorCallback()
|
/ohos5.0/docs/en/application-dev/file-management/ |
H A D | native-fileshare-guidelines.md | 5 …persistent the authorization](file-persistPermission.md#when-to-use). You can use the **FileShare*… 15 …e_PolicyErrorResult **result, unsigned int *resultNum) | Activates the persistent permissions on f… 16 …PolicyErrorResult **result, unsigned int *resultNum) | Deactivates the persistent permissions on f… 17 …ed int policyNum, bool **result, unsigned int *resultNum) | Checks the persistent permissions on f… 66 2. Call **OH_FileShare_ActivatePermission** to activate the persistent permissions on files. The ma… 80 3. Call **OH_FileShare_DeactivatePermission** to deactivate the persistent permissions on files. Th… 94 4. Call **OH_FileShare_RevokePermission** to revoke the persistent permissions from files. The maxi… 108 5. Call **OH_FileShare_CheckPersistentPermission** to check the persistent permissions on files. Th…
|
H A D | file-persistPermission.md | 64 > - You are advised to save the URI of the file with persistent permission for the related applicat… 65 …, the persistent permission can be used only after being activated. For details, see [Activating a… 72 …le-kit/js-apis-fileShare.md#filesharerevokepermission11) to revoke the persistent permission from … 113 …- You are advised to activate the persistent permissions based on service requirements. Do not act… 122 … time an application is started, its persistent permissions have not been loaded to the memory. To… 166 …- You are advised to activate the persistent permissions based on service requirements. Do not act… 170 For details about how to activate a persistent permission using C/C++ APIs, see [OH_FileShare_Activ…
|
H A D | app-sandbox-directory.md | 52 2. Level 2 directory **storage/**: directory for persistent files of the application. 72 …rectory for the device's files| Directory for saving the application's persistent data on the devi… 75 …persistent files on the device.<br>This directory is cleared when the application is uninstalled.<… 77 …ication is uninstalled. For details about how to make preferences data persistent, see [Persisting…
|
/ohos5.0/docs/en/application-dev/connectivity/wlan/ |
H A D | p2p-development-guide.md | 26 | on(type: 'p2pPersistentGroupChange') | Subscribes to P2P persistent group state changes.| 27 | off(type: 'p2pPersistentGroupChange') | Unsubscribes from P2P persistent group state changes.| 48 // The value -2 means to create a persistent group. The device in the group can be reconnected with… 51 console.info("p2p persistent group change receive event"); 53 // Services to be processed after the persistent group is created. 55 // Create a persistent group, and register a listener callback for the persistent group status chan…
|
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/ |
H A D | file_share.md | 53 …error_result.md) \*\*result, unsigned int \*resultNum) | Activates the persistent permissions on f… 54 …ror_result.md) \*\*result, unsigned int \*resultNum) | Deactivates the persistent permissions on f… 55 …int policyNum, bool \*\*result, unsigned int \*resultNum) | Checks the persistent permissions on f… 166 Activates the persistent permissions on files or folders. 196 Checks the persistent permissions on files or folders. 226 Deactivates the persistent permissions on files or folders.
|
H A D | oh__file__share_8h.md | 52 …error_result.md) \*\*result, unsigned int \*resultNum) | Activates the persistent permissions on f… 53 …ror_result.md) \*\*result, unsigned int \*resultNum) | Deactivates the persistent permissions on f… 54 …int policyNum, bool \*\*result, unsigned int \*resultNum) | Checks the persistent permissions on f…
|
/ohos5.0/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
H A D | wpa_hal_p2p_struct.h | 79 int persistent; // persistent=<network id>] member 127 int persistent; member
|
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/ |
H A D | wifi_hal_p2p_struct.h | 82 int persistent; // persistent=<network id>] member 130 int persistent; member
|
H A D | wifi_hal_p2p_interface.h | 297 WifiErrorNo P2pInvite(int persistent, const char *peerBssid, const char *goBssid, const char *ifnam…
|
H A D | wifi_hal_crpc_p2p.c | 453 ReadInt(context, &info.goIntent) < 0 || ReadInt(context, &info.persistent) < 0 || in RpcP2pConnect() 540 int persistent = 0; in RpcP2pInvite() local 544 if (ReadInt(context, &persistent) < 0 || ReadStr(context, peerBssid, sizeof(peerBssid)) != 0 || in RpcP2pInvite() 548 WifiErrorNo err = P2pInvite(persistent, peerBssid, goBssid, ifName); in RpcP2pInvite()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | kv_types_util.cpp | 118 target->persistent = input.persistent; in Marshalling() 147 output.persistent = source->persistent; in Unmarshalling()
|
/ohos5.0/docs/en/readme/ |
H A D | app-access-control.md | 17 **Sandbox_manager** module: implements persistent management on rules for file sharing between sand… 34 - APIs for enabling and disabling persistent rules for system applications (to be available).
|
/ohos5.0/docs/en/application-dev/database/ |
H A D | data-persistence-by-preferences.md | 15 The preference persistent file of an application is stored in the application sandbox. You can use … 47 …rom memory. If the **Preferences** instance has a persistent file, this API also deletes the persi… 185 …tance from the memory. If the **Preferences** instance has a persistent file, the persistent file …
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/ |
H A D | README.md | 15 …hem for the bundle management sub-module to manage and make the information persistent for storage. 20 …odule** manages information related to application bundles and stores persistent bundle informati…
|
/ohos5.0/docs/en/application-dev/faqs/ |
H A D | faqs-distributed-data-management.md | 35 ## How do I persistent application data? (API version 9) 39 …nce. You can link the persistent data with specific tags to **AppStorage**, and invoke **AppStorag…
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-emitter.md | 3 …ocess. You can use the APIs of this module to subscribe to an event in persistent or one-shot mann… 23 Subscribes to an event in persistent manner and executes a callback after the event is received. 33 | event | [InnerEvent](#innerevent) | Yes | Event to subscribe to in persistent manne… 53 Subscribes to an event in persistent manner and executes a callback after the event is received. 63 | eventId | string | Yes | Event to subscribe to in persistent man… 79 Subscribes to an event in persistent manner and executes a callback after the event is received. 89 | eventId | string | Yes | Event to subscribe to in persistent man…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.9.5/ |
H A D | changelogs-wifiManager.md | 83 …PersistentGroup(netId: number): **void**; | Deletes the persistent P2P group with a… 99 …sistentP2pGroup(netId: number): **void**; | Deletes the persistent P2P group with a…
|
/ohos5.0/docs/en/application-dev/security/AccessToken/ |
H A D | permissions-for-all.md | 302 Allows an application to store persistent data. The persistent data will be cleared only when the d… 354 Allows an application to support persistent access to file URIs.
|
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-preferences.md | 412 …stance from the cache. If the **Preferences** instance has a persistent file, the persistent file … 485 …stance from the cache. If the **Preferences** instance has a persistent file, the persistent file … 561 …stance from the cache. If the **Preferences** instance has a persistent file, the persistent file … 640 …stance from the cache. If the **Preferences** instance has a persistent file, the persistent file … 724 …e persistent file. After this API is called to remove the instance from the cache, calling **getPr… 795 …e persistent file. After this API is called to remove the instance from the cache, calling **getPr… 869 …e persistent file. After this API is called to remove the instance from the cache, calling **getPr… 924 …e persistent file. After this API is called to remove the instance from the cache, calling **getPr… 1805 Flushes the data in this **Preferences** instance to the persistent file. This API uses an asynchro… 1845 Flushes the data in this **Preferences** instance to the persistent file. This API uses a promise t… [all …]
|
H A D | errorcode-preferences.md | 18 The persistent file fails to be read or written.
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-ability-wantConstant-sys.md | 25 …LE_URI_PERMISSION | 0x00000040 | Grants the permission to make the URI persistent.<br>**System API…
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_manager.cpp | 41 if (isCreate && options.persistent) { in GetKVStore()
|
/ohos5.0/docs/en/application-dev/web/ |
H A D | web-download.md | 154 … download task to a persistent file. After the application is restarted, the **recovery** button c… 213 // Save the downloaded data to a persistent file.
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_distributed/src/devices_info_interact/ |
H A D | devices_info_interact.cpp | 55 .persistent = true, in Init()
|