Home
last modified time | relevance | path

Searched defs:slot (Results 1 – 25 of 30) sorted by relevance

12

/system/update_engine/common/
Dfake_boot_control.h50 BootControlInterface::Slot slot, in GetPartitionDevice()
64 BootControlInterface::Slot slot, in GetPartitionDevice()
69 bool IsSlotBootable(BootControlInterface::Slot slot) const override { in IsSlotBootable()
73 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override { in MarkSlotUnbootable()
80 bool SetActiveBootSlot(Slot slot) override { return true; } in SetActiveBootSlot()
90 bool IsSlotMarkedSuccessful(Slot slot) const override { in IsSlotMarkedSuccessful()
102 void SetCurrentSlot(BootControlInterface::Slot slot) { current_slot_ = slot; } in SetCurrentSlot()
105 BootControlInterface::Slot slot, in SetPartitionDevice()
111 void SetSlotBootable(BootControlInterface::Slot slot, bool bootable) { in SetSlotBootable()
Dboot_control_stub.cc39 BootControlInterface::Slot slot, in GetPartitionDevice()
48 Slot slot, in GetPartitionDevice()
59 bool BootControlStub::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable()
64 bool BootControlStub::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot()
Dboot_control_interface.h105 static std::string SlotName(Slot slot) { in SlotName()
/system/extras/tests/bootloader/
Dbootctl.py38 def set_active_boot_slot(self, slot): argument
43 def set_slot_as_unbootable_slot(self, slot): argument
48 def is_slot_bootable(self, slot): argument
53 def is_slot_marked_successful(self, slot): argument
58 def get_suffix(self, slot): argument
/system/nvram/core/tests/
Dfake_storage.cpp89 StorageSlot slot; member
109 StorageSlot* slot = FindSlotForIndex(index); in FindOrCreateSlotForIndex() local
144 StorageSlot* slot = FindSlotForIndex(index); in LoadSpace() local
149 StorageSlot* slot = FindOrCreateSlotForIndex(index); in StoreSpace() local
154 StorageSlot* slot = FindSlotForIndex(index); in DeleteSpace() local
166 StorageSlot* slot = FindOrCreateSlotForIndex(index); in SetSpaceReadError() local
173 StorageSlot* slot = FindOrCreateSlotForIndex(index); in SetSpaceWriteError() local
/system/bt/btif/src/
Dbtif_sock_rfc.cc174 int slot = -1; in find_rfc_slot_by_pending_sdp() local
204 rfc_slot_t* slot = find_free_slot(); in alloc_rfc_slot() local
313 rfc_slot_t* slot = in btsock_rfc_listen() local
355 rfc_slot_t* slot = in btsock_rfc_connect() local
397 static int create_server_sdp_record(rfc_slot_t* slot) { in create_server_sdp_record()
406 static void free_rfc_slot_scn(rfc_slot_t* slot) { in free_rfc_slot_scn()
418 static void cleanup_rfc_slot(rfc_slot_t* slot) { in cleanup_rfc_slot()
457 static bool send_app_scn(rfc_slot_t* slot) { in send_app_scn()
485 rfc_slot_t* slot = find_rfc_slot_by_id(id); in on_cl_rfc_init() local
498 rfc_slot_t* slot = find_rfc_slot_by_id(id); in on_srv_rfc_listen_started() local
[all …]
/system/chre/apps/chqts/src/shared/
Ddumb_allocator.cc41 size_t slot = 0; in alloc() local
57 size_t slot; in free() local
66 size_t slot; in contains() local
/system/nvram/hal/
Dmemory_storage.cpp64 StorageSlot slot; member
90 StorageSlot* slot = FindSpaceSlot(index); in LoadSpace() local
95 StorageSlot* slot = FindSpaceSlot(index); in StoreSpace() local
112 StorageSlot* slot = FindSpaceSlot(index); in DeleteSpace() local
/system/update_engine/
Dboot_control_android.cc86 BootControlInterface::Slot slot, in GetPartitionDevice()
99 BootControlInterface::Slot slot, in GetPartitionDevice()
119 bool BootControlAndroid::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable()
134 bool BootControlAndroid::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot()
Dboot_control_chromeos.cc180 BootControlInterface::Slot slot, in GetPartitionDevice()
216 BootControlInterface::Slot slot, in GetPartitionDevice()
238 bool BootControlChromeOS::MarkSlotUnbootable(Slot slot) { in MarkSlotUnbootable()
271 bool BootControlChromeOS::SetActiveBootSlot(Slot slot) { in SetActiveBootSlot()
Ddynamic_partition_control_android.cc150 uint32_t slot, in MapPartitionInternal()
189 uint32_t slot, in MapPartitionOnDeviceMapper()
296 const std::string& super_device, uint32_t slot) { in LoadMetadataBuilder()
787 uint32_t slot) { in GetSuperPartitionName()
887 uint32_t slot, in GetPartitionDevice()
938 uint32_t slot, in GetPartitionDevice()
959 uint32_t slot, in GetDynamicPartitionDevice()
Ddynamic_partition_control_android_unittest.cc95 std::string GetSuperDevice(uint32_t slot) { in GetSuperDevice()
114 void SetMetadata(uint32_t slot, in SetMetadata()
Domaha_response_handler_action_unittest.cc140 int slot = in DoTest() local
/system/extras/boot_control_copy/
Dboot_control_copy.cpp135 int module_setActiveBootSlot(boot_control_module_t *module, unsigned slot) in module_setActiveBootSlot()
208 int module_setSlotAsUnbootable(struct boot_control_module *module, unsigned slot) in module_setSlotAsUnbootable()
235 int module_isSlotBootable(struct boot_control_module *module, unsigned slot) in module_isSlotBootable()
255 const char* module_getSuffix(boot_control_module_t *module, unsigned slot) in module_getSuffix()
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h84 std::string GetSuperDevice([[maybe_unused]] uint32_t slot) const override { return "super"; } in GetSuperDevice()
94 bool SetSlotAsUnbootable(unsigned int slot) override { in SetSlotAsUnbootable()
99 bool IsSlotUnbootable(uint32_t slot) { return unbootable_slots_.count(slot) != 0; } in IsSlotUnbootable()
/system/security/keystore/
Dconfirmationui_rate_limiting.h87 auto& slot = slots_[id]; in tryPrompt() local
122 auto& slot = slots_[latest_requester_]; in processResult() local
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp140 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in CreateLogicalPartitions() local
150 uint32_t slot = SlotNumberForSlotSuffix(fs_mgr_get_slot_suffix()); in ReadCurrentMetadata() local
197 auto slot = *metadata_slot; in InitDefaults() local
/system/core/fs_mgr/libsnapshot/
Ddevice_info.cpp103 bool DeviceInfo::SetSlotAsUnbootable([[maybe_unused]] unsigned int slot) { in SetSlotAsUnbootable()
Dsnapshot.cpp178 auto slot = GetCurrentSlot(); in TryCancelUpdate() local
567 auto slot = GetCurrentSlot(); in InitiateMerge() local
1161 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CollapseSnapshotDevice() local
1202 auto slot = GetCurrentSlot(); in HandleCancelledUpdate() local
1237 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in ReadCurrentMetadata() local
1502 auto slot = GetCurrentSlot(); in NeedSnapshotsInFirstStageMount() local
1545 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in CreateLogicalAndSnapshotPartitions() local
2444 uint32_t slot = SlotNumberForSlotSuffix(device_->GetSlotSuffix()); in UnmapAllPartitions() local
2460 std::ostream& operator<<(std::ostream& os, SnapshotManager::Slot slot) { in operator <<()
2643 auto slot = GetCurrentSlot(); in ProcessUpdateStateOnDataWipe() local
/system/extras/partition_tools/
Dlpdump.cc117 static std::string GetSuperPartitionName(const std::optional<uint32_t>& slot = {}) { in GetSuperPartitionName()
383 static std::unique_ptr<LpMetadata> ReadDeviceOrFile(const std::string& path, uint32_t slot) { in ReadDeviceOrFile()
411 std::optional<uint32_t> slot; in LpdumpMain() local
/system/core/fs_mgr/libvbmeta/
Dreader.cpp95 Result<std::string> ReadVBMetaImage(int fd, int slot) { in ReadVBMetaImage()
/system/core/fastboot/
Dfastboot.cpp1138 std::string slot = slot_name; in verify_slot() local
1173 static std::string verify_slot(const std::string& slot) { in verify_slot()
1177 static void do_for_partition(const std::string& part, const std::string& slot, in do_for_partition()
1210 static void do_for_partitions(const std::string& part, const std::string& slot, in do_for_partitions()
1406 std::string slot = slot_override_; in CollectImages() local
1435 void FlashAllTool::FlashImage(const Image& image, const std::string& slot, fastboot_buffer* buf) { in FlashImage()
1697 static bool wipe_super(const android::fs_mgr::LpMetadata& metadata, const std::string& slot, in wipe_super()
1756 auto slot = slot_override; in do_wipe_super() local
2097 std::string slot = verify_slot(next_arg(&args), false); in Main() local
/system/core/fastboot/device/
Dutility.cpp145 bool GetSlotNumber(const std::string& slot, Slot* number) { in GetSlotNumber()
Dvariables.cpp223 Slot slot; in GetSlotSuccessful() local
247 Slot slot; in GetSlotUnbootable() local
Dcommands.cpp248 Slot slot; in SetActiveHandler() local

12