HomeSort by relevance Sort by last modified time
    Searched refs:MemoryFile (Results 1 - 25 of 43) sorted by null

1 2

  /external/bsdiff/
memory_file.cc 12 MemoryFile::MemoryFile(const uint8_t* data, size_t size)
15 bool MemoryFile::Read(void* buf, size_t count, size_t* bytes_read) {
23 bool MemoryFile::Write(const void* buf, size_t count, size_t* bytes_written) {
27 bool MemoryFile::Seek(off_t pos) {
34 bool MemoryFile::Close() {
38 bool MemoryFile::GetSize(uint64_t* size) {
memory_file.h 14 class MemoryFile : public FileInterface {
16 // Creates a read only MemoryFile based on the underlying |data| passed.
17 // The MemoryFile will use data starting from |data| with length of |size| as
19 MemoryFile(const uint8_t* data, size_t size);
21 ~MemoryFile() = default;
bspatch.cc 273 std::unique_ptr<FileInterface> old_file(new MemoryFile(old_data, old_size));
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
MemoryFile.c 20 #include "MemoryFile.h"
107 MEMORY_FILE *MemoryFile;
111 MemoryFile = (MEMORY_FILE*)InputMemoryFile;
113 free (MemoryFile->FileImage);
118 memset (MemoryFile, 0xcc, sizeof (*MemoryFile));
119 MemoryFile->Eof -= 1;
121 free (MemoryFile);
239 MEMORY_FILE *MemoryFile;
243 MemoryFile = (MEMORY_FILE*)InputMemoryFile;
    [all...]
ParseGuidedSectionTools.c 19 #include "MemoryFile.h"
68 EFI_HANDLE MemoryFile;
71 Status = GetMemoryFile (InputFile, &MemoryFile);
76 ParsedGuidedSectionTools = ParseGuidedSectionToolsMemoryFile (MemoryFile);
78 FreeMemoryFile (MemoryFile);
GNUmakefile 30 MemoryFile.o \
Makefile 29 MemoryFile.obj \
ParseInf.h 21 #include <MemoryFile.h>
  /cts/tests/tests/os/src/android/os/cts/
MemoryFileTest.java 24 import android.os.MemoryFile;
27 MemoryFile mMemoryFile;
36 new MemoryFile("Test File", 1024);
41 mMemoryFile = new MemoryFile("Test File", 1024);
58 fail("MemoryFile should throw IndexOutOfBoundsException here.");
66 // new the MemoryFile instance
67 mMemoryFile = new MemoryFile("Test File", 1024);
80 // new the MemoryFile instance
81 mMemoryFile = new MemoryFile("Test File", 1024);
98 mMemoryFile = new MemoryFile("Test File", 1024)
    [all...]
SeccompTest.java 31 import android.os.MemoryFile;
369 MemoryFile file = new MemoryFile("seccomp_isolated_test", 32);
  /frameworks/base/core/tests/coretests/src/android/os/
MemoryFileTest.java 46 List<MemoryFile> files = new ArrayList<MemoryFile>();
51 MemoryFile newFile = new MemoryFile("MemoryFileTest", 10000000);
55 for (MemoryFile file : files) {
65 for (MemoryFile fileToClose : files) {
73 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000);
104 MemoryFile file = new MemoryFile("MemoryFileTest", 10)
    [all...]
  /frameworks/base/core/java/android/hardware/
SensorDirectChannel.java 19 import android.os.MemoryFile;
31 * {@link SensorManager#createDirectChannel(android.os.MemoryFile)} or
46 * Shared memory type ashmem, wrapped in MemoryFile object.
48 * @see SensorManager#createDirectChannel(MemoryFile)
123 * @see SensorManager#createDirectChannel(MemoryFile)
198 * This function encode handle information in {@link android.os.MemoryFile} into a long array to
202 static long[] encodeData(MemoryFile ashmem) {
SensorManager.java 24 import android.os.MemoryFile;
    [all...]
SystemSensorManager.java 25 import android.os.MemoryFile;
554 MemoryFile memoryFile, HardwareBuffer hardwareBuffer) {
558 if (memoryFile != null) {
561 fd = memoryFile.getFileDescriptor().getInt$();
563 throw new IllegalArgumentException("MemoryFile object is not valid");
566 if (memoryFile.length() < MIN_DIRECT_CHANNEL_BUFFER_SIZE) {
568 "Size of MemoryFile has to be greater than "
572 size = memoryFile.length();
577 new IOException("create MemoryFile direct channel failed " + id))
    [all...]
  /frameworks/base/core/java/android/os/
MemoryFile.java 29 * MemoryFile is a wrapper for {@link SharedMemory} which can optionally be set to purgeable.
32 * access & control over the shared memory region than MemoryFile does.
39 public class MemoryFile {
40 private static String TAG = "MemoryFile";
57 public MemoryFile(String name, int length) throws IOException {
91 throw new IOException("MemoryFile has been deactivated");
99 throw new IOException("MemoryFile has been purged");
ParcelFileDescriptor.java 537 MemoryFile file = new MemoryFile(name, data.length);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/util/
AsyncSensorManager.java 28 import android.os.MemoryFile;
86 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile,
  /frameworks/base/services/core/java/com/android/server/
GraphicsStatsService.java 29 import android.os.MemoryFile;
188 private ParcelFileDescriptor getPfd(MemoryFile file) {
409 MemoryFile mProcessBuffer;
419 mProcessBuffer = new MemoryFile("GFXStats-" + pid, ASHMEM_SIZE);
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
FakeSensorManager.java 29 import android.os.MemoryFile;
134 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile,
  /cts/tests/sensor/src/android/hardware/cts/
SensorDirectReportTest.java 30 import android.os.MemoryFile;
146 private MemoryFile mMemoryFile;
147 private MemoryFile mMemoryFileSecondary;
198 assertTrue("allocating MemoryFile returned null: "
454 // MemoryFile identification is not supported by Android yet
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsHelper.java 29 import android.os.MemoryFile;
    [all...]
  /prebuilts/tools/common/m2/repository/com/github/marschall/memoryfilesystem/0.6.4/
memoryfilesystem-0.6.4.jar 
  /external/mesa3d/src/gallium/drivers/nouveau/codegen/
nv50_ir_from_tgsi.cpp 978 struct MemoryFile {
981 std::vector<MemoryFile> memoryFiles;
    [all...]
  /frameworks/base/config/
preloaded-classes     [all...]
  /external/guice/extensions/persist/lib/
db4o-6.4.14.8131-java5.jar 

Completed in 832 milliseconds

1 2