Home
last modified time | relevance | path

Searched refs:database (Results 1 – 25 of 416) sorted by relevance

12345678910>>...17

/ohos5.0/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Dbundle_active_usage_database_test.cpp70 EXPECT_NE(database, nullptr);
87 EXPECT_NE(database, nullptr);
103 EXPECT_NE(database, nullptr);
116 database->CheckDatabaseVersion();
117 EXPECT_NE(database, nullptr);
130 database->GetOldDbVersion();
131 EXPECT_NE(database, nullptr);
167 EXPECT_NE(database, nullptr);
182 EXPECT_NE(database, nullptr);
200 EXPECT_NE(database, nullptr);
[all …]
H A Ddevice_usage_statistics_service_test.cpp383 EXPECT_NE(database, nullptr);
402 EXPECT_NE(database, nullptr);
418 EXPECT_NE(database, nullptr);
434 EXPECT_NE(database, nullptr);
450 EXPECT_NE(database, nullptr);
466 EXPECT_NE(database, nullptr);
481 EXPECT_NE(database, nullptr);
502 EXPECT_NE(database, nullptr);
517 EXPECT_NE(database, nullptr);
534 EXPECT_NE(database, nullptr);
[all …]
H A Ddevice_usage_statistics_mock_test.cpp385 database->HandleTableInfo(databaseType);
390 database->GetBundleHistoryData(userId);
392 database->GetDurationData();
404 database->LoadModuleData(userId, moduleRecords);
406 database->LoadFormData(userId, moduleRecords);
427 database->DeleteInvalidTable(databaseType, 0);
428 database->CreateEventLogTable(databaseType, 0);
432 database->CreateDurationTable(databaseType);
444 database->FlushPackageInfo(databaseType, stats);
445 database->FlushEventInfo(databaseType, stats);
[all …]
/ohos5.0/docs/en/application-dev/database/
H A Ddata-reliability-security-overview.md5database fault may be caused by storage corruption, insufficient storage space, lack of file syste…
13database: The database in the **el5/** directory stores sensitive user information. To protect the…
15 …ion, the backup database is stored in the application sandbox. When the storage space is insuffici…
25 - Database backup: A full backup is performed for OpenHarmony database files.
26 The related API is called to perform the backup, without closing the database.
28 …re: Database data can be restored from a database backup file. After the data restore is complete,…
33 The entire database file can be encrypted to enhance database security.
48 …he data of a database is backed up to the specified file. Subsequent operations on the database do…
52 - RDB store backup directory: **/data/app/el1(el2)/100/database/...{bundlename}/rdb**
57database, you do not need to pass in the key for encryption. The only thing you need to do is set …
[all …]
H A Ddata-encryption.md6 OpenHarmony provides the database encryption capability to effectively protect the data stored in a…
8database can be accessed only using an API, and the database file cannot be opened in other ways. …
10 Both KV stores and RDB stores support database encryption. For RDB stores, you can custom the encry…
78 If **cryptoParam** is not set, the default configuration is used for database encryption and decryp…
101 If **cryptoParam** is set, the specified key and algorithm are used for database encryption and dec…
116 …ncrypted database. If this parameter is not specified, the database generates and saves the key an…
145 …you want to customize the encryption configuration or open an encrypted database that is not confi…
/ohos5.0/base/request/request/services/src/manage/scheduler/
H A Dmod.rs28 use crate::manage::database::RequestDb;
121 let database = RequestDb::get_instance(); in start_inner() localVariable
150 let qos_info = database in start_inner()
159 let database = RequestDb::get_instance(); in pause_task() localVariable
173 let database = RequestDb::get_instance(); in remove_task() localVariable
175 let info = database in remove_task()
188 let database = RequestDb::get_instance(); in stop_task() localVariable
201 let database = RequestDb::get_instance(); in task_completed() localVariable
228 let database = RequestDb::get_instance(); in task_cancel() localVariable
391 let config = database in check_config_satisfy()
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Djs-apis-data-relationalStore.md63 | 14800010 | Invalid database path. |
74 | 14800029 | SQLite: The database is full. |
170 | 14800010 | Invalid database path. |
181 | 14800029 | SQLite: The database is full. |
261 | 14800010 | Failed to open or delete database by invalid database path. |
408 | 14800010 | Failed to open or delete database by invalid database path. |
498 | 14800010 | Invalid database path. |
2154 | 14800029 | SQLite: The database is full. |
2205 | 14800029 | SQLite: The database is full. |
2288 | 14800029 | SQLite: The database is full. |
[all …]
H A Djs-apis-data-relationalStore-sys.md108 | 14800015 | The database does not respond. |
117 | 14800029 | SQLite: The database is full. |
206 | 14800015 | The database does not respond. |
215 | 14800029 | SQLite: The database is full. |
297 | 14800015 | The database does not respond. |
306 | 14800029 | SQLite: The database is full. |
368 | 14800015 | The database does not respond. |
377 | 14800029 | SQLite: The database is full. |
432 | 14800015 | The database does not respond. |
493 | 14800015 | The database does not respond. |
[all …]
H A Derrorcode-data-rdb.md36 Invalid database path.
66 如果可以接受数据库数据丢失,则可尝试删除数据库后重新创建。否则,需要备份数据库以便恢复。具体操作可参考[数据库备份与恢复](../../database/data-backup-and-restor…
131 The database does not respond.
150 The database alias already exists.
304 SQLite: The database file is locked.
324 SQLite: A table in the database is locked.
347 SQLite: The database is out of memory.
365 SQLite: Attempt to write a readonly database.
412 SQLite: The database is full.
430 SQLite: Unable to open the database file.
/ohos5.0/foundation/distributeddatamgr/datamgr_service/
H A DREADME.md58 - DDS supports the KV data model, but not foreign keys or triggers of the relational database.
74 …KV is short for key-value. The KV database is a type of NoSQL database. Data in this type of datab…
76database. The KV data model is widely used in distributed scenarios because it handles conflict mo…
78 - **Distributed database transactions**
82 - **Distributed database consistency**
92 - **Distributed database synchronization**
106 - **Conflict resolution policy for the distributed database**
110 - **Schema-based database management and data query based on predicates**
112 …chema. The database detects the value format of key-value pairs based on the schema and checks the…
114 - **Distributed database backup capability**
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A Derrorcode-data-rdb.md36 Invalid database path.
131 The database does not respond.
150 The database is already attached.
285 SQLite: The database file is locked.
289 The SQLite database file is locked.
309 An SQLite database table is locked.
321 4. Check that the database connection instance is closed after the database operation is complete.
332 The database memory is insufficient.
393 SQLite: The database is full.
397 The SQLite database is full.
[all …]
H A Djs-apis-data-relationalStore.md62 | 14800010 | Invalid database path. |
72 | 14800029 | SQLite: The database is full. |
168 | 14800010 | Invalid database path. |
176 | 14800029 | SQLite: The database is full. |
256 | 14800010 | Failed to open or delete database by invalid database path. |
403 | 14800010 | Failed to open or delete database by invalid database path. |
493 | 14800010 | Invalid database path. |
2127 | 14800029 | SQLite: The database is full. |
2178 | 14800029 | SQLite: The database is full. |
2261 | 14800029 | SQLite: The database is full. |
[all …]
H A Djs-apis-data-relationalStore-sys.md108 | 14800015 | The database does not respond. |
117 | 14800029 | SQLite: The database is full. |
206 | 14800015 | The database does not respond. |
215 | 14800029 | SQLite: The database is full. |
297 | 14800015 | The database does not respond. |
306 | 14800029 | SQLite: The database is full. |
368 | 14800015 | The database does not respond. |
377 | 14800029 | SQLite: The database is full. |
432 | 14800015 | The database does not respond. |
1009 | 14800010 | Invalid database path. |
[all …]
H A D_rdb___statistic.md6 Defines a struct for the device-cloud sync statistics of a database table.
20 …tal) | Total number of rows to be synchronized between the device and cloud in the database table.|
21 …ber of rows that are successfully synchronized between the device and cloud in the database table.|
22 … Number of rows that failed to be synchronized between the device and cloud in the database table.|
23 …b.md#remained) | Number of rows that are not executed for device-cloud sync in the database table.|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/
H A Ddistributed_data.cfg5 "mkdir /data/service/el1/public/database 0711 ddms ddms",
6 "mkdir /data/service/el1/public/database/distributeddata 02770 ddms ddms",
7 "mkdir /data/service/el1/public/database/distributeddata/meta 02770 ddms ddms",
8 "mkdir /data/service/el1/public/database/distributeddata/meta/backup 02770 ddms ddms",
9 "mkdir /data/service/el1/public/database/distributeddata/kvdb 02770 ddms ddms",
10 "syncexec /system/bin/chmod 0711 /data/service/el1/public/database",
11 … "syncexec /system/bin/chown -R ddms:ddms /data/service/el1/public/database/distributeddata/meta",
12 … "syncexec /system/bin/chmod -R 2770 /data/service/el1/public/database/distributeddata/meta"
/ohos5.0/base/accesscontrol/sandbox_manager/test/fuzztest/services/sandbox_manager/
H A Dsandbox_manager_service_fuzz.gni20 "${sandbox_manager_path}/services/common/database/include",
21 "${sandbox_manager_path}/services/sandbox_manager/main/cpp/include/database",
30 "${sandbox_manager_path}/services/common/database/src/generic_values.cpp",
31 "${sandbox_manager_path}/services/common/database/src/sqlite_helper.cpp",
32 "${sandbox_manager_path}/services/common/database/src/statement.cpp",
33 "${sandbox_manager_path}/services/common/database/src/variant_value.cpp",
34 "${sandbox_manager_path}/services/sandbox_manager/main/cpp/src/database/policy_field_const.cpp",
35 "${sandbox_manager_path}/services/sandbox_manager/main/cpp/src/database/sandbox_manager_rdb.cpp",
36 …"${sandbox_manager_path}/services/sandbox_manager/main/cpp/src/database/sandbox_manager_rdb_open_c…
37 …"${sandbox_manager_path}/services/sandbox_manager/main/cpp/src/database/sandbox_manager_rdb_utils.…
/ohos5.0/drivers/peripheral/pin_auth/test/unittest/pin_auth/
H A DBUILD.gn32 "database/inc",
37 "../../../hdi_service/database/inc",
49 "database/src/pin_db_ops_base_test.cpp",
50 "database/src/pin_db_ops_test.cpp",
51 "database/src/pin_db_ops_v0_test.cpp",
52 "database/src/pin_db_ops_v1_test.cpp",
53 "database/src/pin_db_test.cpp",
/ohos5.0/docs/zh-cn/application-dev/file-management/
H A Dapp-sandbox-directory.md69 …| database | databaseDir | 数据库路径 | 应用在el2加密条件下存放通过分布式数据库服务操作的文件目录;随应用卸载而清理。<br>仅用于保存应用的私有数据库数据,主要包…
73 …选项文件路径 | 应用在本设备内部存储上通过数据库API存储配置类或首选项的目录;随应用卸载而清理。详见[通过用户首选项实现数据持久化](../database/data-persistence-…
87database | 应用el1级别加密数据库目录:<br> - 非独立沙箱运行的应用:/data/app/el1/&lt;USERID&gt;/database/&lt;PACKAGENAME&…
88database | 应用el2级别加密数据库目录:<br> - 非独立沙箱运行的应用:/data/app/el2/&lt;USERID&gt;/database/&lt;PACKAGENAME&…
/ohos5.0/base/security/access_token/services/common/database/test/
H A DBUILD.gn32 "${access_token_path}/services/common/database/include",
35 "${access_token_path}/services/accesstokenmanager/main/cpp/include/database",
42 "${access_token_path}/services/accesstokenmanager/main/cpp/src/database/access_token_db.cpp",
43 … "${access_token_path}/services/accesstokenmanager/main/cpp/src/database/access_token_db_util.cpp",
44 …"${access_token_path}/services/accesstokenmanager/main/cpp/src/database/access_token_open_callback…
45 "${access_token_path}/services/accesstokenmanager/main/cpp/src/database/data_translator.cpp",
46 "${access_token_path}/services/accesstokenmanager/main/cpp/src/database/token_field_const.cpp",
/ohos5.0/foundation/systemabilitymgr/safwk/etc/profile/
H A Dfoundation.cfg8 "mkdir /data/storage/el2/database 0711 system system",
10 "mkdir /data/service/el1/public/database 0711 ddms ddms",
11 … "mkdir /data/service/el1/public/database/bundle_manager_service 02770 foundation ddms",
12 … "mkdir /data/service/el1/public/database/notification_service 02770 foundation ddms",
13 "mkdir /data/service/el1/public/database/form_storage 02770 foundation ddms",
15 … "mkdir /data/service/el1/public/database/common_event_service 02770 foundation ddms",
16 … "mkdir /data/service/el1/public/database/auto_startup_service 02770 foundation ddms",
17 "mkdir /data/service/el1/public/database/app_config_data 02770 foundation ddms",
18 "mkdir /data/service/el1/public/database/app_exit_reason 02770 foundation ddms",
20 … "mkdir /data/service/el1/public/database/ability_manager_service 02770 foundation ddms",
/ohos5.0/docs/en/application-dev/application-models/
H A Ddataability-lifecycle.md11 …tyInfo): void | Called during ability initialization to initialize the relational database (RDB).|
12 …taAbilityPredicates, callback: AsyncCallback&lt;number&gt;): void | Updates data in the database.|
13 …bilityPredicates, callback: AsyncCallback&lt;ResultSet&gt;): void | Queries data in the database.|
14 …allback: AsyncCallback&lt;number&gt;): void | Deletes one or more data records from the database.|
16 …, callback: AsyncCallback&lt;number&gt;): void | Inserts multiple data records into the database.|
18 …esBucket, callback: AsyncCallback&lt;number&gt;): void | Inserts a data record into the database.|
22 …Callback&lt;Array&lt;DataAbilityResult&gt;&gt;): void | Operates data in the database in batches.|
/ohos5.0/docs/en/application-dev/arkts-utils/
H A Dbatch-database-operations-guide.md5 In scenarios where frequent database operations are required, it is time-consuming to read and writ…
9 1. Create multiple subtasks and supports operations such as database creation, insertion, query, an…
25 // The default database file path is context.databaseDir + rdb + StoreConfig.name.
47 // The default database file path is context.databaseDir + rdb + StoreConfig.name.
62 // The default database file path is context.databaseDir + rdb + StoreConfig.name.
87 // The default database file path is context.databaseDir + rdb + StoreConfig.name.
144database data across threads. When the data volume is large, the UI main thread is still occupied.…
188 // The default database file path is context.databaseDir + rdb + StoreConfig.name.
210 // The default database file path is context.databaseDir + rdb + StoreConfig.name.
225 // The default database file path is context.databaseDir + rdb + StoreConfig.name.
[all …]
/ohos5.0/base/accesscontrol/sandbox_manager/services/common/
H A DBUILD.gn31 "database/include",
35 "database/src/generic_values.cpp",
36 "database/src/sqlite_helper.cpp",
37 "database/src/statement.cpp",
38 "database/src/variant_value.cpp",
/ohos5.0/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/common_fuzzer/
H A DBUILD.gn23 "../../../../hdi_service/database/inc",
37 "../../../../hdi_service/database/src/pin_db.c",
38 "../../../../hdi_service/database/src/pin_db_ops.c",
39 "../../../../hdi_service/database/src/pin_db_ops_base.c",
40 "../../../../hdi_service/database/src/pin_db_ops_v0.c",
41 "../../../../hdi_service/database/src/pin_db_ops_v1.c",
/ohos5.0/base/accesscontrol/sandbox_manager/services/sandbox_manager/
H A DBUILD.gn47 "${sandbox_manager_path}/services/common/database/include",
50 "main/cpp/include/database",
55 "main/cpp/src/database/policy_field_const.cpp",
56 "main/cpp/src/database/sandbox_manager_rdb.cpp",
57 "main/cpp/src/database/sandbox_manager_rdb_open_callback.cpp",
58 "main/cpp/src/database/sandbox_manager_rdb_utils.cpp",

12345678910>>...17