/ohos5.0/drivers/peripheral/partitionslot/test/unittest/ |
H A D | hdf_partitionslot_test.cpp | 58 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 D | partitionslot.cpp | 54 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 D | partitionslot_manager.cpp | 44 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 D | partitionslot_impl.cpp | 33 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 D | subsys-boot-deviceboot.md | 427 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 D | partition_slot_proxy.cpp.txt | 120 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 D | partition_slot_stub.cpp.txt | 113 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 D | partition_slot_proxy.h.txt | 70 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 D | partition_slot_service.h.txt | 30 int32_t GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots) override;
|
H A D | partition_slot_service.cpp.txt | 30 int32_t PartitionSlotService::GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots)
|
H A D | ipartition_slot.h.txt | 69 virtual int32_t GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots) = 0;
|
/ohos5.0/drivers/peripheral/partitionslot/hdi_service/include/ |
H A D | partitionslot_impl.h | 28 int32_t GetCurrentSlot(int32_t& currentSlot, int32_t& numOfSlots) override;
|
/ohos5.0/drivers/peripheral/partitionslot/hal/include/ |
H A D | partitionslot_manager.h | 30 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 D | dump.txt | 6 [out] int currentSlot,
|
/ohos5.0/base/startup/init/interfaces/innerkits/fs_manager/ |
H A D | fstab_mount.c | 443 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 D | IPartitionSlot.idl | 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 D | IPartitionSlot.idl | 57 GetCurrentSlot([out] int currentSlot, [out] int numOfSlots);
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-boot-deviceboot.md | 427 int currentSlot = GetSlotInfoFromParameter("currentslot"); 428 BEGET_CHECK_RETURN_VALUE(currentSlot <= 0, currentSlot); 432 currentSlot = GetSlotInfoFromCmdLine("currentslot"); 433 BEGET_CHECK_RETURN_VALUE(currentSlot <= 0, currentSlot);
|