/base/request/request/services/service/request/src/service/command/ |
D | remove.rs | 22 pub(crate) struct Remove; struct 24 impl Remove { implementation 29 info!("Service remove"); in execute() 32 error!("Service remove: no INTERNET permission"); in execute() 38 debug!("Service remove: task_id is {}", id); in execute() 41 debug!("Service remove: u32 task_id is {}", id); in execute() 43 debug!("Service remove: uid is {}", uid); in execute() 44 let (event, rx) = EventMessage::remove(uid, id); in execute() 51 error!("Service remove: receives ret failed"); in execute() 57 error!("Service remove: remove failed for ret is {}", ret as i32); in execute() [all …]
|
D | mod.rs | 22 mod remove; module 38 pub(crate) use remove::Remove;
|
/base/security/asset/test/unittest/inner_api_rust/src/ |
D | remove_abnormal.rs | 23 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_alias() 26 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_alias() 34 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_accessibility() 41 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_auth_type() 44 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_auth_type() 52 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_sync_type() 61 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_label() 64 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_invalid_label() 74 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_bool_tag_with_unmatched_type() 77 …expect_error_eq(ErrCode::InvalidArgument, asset_sdk::Manager::build().unwrap().remove(&query).unwr… in remove_bool_tag_with_unmatched_type() [all …]
|
D | remove.rs | 28 …expect_error_eq(ErrCode::NotFound, asset_sdk::Manager::build().unwrap().remove(&delete_condition).… 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()
|
/base/msdp/device_status/rust/subsystem/input/sys/src/interaction/ |
D | input_manager.rs | 73 /// Call the RemoveInputEventFilter interface of the input subsystem to remove filter. 75 // SAFETY: Remove input event filter. in remove_input_event_filter() 78 error!(LOG_LABEL, "Failed to remove input event filter"); in remove_input_event_filter() 85 /// Call the RemoveMonitor interface of the input subsystem to remove monitor. 87 // SAFETY: Remove monitor. in remove_monitor() 93 /// Call the RemoveInterceptor interface of the input subsystem to remove Interceptor. 95 // SAFETY: Remove interceptor. in remove_interceptor() 103 // SAFETY: Remove monitor. in set_pointer_location()
|
/base/notification/eventhandler/interfaces/inner_api/ |
D | event_queue.h | 79 * Remove events if its owner is invalid. 84 * Remove all events. 89 * Remove events with specified requirements. 93 void Remove(const std::shared_ptr<EventHandler> &owner); 96 * Remove events with specified requirements. 99 * @param innerEventId Remove events by event id. 101 void Remove(const std::shared_ptr<EventHandler> &owner, uint32_t innerEventId); 104 * Remove events with specified requirements. 107 * @param innerEventId Remove events by event id. 108 * @param param Remove events by value of param. [all …]
|
/base/notification/eventhandler/frameworks/test/moduletest/ |
D | event_handler_set_get_remove_module_test.cpp | 261 * @tc.desc: Remove all events 283 * @tc.steps: step2. Remove all events, and run the runner. 284 * @tc.expected: step2. Remove successfully and no event run. 296 * @tc.desc: Remove all events without runner 303 * @tc.steps: step1. Remove all events without runner. 304 * @tc.expected: step1. Remove failed. 314 * @tc.desc: Remove an event by eventId 328 * @tc.steps: step2. Remove the event by eventId. 329 * @tc.expected: step2. Remove successfully and removed event not run. 340 * @tc.desc: Remove an event by eventId without runner [all …]
|
/base/update/packaging_tools/test/ |
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")
|
/base/request/request/services/service/request/src/manager/events/ |
D | remove.rs | 21 pub(crate) fn remove(&mut self, uid: u64, task_id: u32) -> ErrorCode { in remove() method 26 "TaskManager remove a task, uid:{}, task_id:{} success", in remove() 32 …error!("TaskManager remove a task, task_id:{} exist, but not found in app_task_map, uid:{}", task_… in remove() 35 "TaskManager remove a task, uid:{}, task_id:{} not exist", in remove()
|
/base/request/request/services/service/request/src/manager/ |
D | qos.rs | 115 self.cases.remove(i); in remove_by_id() 211 pub(crate) fn remove(&mut self, uid: u64, task_id: u32) -> Vec<QosChange> { in remove() method 212 if !self.tasks.remove(&task_id) { in remove() 213 debug!("Qos remove task_id:{} that not exist", task_id); in remove() 219 info!("Qos remove {:?} task {} uid {}", state, task_id, uid); in remove() 227 self.foreground_low_qos_cases.remove(&uid); in remove() 233 self.app_high_qos_count.remove(&uid); in remove() 234 self.app_state_map.remove(&uid); in remove() 244 self.background_low_qos_cases.remove(&uid); in remove() 250 self.app_high_qos_count.remove(&uid); in remove() [all …]
|
/base/location/test/location_locator/source/ |
D | work_record_test.cpp | 60 EXPECT_EQ(false, emptyWorkrecord->Remove("emptyRecord")); 61 EXPECT_EQ(false, emptyWorkrecord->Remove(SYSTEM_UID, 0, "emptyRecord", "10000")); 74 EXPECT_EQ(false, workrecord->Remove("WrongName")); 76 EXPECT_EQ(true, workrecord->Remove("name")); 77 EXPECT_EQ(0, workrecord->Size()); // remove successfully 81 EXPECT_EQ(false, workrecord->Remove(SYSTEM_UID, 0, "WrongName", "0")); 83 EXPECT_EQ(false, workrecord->Remove(999, 0, "name", "0")); 85 EXPECT_EQ(false, workrecord->Remove(999, 0, "WrongName", "0")); 87 EXPECT_EQ(false, workrecord->Remove(999, 1, "name", "0")); 89 EXPECT_EQ(false, workrecord->Remove(999, 1, "WrongName", "0")); [all …]
|
/base/request/request/ |
D | README.md | 86 …lete' l 'pause' l 'remove', callback:() => void): void | Enables listening for download states: **… 89 …ete' l 'pause' l 'remove', callback?:() => void): void | Disables listening for download states: *… 91 | remove(): Promise\<boolean> | Removes this download task. This A… 92 | remove(callback: AsyncCallback\<boolean>): void | Removes this download task. This A… 140 | remove(): Promise\<boolean> | Removes this upload task. This API… 141 | remove(callback: AsyncCallback\<boolean>): void | Removes this upload task. This API… 263 5. Enable listening for the remove event. 266 // Enable listening for the remove event and obtain the result using a callback. 267 downloadTask.on('remove', () => { 315 // Disable listening for the remove event and obtain the result using a callback. [all …]
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cm_event_process.c | 52 int32_t ret = remove(filePath); in CmTraversalDirActionCredential() 70 int32_t ret = remove(filePath); in CmTraversalDirActionUserCa() 150 CM_LOG_E("remove file failed when remove authlist files, ret = %d.", ret); in RemoveDir() 156 (void)remove(dirPath); in RemoveDir() 180 if (store == CM_CREDENTIAL_STORE) { /* remove deleted uid from authlist */ in TraversalUidLayerDir() 219 /* remove authList Path */ in CmTraversalUidLayerDir() 223 ret = remove(path); in CmTraversalUidLayerDir() 278 (void)remove(userIdPath); in CmTraversalUserIdLayerDir() 284 /* delete userId directory only in user remove event */ in CmTraversalUserIdLayerDir() 286 ret = remove(path); in CmTraversalUserIdLayerDir() [all …]
|
D | cert_manager.c | 205 …CM_LOG_E("delete auth info failed when remove app certificate."); /* ignore ret code, only record … in CmRemoveAppCert() 334 CM_LOG_E("App cert %u remove faild", i); in CmRemoveSpecifiedAppCert() 347 CM_LOG_E("App key %u remove failed ret: %d", i, retCode); in CmRemoveSpecifiedAppCert() 364 CM_LOG_E("remove app cert: caller is not system app"); in CmRemoveAllAppCert() 369 /* remove pubic credential app cert */ in CmRemoveAllAppCert() 372 CM_LOG_E("remove pubic credential app cert faild"); in CmRemoveAllAppCert() 375 /* remove private credential app cert */ in CmRemoveAllAppCert() 378 CM_LOG_E("remove private credential app cert faild"); in CmRemoveAllAppCert() 562 CM_LOG_E("User Cert remove config and bakeup file failed, ret: %d", ret); in CmBakeupRemove() 585 CM_LOG_E("User Cert %u remove config and bakeup file failed, ret: %d", i, ret); in RemoveAllUserCert() [all …]
|
/base/telephony/state_registry/interfaces/innerkits/observer/ |
D | telephony_observer_client.h | 38 * @return Return 0 if add succeed, others if remove failed. 44 * @brief Remove state observer. 48 * @return Return 0 if remove successful, others if remove failed.
|
/base/hiviewdfx/hiview/base/logstore/include/ |
D | log_store_ex.h | 40 // 2. remove old logs in specific rule 55 // Remove all log files in managed folder 58 // remove file according to the size and file count quota 62 // remove filtered files if the number of files exceeds maximum count
|
/base/request/request/services/service/request/src/service/notify/ |
D | mod.rs | 63 Remove, enumerator 75 Self::Remove => "remove", in as_str() 91 "remove" => Ok(Self::Remove), in try_from()
|
/base/security/device_auth/frameworks/deviceauth_lite/source/auth_info/ |
D | remove_auth_info.c | 43 LOGE("Parse remove request failed, error code is %d", ret); in send_remove_response() 48 LOGE("Build remove response failed, error code is %d", ret); in send_remove_response() 57 DBG_OUT("Send remove response success"); in send_remove_response() 82 LOGE("Decrypt remove request payload failed"); in parse_remove_request_data() 89 LOGE("Get field from remove request message failed, error code is %d", ret); in parse_remove_request_data() 110 LOGE("Encrypt remove response failed, error code is %d", ret); in build_remove_response_data()
|
/base/notification/eventhandler/test/fuzztest/eventqueueannex_fuzzer/ |
D | eventqueueannex_fuzzer.cpp | 59 eventQueue.Remove(myHandler); in DoSomethingInterestingWithMyAPI() 60 eventQueue.Remove(myHandler, innerEventId); in DoSomethingInterestingWithMyAPI() 61 eventQueue.Remove(myHandler, innerEventId, param); in DoSomethingInterestingWithMyAPI() 62 eventQueue.Remove(myHandler, stringData); in DoSomethingInterestingWithMyAPI()
|
/base/security/asset/services/crypto_manager/src/ |
D | crypto_manager.rs | 65 /// Remove the crypto from manager. 66 pub fn remove(&mut self, calling_info: &CallingInfo, challenge: &Vec<u8>) { in remove() method 72 /// Remove the crypto by calling info. 77 /// Remove cryptos that required device to be unlocked.
|
/base/notification/distributed_notification_service/services/distributed/include/ |
D | distributed_preferences.h | 69 * @brief Remove the setting of whether the application supports distributed notification. 72 * @return Returns remove the setting result. 77 * @brief Remove all distributed enabled setting info from DB. 79 * @return Returns remove the setting result.
|
D | distributed_notification_manager.h | 78 …param bundleName Indicates the bundle name of the application whose notifications are to be remove. 80 * @param id Indicates the bundle uid of the application whose notifications are to be remove. 81 * @return ErrCode Returns the remove result. 89 …param bundleName Indicates the bundle name of the application whose notifications are to be remove. 91 * @param id Indicates the bundle uid of the application whose notifications are to be remove. 92 * @return ErrCode Returns the remove result.
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cleaner/ |
D | app_event_log_cleaner.cpp | 53 HiLog::Error(LABEL, "failed to remove the log file, errno=%{public}d", errno); in ClearSpace() 68 HiLog::Warn(LABEL, "failed to remove the log file=%{public}s", file.c_str()); in ClearData() 70 HiLog::Info(LABEL, "succ to remove the log file=%{public}s", file.c_str()); in ClearData()
|
/base/security/selinux_adapter/scripts/selinux_check/ |
D | check_data_regex.py | 29 # remove all escape 36 # remove all escape 63 "2. Modify '{}' to remove the regular expression\n".format(path))
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_remove_grant_test.cpp | 225 * @tc.desc: Test CmRemoveGrantTest remove while keyUri not exist 240 * @tc.desc: Test CmRemoveGrantTest remove while app uid not exist 246 TestRemoveGrant(REMOVE_NOT_EXIST_ID, REMOVE_ONCE); /* remove not exist app uid */ 251 * @tc.desc: Test CmRemoveGrantTest remove while app uid exist 257 TestRemoveGrant(DEFAULT_APP_ID, REMOVE_ONCE); /* remove exist app uid */ 262 * @tc.desc: Test CmRemoveGrantTest remove same app uid twice 268 TestRemoveGrant(DEFAULT_APP_ID, REMOVE_TWICE); /* remove same app uid twice */
|