Home
last modified time | relevance | path

Searched refs:newStatus (Results 1 – 20 of 20) sorted by relevance

/base/startup/init/test/moduletest/
Dservice_control_test.cpp129 auto newStatus = GetServiceStatus(serviceName); variable
130 bool notChange = oldStatus == newStatus;
134 newStatus = GetServiceStatus(serviceName);
136 isRunning = newStatus == "running";
159 auto newStatus = GetServiceStatus(serviceName); variable
160 bool notChange = oldStatus == newStatus;
164 newStatus = GetServiceStatus(serviceName);
165 isRunning = newStatus == "running";
187 auto newStatus = GetServiceStatus(serviceName); variable
189 bool notChange = oldStatus == newStatus;
[all …]
/base/update/update_app/common/src/main/ets/manager/
DUpdateManager.ts413 const newStatus = this.makeStatusHolder(otaStatus, eventId); constant
417 (newStatus.initTime - this.lastStatusHolder.initTime) < STATUS_ALIVE_TIME &&
418 newStatus.status === this.lastStatusHolder.status) {
423 this.lastStatusHolder = newStatus;
/base/telephony/sms_mms/frameworks/native/sms/src/
Dsms_service_manager_client.cpp149 …ISmsServiceInterface::SimMessageStatus newStatus, const std::u16string &pdu, const std::u16string … in UpdateSimMessage() argument
152 return smsServiceInterface_->UpdateSimMessage(slotId, msgIndex, newStatus, pdu, smsc); in UpdateSimMessage()
Dsms_service_proxy.cpp201 …_t SmsServiceProxy::UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus, in UpdateSimMessage() argument
214 dataParcel.WriteUint32(newStatus); in UpdateSimMessage()
/base/telephony/sms_mms/services/sms/
Dsms_interface_manager.cpp134 …rfaceManager::UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus, in UpdateSimMessage() argument
141 return smsMiscManager_->UpdateSimMessage(msgIndex, newStatus, pdu, smsc); in UpdateSimMessage()
Dsms_misc_manager.cpp350 …sMiscManager::UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus, in UpdateSimMessage() argument
359 slotId_, msgIndex, static_cast<int>(newStatus), const_cast<std::string &>(pdu), smscAddr); in UpdateSimMessage()
Dsms_interface_stub.cpp282 uint32_t newStatus = data.ReadUint32(); in OnUpdateSimMessage() local
285 …int32_t result = UpdateSimMessage(slotId, msgIndex, static_cast<SimMessageStatus>(newStatus), pdu,… in OnUpdateSimMessage()
Dsms_service.cpp453 int32_t SmsService::UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus, in UpdateSimMessage() argument
484 return interfaceManager->UpdateSimMessage(msgIndex, newStatus, pduData, smscData); in UpdateSimMessage()
/base/telephony/sms_mms/services/sms/include/
Dsms_interface_manager.h48 int32_t UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus,
Dsms_misc_manager.h60 int32_t UpdateSimMessage(uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus,
Dsms_service.h129 …int32_t UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus, const std:…
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_sms.h166 int32_t newStatus = MESSAGE_UNKNOWN_STATUS; member
/base/telephony/sms_mms/interfaces/innerkits/
Dsms_service_manager_client.h153 …dateSimMessage(int32_t slotId, uint32_t msgIndex, ISmsServiceInterface::SimMessageStatus newStatus,
Dsms_service_proxy.h113 …int32_t UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus, const std:…
Di_sms_service_interface.h210 virtual int32_t UpdateSimMessage(int32_t slotId, uint32_t msgIndex, SimMessageStatus newStatus,
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_sms.cpp1103 int32_t newStatus = static_cast<int32_t>(context->newStatus); in NativeUpdateSimMessage() local
1104 TELEPHONY_LOGI("NativeUpdateSimMessage newStatus = %{public}d", newStatus); in NativeUpdateSimMessage()
1105 if (!context->pdu.empty() && (newStatus > -1)) { in NativeUpdateSimMessage()
1109 … context->msgIndex, static_cast<ISmsServiceInterface::SimMessageStatus>(context->newStatus), in NativeUpdateSimMessage()
1164 int32_t newStatus = static_cast<int32_t>(MESSAGE_UNKNOWN_STATUS); in UpdateSimMessage() local
1165 napi_get_value_int32(env, newStatusValue, &newStatus); in UpdateSimMessage()
1166 context->newStatus = WrapSimMessageStatus(newStatus); in UpdateSimMessage()
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts2429 newStatus: SimMessageStatus; property
/base/telephony/core_service/services/sim/include/
Dsim_file.h128 bool IsContinueGetSpn(bool start, SpnStatus curStatus, SpnStatus &newStatus);
/base/telephony/core_service/services/sim/src/
Dsim_file.cpp1520 bool SimFile::IsContinueGetSpn(bool start, SpnStatus curStatus, SpnStatus &newStatus) in IsContinueGetSpn() argument
1528 newStatus = SpnStatus::OBTAIN_SPN_START; in IsContinueGetSpn()
1531 newStatus = SpnStatus::OBTAIN_SPN_START; in IsContinueGetSpn()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp518 SimFile::SpnStatus newStatus; variable
519 EXPECT_TRUE(simFile->IsContinueGetSpn(false, SimFile::SpnStatus::OBTAIN_SPN_NONE, newStatus));
520 EXPECT_TRUE(simFile->IsContinueGetSpn(true, SimFile::SpnStatus::OBTAIN_SPN_NONE, newStatus));
521 EXPECT_FALSE(simFile->IsContinueGetSpn(true, SimFile::SpnStatus::OBTAIN_SPN_START, newStatus));
522 … EXPECT_FALSE(simFile->IsContinueGetSpn(true, SimFile::SpnStatus::OBTAIN_SPN_GENERAL, newStatus));
523 …_FALSE(simFile->IsContinueGetSpn(true, SimFile::SpnStatus::OBTAIN_OPERATOR_NAMESTRING, newStatus));
524 …SE(simFile->IsContinueGetSpn(true, SimFile::SpnStatus::OBTAIN_OPERATOR_NAME_SHORTFORM, newStatus));