391 Commits

Author SHA1 Message Date
Andrei Popescu
59e2ad93bf Wire in the AppCache out-of-space callback 2009-07-29 11:07:44 +01:00
Tammo Spalink
f62a2bf29a allow illegal subparam sizes for CDMA SMS
addresses http://buganizer/issue?id=2008358
2009-07-29 14:31:43 +08:00
Guang Zhu
f4bf552b5a checkin for port forwarding through adb, gets access to external network via USB, this also adds in related plumbing for running the http hosted tests, but will not enable those tests yet. 2009-07-27 12:59:02 -07:00
Android (Google) Code Review
e624ee4e57 am 0fdedd00: Merge change 8612 into donut
Merge commit '0fdedd00c510e62223e47d0c5e605b2350d2d304'

* commit '0fdedd00c510e62223e47d0c5e605b2350d2d304':
  Remove visibility checks from SearchManager tests
2009-07-27 09:42:09 -07:00
Tammo Spalink
1424fe0059 added non-numeric cdma sms address support
addresses bug http://buganizer/issue?id=1992198
2009-07-27 14:59:10 +08:00
Bjorn Bringert
3fc78e1294 Remove visibility checks from SearchManager tests
Since the search UI is handled by the system process, and
the service calls to show and hide it are asynchronous,
the tests that checked the visibility of the search UI were
very flaky. This change sclaes the tests back to just check
that nothing crashes when showing and hiding the search UI.

Fixes http://b/issue?id=1993675
2009-07-26 22:27:47 +01:00
Dianne Hackborn
e2dba02441 am 11ea3347: Allow for screen density drawables in compatibility mode.
Merge commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8'

* commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8':
  Allow for screen density drawables in compatibility mode.
2009-07-24 16:08:56 -07:00
Dianne Hackborn
11ea33471e Allow for screen density drawables in compatibility mode.
This change allows us to use drawables that match the current screen
density even when being loaded in compatibility mode.  In this case,
the bitmap is loaded in the screen density, and the bitmap and
nine-patch drawables take care of accounting for the density difference.

This should be safe for existing applications, for the most part, since
they shouldn't really be pulling the bitmap out of the drawable.  For
the small rare chance of them breaking, it worth getting the correct
graphics.  Also this will only happen when there is actually a resource
of the matching density, and no existing apps should have resources for
anything besides the default density (though of course all of the
framework resources will be available in the native density).

As part of this, the bitmap density API has been changed to a single
integer provider the DPI unit density.
2009-07-24 10:47:15 -07:00
Android (Google) Code Review
4b0c3c73c7 Merge change 8302
* changes:
  add account manager permission checking
2009-07-23 17:17:03 -07:00
Android (Google) Code Review
2b067451dc am 1d4b87d4: Merge change 8360 into donut
Merge commit '1d4b87d492dfefb5506e9fcf358ced680322b754'

* commit '1d4b87d492dfefb5506e9fcf358ced680322b754':
  Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from
2009-07-23 16:25:58 -07:00
Fred Quintana
d4a1d2e142 add account manager permission checking 2009-07-23 16:03:54 -07:00
Android (Google) Code Review
1d4b87d492 Merge change 8360 into donut
* changes:
  Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from medium continuus suite.
2009-07-23 11:12:19 -07:00
Brett Chabot
a8b30990cb Remove failing test AutoCompleteTextViewCallbacks.testPopupNoSelection from
medium continuus suite.
2009-07-23 10:55:32 -07:00
Android (Google) Code Review
1186bb1eca am ae1ba650: Merge change 8227 into donut
Merge commit 'ae1ba650074ab7b9a73f4430c1fc3576a8199383'

* commit 'ae1ba650074ab7b9a73f4430c1fc3576a8199383':
  Handle null in MatrixCursor.get*()
2009-07-22 13:29:31 -07:00
Android (Google) Code Review
ae1ba65007 Merge change 8227 into donut
* changes:
  Handle null in MatrixCursor.get*()
2009-07-22 13:27:26 -07:00
Bjorn Bringert
f2cec58d90 Handle null in MatrixCursor.get*()
Before, if a column contained null, MatrixCursor.getString()
returned the string "null", and the get<Number>() methods
threw exceptions.

Now, getString() returns null, and get<Number>() return 0.

Fixes http://b/issue?id=1996628
2009-07-22 21:20:51 +01:00
Dianne Hackborn
c00c04d7d8 am 11b822d2: Simplify density compatibility to a boolean.
Merge commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864'

* commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864':
  Simplify density compatibility to a boolean.
2009-07-22 12:01:19 -07:00
Dianne Hackborn
11b822d2a9 Simplify density compatibility to a boolean.
Instead of a list, we now just have a single boolean indicating whether an
application is density aware, and this set set to true by default as of
Donut.
2009-07-22 11:58:31 -07:00
Android (Google) Code Review
c33bd02e0f am 113eaa59: Merge change 8131 into donut
Merge commit '113eaa59c1dfafd548a13919e48c0346c0c925ac'

* commit '113eaa59c1dfafd548a13919e48c0346c0c925ac':
  Fix android.core.FileTest#testFile: add sdcard write permission to test.
2009-07-22 11:50:57 -07:00
Android (Google) Code Review
113eaa59c1 Merge change 8131 into donut
* changes:
  Fix android.core.FileTest#testFile: add sdcard write permission to test.
2009-07-22 10:03:56 -07:00
Andrei Popescu
bc4aa5f693 Fix master build 2009-07-22 09:13:29 +01:00
Android (Google) Code Review
a8339dfec9 am 9fc20b0e: Merge change 8126 into donut
Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf'

* commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf':
  First pass at reworking screen density/size APIs.
2009-07-21 19:03:53 -07:00
Dianne Hackborn
c4db95c077 First pass at reworking screen density/size APIs.
This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources.  Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.
2009-07-21 18:28:42 -07:00
Brett Chabot
d0bff15377 Fix android.core.FileTest#testFile: add sdcard write permission to test. 2009-07-21 18:17:05 -07:00
Android (Google) Code Review
ca9b596505 am 1aa1a154: Merge change 7959 into donut
Merge commit '1aa1a154fd0103d7f0b7e3a2207aae0153549370'

* commit '1aa1a154fd0103d7f0b7e3a2207aae0153549370':
  Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.
2009-07-20 16:13:21 -07:00
Android (Google) Code Review
1aa1a154fd Merge change 7959 into donut
* changes:
  Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file.
2009-07-20 16:11:33 -07:00
Yu Shan Emily Lau
24e65beee6 am b42c3a58: Fix the build
Merge commit 'b42c3a5809b16527b38c82be3165128ce10e77e6'

* commit 'b42c3a5809b16527b38c82be3165128ce10e77e6':
  Fix the build
2009-07-20 16:09:57 -07:00
Swarna Kumar
c1889da850 Adding WRITE_EXTRENAL_STORAGE permission in AndroidManifest.xml file. 2009-07-20 16:06:20 -07:00
Yu Shan Emily Lau
b42c3a5809 Fix the build 2009-07-20 16:01:54 -07:00
Android (Google) Code Review
e83419bae2 am ff851a1d: Merge change 7917 into donut
Merge commit 'ff851a1d669febe3981e248ade14906f1652f018'

* commit 'ff851a1d669febe3981e248ade14906f1652f018':
  Added the vpn unit test template.
2009-07-20 15:36:37 -07:00
Yu Shan Emily Lau
873eb57394 Added the vpn unit test template. 2009-07-20 14:51:25 -07:00
Guang Zhu
f56e1a1ed4 Call WebView#freeMemory before collecting memory information 2009-07-20 11:16:28 -07:00
Android (Google) Code Review
bec99bffee am 5c536e91: Merge change 7840 into donut
Merge commit '5c536e9162721c460699a041959a0d67de1d20db'

* commit '5c536e9162721c460699a041959a0d67de1d20db':
  Fix issue where scaled bitmap sizes could be wrong.
2009-07-19 21:14:48 -07:00
Android (Google) Code Review
469b4c67ad am aad0fcc9: Merge change 7783 into donut
Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54'

* commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54':
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-19 20:28:49 -07:00
Android (Google) Code Review
b933dc7f47 am 22eef5da: Merge change 7753 into donut
Merge commit '22eef5da75604cd14c0f87332cf957c9948a6e33'

* commit '22eef5da75604cd14c0f87332cf957c9948a6e33':
  Add a delay before collecting memory information
2009-07-19 20:20:03 -07:00
Android (Google) Code Review
5c536e9162 Merge change 7840 into donut
* changes:
  Fix issue where scaled bitmap sizes could be wrong.
