7661 Commits

Author SHA1 Message Date
San Mehat
242d65bf9f process: Switch to common cutils sched_policy api
Signed-off-by: San Mehat <san@google.com>
2009-09-12 10:48:03 -07:00
Ye Wen
9a0bf14c4f Moving ImProvider to TalkProvider: Change Im.java to use the new TalkProvider; change the authority
from "im" to "com.google.android.providers.talk"; also change the mime types.
2009-09-11 22:22:20 -07:00
Android (Google) Code Review
d2cc42733e Merge change 24825 into eclair
* changes:
  fix [2111536] [FAST BLOCKER] Device is soft rebooted after ending the call through voice dialer
2009-09-11 22:19:10 -04:00
Mathias Agopian
3e63f9173a fix [2111536] [FAST BLOCKER] Device is soft rebooted after ending the call through voice dialer 2009-09-11 19:18:20 -07:00
Android (Google) Code Review
f376c837ea Merge change 24805 into eclair
* changes:
  Don't init wifiChannels until after supplicant up
2009-09-11 21:08:38 -04:00
Android (Google) Code Review
e441dcbb4e Merge change 22561 into eclair
* changes:
  Performance measurement framework:
2009-09-11 21:02:54 -04:00
Android (Google) Code Review
9a7efa4529 Merge change 24789 into eclair
* changes:
  	modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java 	modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java Fix the m4a1 duration and the also fix the random_seek time error in the stress test.
2009-09-11 20:59:42 -04:00
Android (Google) Code Review
a28948d754 Merge change 24754 into eclair
* changes:
  Handle secondary APN connect failures.
2009-09-11 20:53:43 -04:00
Robert Greenwalt
89bd269975 Handle secondary APN connect failures.
Without this we'd only try a secondary APN once and the stop silently, leaving
no APN connected.

Adds a second retry manager with configuration strings to do a more approriate
retry.  Don't retry secondary apn forever.

On permanent failure or retry count hit, we send a Phone.REASON_APN_FAILED
disconnect status.

bug: 2112114
2009-09-11 17:35:50 -07:00
Robert Greenwalt
7c9bf7caa2 Don't init wifiChannels until after supplicant up
The supplicant can take up to 15 seconds to start - setting the number of wifi channels
immediately after requested wifi start often will fail.

Changed to set the number of channels when the supplicant is reported as alive.

bug:2083601
2009-09-11 17:23:35 -07:00
Jack Wang
ff1df69dd4 Performance measurement framework:
+ For bug 1810508
  - Added PerformanceCollector class to collect runtime and memory usage data
    * Moved performance snapshotting from Intrumentation to PerformanceCollector
  - Added PerformanceResultsWriter interface which defines functions for
    reporting performance data

+ Framework integration
  - Added TimedTest annotation to automatically time tests and write results
    to instrumentation output
  - Modified PerformanceTestBase to add collection hooks and wrapper methods
  - Modified WatcherResultPrinter in InstrumentationTestRunner to implement
    PerformanceResultsWriter for instrumentation output of performance data
  - Modified InstrumentationTestRunner and AndroidTestRunner to pass writer
    instance to test
2009-09-11 17:15:15 -07:00
Android (Google) Code Review
38eeac305a Merge change 24797 into eclair
* changes:
  Don't backup/restore telephony material from secure settings
2009-09-11 20:04:01 -04:00
Yu Shan Emily Lau
147a0c270b modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java
Fix the m4a1 duration and the also fix the random_seek time error in the stress test.

        modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java
2009-09-11 16:37:42 -07:00
Christopher Tate
0738e88935 Don't backup/restore telephony material from secure settings
* Remove several nonportable telephony settings from the set to be included in
  the backed-up dataset

* Explicitly ignore those settings if they're encountered during a restore
  operation, so that we don't inadvertently do things like configure a GSM
  phone to use CDMA logic.
2009-09-11 16:35:39 -07:00
Android (Google) Code Review
d3e061fc8f Merge change 24609 into eclair
* changes:
  If disk-full, don't crash the system server. Still todo: when we have disk we should trigger the  event again.
2009-09-11 19:24:44 -04:00
Android (Google) Code Review
b942db35c5 Merge change 24773 into eclair
* changes:
  Fix NPE in TelephonyManager.
2009-09-11 18:26:02 -04:00
Grace Kloba
e621d6ffb9 Use floor to calculate the range to avoid the rounding error triggered
scrollbar. The worst case is that you can never scroll down to the last
pixel. The old special case can cause problem when getViewWidth/Height
have changed which do not match mLastXXSent any more.

