49173 Commits

Author SHA1 Message Date
Elliott Hughes
f142708b83 Merge "Address comments for dalvik/docs/jni-tips.html documentation." 2011-04-14 12:54:27 -07:00
Scott Main
d08debcb21 docs: bring back the SDK EULA wall for downloading archived SDKs
Change-Id: Ieccd0d03ca49a68d7d4956aa4991d8a73ffff674
2011-04-14 12:31:17 -07:00
Elliott Hughes
f243343c18 Address comments for dalvik/docs/jni-tips.html documentation.
Change-Id: I7b46e4a04491290e922b4af9491725a75b1c0a32
2011-04-14 11:41:04 -07:00
Dounia Berrada
3f7480dc40 Adding WebElement.java which provides DOM friendly API function to
lookup HTML elements in the page.

Change-Id: I9eab3f5f017ea4f1123fdbe4048f28e96883e742
2011-04-14 11:09:24 -07:00
Steve Block
7aa74c3d7a Merge "First bits of WebDriver containing blocking function to load a page and fetching the page source." 2011-04-14 11:07:04 -07:00
Dianne Hackborn
44329ad519 Merge "Rewrite battery history storage." 2011-04-14 10:58:28 -07:00
Dianne Hackborn
0ffc988a7f Rewrite battery history storage.
We now write battery history directly into a buffer, instead of
creating objects.  This allows for more efficient storage; later
it can be even better because we can only write deltas.

The old code is still there temporarily for validation.

Change-Id: I9707d4d8ff30855be8ebdc93bc078911040d8e0b
2011-04-14 10:57:22 -07:00
Dounia Berrada
600780bb2e First bits of WebDriver containing blocking function to load a page and
fetching the page source.

bug: 3457555
Change-Id: I5fbeb7f6103f1e1af04b7a6964cde5710338ee6e
2011-04-14 10:51:00 -07:00
Elliott Hughes
81f66862a7 Merge "Add the old dalvik/docs/jni-tips.html documentation." 2011-04-14 10:43:40 -07:00
Gilles Debunne
4b428dc215 Merge "Fix around suggestionSpan." 2011-04-14 10:38:05 -07:00
Andreas Huber
f0f1ceeb51 DO NOT MERGE: Make sure we restart the prefetcher immediately when trying to satisfy a read.
Change-Id: I27c2b5d20ae577e71936d32522f70f6ba08cc247
related-to-bug: 4286618
2011-04-14 10:10:36 -07:00
Elliott Hughes
10c7ceb546 Add the old dalvik/docs/jni-tips.html documentation.
There are no content changes here, just formatting changes to fit
the local style. I'll make content changes later.

Change-Id: I4109ca819469bc9316c847cdc9176ed41de3ef87
2011-04-13 19:01:11 -07:00
Elliott Hughes
d195e5ab40 Replace a custom AndroidRuntime::findClass with a more targeted fix.
This seems simpler and more contained, and I think the comment explaining
why hoop-jumping is necessary is a bit clearer now.

Change-Id: Ief4afd7cbb42188ed835fce23e497520bdb753a8
2011-04-13 16:43:15 -07:00
Gilles Debunne
a00972ab9a Fix around suggestionSpan.
Since the kind was unknown, doing a copy/cut on text with a SuggestionSpan crashed.

Change-Id: I10c0677b3587897b82c794db57d7b07149f12e09
2011-04-13 16:07:34 -07:00
Xia Wang
5cde33b7d1 am a4b76ff4: am d69ec89f: am 46b59ef0: Merge "Fix access point parsing: reset static link property after parsing static ip setting Fix removeConfiguredNetwork: add sleep between remove configured network and disable wifi" into honeycomb-mr1
* commit 'a4b76ff4911538f01e92af2f3fa3f4016ad0e290':
  Fix access point parsing: reset static link property after parsing static ip setting Fix removeConfiguredNetwork: add sleep between remove configured network and disable wifi
2011-04-13 16:05:07 -07:00
Xia Wang
a4b76ff491 am d69ec89f: am 46b59ef0: Merge "Fix access point parsing: reset static link property after parsing static ip setting Fix removeConfiguredNetwork: add sleep between remove configured network and disable wifi" into honeycomb-mr1
* commit 'd69ec89f5d31064174d79e2e77504814629cffa6':
  Fix access point parsing: reset static link property after parsing static ip setting Fix removeConfiguredNetwork: add sleep between remove configured network and disable wifi
