Restore dalvik-host target to working order

Change-Id: I11e76580308e82e3e267439287690191fa2528d7
Bring NativeCode.mk in line with the internal copy.

Change-Id: I4b42be83871a852d087ff9da6eeca8c5a08b1f19

Conflicts:
	NativeCode.mk
Fix build.

Change-Id: Ie6ecb725cf8a93bb2ecd2bafdbfef445c7cc4eea

Conflicts:
	luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/PatternSyntaxExceptionTest.java
Clean up a test slightly.

Change-Id: I9ac48591069037a51e95bb57eebb868d225caf6d
Fix libcore.java.util.OldScannerTest#testPerformance.

If we're going to read a stream twice, we need to mark/reset it.

Bug: 10211213
Change-Id: I0591af6502ff421e9569b899da080632d883b6c2

Conflicts:
	luni/src/test/java/libcore/java/util/OldScannerTest.java
Fix backwards internal javadoc

Change-Id: Ia0c5ea1e2400e5767b4fbb3ec428c7b5106ab7b6
Move libcore to C++11.

Change-Id: I1942be8f7cef51265d53272f36a217e88bfede94
Fix CharsetTest for SCSU and Shift_JIS.

We went from using approximations to using the real thing, but didn't tell the
tests. I've also added the reverse tests, because that's what we really care
about --- that the byte sequence decodes as the replacement character.

Bug: 10310458
Change-Id: I49fa0644413fe8edb8235515cf918b98383b3008
Fix PriorityQueue.removeAt(.), call siftUp(.) if needed.

Bug: 10424240
Change-Id: I6bbe0bb4da008bc9b7c0b006985fa7d5631b094f
Fixed possible file handle leak
Automatically flush the cache when an edit is completed.

This will remove the need for applications to manually flush
the cache.