Remove FIND_HEIGHT from computeVerticalScrollRange per conversation with Leon.

Change computeMaxScrollY to use computeVerticalScrollRange which matches
how it computes X.

Change onMeasure to use contentToViewDimension() as it has the same logic.
2009-09-11 15:07:25 -07:00
johnwang
5f1f26a7ff Fix NPE in TelephonyManager.
It is for bug 1971628 but affects almost every API function in TelephonyManager. When phone is not ready (for example, after crash and restart) the getSubscriberInfo and getITelephony returns null and causes NPE.
2009-09-11 14:49:47 -07:00
Android (Google) Code Review
66c2a97670 Merge change 24762 into eclair
* changes:
  dumpstate: Switch back to running as non-root
2009-09-11 17:45:10 -04:00
Android (Google) Code Review
02ee5387d3 Merge change 24764 into eclair
* changes:
  Add @Widget annotation to GestureOverlayView to make it usable in ADT.
2009-09-11 17:30:46 -04:00
Romain Guy
51099c5aa6 Add @Widget annotation to GestureOverlayView to make it usable in ADT.
Change-Id: I86251f0d35e38460f09779f047aabfa99d2e97ae
2009-09-11 14:29:15 -07:00
Scott Main
528954c4d6 docs only.
fix sample code errors per bug 2115299

Change-Id: Ie0e614b0b8fdb0ec744db288042ab1f484f52bfd
2009-09-11 14:14:36 -07:00
Jaikumar Ganesh
32d8571f50 Changes for BT 2.1
1) Handle incoming 2.1 pairing requests
2) Modify displaying error messages on bond failures.
3) Add delay while accepting incoming pairing for certain 2.1 devices.
When MITM is on, the link key request might come more than once.
Auto accept with a delay.
4) Handle DisplayPasskey callback for pairing a 2.1 keyboard with
a 2.1 device
2009-09-11 14:12:48 -07:00
Mike Lockwood
5a131e52cc dumpstate: Switch back to running as non-root
Now that we have straightened out the permissions on /data/dontpanic,
root is no longer necessary.

Change-Id: Ic895d712c2e929e4935707da321e1a2b015285c0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-11 17:12:27 -04:00
Android (Google) Code Review
162ec9993e Merge change 24635 into eclair
* changes:
  Fix issue #1983406: Soft keyboard doesn't show up in an EditText with "digits" attribute set
2009-09-11 16:46:19 -04:00
Dianne Hackborn
8cae124af2 Various cleanup around resources and nine-patches.
Remove the stuff that doesn't use preloaded drawables when in
compatibility mode, since this works fine ever since we were able
to deal with drawables in a different density than the canvas.

Change the snapshot function on View to return a snapshot at
the same size that will actually be drawn on screen (when in
compatibility mode), to be able to show scaling artifacts and
all.

This change was original an attempt to fix issue #2101917: Text
field edges appears to be improperly rounded.  That turns out to
probably be something deeper in the graphics system, but also
included here is the debugging code I did to try to track down the
problem to make it easy to turn on again later.

Change-Id: I34bfca629639c7ff103f3989d88874112ef778d9
2009-09-11 13:31:45 -07:00
Andreas Huber
2dc64d80e3 Apparently I must not use OMX_UseBuffer on either input or output ports on any of the TI components... or else. 2009-09-11 12:58:53 -07:00
Android (Google) Code Review
7ff269f359 Merge change 24735 into eclair
* changes:
  Handle DisconnectRequested message sent by Bluez.
2009-09-11 15:24:01 -04:00
Jaikumar Ganesh
5e59ca8ae4 Handle DisconnectRequested message sent by Bluez. 2009-09-11 12:16:19 -07:00
Android (Google) Code Review
d68781ace1 Merge change 24675 into eclair
* changes:
  change default for dither to true
2009-09-11 14:56:14 -04:00
Mike Reed
211db4a287 change default for dither to true 2009-09-11 14:40:15 -04:00
Android (Google) Code Review
b14a14194c Merge change 24475 into eclair
* changes:
  Save and restore partial supplicant data, not the whole file.
2009-09-11 14:23:33 -04:00
Amith Yamasani
2cfab84458 Save and restore partial supplicant data, not the whole file.
This makes it compatible between different device types with different
wifi chipsets.
2009-09-11 11:21:19 -07:00
Scott Main
aab72e7c77 am 4d484a82: Merge change 24700 into donut
Merge commit '4d484a823d336ea587e37508fe73178d711dcdca' into eclair

