Home
last modified time | relevance | path

Searched refs:p (Results 1 – 13 of 13) sorted by relevance

/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/
DMain.java250 int p = 0;
305 out.setPixel(0, p, colorFor(tw & 0xff));
306 out.setPixel(1, p, colorFor(tw >>> 8));
307 out.setPixel(2, p, colorFor(h & 0xff));
308 out.setPixel(3, p, colorFor(h >>> 8));
309 out.setPixel(4, p, colorFor(langBytes.length));
312 out.setPixel(x, p, colorFor(b));
315 out.setPixel(x, p, colorFor(0));
317 p++;
319 out.setPixels(pixels, left, w, 0, p, tw, h);
[all …]
/bootable/recovery/minui/
Dgraphics.cpp98 static void incr_x(uint32_t** p, int row_pixels) { in incr_x() argument
100 *p = *p - row_pixels; in incr_x()
102 *p = *p + row_pixels; in incr_x()
104 *p = *p - 1; in incr_x()
106 *p = *p + 1; in incr_x()
111 static void incr_y(uint32_t** p, int row_pixels) { in incr_y() argument
113 *p = *p + 1; in incr_y()
115 *p = *p - 1; in incr_y()
117 *p = *p - row_pixels; in incr_y()
119 *p = *p + row_pixels; in incr_y()
[all …]
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DUpdateConfig.java80 JSONObject p = propertyFilesJson.getJSONObject(i); in fromJson() local
82 p.getString("filename"), in fromJson()
83 p.getLong("offset"), in fromJson()
84 p.getLong("size"))); in fromJson()
/bootable/recovery/applypatch/
Dapplypatch.cpp191 for (size_t p = 0; p < len; p += sizeof(buffer)) { in WriteBufferToPartition() local
192 size_t to_read = len - p; in WriteBufferToPartition()
198 PLOG(ERROR) << "Failed to verify-read " << partition << " at " << p; in WriteBufferToPartition()
202 if (memcmp(buffer, data + p, to_read) != 0) { in WriteBufferToPartition()
203 LOG(ERROR) << "Verification failed starting at " << p; in WriteBufferToPartition()
204 start = p; in WriteBufferToPartition()
Dimgdiff.cpp1184 for (auto& p : patch_chunks) { in GeneratePatches() local
1185 p.UpdateSourceOffset(split_src_ranges[i]); in GeneratePatches()
1186 total_patch_size += p.PatchSize(); in GeneratePatches()
/bootable/recovery/fonts/
DREADME5 https://code.google.com/p/googlefontdirectory/source/browse/ofl/inconsolata/
/bootable/recovery/bootloader_message/
Dbootloader_message.cpp90 static bool read_misc_partition(void* p, size_t size, const std::string& misc_blk_device, in read_misc_partition() argument
106 if (!android::base::ReadFully(fd, p, size)) { in read_misc_partition()
114 bool write_misc_partition(const void* p, size_t size, const std::string& misc_blk_device, in write_misc_partition() argument
127 if (!android::base::WriteFully(fd, p, size)) { in write_misc_partition()
/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp274 R"(patch_partition("%s", "%s", package_extract_file("patch.p")) || abort("patch failed");)",
320 { "patch.p", recovery_from_boot },
396 { "patch.p", "random string" },
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp466 float p = progressScopeStart + progress * progressScopeSize; in draw_foreground_locked() local
467 int pos = static_cast<int>(p * width); in draw_foreground_locked()
559 for (const auto& p : surfaces) { in SelectAndShowBackgroundText() local
562 text_y += DrawTextLine(text_x, text_y, p.first, false); in SelectAndShowBackgroundText()
564 gr_texticon(text_x, text_y, p.second.get()); in SelectAndShowBackgroundText()
565 text_y += gr_get_height(p.second.get()); in SelectAndShowBackgroundText()
794 float p = 1.0 * elapsed / duration; in ProgressThreadLoop() local
795 if (p > 1.0) p = 1.0; in ProgressThreadLoop()
796 if (p > progress) { in ProgressThreadLoop()
797 progress = p; in ProgressThreadLoop()
/bootable/recovery/bootloader_message/include/bootloader_message/
Dbootloader_message.h124 bool write_misc_partition(const void* p, size_t size, const std::string& misc_blk_device,
/bootable/recovery/
DCleanSpec.mk70 …PRODUCT_OUT)/obj/PACKAGING/target_files_intermediates/*-target_files-*/SYSTEM/recovery-from-boot.p)
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/services/
DPrepareUpdateService.java201 .filter(p -> p.getFilename().equals( in verifyPayloadMetadata()
/bootable/recovery/updater/
Dblockimg.cpp483 size_t p = 0; in ReadBlocks() local
490 if (!android::base::ReadFully(fd, buffer->data() + p, size)) { in ReadBlocks()
496 p += size; in ReadBlocks()