Home
last modified time | relevance | path

Searched refs:max (Results 1 – 23 of 23) sorted by relevance

/bootable/recovery/recovery_ui/include/recovery_ui/
Dwear_ui.h29 void SetStage(int current, int max) override;
Dui.h72 virtual void SetStage(int current, int max) = 0;
Dscreen_ui.h212 void SetStage(int current, int max) override;
/bootable/recovery/tests/unit/
Dinstall_test.cpp306 "post-timestamp=" + std::to_string(std::numeric_limits<int64_t>::max()), in TEST()
316 "post-timestamp=" + std::to_string(std::numeric_limits<int64_t>::max()), in TEST()
425 "post-timestamp=" + std::to_string(std::numeric_limits<int64_t>::max()), in TEST()
435 "post-timestamp=" + std::to_string(std::numeric_limits<int64_t>::max()), in TEST()
453 "post-timestamp=" + std::to_string(std::numeric_limits<int64_t>::max()), in TEST()
463 "post-timestamp=" + std::to_string(std::numeric_limits<int64_t>::max()), in TEST()
481 "post-timestamp=" + std::to_string(std::numeric_limits<int64_t>::max()), in TEST()
491 "post-timestamp=" + std::to_string(std::numeric_limits<int64_t>::max()), in TEST()
Dminui_test.cpp41 ASSERT_FALSE(GRSurface::Create(9, 101, std::numeric_limits<size_t>::max() / 100, 1)); in TEST()
Drangeset_test.cpp109 ASSERT_FALSE(rs.PushBack({ 5, std::numeric_limits<size_t>::max() - 2 })); in TEST()
Dscreen_ui_test.cpp186 int expected = std::max(3 - i, 0); in TEST_F()
/bootable/recovery/recovery_utils/
Dthermalutil.cpp76 max_temperature = std::max(temperature, max_temperature); in GetMaxValueFromThermalZone()
Droots.cpp121 block_device_size > std::numeric_limits<int64_t>::max()) { in get_file_size()
/bootable/recovery/install/
Dspl_check.cpp59 if (metadata_entry_length > std::numeric_limits<size_t>::max()) { in ViolatesSPLDowngrade()
Dinstall.cpp167 android::base::GetIntProperty("ro.build.date.utc", std::numeric_limits<int64_t>::max()); in CheckAbSpecificMetadata()
251 if (properties_entry_length > std::numeric_limits<size_t>::max()) { in SetUpAbUpdateCommands()
331 *max_temperature = std::max(*max_temperature, GetMaxValueFromThermalZone()); in log_max_temperature()
622 max_temperature = std::max(end_temperature, max_temperature); in InstallPackage()
Dwipe_device.cpp55 if (length > std::numeric_limits<size_t>::max()) { in GetWipePartitionList()
Dverifier.cpp326 if (entry.uncompressed_length > std::numeric_limits<size_t>::max()) { in IterateZipEntriesAndSearchForKeys()
/bootable/recovery/applypatch/
Dfreecache.cpp132 return std::numeric_limits<unsigned int>::max(); in GetLogIndex()
176 static_cast<uint64_t>(std::numeric_limits<int64_t>::max())) { in RemoveFilesInDirectory()
Dimgdiff.cpp744 if (temp_entries[nextentry].second.compressed_length > std::numeric_limits<size_t>::max()) { in InitializeChunks()
775 if (entry->compressed_length > std::numeric_limits<size_t>::max()) { in AddZipEntryToChunks()
798 if (uncompressed_len > std::numeric_limits<size_t>::max()) { in AddZipEntryToChunks()
/bootable/recovery/otautil/
Dsysutil.cpp72 if (blocks > std::numeric_limits<uint32_t>::max() || range_count == 0 || in ParseBlockMapFile()
132 if (block_map_data.file_size() > std::numeric_limits<size_t>::max()) { in MapBlockFile()
Drangeset.cpp264 to_insert.second = std::max(to_insert.second, it->second); in Insert()
/bootable/recovery/updater/
Dupdater.cpp173 if (entry.uncompressed_length > std::numeric_limits<size_t>::max()) { in ReadEntryToString()
Dtarget_files.cpp140 if (entry.uncompressed_length > std::numeric_limits<size_t>::max()) { in ReadEntryToString()
Dinstall.cpp176 if (entry.uncompressed_length > std::numeric_limits<size_t>::max()) { in PackageExtractFileFn()
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp75 CHECK_LE(max_items, static_cast<size_t>(std::numeric_limits<int>::max())); in TextMenu()
120 CHECK_LE(ItemsCount(), static_cast<size_t>(std::numeric_limits<int>::max())); in Select()
213 CHECK_LE(graphic_items_.size(), static_cast<size_t>(std::numeric_limits<int>::max())); in Select()
1044 void ScreenRecoveryUI::SetStage(int current, int max) { in SetStage() argument
1047 max_stage = max; in SetStage()
/bootable/recovery/tools/image_generator/
DImageGenerator.java506 textWidth = Math.max(textWidth, lineInfo.mLineWidth); in measureTextWidth()
618 textWidth = Math.max(textWidth, measureTextWidth(localizedTextMap.get(locale), locale)); in generateImage()
/bootable/recovery/minui/
Dresources.cpp46 if (std::numeric_limits<size_t>::max() / row_bytes < height) return nullptr; in Create()