/base/security/asset/test/unittest/inner_kits_rust/src/ |
H A D | remove_abnormal.rs | 23 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwrap_err()); in remove_invalid_alias() 26 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwrap_err()); in remove_invalid_alias() 34 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwrap_err()); in remove_invalid_accessibility() 41 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwrap_err()); in remove_invalid_auth_type() 44 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwrap_err()); in remove_invalid_auth_type() 52 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwrap_err()); in remove_invalid_sync_type() 61 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwrap_err()); in remove_invalid_label() 64 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwrap_err()); in remove_invalid_label() 74 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwrap_err()); in remove_bool_tag_with_unmatched_type() 77 expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove( in remove_bool_tag_with_unmatched_type() [all...] |
H A D | remove.rs | 28 expect_error_eq(ErrCode::NotFound, asset_sdk::Manager::build().unwrap().remove(&delete_condition).unwrap_err()); in remove_condition_non_exist() 42 condition.remove(&Tag::Alias); in remove_condition_exist_and_query() 43 condition.remove(&Tag::Secret); in remove_condition_exist_and_query() 44 asset_sdk::Manager::build().unwrap().remove(&condition).unwrap(); in remove_condition_exist_and_query()
|
H A D | main.rs | 27 mod remove; modules
|
/base/startup/init/test/unittest/fs_manager/erofs/ |
H A D | erofs_common_unittest.cpp | 38 remove(BOOT_CMD_LINE);
in HWTEST_F() 44 remove(BOOT_CMD_LINE);
in HWTEST_F() 50 remove(BOOT_CMD_LINE);
in HWTEST_F() 56 int ret2 = remove(BOOT_CMD_LINE);
in HWTEST_F() 78 remove(fileName);
in HWTEST_F() 100 remove(fileName);
in HWTEST_F()
|
/base/request/request/request_utils/src/ |
H A D | queue_map.rs | 34 if !self.removed.remove(&n) { in pop_front() 35 let ret = self.map.remove(&n); in pop_front() 44 self.removed.remove(&n); in push_back() 53 pub fn remove(&mut self, n: &N) -> Option<T> { in remove() functions 54 if let Some(t) = self.map.remove(n) { in remove() 87 map.remove(&1); in ut_queue_map_remove() 88 map.remove(&2); in ut_queue_map_remove() 89 map.remove(&3); in ut_queue_map_remove()
|
/base/startup/appspawn/test/unittest/hnp_test/ |
H A D | hnp_pack_test.cpp | 86 remove("./hnp_out/sample.hnp");
in HWTEST_F() 88 remove("hnp_sample/hnp.json");
in HWTEST_F() 123 EXPECT_EQ(remove("./hnp_out/sample.hnp"), 0);
in HWTEST_F() 165 EXPECT_EQ(remove("./hnp_sample/hnp.json"), 0);
in HWTEST_F() 215 EXPECT_EQ(remove("./hnp_sample/hnp.json"), 0);
in HWTEST_F() 275 EXPECT_EQ(remove("./hnp_sample/hnp.json"), 0);
in HWTEST_F() 328 EXPECT_EQ(remove("./hnp_sample/a.out"), 0);
in HWTEST_F() 329 EXPECT_EQ(remove("./hnp_out/sample.hnp"), 0);
in HWTEST_F() 332 EXPECT_EQ(remove("./hnp_sample/hnp.json"), 0);
in HWTEST_F() 368 EXPECT_EQ(remove(" in HWTEST_F() [all...] |
H A D | hnp_installer_test.cpp | 253 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); in HnpUnInstall() 271 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); in HWTEST_F() 305 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); in HWTEST_F() 368 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); in HWTEST_F() 409 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); in HWTEST_F() 424 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); in HWTEST_F() 471 remove("./hnp_out/public/example.zip"); in HWTEST_F() 481 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); in HWTEST_F() 543 remove(HNP_PACKAGE_INFO_JSON_FILE_PATH); in HWTEST_F() 587 remove(HNP_PACKAGE_INFO_JSON_FILE_PAT in HWTEST_F() [all...] |
/base/update/packaging_tools/test/ |
H A D | test_utils.py | 56 os.remove(target_package) 69 os.remove(target_package) 71 os.remove('test.file') 94 os.remove("./updater_specified_config_repeats.xml") 126 os.remove(VERSION_MBN_PATH) 142 os.remove(VERSION_MBN_PATH) 144 os.remove(BOARD_LIST_PATH) 159 os.remove("./partition_file_conversion_failed.xml")
|
H A D | test_update_package.py | 124 os.remove(VERSION_MBN_PATH)
126 os.remove(BOARD_LIST_PATH)
158 os.remove(package_path)
|
H A D | create_package_data.py | 198 os.remove("./%s.zip" % package_name)
200 os.remove("./partition_file.xml")
202 os.remove("./rsa_private_key2048.pem")
|
/base/startup/init/test/unittest/fs_manager/ |
H A D | libfs_hvb_unittest.cpp | 69 remove(BOOT_CMD_LINE); in HWTEST_F() 77 remove(BOOT_CMD_LINE); in HWTEST_F() 99 remove(BOOT_CMD_LINE); in HWTEST_F() 137 remove(BOOT_CMD_LINE); in HWTEST_F()
|
/base/request/request/services/src/service/command/ |
H A D | mod.rs | 21 mod remove; modules
|
H A D | remove.rs | 24 pub(crate) fn remove(&self, data: &mut MsgParcel, reply: &mut MsgParcel) -> IpcResult<()> { 27 error!("Service remove: no INTERNET permission"); 33 info!("Service remove tid {}", task_id); 37 "End Service remove, tid: {}, failed: task_id not valid", 51 let (event, rx) = TaskManagerEvent::remove(uid, task_id); 59 "End Service remove, tid: {}, failed: receives ret failed", 68 "End Service remove, tid: {}, failed: {}",
|
/base/security/asset/services/core_service/src/ |
H A D | operations.rs | 30 pub(crate) use operation_remove::remove;
|
/base/hiviewdfx/hitrace/utils/ |
H A D | trace_utils.cpp | 52 HILOG_WARN(LOG_CORE, "RemoveFile :: get file lock failed, skip remove: %{public}s", fileName.c_str()); in RemoveFile() 56 if (remove(fileName.c_str()) == 0) { in RemoveFile() 184 if (remove((TRACE_DEFAULT_DIR + fileList[i].filename).c_str()) == 0) { in DelOldRecordTraceFile() 207 if (remove(fileLists[0].c_str()) == 0) { in ClearOldTraceFile() 227 if (remove(savedEventsFormatPath.c_str()) == 0) { in DelSavedEventsFormat()
|
/base/location/test/location_locator/source/ |
H A D | location_config_manager_test.cpp | 80 remove(GetLocationSwitchConfigPath().c_str()); in HWTEST_F() 106 remove(LocationConfigManager::GetInstance()->GetPrivacyTypeConfigPath(PRIVACY_TYPE_STARTUP).c_str()); in HWTEST_F() 107 remove(LocationConfigManager::GetInstance()->GetPrivacyTypeConfigPath(PRIVACY_TYPE_CORE_LOCATION).c_str()); in HWTEST_F()
|
/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/ |
H A D | hks_storage_file_lock.c | 208 bool remove = false; in Release() local 214 remove = true; in Release() 223 if (remove && iter != NULL) { in Release()
|
/base/request/request/services/src/manage/scheduler/qos/ |
H A D | apps.rs | 67 app.remove(task_id) 108 fn remove(&mut self, task_id: u32) -> bool { in remove() functions 115 self.tasks.remove(i); in remove() 302 app.remove(3); in ut_app_remove() 308 app.remove(1); in ut_app_remove() 313 app.remove(4); in ut_app_remove() 317 app.remove(0); in ut_app_remove()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cm_event_process.c | 53 int32_t ret = remove(filePath); in CmTraversalDirActionCredential() 71 int32_t ret = remove(filePath); in CmTraversalDirActionUserCa() 151 CM_LOG_E("remove file failed when remove authlist files, ret = %d.", ret); in RemoveDir() 157 (void)remove(dirPath); in RemoveDir() 181 if (store == CM_CREDENTIAL_STORE) { /* remove deleted uid from authlist */ in TraversalUidLayerDir() 220 /* remove authList Path */ in CmTraversalUidLayerDir() 224 ret = remove(path); in CmTraversalUidLayerDir() 284 (void)remove(userIdPath); in CmTraversalUserIdLayerDir() 290 /* delete userId directory only in user remove even in CmTraversalUserIdLayerDir() [all...] |
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
H A D | mock_common_event_manager.cpp | 52 subscriberList.remove(subscriber); in UnSubscribeCommonEvent()
|
/base/security/asset/services/core_service/src/operations/ |
H A D | operation_post_query.rs | 41 crypto_manager.lock().unwrap().remove(calling_info, challenge);
|
/base/update/updater/test/fuzztest/readfstabfromfile_fuzzer/ |
H A D | readfstabfromfile_fuzzer.cpp | 45 (void)remove("ReadFstabFromFile.txt"); in FuzzReadFstabFromFile()
|
/base/startup/init/test/unittest/remount/ |
H A D | remount_overlay_unittest.cpp | 99 remove(fileName); in HWTEST_F() 114 remove(fileName); in HWTEST_F()
|
/base/hiviewdfx/hiview/base/include/ |
H A D | event_priority_queue.h | 24 bool remove(uint64_t seq) in remove() function in OHOS::HiviewDFX::EventPriorityQueue
|
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/ |
H A D | string_serializer.cpp | 25 jsonStr.erase(remove(jsonStr.begin(), jsonStr.end(), '\"'), jsonStr.end()); in Deserialize()
|