Remove dx/tests/120-disable-extend-ops

Support for the target-api flag was removed in 2011.

Change-Id: Id50c53f759d4e3a59f550dbeb6e733b68df58dd3
Revert "dalvik: dalvik device extension pack."

This reverts commit 337a595d746d34ade52e3aba2c739455dfd3cf57.

Conflicts:
	vm/Dvm.mk
	vm/compiler/codegen/arm/CodegenDriver.cpp
	vm/compiler/codegen/arm/Thumb2/Gen.cpp

Change-Id: I23a0dd2fa60bb995a4c885144d65ae2cc93836ae
Rebuild dalvik

*** Tiny optimization for complier templates for arm.
1. Remove possible bubble in TEMPLATE_STRING_INDEXOF.S
2. Remove 1 instruction and reorder the opcodes
   TEMPLATE_MUL_LONG.S
3. Reorder ldr r2 instruction in TEMPLATE_RETURN.S

*** Rename unreasonable function name dmvCompilerTemplateEnd
In dalvik, most function names start with "dvm" except dmvCompilerTemplateEnd.
Convert it to dvmCompilerTemplateEnd in order to follow the rule.

Change-Id: I9ad7738b368919d35e3e1d4ba2daee1987c771c2
JIT tuning; set cache size on command line

The tuning knobs for triggering trace compilation for the JIT
had not been revisited for several years.  In that time, the
working set of some applications have significantly increased,
leading to frequent cache overlows & flushes.

This CL adds the ability to set the maximum size of the JIT's
cache on the command line, and we expect to use different settings
depending on device configuration (rule of thumb: 1K for each 1M
for system RAM, with 2M limit).

Additionally, the trace compilation trigger has been tightened to
limit the compilation of cold traces.

Change-Id: Ic338d7dc1a4e8ad194a52ef964b133a56a2e170e
Revert "Show size/alloc/free per Dalvik heap space in dumpsys"

This reverts commit 478976606f43c8095c829a5b78d79ff50b4c43ef.

Conflicts:
	vm/alloc/HeapSource.cpp

Change-Id: Ic07cd2720d3e7a999a7621d2e93cbc80e3b9d225