Home
last modified time | relevance | path

Searched refs:image (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java37 import java.awt.image.BufferedImage;
378 BufferedImage image = rawImageToBufferedImage(rawImage, format); in compressRawImage() local
384 image = rescaleImage(image); in compressRawImage()
387 return getImageData(image, format); in compressRawImage()
399 BufferedImage image = null; in rawImageToBufferedImage() local
403 image = in rawImageToBufferedImage()
408 image = new BufferedImage(rawImage.width, rawImage.height, BufferedImage.TYPE_INT_ARGB); in rawImageToBufferedImage()
418 image.setRGB(x, y, value); in rawImageToBufferedImage()
422 return image; in rawImageToBufferedImage()
432 BufferedImage rescaleImage(BufferedImage image) { in rescaleImage() argument
[all …]
/tools/dexter/slicer/
Dwriter.cc220 static void CopySection(const T& section, dex::u1* image, dex::u4 image_size) { in CopySection() argument
232 ::memcpy(image + offset, section.data(), size); in CopySection()
290 dex::u1* image = static_cast<dex::u1*>(allocator->Allocate(image_size)); in CreateImage() local
291 if (image == nullptr) { in CreateImage()
295 memset(image, 0, image_size); in CreateImage()
300 dex::Header* header = reinterpret_cast<dex::Header*>(image + 0); in CreateImage()
329 CopySection(dex_->string_ids, image, image_size); in CreateImage()
330 CopySection(dex_->type_ids, image, image_size); in CreateImage()
331 CopySection(dex_->proto_ids, image, image_size); in CreateImage()
332 CopySection(dex_->field_ids, image, image_size); in CreateImage()
[all …]
Dreader.cc29 Reader::Reader(const dex::u1* image, size_t size) : image_(image), size_(size) { in Reader() argument
/tools/acloud/internal/proto/
Dinternal_config.proto46 // The name of the default disk image, e.g. avd-system.tar.gz
48 // The mime type of the disk image, e.g. 'application/x-tar'
50 // The file extension of disk image, e.g. ".tar.gz"
52 // The name of the raw image name that should apper in the tar gz file.
55 // The file extension of a raw linux image file, e.g. "img"
/tools/acloud/public/data/
Ddefault.config114 value: "extradisk-image-4gb"
118 value: "extradisk-image-10gb"
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java47 import java.awt.image.BufferedImage;
692 BufferedImage image = ImageIO.read(tmpPngFile); in testGetScreenshot() local
693 assertNotNull(image); in testGetScreenshot()
695 assertTrue(image.getWidth() > 200); in testGetScreenshot()
696 assertTrue(image.getHeight() > 200); in testGetScreenshot()
DTestDeviceTest.java59 import java.awt.image.BufferedImage;
3366 byte[] getImageData(BufferedImage image, String format) { in testCompressScreenshotNoRescale()
3367 assertEquals(testImage[0].width, image.getWidth()); in testCompressScreenshotNoRescale()
3368 assertEquals(testImage[0].height, image.getHeight()); in testCompressScreenshotNoRescale()
3369 return super.getImageData(image, format); in testCompressScreenshotNoRescale()
/tools/acloud/internal/lib/
Dgcompute_client.py328 image=image_name)
339 image=image_name)
364 image=image_name)
Dgcompute_client_test.py239 project=self.PROJECT, image=self.IMAGE)
275 project=self.PROJECT, image="fake_image_1"), mock.call(
276 project=self.PROJECT, image="fake_image_2")]
/tools/dexter/slicer/export/slicer/
Dreader.h39 Reader(const dex::u1* image, size_t size);
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFastbootDeviceFlasherTest.java662 private static void setFastbootFlashExpectations(ITestDevice mockDevice, String image) in setFastbootFlashExpectations() argument
669 mockDevice.executeLongFastbootCommand(EasyMock.eq("flash"), EasyMock.eq(image), in setFastbootFlashExpectations()
/tools/tradefederation/core/res/jacoco/
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...