Searched defs:num_slots (Results 1 - 6 of 6) sorted by relevance

/system/update_engine/common/
H A Dfake_boot_control.h78 void SetNumSlots(unsigned int num_slots) { argument
79 num_slots_ = num_slots;
/system/media/alsa_utils/
H A Dalsa_format.c88 int num_slots = ARRAY_SIZE(mask->bits); local
95 for (slot_index = 0; slot_index < num_slots && table_index < table_size; slot_index++) {
H A Dalsa_logging.c33 const size_t num_slots = ARRAY_SIZE(mask->bits); local
38 (num_slots * chars_per_slot + 2 + 1); /* brackets and null-terminator */
44 for (slot_index = 0; slot_index < num_slots; slot_index++) {
50 if (slot_index < num_slots - 1) {
H A Dalsa_device_profile.c255 const int num_slots = ARRAY_SIZE(mask->bits); local
263 for (slot_index = 0; slot_index < num_slots && table_index < table_size;
/system/tpm/attestation/server/
H A Dpkcs11_key_store.cc456 CK_ULONG num_slots = 0; local
457 rv = C_GetSlotList(CK_TRUE, nullptr, &num_slots);
462 std::unique_ptr<CK_SLOT_ID[]> slot_list(new CK_SLOT_ID[num_slots]);
463 rv = C_GetSlotList(CK_TRUE, slot_list.get(), &num_slots);
469 for (CK_ULONG i = 0; i < num_slots; ++i) {
/system/update_engine/
H A Dupdate_attempter.cc748 const unsigned int num_slots = system_state_->boot_control()->GetNumSlots(); local
752 LOG(INFO) << " Installed slots: " << num_slots;
756 if (current_slot == BootControlInterface::kInvalidSlot || num_slots < 2) {
762 for (BootControlInterface::Slot slot = 0; slot < num_slots; slot++) {

Completed in 401 milliseconds