2011-04-13 15:52:39 -07:00
Gloria Wang
966f9e558d Merge "- Add another parameter in notify() to be able to send timed text sample through listener during video playback. - Add OnTimedTextListener in the MediaPlayer For feature request 800939." 2011-04-13 15:36:14 -07:00
Xia Wang
d69ec89f5d am 46b59ef0: Merge "Fix access point parsing: reset static link property after parsing static ip setting Fix removeConfiguredNetwork: add sleep between remove configured network and disable wifi" into honeycomb-mr1
* commit '46b59ef01be530a6bbe3f0e9a2bed27de9985f40':
  Fix access point parsing: reset static link property after parsing static ip setting Fix removeConfiguredNetwork: add sleep between remove configured network and disable wifi
2011-04-13 15:34:29 -07:00
Xia Wang
46b59ef01b Merge "Fix access point parsing: reset static link property after parsing static ip setting Fix removeConfiguredNetwork: add sleep between remove configured network and disable wifi" into honeycomb-mr1 2011-04-13 15:13:10 -07:00
Glenn Kasten
3220d0a1de am 8d2e14da: am 34cd123a: am b0d6f10e: Bug 4167061 remove debugging code
* commit '8d2e14daa752d657b9747fc9734fbfd7b34c1f7a':
  Bug 4167061 remove debugging code
2011-04-13 11:56:41 -07:00
Glenn Kasten
8d2e14daa7 am 34cd123a: am b0d6f10e: Bug 4167061 remove debugging code
* commit '34cd123a2ee1aa9d13d7eb9ee9c9dd5a1cea50a4':
  Bug 4167061 remove debugging code
2011-04-13 11:52:32 -07:00
Glenn Kasten
34cd123a2e am b0d6f10e: Bug 4167061 remove debugging code
* commit 'b0d6f10eedeef099164995d51dbd076a6fcc5acc':
  Bug 4167061 remove debugging code
2011-04-13 11:48:28 -07:00
Glenn Kasten
b0d6f10eed Bug 4167061 remove debugging code
Change-Id: I1cb46a7bbf885c72e75d32f3f7675d90ab611e85
2011-04-13 11:16:49 -07:00
Gloria Wang
162ee49e1c - Add another parameter in notify() to be able to send timed text sample
through listener during video playback.
- Add OnTimedTextListener in the MediaPlayer
For feature request 800939.

Change-Id: I65072c27acb4c0037109a72be38c73e9f667420f
2011-04-13 11:11:34 -07:00
Steve Block
62e3dee27d Merge "Fix a typo in FrameLayout JavaDoc" 2011-04-13 11:10:17 -07:00
Elliott Hughes
13f3683d93 Merge "More native code cleanup." 2011-04-13 11:09:57 -07:00
Steve Block
1ba7b7efae Fix a typo in FrameLayout JavaDoc
Change-Id: I8b016aff1f790fbeaf435170c1ff33455ec91204
2011-04-13 18:37:17 +01:00
Elliott Hughes
f17b971a75 More native code cleanup.
Use ScopedUtfChars (fixes a leak in TrafficStats, and fixes a crash in Wifi in
a case where GetStringChars could have been called with a pending exception).

Change-Id: I3465ff392b4038dfdafa6af80ec1314cc6d6a11c
2011-04-13 10:34:23 -07:00
Andreas Huber
0a47f4f711 Parcel::appendFrom({const } Parcel *parcel, size_t, size_t)
As far as I can tell "parcel" isn't actually modified by the implementation.

Change-Id: Ib806eefdc13c97b932773e1dc9ca3a4aad4422b2
2011-04-13 10:21:56 -07:00
Elliott Hughes
f9dc3db273 Merge "Use an @hide libcore API to get the FileDescriptor from a Socket." 2011-04-13 10:18:03 -07:00
Elliott Hughes
e9cf71dfd0 Merge "Don't allocate a raw object then call its constructor manually..." 2011-04-13 10:17:46 -07:00
Wu-cheng Li
fda06c0cd9 Merge "Add camera metering area API." 2011-04-13 01:14:42 -07:00
Wu-cheng Li
e98e4c8063 Add camera metering area API.
The API are still hidden.

bug:3475893
Change-Id: Id4147528def5e0fe067e1a3ed315fa34c14a0640
2011-04-13 16:06:47 +08:00
Dianne Hackborn
2432d1bd48 Forgot to add this file.
Change-Id: I7b29785599ab8e4b8b29099a8398ef86df6aef31
2011-04-12 19:12:30 -07:00
Dianne Hackborn
0c5001d776 Add APIs to remove tasks.
You can remove sub-tasks inside of a task, or an entire task.

When removing an entire task, you can have its process killed
as well.

When the process is killed, any running services will get an
onTaskRemoved() callback for them to do cleanup before their
process is killed (and the service possibly restarted).

