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

1 2 3 4

  /art/test/080-oom-fragmentation/src/
Main.java 20 long maxMem = Runtime.getRuntime().maxMemory();
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
StreamUtil.java 12 // private static final long MAX_MEMORY = Runtime.getRuntime().maxMemory();
54 long maxMemory = Runtime.getRuntime().maxMemory();
55 if (maxMemory > Integer.MAX_VALUE)
60 return (int) maxMemory;
  /art/test/061-out-of-memory/src/
Main.java 53 a = new byte[(int) Runtime.getRuntime().maxMemory() - 32];
82 for (int i = 0; i < Runtime.getRuntime().maxMemory() / objSize; i++) {
  /packages/apps/Settings/src/com/android/settings/applications/
ProcessStatsPreference.java 37 public void init(ProcStatsPackageEntry entry, PackageManager pm, double maxMemory,
54 setProgress((int) (100 * amount / maxMemory));
ProcessStatsUi.java 170 double maxMemory = mShowMax ? memInfo.realTotalRam
176 pref.init(pkg, mPm, maxMemory, memInfo.weightToRam,
  /external/libmojo/jni/java/lang/
Runtime.class 
  /prebuilts/go/darwin-x86/src/mime/multipart/
formdata.go 21 // It stores up to maxMemory bytes of the file parts in memory
23 func (r *Reader) ReadForm(maxMemory int64) (*Form, error) {
24 return r.readForm(maxMemory)
27 func (r *Reader) readForm(maxMemory int64) (_ *Form, err error) {
72 n, err := io.CopyN(&b, p, maxMemory+1)
76 if n > maxMemory {
93 maxMemory -= n
formdata_test.go 93 maxMemory := int64(32) << 20
104 f, err := mr.ReadForm(maxMemory)
  /prebuilts/go/linux-x86/src/mime/multipart/
formdata.go 21 // It stores up to maxMemory bytes of the file parts in memory
23 func (r *Reader) ReadForm(maxMemory int64) (*Form, error) {
24 return r.readForm(maxMemory)
27 func (r *Reader) readForm(maxMemory int64) (_ *Form, err error) {
72 n, err := io.CopyN(&b, p, maxMemory+1)
76 if n > maxMemory {
93 maxMemory -= n
formdata_test.go 93 maxMemory := int64(32) << 20
104 f, err := mr.ReadForm(maxMemory)
  /art/test/004-NativeAllocations/src/
Main.java 73 maxMem = Runtime.getRuntime().maxMemory();
  /frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/
ImageLoader.java 35 Math.round(Runtime.getRuntime().maxMemory() / 10));
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
RuntimeTest.java 114 * java.lang.Runtime#maxMemory()
119 assertTrue("maxMemory() < totalMemory()", r.maxMemory() >= r.totalMemory());
  /libcore/ojluni/src/main/native/
Runtime.c 86 FAST_NATIVE_METHOD(Runtime, maxMemory, "()J"),
  /frameworks/support/buildSrc/src/main/groovy/android/support/jdiff/
JDiffTask.groovy 62 maxMemory = "1280m"
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
AlbumArtCache.java 57 // Holds no more than MAX_ALBUM_ART_CACHE_SIZE bytes, bounded by maxmemory/4 and
60 (int) (Math.min(Integer.MAX_VALUE, Runtime.getRuntime().maxMemory()/4)));
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageCache.java 164 return Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
AlbumArtCache.java 58 // Holds no more than MAX_ALBUM_ART_CACHE_SIZE bytes, bounded by maxmemory/4 and
61 (int) (Math.min(Integer.MAX_VALUE, Runtime.getRuntime().maxMemory()/4)));
  /libcore/ojluni/src/main/java/sun/misc/
VM.java 270 directMemory = Runtime.getRuntime().maxMemory();
  /packages/apps/TV/src/com/android/tv/util/
ImageCache.java 174 Math.round(percent * Runtime.getRuntime().maxMemory() / 1024));
  /libcore/luni/src/test/java/libcore/util/
NativeAllocationRegistryTest.java 48 long max = Runtime.getRuntime().maxMemory();
  /frameworks/support/buildSrc/src/main/groovy/android/support/doclava/
DoclavaTask.groovy 126 maxMemory = "1280m"
  /external/lz4/programs/
bench.c 77 static const size_t maxMemory = (sizeof(size_t)==4) ? (2 GB - 64 MB) : (size_t)(1ULL << ((sizeof(size_t)*8)-31));
369 if (requiredMem > maxMemory) requiredMem = maxMemory;
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
AlbumArtCache.java 74 // Holds no more than MAX_ALBUM_ART_CACHE_SIZE bytes, bounded by maxmemory/4 and
77 (int) (Math.min(Integer.MAX_VALUE, Runtime.getRuntime().maxMemory() / 4)));
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
AlbumArtCache.java 74 // Holds no more than MAX_ALBUM_ART_CACHE_SIZE bytes, bounded by maxmemory/4 and
77 (int) (Math.min(Integer.MAX_VALUE, Runtime.getRuntime().maxMemory() / 4)));

Completed in 773 milliseconds

1 2 3 4