Home
last modified time | relevance | path

Searched refs:remove (Results 1 - 25 of 129) sorted by relevance

123456

/base/security/asset/test/unittest/inner_kits_rust/src/
H A Dremove_abnormal.rs23 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 Dremove.rs28 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 Dmain.rs27 mod remove; modules
/base/startup/init/test/unittest/fs_manager/erofs/
H A Derofs_common_unittest.cpp38 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 Dqueue_map.rs34 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 Dhnp_pack_test.cpp86 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 Dhnp_installer_test.cpp253 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 Dtest_utils.py56 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 Dtest_update_package.py124 os.remove(VERSION_MBN_PATH)
126 os.remove(BOARD_LIST_PATH)
158 os.remove(package_path)
H A Dcreate_package_data.py198 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 Dlibfs_hvb_unittest.cpp69 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 Dmod.rs21 mod remove; modules
H A Dremove.rs24 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 Doperations.rs30 pub(crate) use operation_remove::remove;
/base/hiviewdfx/hitrace/utils/
H A Dtrace_utils.cpp52 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 Dlocation_config_manager_test.cpp80 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 Dhks_storage_file_lock.c208 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 Dapps.rs67 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 Dcm_event_process.c53 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 Dmock_common_event_manager.cpp52 subscriberList.remove(subscriber); in UnSubscribeCommonEvent()
/base/security/asset/services/core_service/src/operations/
H A Doperation_post_query.rs41 crypto_manager.lock().unwrap().remove(calling_info, challenge);
/base/update/updater/test/fuzztest/readfstabfromfile_fuzzer/
H A Dreadfstabfromfile_fuzzer.cpp45 (void)remove("ReadFstabFromFile.txt"); in FuzzReadFstabFromFile()
/base/startup/init/test/unittest/remount/
H A Dremount_overlay_unittest.cpp99 remove(fileName); in HWTEST_F()
114 remove(fileName); in HWTEST_F()
/base/hiviewdfx/hiview/base/include/
H A Devent_priority_queue.h24 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 Dstring_serializer.cpp25 jsonStr.erase(remove(jsonStr.begin(), jsonStr.end(), '\"'), jsonStr.end()); in Deserialize()

Completed in 11 milliseconds

123456