/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
D | mock_single_kv_store.cpp | 23 return Status::SUCCESS; in GetEntries() 28 return Status::SUCCESS; in GetEntries() 33 return Status::SUCCESS; in GetResultSet() 38 return Status::SUCCESS; in GetResultSet() 43 return Status::SUCCESS; in CloseResultSet() 48 return Status::SUCCESS; in GetCount() 53 return Status::SUCCESS; in Sync() 58 return Status::SUCCESS; in RemoveDeviceData() 70 return Status::SUCCESS; in Delete() 75 return Status::SUCCESS; in Put() [all …]
|
/base/notification/distributed_notification_service/services/test/moduletest/mock/ |
D | mock_single_kv_store.cpp | 23 return Status::SUCCESS; in GetEntries() 28 return Status::SUCCESS; in GetEntries() 33 return Status::SUCCESS; in GetResultSet() 38 return Status::SUCCESS; in GetResultSet() 43 return Status::SUCCESS; in CloseResultSet() 48 return Status::SUCCESS; in GetCount() 54 return Status::SUCCESS; in Sync() 59 return Status::SUCCESS; in RemoveDeviceData() 71 return Status::SUCCESS; in Delete() 76 return Status::SUCCESS; in Put() [all …]
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/mock/ |
D | mock_single_kv_store.cpp | 23 return Status::SUCCESS; in GetEntries() 28 return Status::SUCCESS; in GetEntries() 33 return Status::SUCCESS; in GetResultSet() 39 return Status::SUCCESS; in GetResultSet() 44 return Status::SUCCESS; in CloseResultSet() 49 return Status::SUCCESS; in GetCount() 54 return Status::SUCCESS; in Sync() 59 return Status::SUCCESS; in RemoveDeviceData() 71 return Status::SUCCESS; in Delete() 76 return Status::SUCCESS; in Put() [all …]
|
D | mock_distributed_kv_data_manager.cpp | 39 return Status::SUCCESS; in StopWatchDeviceChange() 47 return DistributedKv::Status::SUCCESS; in GetSingleKvStore() 74 return Status::SUCCESS; in GetDeviceList() 79 return Status::SUCCESS; in CloseKvStore() 84 return Status::SUCCESS; in CloseKvStore() 89 return Status::SUCCESS; in DeleteKvStore()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_screen_status_manager_branch_test/ |
D | mock_single_kv_store.cpp | 37 return Status::SUCCESS; in GetEntries() 42 return Status::SUCCESS; in GetEntries() 47 return Status::SUCCESS; in GetResultSet() 53 return Status::SUCCESS; in GetResultSet() 58 return Status::SUCCESS; in CloseResultSet() 63 return Status::SUCCESS; in GetCount() 68 return Status::SUCCESS; in Sync() 73 return Status::SUCCESS; in RemoveDeviceData() 85 return Status::SUCCESS; in Delete() 95 return Status::SUCCESS; in Get() [all …]
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_database_test/ |
D | mock_single_kv_store.cpp | 37 return Status::SUCCESS; in GetEntries() 42 return Status::SUCCESS; in GetResultSet() 48 return Status::SUCCESS; in GetResultSet() 53 return Status::SUCCESS; in CloseResultSet() 58 return Status::SUCCESS; in GetCount() 63 return Status::SUCCESS; in Sync() 68 return Status::SUCCESS; in RemoveDeviceData() 91 return Status::SUCCESS; in Get() 98 return Status::SUCCESS; in SubscribeKvStore() 103 return Status::SUCCESS; in UnSubscribeKvStore() [all …]
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_database_branch_test/ |
D | mock_single_kv_store.cpp | 43 return Status::SUCCESS; in GetEntries() 48 return Status::SUCCESS; in GetResultSet() 54 return Status::SUCCESS; in GetResultSet() 59 return Status::SUCCESS; in CloseResultSet() 64 return Status::SUCCESS; in GetCount() 69 return Status::SUCCESS; in Sync() 77 return Status::SUCCESS; in RemoveDeviceData() 107 return Status::SUCCESS; in SubscribeKvStore() 112 return Status::SUCCESS; in UnSubscribeKvStore() 117 return Status::SUCCESS; in RegisterSyncCallback() [all …]
|
/base/sensors/sensor/interfaces/native/test/unittest/ |
D | sensor_power_test.cpp | 114 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 121 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 130 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 138 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 146 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 156 ASSERT_EQ(ret, OHOS::Sensors::SUCCESS); 158 ASSERT_EQ(ret, OHOS::Sensors::SUCCESS); 160 ASSERT_EQ(ret, OHOS::Sensors::SUCCESS); 164 ASSERT_EQ(ret, OHOS::Sensors::SUCCESS); 168 ASSERT_EQ(ret, OHOS::Sensors::SUCCESS); [all …]
|
D | sensor_agent_test.cpp | 146 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 155 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 164 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 166 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 168 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 170 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 172 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 181 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 188 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); 197 ASSERT_NE(ret, OHOS::Sensors::SUCCESS); [all …]
|
/base/hiviewdfx/hitrace/test/unittest/hitrace_dump/ |
D | hitrace_dump_test.cpp | 124 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS); 129 ASSERT_TRUE(CloseTrace() == TraceErrorCode::SUCCESS); 143 ASSERT_TRUE(OpenTrace(args) == TraceErrorCode::SUCCESS); 148 ASSERT_TRUE(CloseTrace() == TraceErrorCode::SUCCESS); 161 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS); 164 ASSERT_TRUE(ret.errorCode == TraceErrorCode::SUCCESS); 166 ASSERT_TRUE(CloseTrace() == TraceErrorCode::SUCCESS); 177 ASSERT_TRUE(OpenTrace(args) == TraceErrorCode::SUCCESS); 179 ASSERT_TRUE(DumpTraceOn() == TraceErrorCode::SUCCESS); 183 ASSERT_TRUE(ret.errorCode == TraceErrorCode::SUCCESS); [all …]
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
D | mock_single_kv_store.cpp | 114 return Status::SUCCESS; in GetEntries() 119 return Status::SUCCESS; in GetEntries() 124 return Status::SUCCESS; in GetResultSet() 129 return Status::SUCCESS; in GetResultSet() 134 return Status::SUCCESS; in CloseResultSet() 139 return Status::SUCCESS; in GetCount() 145 return Status::SUCCESS; in Sync() 152 return Status::SUCCESS; in RemoveDeviceData() 165 return Status::SUCCESS; in Delete() 175 return Status::SUCCESS; in Put() [all …]
|
/base/security/device_security_level/services/dslm/ |
D | dslm_core_process.c | 65 if (ret != SUCCESS) { in OnPeerMsgRequestInfoReceived() 72 if (ret != SUCCESS) { in OnPeerMsgRequestInfoReceived() 79 if (ret == SUCCESS) { in OnPeerMsgRequestInfoReceived() 85 return SUCCESS; in OnPeerMsgRequestInfoReceived() 108 return SUCCESS; in OnPeerMsgResponseInfoReceived() 115 if (result == SUCCESS) { in OnMsgSendResultNotifier() 116 return SUCCESS; in OnMsgSendResultNotifier() 121 return SUCCESS; in OnMsgSendResultNotifier() 126 return SUCCESS; in OnMsgSendResultNotifier() 130 return SUCCESS; in OnMsgSendResultNotifier() [all …]
|
/base/security/device_security_level/oem_property/ohos/common/ |
D | dslm_ohos_verify.c | 56 return SUCCESS; in CheckCredInfo() 60 return SUCCESS; in CheckCredInfo() 65 return SUCCESS; in CheckCredInfo() 83 if (ret != SUCCESS) { in ParseNonceOfCertChain() 108 return SUCCESS; in ParseNonceOfCertChain() 145 return SUCCESS; in FindCommonPkInfo() 162 if (ret != SUCCESS) { in CheckNonceOfCertChain() 166 return SUCCESS; in CheckNonceOfCertChain() 183 if (ret != SUCCESS) { in VerifyNonceOfCertChain() 189 if (ret != SUCCESS) { in VerifyNonceOfCertChain() [all …]
|
D | dslm_ohos_request.c | 58 return SUCCESS; in TransToJsonStr() 76 if (ret != SUCCESS) { in GenerateDslmCertChain() 82 if (ret != SUCCESS) { in GenerateDslmCertChain() 88 if (ret != SUCCESS) { in GenerateDslmCertChain() 107 if (HksAttestIsReadyAdapter() != SUCCESS) { in SelectDslmCredType() 112 return SUCCESS; in SelectDslmCredType() 124 return SUCCESS; in RequestSmallDslmCred() 133 if (ret != SUCCESS) { in RequestStandardDslmCred() 146 return SUCCESS; in RequestStandardDslmCred() 165 ret = SUCCESS; in GetCredFromCurrentDevice() [all …]
|
/base/useriam/pin_auth/services/modules/executors/src/ |
D | pin_auth_executor_hdi.cpp | 49 if (result != IamResultCode::SUCCESS) { in GetExecutorInfo() 54 if (ret != IamResultCode::SUCCESS) { in GetExecutorInfo() 58 return IamResultCode::SUCCESS; in GetExecutorInfo() 70 if (result != IamResultCode::SUCCESS) { in OnRegisterFinish() 78 return IamResultCode::SUCCESS; in OnRegisterFinish() 90 if (result != IamResultCode::SUCCESS) { in OnSetData() 94 return IamResultCode::SUCCESS; in OnSetData() 116 if (result != IamResultCode::SUCCESS) { in Enroll() 120 return IamResultCode::SUCCESS; in Enroll() 146 if (result != IamResultCode::SUCCESS) { in Authenticate() [all …]
|
/base/useriam/fingerprint_auth/services/src/ |
D | fingerprint_auth_executor_hdi.cpp | 57 if (result != IamResultCode::SUCCESS) { in GetExecutorInfo() 62 if (result != IamResultCode::SUCCESS) { in GetExecutorInfo() 66 return IamResultCode::SUCCESS; in GetExecutorInfo() 75 if (result != IamResultCode::SUCCESS) { in OnRegisterFinish() 81 if (result != IamResultCode::SUCCESS) { in OnRegisterFinish() 85 return IamResultCode::SUCCESS; in OnRegisterFinish() 97 if (result != IamResultCode::SUCCESS) { in Enroll() 101 return IamResultCode::SUCCESS; in Enroll() 114 if (result != IamResultCode::SUCCESS) { in Authenticate() 118 return IamResultCode::SUCCESS; in Authenticate() [all …]
|
/base/useriam/face_auth/services/src/ |
D | face_auth_executor_hdi.cpp | 57 if (result != IamResultCode::SUCCESS) { in GetExecutorInfo() 62 if (result != IamResultCode::SUCCESS) { in GetExecutorInfo() 66 return IamResultCode::SUCCESS; in GetExecutorInfo() 75 if (result != IamResultCode::SUCCESS) { in OnRegisterFinish() 81 if (result != IamResultCode::SUCCESS) { in OnRegisterFinish() 85 return IamResultCode::SUCCESS; in OnRegisterFinish() 97 if (result != IamResultCode::SUCCESS) { in Enroll() 101 return IamResultCode::SUCCESS; in Enroll() 113 if (result != IamResultCode::SUCCESS) { in Authenticate() 117 return IamResultCode::SUCCESS; in Authenticate() [all …]
|
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
D | ril_call_test.cpp | 52 EXPECT_EQ(SUCCESS, ret); 67 EXPECT_EQ(SUCCESS, ret); 83 EXPECT_EQ(SUCCESS, ret); 109 EXPECT_EQ(SUCCESS, ret); 135 EXPECT_EQ(SUCCESS, ret); 151 EXPECT_EQ(SUCCESS, ret); 167 EXPECT_EQ(SUCCESS, ret); 186 EXPECT_EQ(SUCCESS, ret); 205 EXPECT_EQ(SUCCESS, ret); 221 EXPECT_EQ(SUCCESS, ret); [all …]
|
D | ril_network_test.cpp | 52 EXPECT_EQ(SUCCESS, ret); 68 EXPECT_EQ(SUCCESS, ret); 84 EXPECT_EQ(SUCCESS, ret); 100 EXPECT_EQ(SUCCESS, ret); 116 EXPECT_EQ(SUCCESS, ret); 132 EXPECT_EQ(SUCCESS, ret); 148 EXPECT_EQ(SUCCESS, ret); 164 EXPECT_EQ(SUCCESS, ret); 180 EXPECT_EQ(SUCCESS, ret); 196 EXPECT_EQ(SUCCESS, ret); [all …]
|
D | ril_modem_test.cpp | 52 EXPECT_EQ(SUCCESS, ret); 68 EXPECT_EQ(SUCCESS, ret); 84 EXPECT_EQ(SUCCESS, ret); 100 EXPECT_EQ(SUCCESS, ret); 116 EXPECT_EQ(SUCCESS, ret); 132 EXPECT_EQ(SUCCESS, ret); 148 EXPECT_EQ(SUCCESS, ret); 164 EXPECT_EQ(SUCCESS, ret); 180 EXPECT_EQ(SUCCESS, ret); 196 EXPECT_EQ(SUCCESS, ret); [all …]
|
D | ril_sms_test.cpp | 56 EXPECT_EQ(SUCCESS, ret); 76 EXPECT_EQ(SUCCESS, ret); 97 EXPECT_EQ(SUCCESS, ret); 118 EXPECT_EQ(SUCCESS, ret); 135 EXPECT_EQ(SUCCESS, ret); 152 EXPECT_EQ(SUCCESS, ret); 172 EXPECT_EQ(SUCCESS, ret); 192 EXPECT_EQ(SUCCESS, ret); 213 EXPECT_EQ(SUCCESS, ret); 234 EXPECT_EQ(SUCCESS, ret); [all …]
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
D | resource_manager_test_common.cpp | 66 ASSERT_EQ(SUCCESS, rState); in TestStringByName() 77 ASSERT_EQ(SUCCESS, rState); in TestStringById() 143 ASSERT_EQ(SUCCESS, ret); in TestPluralStringById() 158 ASSERT_EQ(SUCCESS, ret); in TestPluralStringByName() 181 EXPECT_TRUE(state == SUCCESS); in TestGetProfileById() 193 EXPECT_TRUE(state == SUCCESS); in TestGetProfileByName() 207 EXPECT_TRUE(state == SUCCESS); in TestGetMediaById() 233 EXPECT_TRUE(state == SUCCESS); in TestGetMediaWithDensityById() 245 EXPECT_TRUE(state == SUCCESS); in TestGetMediaByName() 269 EXPECT_TRUE(state == SUCCESS); in TestGetMediaWithDensityByName() [all …]
|
D | locale_info_test.cpp | 174 RState state = SUCCESS; 199 RState state = SUCCESS; 252 RState state = SUCCESS; 270 RState state = SUCCESS; 288 RState state = SUCCESS; 306 RState state = SUCCESS; 312 EXPECT_TRUE(state == SUCCESS); 327 RState state = SUCCESS; 342 RState state = SUCCESS; 357 RState state = SUCCESS; [all …]
|
/base/global/resource_management/interfaces/js/innerkits/core/src/ |
D | resource_manager_napi_sync_impl.cpp | 90 return SUCCESS; in InitPathAddon() 100 if (ret != RState::SUCCESS) { in GetRawFileListSync() 108 if (state != RState::SUCCESS || dataContext->arrayValue_.empty()) { in GetRawFileListSync() 124 if (ret != RState::SUCCESS) { in GetRawFileContentSync() 132 if (state != SUCCESS) { in GetRawFileContentSync() 148 if (ret != RState::SUCCESS) { in GetRawFdSync() 156 if (state != RState::SUCCESS) { in GetRawFdSync() 171 if (ret != RState::SUCCESS) { in CloseRawFdSync() 178 if (state != RState::SUCCESS) { in CloseRawFdSync() 260 return SUCCESS; in InitIdResourceAddon() [all …]
|
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/src/ |
D | cpu_collector_impl.cpp | 42 result.retCode = UcError::SUCCESS; in CollectSysCpuLoad() 49 result.retCode = UcError::SUCCESS; in CollectSysCpuUsage() 56 result.retCode = UcError::SUCCESS; in CollectProcessCpuUsage() 63 result.retCode = UcError::SUCCESS; in CollectProcessCpuLoad() 70 result.retCode = UcError::SUCCESS; in CollectCpuFreqStat() 77 result.retCode = UcError::SUCCESS; in CollectCpuFrequency()
|