Home
last modified time | relevance | path

Searched refs:numOfSlots (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/base/update/updater/interfaces/kits/slot_info/
H A Dslot_info.cpp37 int32_t numOfSlots = 0;
38 int32_t ret = psMgr.GetCurrentSlot(curSlot, numOfSlots);
39 LOG(INFO) << "Get slot info, curSlot: " << curSlot << "numOfSlots :" << numOfSlots;
40 if (ret != 0 || curSlot <= 0 || curSlot > 2 || numOfSlots != 2) { // 2: max slot num
57 int32_t numOfSlots = 0;
58 int32_t ret = psMgr.GetCurrentSlot(curSlot, numOfSlots);
59 LOG(INFO) << "Get slot info, curSlot: " << curSlot << "numOfSlots :" << numOfSlots;
60 if (ret != 0 || curSlot <= 0 || curSlot > 2 || numOfSlots != 2) { // 2: max slot num
/ohos5.0/drivers/peripheral/partitionslot/test/unittest/
H A Dhdf_partitionslot_test.cpp57 int numOfSlots = 0; variable
61 ASSERT_TRUE(partitionslot->GetCurrentSlot(currentSlot, numOfSlots) == 0);
77 int numOfSlots = 0; variable
81 partitionslot->GetCurrentSlot(currentSlot, numOfSlots);
/ohos5.0/drivers/peripheral/partitionslot/hal/src/
H A Dpartitionslot_manager.cpp44 int32_t PartitionSlotManager::GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots) in GetCurrentSlot() argument
47 numOfSlots = system::GetIntParameter("ohos.boot.bootslots", 1); in GetCurrentSlot()
49 …OG_INFO(LOG_CORE, "current slot is %{public}d, numOfSlots is %{public}d", currentSlot, numOfSlots); in GetCurrentSlot()
/ohos5.0/drivers/peripheral/partitionslot/hdi_service/src/
H A Dpartitionslot_impl.cpp33 int32_t PartitionSlotImpl::GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots) in GetCurrentSlot() argument
36 return PartitionSlotManager::GetInstance()->GetCurrentSlot(currentSlot, numOfSlots); in GetCurrentSlot()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/partitionslot_v1_0/cpp_target/partitionslot/v1_0/
H A Dpartition_slot_proxy.cpp.txt120 …:Partitionslot::V1_0::PartitionSlotProxy::GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots)
122 …:Partitionslot::V1_0::PartitionSlotProxy::GetCurrentSlot_(currentSlot, numOfSlots, GetCurrentRemot…
145 …Partitionslot::V1_0::PartitionSlotProxy::GetCurrentSlot_(int32_t& currentSlot, int32_t& numOfSlots,
173 if (!partitionSlotReply.ReadInt32(numOfSlots)) {
174 HDF_LOGE("%{public}s: read numOfSlots failed!", __func__);
H A Dpartition_slot_stub.cpp.txt115 int32_t numOfSlots = 0;
122 int32_t partitionSlotRet = impl->GetCurrentSlot(currentSlot, numOfSlots);
133 if (!partitionSlotReply.WriteInt32(numOfSlots)) {
134 HDF_LOGE("%{public}s: write numOfSlots failed!", __func__);
H A Dpartition_slot_proxy.h.txt70 int32_t GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots) override;
80 …static int32_t GetCurrentSlot_(int32_t& currentSlot, int32_t& numOfSlots, const sptr<IRemoteObject…
H A Dpartition_slot_service.h.txt30 int32_t GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots) override;
H A Dpartition_slot_service.cpp.txt30 int32_t PartitionSlotService::GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots)
H A Dipartition_slot.h.txt69 virtual int32_t GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots) = 0;
/ohos5.0/drivers/peripheral/partitionslot/hdi_service/include/
H A Dpartitionslot_impl.h28 int32_t GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots) override;
/ohos5.0/drivers/peripheral/partitionslot/hal/include/
H A Dpartitionslot_manager.h30 int32_t GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots);
/ohos5.0/drivers/interface/partitionslot/v1_0/
H A DIPartitionSlot.idl49 …* @param numOfSlots number of slots supported. 1 means no AB partition; 2 means AB, > 2 means mult…
57 GetCurrentSlot([out] int currentSlot, [out] int numOfSlots);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/partitionslot_v1_0/foo/partitionslot/v1_0/
H A DIPartitionSlot.idl49 …* @param numOfSlots number of slots supported. 1 means no AB partition; 2 means AB, > 2 means mult…
57 GetCurrentSlot([out] int currentSlot, [out] int numOfSlots);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/partitionslot_v1_0/dump_ast_target/
H A Ddump.txt7 [out] int numOfSlots);