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

1 2 3

  /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 35 public void init(ProcStatsPackageEntry entry, PackageManager pm, double maxMemory,
48 setProgress((int) (100 * amount / maxMemory));
ProcessStatsUi.java 170 double maxMemory = mShowMax ? memInfo.realTotalRam
176 pref.init(pkg, mPm, maxMemory, memInfo.weightToRam,
  /art/test/004-NativeAllocations/src/
Main.java 63 maxMem = Runtime.getRuntime().maxMemory();
  /development/samples/Support7Demos/src/com/example/android/supportv7/graphics/
ImageLoader.java 36 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 87 NATIVE_METHOD(Runtime, maxMemory, "!()J"),
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/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)));
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/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/Support4Demos/src/com/example/android/supportv4/media/
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/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);
  /libcore/ojluni/src/main/java/sun/misc/
VM.java 270 directMemory = Runtime.getRuntime().maxMemory();
  /packages/apps/TV/src/com/android/tv/util/
ImageCache.java 164 Math.round(percent * Runtime.getRuntime().maxMemory() / 1024));
  /libcore/luni/src/test/java/libcore/util/
NativeAllocationRegistryTest.java 48 long max = Runtime.getRuntime().maxMemory();
  /libcore/ojluni/src/main/java/java/lang/
Runtime.java 746 public native long maxMemory();
    [all...]
  /libcore/ojluni/src/main/java/java/nio/
Bits.java 693 private static volatile long maxMemory = VM.maxDirectMemory();
705 maxMemory = VM.maxDirectMemory();
711 if (cap <= maxMemory - totalCapacity) {
727 if (totalCapacity + cap > maxMemory)
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java 509 memCacheSize = Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageCache.java 509 memCacheSize = Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageCache.java 509 memCacheSize = Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
FilterShowActivity.java     [all...]
  /cts/tests/video/src/android/video/cts/
VideoEncoderDecoderTest.java     [all...]
  /external/testng/ant/3rdparty/
cobertura.jar 
  /prebuilts/gradle-plugin/com/android/tools/build/builder/2.0.0-alpha9/
builder-2.0.0-alpha9.jar 

Completed in 1725 milliseconds

1 2 3