* commit '4d484a823d336ea587e37508fe73178d711dcdca':
  docs only.
2009-09-11 10:49:33 -07:00
Android (Google) Code Review
4d484a823d Merge change 24700 into donut
* changes:
  docs only. add android 1.6 video to the highlights doc and featured videos list
2009-09-11 13:44:08 -04:00
Android (Google) Code Review
e1a9de7a2e Merge change 24702 into eclair
* changes:
  Only build the "full" stagefright (including MediaExtractors and MediaPlayer) if BUILD_WITH_FULL_STAGEFRIGHT define is set (to true).
2009-09-11 13:11:20 -04:00
Andreas Huber
2aa39c4507 Only build the "full" stagefright (including MediaExtractors and MediaPlayer) if BUILD_WITH_FULL_STAGEFRIGHT define is set (to true). 2009-09-11 09:54:52 -07:00
Scott Main
94443320ee docs only.
add android 1.6 video to the highlights doc and featured videos list

Change-Id: I8a641a26b7600142af3fbe417fdef89884afb703
2009-09-11 09:45:31 -07:00
Scott Main
764b0c6c66 am 79253f8b: Merge change 24690 into donut
Merge commit '79253f8b4223976c010e52a34e8785648c8fb074' into eclair

* commit '79253f8b4223976c010e52a34e8785648c8fb074':
  docs only.
2009-09-11 09:32:26 -07:00
Scott Main
a1103f336d am 890175db: Merge change 24574 into donut
Merge commit '890175db1f425cb92365cc7941c6c64544b2c164' into eclair

* commit '890175db1f425cb92365cc7941c6c64544b2c164':
  docs only.
2009-09-11 09:32:19 -07:00
Android (Google) Code Review
79253f8b42 Merge change 24690 into donut
* changes:
  docs only. update japanese site homepage with 1.6 sdk links
2009-09-11 12:27:49 -04:00
Android (Google) Code Review
890175db1f Merge change 24574 into donut
* changes:
  docs only. revise the maxSdkVersion description
2009-09-11 12:27:30 -04:00
Dirk Dougherty
40351ecec8 am 7350ff3d: Merge change 24631 into donut
Merge commit '7350ff3d572624abb5a46c3c4969e0b91cb05109' into eclair

* commit '7350ff3d572624abb5a46c3c4969e0b91cb05109':
  Minor changes to api levels doc and upgrading doc. Change Linux "tested on" to Hardy Heron.
2009-09-11 09:25:45 -07:00
Dirk Dougherty
8a948de56d am 18dd1eeb: Merge change 24419 into donut
Merge commit '18dd1eeb23a700ba37604d521d7eab8a371f9dc5' into eclair

* commit '18dd1eeb23a700ba37604d521d7eab8a371f9dc5':
  Move API change details from highlights doc to version notes doc.
2009-09-11 09:25:38 -07:00
Android (Google) Code Review
7350ff3d57 Merge change 24631 into donut
* changes:
  Minor changes to api levels doc and upgrading doc. Change Linux "tested on" to Hardy Heron.
2009-09-11 12:19:28 -04:00
Android (Google) Code Review
18dd1eeb23 Merge change 24419 into donut
* changes:
  Move API change details from highlights doc to version notes doc.
2009-09-11 12:16:19 -04:00
Scott Main
46f2c55f9a docs only.
update japanese site homepage with 1.6 sdk links

Change-Id: I95041f67a016edb5bc4c2e2d6e746c98133e32ee
2009-09-11 08:46:21 -07:00
Andreas Huber
6026a51424 Move JPEGSource.{cpp,h} into libstagefright. 2009-09-11 07:49:50 -07:00
Bjorn Bringert
2fcaf79a18 Tell GlobalSearch about searches without a suggestion
This is the framework part of http://b/issue?id=2099399
"executing a search in QSB should create a shortcut (like
when you click on a search suggestion)"

Change-Id: I2d07d9bfc808112948629ca16b24bc870fbd5fa6
2009-09-11 15:23:37 +01:00
Hung-ying Tyan
a7df557aa2 Add tests and misc fixes on keystore.
* Refactor netkeystore.c to make client and server code testable.
* Add a client test for setting new passwd and changing passwd.
* Exclude "." and ".." from reset_keystore().
* Change ServerCommand.executeCommand() to accept variable length of
  arguments and add convert() to marshalling the args to bytes.
* Keystore.java is revised accordingly.
2009-09-11 19:30:13 +08:00