Home
last modified time | relevance | path

Searched refs:currentSlot (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/drivers/peripheral/partitionslot/test/unittest/
H A Dhdf_partitionslot_test.cpp58 int currentSlot = -1; variable
61 ASSERT_TRUE(partitionslot->GetCurrentSlot(currentSlot, numOfSlots) == 0);
78 int currentSlot = 0; variable
81 partitionslot->GetCurrentSlot(currentSlot, numOfSlots);
83 partitionslot->SetActiveSlot(currentSlot);
/ohos5.0/base/startup/init/services/begetctl/
H A Dpartitionslot.cpp54 int currentSlot = 0; in GetSlot() local
55 partitionslot->GetCurrentSlot(currentSlot, bootSlots); in GetSlot()
56 …ut << "The number of slots: " << bootSlots << "," << "current slot: " << currentSlot << std::endl; in GetSlot()
/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
48 currentSlot = ReadMisc(MISC_PARTITION_ACTIVE_SLOT_OFFSET, MISC_PARTITION_ACTIVE_SLOT_SIZE); in GetCurrentSlot()
49 …HILOG_INFO(LOG_CORE, "current slot is %{public}d, numOfSlots is %{public}d", currentSlot, numOfSlo… 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/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-boot-deviceboot.md427 int currentSlot = GetSlotInfoFromParameter("currentslot");
428 BEGET_CHECK_RETURN_VALUE(currentSlot <= 0, currentSlot);
432 currentSlot = GetSlotInfoFromCmdLine("currentslot");
433 BEGET_CHECK_RETURN_VALUE(currentSlot <= 0, currentSlot);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/partitionslot_v1_0/cpp_target/partitionslot/v1_0/
H A Dpartition_slot_proxy.cpp.txt120 int32_t OHOS::HDI::Partitionslot::V1_0::PartitionSlotProxy::GetCurrentSlot(int32_t& currentSlot, in…
122 …return OHOS::HDI::Partitionslot::V1_0::PartitionSlotProxy::GetCurrentSlot_(currentSlot, numOfSlots…
145 int32_t OHOS::HDI::Partitionslot::V1_0::PartitionSlotProxy::GetCurrentSlot_(int32_t& currentSlot, i…
168 if (!partitionSlotReply.ReadInt32(currentSlot)) {
169 HDF_LOGE("%{public}s: read currentSlot failed!", __func__);
H A Dpartition_slot_stub.cpp.txt113 int32_t currentSlot = 0;
122 int32_t partitionSlotRet = impl->GetCurrentSlot(currentSlot, numOfSlots);
128 if (!partitionSlotReply.WriteInt32(currentSlot)) {
129 HDF_LOGE("%{public}s: write currentSlot 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/foundation/ability/idl_tool/test/hdi_unittest/partitionslot_v1_0/dump_ast_target/
H A Ddump.txt6 [out] int currentSlot,
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/
H A Dfstab_mount.c443 int currentSlot = GetSlotInfoFromCmdLine("currentslot"); in GetCurrentSlot() local
444 BEGET_CHECK_RETURN_VALUE(currentSlot <= 0, currentSlot); in GetCurrentSlot()
/ohos5.0/drivers/interface/partitionslot/v1_0/
H A DIPartitionSlot.idl57 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.idl57 GetCurrentSlot([out] int currentSlot, [out] int numOfSlots);
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-boot-deviceboot.md427 int currentSlot = GetSlotInfoFromParameter("currentslot");
428 BEGET_CHECK_RETURN_VALUE(currentSlot <= 0, currentSlot);
432 currentSlot = GetSlotInfoFromCmdLine("currentslot");
433 BEGET_CHECK_RETURN_VALUE(currentSlot <= 0, currentSlot);