Remove sqlite-jdbc sources that moved to external/javasqlite

Change-Id: I1782aa53b05b959100c9fe3a55a718121e3b0f58
Add fstat(2), lstat(2), and stat(2).

Bug: 3107501
Change-Id: Ic36f9ffd03446d6e0189470f42abdadde57327df
Use the '@hide' tag rather than reflection and initialization order tricks.

Change-Id: I6e72ff327673103306e788558c449927e9049883
http://code.google.com/p/android/issues/detail?id=15388
Merge "Use the '@hide' tag rather than reflection and initialization order tricks." into dalvik-dev
resolved conflicts for merge of b5d9f82a to dalvik-dev

Change-Id: Iad4368d3d4974406c610e432bb3dfde411135176
Merge "Add fstat(2), lstat(2), and stat(2)." into dalvik-dev
Add sysconf(3).

This gives us a getpagesize(3) replacement right now, and will let us implement
Runtime.availableProcessors here rather than in the VM in a later change.

Bug: 3107501
Change-Id: I6fc1f83d36b026fbe8d37eca525550479677f2de
Reimplement Runtime.availableProcessors.

Bug: 3107501
Change-Id: I38dd8d916f9a69da5019c9359774ac28250a78f2
Minor cleanup: remove useless "return"s and dead package-private methods.

Change-Id: I8bb1531e2c0d45a7ec9c0bd4b6195cee15e29ac0
DO NOT MERGE: Ensure sslSelect is non-blocking

This was cherry-picked back from Honeycomb 41e32e5a6b091b2f8682f525bae47deb395be4b1

sslSelect had a comment explaining why its blocking read from a pipe
would never block. However, there is repeatable evidence to the
contrary. Attaching gdb to a process with SSLSocket blocked in both
read and write showed that the writer was waiting in sslSelect trying
to acquire the AppData::mutex while the reader was holding the mutex
and blocked in read(2).

This change makes the file descriptor of the pipe non-blocking.
Callers of sslSelect select already repeat their attempt to handshake,
read, or write as necessary when waking up from select, so now if the
code is woken up by the pipe, it continues regardless of the read
status.

Bug: 3332268
Change-Id: I75fb094e168d89a8e2752a6e12ee79f9adadc013
am 44fa6764: DO NOT MERGE: Ensure sslSelect is non-blocking

* commit '44fa6764d0f235032cc64fb4ecd7018140a2d5d8':
  DO NOT MERGE: Ensure sslSelect is non-blocking
am a33fb54f: (-s ours) am 44fa6764: DO NOT MERGE: Ensure sslSelect is non-blocking

* commit 'a33fb54fb887139d923d33ffa0dca86b1fd4d7e0':
  DO NOT MERGE: Ensure sslSelect is non-blocking
am 5c21cb19: (-s ours) am a33fb54f: (-s ours) am 44fa6764: DO NOT MERGE: Ensure sslSelect is non-blocking

* commit '5c21cb19f0ac094ed418a43fd82e2da9d5118844':
  DO NOT MERGE: Ensure sslSelect is non-blocking
am 482f8305: (-s ours) am 5c21cb19: (-s ours) am a33fb54f: (-s ours) am 44fa6764: DO NOT MERGE: Ensure sslSelect is non-blocking

* commit '482f8305a5aa43cb94a9f05be7c2ffecd1534f13':
  DO NOT MERGE: Ensure sslSelect is non-blocking
Add ftruncate(2).

The claim that "the port library" modifies the file offset appears to only ever
have been true of Harmony's Win32 implementation. Certainly, this is not the
behavior of ftruncate(2), so we can lose the cruft.

Bug: 3107501
Change-Id: I35092fd986296b78c4847c7215765f9997339f37
Move sqlite-jdbc to be a static library

Change-Id: If02a0973eb7ba0291a75397dda5f221b810890de
Add lseek(2).

Bug: 3107501
Change-Id: Ie27e2ae1c7d37de5f02b1d81ee2005182339f881
Merge "Move sqlite-jdbc to be a static library" into dalvik-dev
Merge "Add lseek(2)." into dalvik-dev
Move URLConnection classes to libcore.net.

Change-Id: I14bf8373dfce50dda94e1a64419b9a8a9cf3c82e