Or they can set a new android:stopWithTask attribute to just
have the service automatically (cleanly) stopped at this point.

Change-Id: I1891bc2da006fa53b99c52f9040f1145650e6808
2011-04-12 18:28:06 -07:00
Elliott Hughes
cf6f7a0f00 Don't allocate a raw object then call its constructor manually...
We can do this in one step.

Change-Id: Id6b70c83002038caf62fe89cc769eca54ae0c055
2011-04-12 17:50:45 -07:00
Wink Saville
26b05f7dc3 am 05be003f: am c078a436: Merge "Fix occasional phone app crash" into honeycomb-LTE
* commit '05be003f7f3dd758c44c2cdb3e7aa638d8daa446':
  Fix occasional phone app crash
2011-04-12 17:03:29 -07:00
Wink Saville
05be003f7f am c078a436: Merge "Fix occasional phone app crash" into honeycomb-LTE
* commit 'c078a4362791cec3976c4312d3f7e0e96b3487bf':
  Fix occasional phone app crash
2011-04-12 17:00:57 -07:00
Wink Saville
c078a43627 Merge "Fix occasional phone app crash" into honeycomb-LTE 2011-04-12 16:53:54 -07:00
Elliott Hughes
3495d08c40 Merge "Remove useless forward declarations." 2011-04-12 16:29:49 -07:00
Elliott Hughes
4cb1753ec6 Remove useless forward declarations.
Change-Id: I8f191367acb18ea9a3f807e791099e0485b1b249
2011-04-12 16:10:26 -07:00
David Li
e7180e8644 GLES2Dbg: added CaptureDraw and CaptureSwap options
CaptureDraw specifies how many glDrawArrays/Elements to glReadPixel
CaptureSwap similarly applies to eglSwapBuffers

Change-Id: Ie7a7e3392b4ecdc0659dcee04f4bab97c35267dc
Signed-off-by: David Li <davidxli@google.com>
2011-04-12 15:56:10 -07:00
David Li
27f130a292 GLES2Dbg: use dump.gles2dbg file when fails to create socket
setprop debug.egl.debug_forceUseFile 1: always use file
setprop debug.egl.debug_maxFileSize <int MB>: exit when reached
setprop debug.egl.debug_filePath <path>: may need to make the file
 writable first.
setprop debug.egl.debug_port <unsigned short>
setprop debug.egl.debug_proc <proc cmdline>: to match debuggee process

Change-Id: I34ca1f3092f3abf17e2ded9d1689d0cdef6e07e8
Signed-off-by: David Li <davidxli@google.com>
2011-04-12 15:56:10 -07:00
David Li
e2ad4d0e37 GLES2Dbg: add EXTEND_AFTER_CALL_Debug_* macro and improve protocol
To allow auto generate of Debug_glReadPixels function.
Also added AfterGeneratedCall messag type, and client override
 of expectResponse for improving protocol.
Also implemented callers for client to get shader/program iv & infolog

Change-Id: I8426de0be4b7ffcb8b2b4f063ad85d19a9d2d72e
Signed-off-by: David Li <davidxli@google.com>
2011-04-12 15:56:10 -07:00
David Li
ce30eb8a90 GLES2Dbg: change GLES2_dbg to shared library
Change-Id: I493e9bff431bd939f4e80e1e9c614dd557307fa2
Signed-off-by: David Li <davidxli@google.com>
2011-04-12 15:56:10 -07:00
Kenny Root
2e3ede527d Merge "Updated system packages retain shared user" 2011-04-12 15:34:42 -07:00
Scott Main
83b61471c3 am bf3452f3: am 34b42b2d: am 7e8902a9: am f42937a8: docs: fix doc typo
* commit 'bf3452f36c768808873e5428e3594c7eaec0a10c':
  docs: fix doc typo
2011-04-12 14:55:32 -07:00
Scott Main
bf3452f36c am 34b42b2d: am 7e8902a9: am f42937a8: docs: fix doc typo
* commit '34b42b2ded4741e68413d0aa39f3af146629dcec':
  docs: fix doc typo
2011-04-12 14:52:30 -07:00
Scott Main
34b42b2ded am 7e8902a9: am f42937a8: docs: fix doc typo
* commit '7e8902a90566bf05c9bc12f87f4149fc6e3c00a4':
  docs: fix doc typo
2011-04-12 14:48:30 -07:00
Scott Main
7e8902a905 am f42937a8: docs: fix doc typo
* commit 'f42937a8aa0af6b22d8a2a43a9bfc07c38aeffb5':
  docs: fix doc typo
2011-04-12 14:44:02 -07:00