2009-07-19 15:29:09 -07:00
Dianne Hackborn
2784ff0af8 Fix issue where scaled bitmap sizes could be wrong.
The Bitmap functions to get the scaled width/height couldn't actually
do the right thing because they didn't know the destination they would
be drawing to.  Now there are two forms of them, taking an explicit
parameter specifying the destination.
2009-07-18 17:13:29 -07:00
Android (Google) Code Review
aad0fcc961 Merge change 7783 into donut
* changes:
  Add "nodpi" density, and expose a bunch of density-related APIs.
2009-07-17 17:50:41 -07:00
Daisuke Miyakawa
701deb5e7c Fixing probable build breakage.
I forgot to import correct a resource file when refactoring my code. Sorry.
2009-07-17 17:12:34 -07:00
Dianne Hackborn
a53b828635 Add "nodpi" density, and expose a bunch of density-related APIs.
Also update the DpiTest app to use nodpi images, and try to have a mode
where it turns off compatibility though it's not quite working.
2009-07-17 16:59:08 -07:00
Guang Zhu
1f6c72bff6 Add a delay before collecting memory information
Hopefully this gives enough time for more memory recycling. Because it is observed that several seconds after a suite is run, the memory usage could drop by 1-2M.
2009-07-17 14:22:24 -07:00
Android (Google) Code Review
7ff6b74cf2 Merge change 6736
* changes:
  Refactor VCard-related code.
2009-07-17 14:09:00 -07:00
Daisuke Miyakawa
7674b81a05 Refactor VCard-related code.
Move VCard code from android/syncml/pim to android/pim since the code is not
related to SyncML at all; Previous code was misplaced, I suppose.

Reorganize "Builder" structure:
Create VCardBuilderBase.java as a base class for "Builder" classes.

Separate VCardDataBuilder to several components.
Now, VCardBuilder is able to accept EntryHandlers (interface) which handle each VCard entry.
Add EntriCommitter and ProgressShower as ones of EntryHandler implementations.

Stop using VNode/PropertyNode in the actual importing path. Instead, VCard importer directly
creates ContactStruct object.

PropertyNode is still used in test codes, since it does not drop any kind of information
while ContactStruct does.

All codes are made hidden (with package.html) like the files in syncml directory;
These files are only for Contacts app.

Issue
- due to internal issue 1975498, any performance test cannot be conducted.

Next todos
- Add tests for ContactStruct.
- remove android/syncml directory.
- Rename several methods; old names are based on V??? structure, which does not make sense in the current code.
- Use ContentProviderOperation instead of relying on beginTransaction()/endTransaction().
- Use ContactsContact in Eclair

Related internal issues
- 1784580, 1728351
2009-07-17 07:50:00 -07:00
Feng Qian
0aeed6af6e Free memory on low memory condition.
This allows WebView to release cached resources and continue running.
2009-07-16 20:57:46 -07:00
Android (Google) Code Review
8e9bad1a3c am 0bb0597a: Merge change 7556 into donut
Merge commit '0bb0597a4b5b0825f710f1bd63efb7069cecd918'

* commit '0bb0597a4b5b0825f710f1bd63efb7069cecd918':
  Temporarily suppress ServiceTest.
2009-07-16 17:54:21 -07:00
Android (Google) Code Review
cad18157e7 am c93af6dc: Merge change 7441 into donut
Merge commit 'c93af6dc5bc78f02d4ee549890da12dc669fc2fe'

* commit 'c93af6dc5bc78f02d4ee549890da12dc669fc2fe':
  Allow system colors in <font> tags
2009-07-16 17:53:44 -07:00
Android (Google) Code Review
0bb0597a4b Merge change 7556 into donut
* changes:
  Temporarily suppress ServiceTest.
2009-07-16 13:46:57 -07:00
Brett Chabot
44ce817e0b Temporarily suppress ServiceTest.
ServiceTest appears to be causing the whole android unit_tests suite to fail in the
continuous system. Suppressing to stop the lab failure spam while continuing to investigate.
2009-07-16 12:20:53 -07:00
Android (Google) Code Review
c93af6dc5b Merge change 7441 into donut
* changes:
  Allow system colors in <font> tags
2009-07-16 00:06:23 -07:00
Android (Google) Code Review
7ee5a4b15a am 5a76ae46: Merge change 7406 into donut
Merge commit '5a76ae46854ac449f94e1f75ef13ce035e4c65cd'

* commit '5a76ae46854ac449f94e1f75ef13ce035e4c65cd':
  Update Searchables test with new GlobalSearch name
2009-07-15 18:14:12 -07:00