4cab12d91d120ee93e135050b78edb335e9ac91b |
06-Aug-2015 |
Shirish Kalele <kalele@google.com> |
Fix check for caller being the active network scorer Compare caller and scorer uids to decide if caller is the active scorer instead of calling AppOps.checkPackage(). Bug: 23000690 Change-Id: I64285f965716f3aceb24f193d86ab9d6be7202c5
rc/android/net/NetworkScorerAppManagerTest.java
|
b36a3131d1b05efa176f79d318197499b2c45380 |
26-Jun-2015 |
Erik Kline <ek@google.com> |
Fix use of reachable DNS server logic Move reachable DNS server computation out of ConnectivityService and split it into LinkProperties#isReachable() and a companion change in WifiStateMachine's makeLinkProperties(). Restore previous ConnectivityService#updateDnses() behaviour, as the pruning is done in WifiStateMachine now. Bug: 19470192 Bug: 20733156 Bug: 22098233 Change-Id: I810ef74d504e5dc1ca2017d435cdadd6b82171e6
rc/android/net/LinkPropertiesTest.java
|
559ea2fd8c8c979231ab78e2216effa818b2cc60 |
26-Jun-2015 |
Ying Wang <wangying@google.com> |
Remove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES Change-Id: I08c2439bcab934e23c697b93aec47b2c7bcba037
pks/install_jni_lib_open_from_apk/Android.mk
|
c7a14e442dcab7efd89af1bc671e6869904d19f6 |
25-Jun-2015 |
Makoto Onuki <omakoto@google.com> |
Fix Formatter.formatBytes() crash on non-EN locales Bug 22012651 Change-Id: I21b1834a35647527002e01d76a7eb3a6a0354512
rc/android/text/format/FormatterTest.java
|
e1a6cf2caa628a02032be9b26462958f3769bd70 |
14-May-2015 |
Erik Kline <ek@google.com> |
Add a test that Network#getNetworkHandle() behaves sanely. Additionally: - make zero more obvious for debugging, rather than emitting some inscrutable magic value. Bug: 19537384 Change-Id: Iac9a3297a0dda1ba3d69fd01cf6de81f01fd837e
rc/android/net/NetworkTest.java
|
4f5e8b3ca489245005b76176ac6d28f5f184f3fe |
12-Jun-2015 |
Jeff Sharkey <jsharkey@android.com> |
Valid filenames have length limits! ext4 filenames are at most 255 bytes. vfat filenames are bit more lax, but we're often saving them on ext4 through a FUSE daemon, so limit them the same way. Since package names are used as directory names, verify that they're valid filenames. Tests to verify behavior. Bug: 18689171 Change-Id: If7df4c40d352954510b71de4ff05d78259c721ed
rc/android/os/FileUtilsTest.java
|
d895999858db47e6f2d090a94b29749fa39278c2 |
05-Jun-2015 |
Erik Kline <ek@google.com> |
Make public Network#bindSocket(FileDescriptor). Code that uses android.system.Os to create sockets as FileDescriptors should be able to bind them to networks. Note that FileDescriptors could already be marked as "protected from VPNs" via NetworkUtils#protectFromVpn(), but heretofore were not easily bound to any particular network. Bug: 21449922 Change-Id: I4bb86db5d95d5a55bb2d7e245848d11eaa351e65
rc/android/net/NetworkTest.java
|
cd7ed16f00d243568e3b73b7fc7f0f94cfebe8ce |
21-May-2015 |
Erik Kline <ek@google.com> |
LinkProperties function to compare provisioning and remove DNS servers Adds: - enum ProvisioningChange - LinkProperties#compareProvisioning() return a ProvisioningChange value describing the delta in provisioning between two LinkProperties objects - LinkProperties#removeDnsServer() - make "@hide public" isIPv4Provisioned() and isIPv6Provisioned() Bug: 18581716 Change-Id: I3df90b2b89617f693346f2dbe72e77c88ce91ffd
rc/android/net/LinkPropertiesTest.java
|
cef7bc939fbc3baae5ccf78dcef63fc60e07ae21 |
19-May-2015 |
Erik Kline <ek@google.com> |
Set NLM_F_ACK in our RTM_NEWNEIGH requests With NLM_F_ACK set in RTM_NEWNEIGH requests we get some response from the kernel, whether there was an error or not. Additionally: [1] add IpReachabilityMonitor#probeNeighbor() as a public static method, since it actually depends very little on the class internals and might be of larger use. [2] add a unittest for parsing NetlinkErrorMessages. Bug: 18581716 Change-Id: I5d62e7a9972c7440f0483c38c77677436d3a1a25
rc/android/net/netlink/NetlinkErrorMessageTest.java
rc/android/net/netlink/RtNetlinkNeighborMessageTest.java
|
abd3142dcae02026689b939c363329b822b7cc0a |
15-May-2015 |
Erik Kline <ek@google.com> |
Close netlink socket when shutting down IpReachabilityMonitor This forces the NetlinkSocketObserver thread to exit quickly, rather than lingering until the next random netlink neighbor multicast message arrives. Additionally, add a small unittest to verify that multiple calls to NetlinkSocket#close() are safe. Change-Id: I101730fad7eee72f9c6e8a7e7bd10c634f2ceab4
rc/android/net/netlink/NetlinkSocketTest.java
|
e94561ecbcb7f6df2446b811de9ad5cfaff29d99 |
19-May-2015 |
Clara Bayarri <clarabayarri@google.com> |
Merge "Fix Cancelling a text action activity deletes the selected text" into mnc-dev
|
9ce5d602cd5d732ae10efe0b648b43ddf60d65c9 |
16-May-2015 |
Erik Kline <ek@google.com> |
Add IpReachabilityMonitor#probeAll() to begin doing DNAv4/v6-like probing Note that this change is not sufficient to force probing in all cases, but does cause probing to occur on Linux if the target node hasn't been confirmed as reachable in the past 5 seconds (delay_first_probe_time). Bug: 18581716 Bug: 19866451 Bug: 20944464 Change-Id: I29393897118311b48c966c41e2cddb7a784f136f
rc/android/net/netlink/RtNetlinkNeighborMessageTest.java
|
5b7665a1f2403a03c1f9baf73a4aa8f5a66b1352 |
15-May-2015 |
Clara Bayarri <clarabayarri@google.com> |
Fix Cancelling a text action activity deletes the selected text The implementation of onActivityResult in TextView did not check the result code, hence treating the cancelled activity result as a replacement by empty text. Also added tests to catch this case and basic usage. Bug: 21183019 Change-Id: Ibdafe89474dd69c5b70c67ec98fed46656f9fdcf
rc/android/widget/TextViewTest.java
|
18cc17a28d675c5f755451b9367aa0f8d76e6dda |
07-May-2015 |
Clara Bayarri <clarabayarri@google.com> |
PhoneWindow ActionMode handling tests Tests focusing on action mode creation, how the two types of modes are handled together and how the lifecycle is handled. Change-Id: I17fe7a83cba4651b295a8ce80bc449f2f2538048
ndroidManifest.xml
rc/com/android/internal/policy/PhoneWindowActionModeTest.java
rc/com/android/internal/policy/PhoneWindowActionModeTestActivity.java
|
e094b2aff04105d63fa930f873a948e4104ca0f0 |
14-May-2015 |
Clara Bayarri <clarabayarri@google.com> |
Merge "Tests for WindowDecorActionBar's startActionMode implementation" into mnc-dev
|
2c7b461077d83986c32dea89da9b2458a633f59f |
07-May-2015 |
Clara Bayarri <clarabayarri@google.com> |
Tests for WindowDecorActionBar's startActionMode implementation Change-Id: Ib7a79f3987fd565aabf4c5b093186ec669131522
ndroidManifest.xml
rc/com/android/internal/app/WindowDecorActionBarTest.java
rc/com/android/internal/app/WindowDecorActionBarTestActivity.java
|
bff329b851a4806672842dc3e4608cee18ae9a1e |
14-May-2015 |
Clara Bayarri <clarabayarri@google.com> |
Merge "Tests for ActionBarContainer's startActionModeForChild" into mnc-dev
|
e9b17ec0fdb995ff23dd3b9d0b06bae8522edbf9 |
06-May-2015 |
Clara Bayarri <clarabayarri@google.com> |
Tests for ActionBarContainer's startActionModeForChild Change-Id: Ida782cb72f26689ec49a6674dcaeee7d2fb196d3
rc/com/android/internal/widget/ActionBarContainerTest.java
|
6193aa3305bc2aa5b7f0a983f4b08c99065cfb82 |
19-Jan-2015 |
Erik Kline <ek@google.com> |
Add basic netlink library code. Add netlink socket helpers and parsing code for basic netlink messages. Additionally, support from some neighbor discovery -specific messages is included. Bug: 18581716 Change-Id: Ib2aa924222b63cdbebf09a8bf8ff35ee24269fc5
rc/android/net/netlink/NetlinkSocketTest.java
rc/android/net/netlink/RtNetlinkNeighborMessageTest.java
|
fa21641122170777818ff838c1c19505313e83c3 |
07-May-2015 |
George Mount <mount@google.com> |
Merge "Add CallbackRegistry." into mnc-dev
|
d6a213526251896b7f9928334a17ae0dd97669ba |
12-Feb-2015 |
Neil Fuller <nfuller@google.com> |
Remove FloatMath methods from the API Also removing FloatMathTest. The tests are being moved into a legacy CTS suite. Bug: https://code.google.com/p/android/issues/detail?id=36199 Change-Id: I397fd6bcc4d988db6301245f9d47460bd6c28821
rc/android/util/FloatMathTest.java
|
9189445c0a66d074dcded77b9c7322ef45422727 |
01-May-2015 |
George Mount <mount@google.com> |
Add CallbackRegistry. Change-Id: Ib1a30a0ec8b1ece25046d85676432fb0b819f952
rc/com/android/internal/util/CallbackRegistryTest.java
|
303650c9cdb7cec88e7ec20747b161d9fff10719 |
18-Apr-2015 |
Matthew Williams <mjwilliams@google.com> |
Add full backup criteria to android manifest BUG: 20010079 Api change: ApplicationInfo now has a fullBackupContent int where -1 is (off) 0 is (on) and >0 indicates an xml resource that should be parsed in order for a developer to indicate exactly which files they want to include/exclude from the backup set. dd: https://docs.google.com/document/d/1dnNctwhWOI-_qtZ7I3iNRtrbShmERj2GFTzwV4xXtOk/edit#heading=h.wcfw1q2pbmae Change-Id: I90273dc0aef5e9a3230c6b074a45e8f5409ed5ce
rc/android/app/backup/FullBackupTest.java
|
620b32b316fd4f1bab4eef55ec8802d14a55e7dd |
24-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Package and storage movement callbacks. Since package and primary storage movement can take quite awhile, we want to have SystemUI surface progress and allow the Settings app to be torn down while the movement proceeds in the background. Movement requests now return a unique ID that identifies an ongoing operation, and interested parties can observe ongoing progress and final status. Internally, progress and status are overloaded so the values 0-100 are progress, and any values outside that range are terminal status. Add explicit constants for special-cased volume UUIDs, and change the APIs to accept VolumeInfo to reduce confusion. Internally the UUID value "null" means internal storage, and "primary_physical" means the current primary physical volume. These values are used for both package and primary storage movement destinations. Persist the current primary storage location in MountService metadata, since it can be moved over time. Surface disk scanned events with separate volume count so we can determine when it's partitioned successfully. Also send broadcast to support TvSettings launching into adoption flow. Bug: 19993667 Change-Id: Ic8a4034033c3cb3262023dba4a642efc6795af10
rc/android/content/pm/PackageManagerTests.java
|
62539a220c6810f66b63060326bd1668f7d6b029 |
23-Apr-2015 |
Ben Kwa <kenobi@google.com> |
Move extension checking code into FileUtils. Move code for checking file extensions and MIME types from ExternalStorageProvider into android.os.FileUtils, so it can be used by other clients (e.g. DownloadsProvider). BUG=20157955 Change-Id: Ib16a16af723c21fb8d2912c8917dfd68653ea6fa
rc/android/os/FileUtilsTest.java
|
529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4 |
19-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Always send volume UUID with installd commands. Since packages can be moved to other volumes, all relevant commands to installd now require an explicit volume UUID parameter. Bug: 20275577 Change-Id: Ie84f5bc43c7aada5800b8d71692c7928b42b965e
rc/android/content/pm/AppCacheTest.java
|
5e4b823aa04aaaf78349d4e6f0f45077e83702ab |
17-Apr-2015 |
Dmitriy Ivanov <dimitry@google.com> |
am 34f0fd23: am a04b4302: am b0557ace: Merge "Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS" * commit '34f0fd239c456e4e064e4c14b768962292023800': Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS
|
811b7266fdc80a4529cf0c2024f865b4aa154270 |
17-Apr-2015 |
Dmitriy Ivanov <dimitry@google.com> |
Remove LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS It is no longer needed. Change-Id: I1b5a58528507df35cc0792a18be5583e3605cbe0
pks/install_jni_lib_open_from_apk/Android.mk
|
172cf0243587db7baaa2502a04d403185ec50f7b |
14-Apr-2015 |
Erik Kline <ek@google.com> |
am 73e056d3: am 402f2501: am 3312c6b9: Merge "Add android.net.IpPrefix#contains()" * commit '73e056d3931b419c2653eb7365fb72b50a9a36c3': Add android.net.IpPrefix#contains()
|
acc8c09d3a12d00b565a76acc26061172c3dd3c6 |
13-Apr-2015 |
Erik Kline <ek@google.com> |
Add android.net.IpPrefix#contains() This was originally to avoid RuntimeException in RouteInfo#matches(): When an IPv6 prefix with a length greater than the max permitted for IPv4 is matched against an Inet4Address, the call to NetworkUtils throws RuntimeException. Change-Id: I92e2bd19a4e7d656cf682fd27678da07e211850d
rc/android/net/IpPrefixTest.java
rc/android/net/RouteInfoTest.java
|
b9f3674c11ed9c89b80a69f728cbc5f540b2ecde |
09-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Support moving apps to expanded storage. Start deriving the data path for apps based on the volume UUID where the app lives. This path is used for all higher-level APIs, giving us a clean place to switch app storage. When parsing a package, keep track of the volume UUID where it lives and update PackageSetting once installed. For now continue treating moves as installs, but we'll eventually clean this up to avoid the additional dexopt pass. Wire up move to use the new installd command to move private data between devices. Cache LoadedApk only for the current user, since otherwise the data dir points at the wrong path. Bug: 19993667 Change-Id: I53336e3b147d5fd3130e6800869af172b628da37
rc/android/content/pm/PackageManagerTests.java
|
dec4688f40b0018fbd1f00db05581966f531d88f |
01-Oct-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Load libraries directly from apk Introduced new 'extractNativeLibs' attribute to manifest/application. Setting it to false prevents installer from extracting library from apk. The default value for extractNativeLibs is true. Bug: 8076853 (cherry picked from commit ff193d642eea7128faad837d19e347cd25212c27) Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1
pks/install_jni_lib/Android.mk
pks/install_jni_lib/com_android_frameworks_coretests_JNITest.cpp
pks/install_jni_lib_open_from_apk/Android.mk
pks/install_jni_lib_open_from_apk/AndroidManifest.xml
pks/install_jni_lib_open_from_apk/res/values/strings.xml
pks/install_jni_lib_open_from_apk/src/com/android/frameworks/coretests/JNITests.java
pks/install_jni_lib_open_from_apk/src/com/android/frameworks/coretests/OpenFromApkActivity.java
|
305ebe207a174c9f46146ad73572a601b8a28787 |
02-Apr-2015 |
Alex Klyubin <klyubin@google.com> |
resolved conflicts for merge of 261e7a37 to master Change-Id: If0a3389764965fe27bf567090a6e24069b61c544
|
3f24a1d94a42762c245a32272c797250a804cfc3 |
01-Apr-2015 |
Alex Klyubin <klyubin@google.com> |
Cleanse HTTP, HTTPS, and FTP URLs in Uri.toSafeString. This makes the hidden API android.net.Uri.toSafeString omit most parts of HTTP, HTTPS, and FTP URLs to avoid leaking anything unsafe. Only the host and port are retained for these URLs. Bug: 19215516 Change-Id: I2e9e33d9afaa9de5dd07a40532d56f0a2179f62a
rc/android/net/UriTest.java
|
262f9952e6e78e00a6d42bab97d73dccfb9607f4 |
24-Mar-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Support for nested bundles in setApplicationRestrictions Added new restriction types - bundle and bundle-array. Modified RestrictionsManager.getManifestRestrictions to support new hierarchical restrictions. Added RestrictionsManager.convertRestrictionsToBundle, which enables programmatic conversion from a list of RestrictionEntries to a Bundle. Modified read/write methods for application restrictions in UserManagerService. Added unit tests. Bug: 19540606 Change-Id: I32b264e04d5d177ea5b4c39a8ace5ee0ce907970
ndroidManifest.xml
es/values/strings.xml
es/xml/app_restrictions.xml
rc/android/content/RestrictionsManagerTest.java
|
98170b0db191f916bf2a0f104f5d5057c2aaeaa9 |
18-Mar-2015 |
Wenchao Tong <tongwenchao@google.com> |
Keep debug information in NetworkStats files Create two special SETs. SET_DBG_VPN_IN is used by individual applications to know how much traffic of the NetworkIdentity was actually moved from a VPN app. SET_DBG_VPN_OUT is used by the VPN app to know how much traffic of the NetworkIdentity was deducted. A debug application can restore the raw stats by these entries. raw_traffic = recorded_entry (TAG_NONE, SET_ALL) + recorded_entry (TAG_NONE, SET_DBF_VPN_OUT) - recorded_entry (TAG_NONE, SET_DBF_VPN_IN) The two debug SETs are not returned by NetworkStatsService.openSession(). These debug entries are retrieved by NetworkStatsCollection.dump(). Bug: 19536273 Change-Id: I03ef9f7667f5f2f48cbe3f6b11447fe7ead8ad3b
rc/android/net/NetworkStatsTest.java
|
ff193d642eea7128faad837d19e347cd25212c27 |
01-Oct-2014 |
Dmitriy Ivanov <dimitry@google.com> |
Load libraries directly from apk Introduced new 'extractNativeLibs' attribute to manifest/application. Setting it to false prevents installer from extracting library from apk. The default value for extractNativeLibs is true. Bug: 8076853 Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1
pks/install_jni_lib/Android.mk
pks/install_jni_lib/com_android_frameworks_coretests_JNITest.cpp
pks/install_jni_lib_open_from_apk/Android.mk
pks/install_jni_lib_open_from_apk/AndroidManifest.xml
pks/install_jni_lib_open_from_apk/res/values/strings.xml
pks/install_jni_lib_open_from_apk/src/com/android/frameworks/coretests/JNITests.java
pks/install_jni_lib_open_from_apk/src/com/android/frameworks/coretests/OpenFromApkActivity.java
|
e5ef28f50974320659e2ecfe3910718a9e60f317 |
09-Mar-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Add two utility methods for IPv4 netmasks. 1. Add a validating method to convert a netmask to a prefix length. 2. Add a function to get the implicit netmask of an IPv4 address. 3. Add a unit test. Bug: 19704592 Change-Id: Icb9f58d3903ea01df9e3720383c9bd5db6dd8f26
rc/android/net/NetworkUtilsTest.java
|
21377c3af8ab683abac3e43006bce74498a37c9c |
27-Feb-2015 |
Wenchao Tong <tongwenchao@google.com> |
NetworkStats to support VPN accounting. Create a new method to migrate underlying network traffic from VPN app to other apps. Bug: 19536273 Change-Id: I3434cad361592e26b01225edf8012f7b16afc98f
rc/android/net/NetworkStatsTest.java
|
bc26d2eafd6185a197a968b2dffde5871791cf0b |
13-Feb-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Merge "RegisteredServicesCache now saves files to a user-specific dir"
|
f129af204cd29801483e12887c5e10032292cc76 |
13-Feb-2015 |
Narayan Kamath <narayan@google.com> |
Merge "Move apache specific portions of android.net.http to external/apache-http."
|
259e76153255e4d7c6d6c14af77936fe060e7038 |
11-Feb-2015 |
Fyodor Kupolov <fkupolov@google.com> |
RegisteredServicesCache now saves files to a user-specific dir Previously, its state was saved in a single xml file inside /data/system/registered_services. Services are now stored in separate files stored in a user-specific dir. A one-off migration step was added, which runs, when the system discovers a file in the old format. Bug:19321135 Change-Id: Ie92be01047f4855d01352b6a304820b37344ae2c
rc/android/content/pm/RegisteredServicesCacheTest.java
|
3bdd327f8532a79b83f575cc62e8eb09a1f93f3d |
27-Nov-2014 |
Narayan Kamath <narayan@google.com> |
Move apache specific portions of android.net.http to external/apache-http. We continue to compile external/apache-http into ext.jar. This contains a few changes apart fom the classes moving around : - Makefile changes to build docs and api-stubs for now. A future change will revert these changes and remove these classes from stubs and docs. - Hardcode event IDs in legacyerrorstrings to avoid a dependency between the frameworks and apache. These strings are on their way out and will never change anyway. - Remove imports due to {@link} tags and use {@code} instead. - Remove an accidental(?) dependency on apache commons code that's a part of apache-http. bug: 18027885 Change-Id: I51cd038d846ec7d02c283a4541b10a6a9cf62ecf
ndroid.mk
ndroidManifest.xml
|
05ecfd308d983755bc7cab39ba99a37c321f176b |
11-Feb-2015 |
Alex Klyubin <klyubin@google.com> |
am 33d3c53d: resolved conflicts for merge of 517e0274 to lmp-mr1-dev-plus-aosp * commit '33d3c53da021f0d044028860ace0f4ad817273f5': Move hidden ApplicationInfo flags into a separate field.
|
33d3c53da021f0d044028860ace0f4ad817273f5 |
11-Feb-2015 |
Alex Klyubin <klyubin@google.com> |
resolved conflicts for merge of 517e0274 to lmp-mr1-dev-plus-aosp Change-Id: Ic20b6c8851458483dd73a144bd5ae6e8d141e62a
|
b9f8a5204a1b0b3919fa921e858d04124c582828 |
03-Feb-2015 |
Alex Klyubin <klyubin@google.com> |
Move hidden ApplicationInfo flags into a separate field. The public API field android.content.pm.ApplicationInfo.flags can support only 32 flags. This limit has been reached. As a short term workaround to enable new public flags to be added, this CL moves flags which are not public API into a separate new field privateFlags and renames the affected flags constants accordingly (e.g., FLAG_PRIVILEGED is now PRIVATE_FLAG_PRIVILEGED). The new privateFlags field is not public API and should not be used for flags that are public API. The flags that are moved out of ApplicationInfo.flags are: * FLAG_HIDDEN, * FLAG_CANT_SAVE_STATE, * FLAG_FORWARD_LOCK, and * FLAG_PRIVILEGED. NOTE: This changes the format of packages.xml. Prior to this CL flags were stored in the "flags" attribute. With this CL, the public flags are stored in a new "publicFlags" attribute and private flags are stored in a new "privateFlags" attribute. The old "flags" attribute is interpreted by using the old values of hidden/private flags. Change-Id: Ie23eb8ddd5129de3c6e008c5261b639e22182ee5
rc/android/content/pm/PackageManagerTests.java
|
9e0d81e8439089845b7ddee21676f3f427a34cca |
10-Feb-2015 |
Fyodor Kupolov <fkupolov@google.com> |
Added unit test for RegisteredServicesCache Minor refactoring of RegisteredServicesCache for testability. Added RegisteredServicesCacheTest which uses a mock version of RegisteredServicesCache. Bug:19321135 Change-Id: If18b794b28f03b4bf4bbdfbba9e9a57e808aaebf
rc/android/content/pm/RegisteredServicesCacheTest.java
|
0aa7a1ca8e4694cb343fbf67ffff2eab8c77f19d |
05-Feb-2015 |
Lorenzo Colitti <lorenzo@google.com> |
am b43e74bb: am 12b26c12: am 21702263: Merge "Add a unit test for StaticIpConfiguration." * commit 'b43e74bbce46f2f328e2031a7ae3447f415ef9ca': Add a unit test for StaticIpConfiguration.
|
b43e74bbce46f2f328e2031a7ae3447f415ef9ca |
05-Feb-2015 |
Lorenzo Colitti <lorenzo@google.com> |
am 12b26c12: am 21702263: Merge "Add a unit test for StaticIpConfiguration." * commit '12b26c12483633f7a75d1f1c9ead73eaf6056811': Add a unit test for StaticIpConfiguration.
|
83faf72f846c183960ba7ac035073ff3767a13e8 |
23-Jan-2015 |
Lorenzo Colitti <lorenzo@google.com> |
Add a unit test for StaticIpConfiguration. Change-Id: I68c735def8a242da0c8f95b7c5ea680ed902dab7
rc/android/net/StaticIpConfigurationTest.java
|
0f2d0dbac6db56f123c89097e4c3431765887de6 |
30-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am 3a6d8f54: am 90d5bd8d: am feb362a5: am a0d3bfbe: am 5c9d0de1: am 545dd853: am 9a425aa7: am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation automerge: ff526fa * commit 'ff526fa7106fd45bfc4f1606fe051000c5201920': Fix build breakage in older branches by avoiding <> notation
|
ff526fa7106fd45bfc4f1606fe051000c5201920 |
30-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am 3a6d8f54: am 90d5bd8d: am feb362a5: am a0d3bfbe: am 5c9d0de1: am 545dd853: am 9a425aa7: am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation * commit '3a6d8f5473f2451a0bdf13d4cc1d31e419d23f0c': Fix build breakage in older branches by avoiding <> notation
|
90d5bd8daab404afc50470f5c19ea725bd2466fe |
30-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am feb362a5: am a0d3bfbe: am 5c9d0de1: am 545dd853: am 9a425aa7: am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation * commit 'feb362a5d194b30226caf2efbaae77991007c65c': Fix build breakage in older branches by avoiding <> notation
|
a0d3bfbe8736fd638621ae48371b6e4e237ed4b1 |
30-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am 5c9d0de1: am 545dd853: am 9a425aa7: am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation * commit '5c9d0de174caf151937f19aa6898f60bce3fb4f4': Fix build breakage in older branches by avoiding <> notation
|
5c9d0de174caf151937f19aa6898f60bce3fb4f4 |
30-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am 545dd853: am 9a425aa7: am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation * commit '545dd853bffbf778a0a44816ac6ed381b13f2158': Fix build breakage in older branches by avoiding <> notation
|
9a425aa71c0ae6fb8c9c84d3e71321a44433d861 |
30-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am 159aa735: am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation * commit '159aa73574804967aded45d06b70df5a8dd64a58': Fix build breakage in older branches by avoiding <> notation
|
159aa73574804967aded45d06b70df5a8dd64a58 |
30-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am d4031809: am 48c95c43: Fix build breakage in older branches by avoiding <> notation * commit 'd403180997898c98f0be15b810c4c9dd9002f92c': Fix build breakage in older branches by avoiding <> notation
|
48c95c4370533bf27e537cbca1e64d060a016c5f |
29-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
Fix build breakage in older branches by avoiding <> notation Change-Id: I5e3d523dac1f364f52f0d2cab479c1705d667e5a
rc/android/content/pm/ParceledListSliceTest.java
|
9570e144fe38a53c507838cc5234225c7a0da315 |
29-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am ea63fd7f: am 88add689: am a5ccca24: am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev * commit 'ea63fd7f9b4bb2701c9d12ab8775867dbdeefcf1': Fix ParceledListSlice to enforce the same concrete types among its elements.
|
ea63fd7f9b4bb2701c9d12ab8775867dbdeefcf1 |
29-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am 88add689: am a5ccca24: am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev * commit '88add68942694fc643518bcf5c26f6c3df7e9aa0': Fix ParceledListSlice to enforce the same concrete types among its elements.
|
a5ccca242747d59233ec5ecebc20d4a721e7850e |
29-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am 2982d648: am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev * commit '2982d64802ed0d5b59130680c43485e9d7862e50': Fix ParceledListSlice to enforce the same concrete types among its elements.
|
2982d64802ed0d5b59130680c43485e9d7862e50 |
29-Jan-2015 |
Jon Larimer <jlarimer@google.com> |
am de9a76ed: am fc731e6e: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into jb-mr2-dev * commit 'de9a76ed997c300a6c5f2f82c517719503af9045': Fix ParceledListSlice to enforce the same concrete types among its elements.
|
f741c3727383008b131cd3877cbdb3857e07fc9b |
07-Nov-2014 |
Adam Lesinski <adamlesinski@google.com> |
Fix ParceledListSlice to enforce the same concrete types among its elements. Bug:17671747 Change-Id: I896f75738e5b464ccb6c03290f139cc2fa72f966 (cherry picked from commit 3df1c38ee098872352086e03d6f1adb16796ee29)
rc/android/content/pm/ParceledListSliceTest.java
|
cb4f594eca61d07930a131f4e8063b1a64bc0768 |
07-Jan-2015 |
Jorim Jaggi <jjaggi@google.com> |
Remove dead code #11: Remove more unused classes Change-Id: Ie78d40fd20eef859e3c0ea9269b86ff1e1471a58
es/layout/size_adaptive.xml
es/layout/size_adaptive_color.xml
es/layout/size_adaptive_color_statelist.xml
es/layout/size_adaptive_four_u.xml
es/layout/size_adaptive_four_u_text.xml
es/layout/size_adaptive_gappy.xml
es/layout/size_adaptive_large_only.xml
es/layout/size_adaptive_lies.xml
es/layout/size_adaptive_one_u.xml
es/layout/size_adaptive_one_u_text.xml
es/layout/size_adaptive_overlapping.xml
es/layout/size_adaptive_singleton.xml
es/layout/size_adaptive_text.xml
es/layout/size_adaptive_three_way.xml
rc/com/android/internal/widget/SizeAdaptiveLayoutTest.java
|
de47e3554d8e72509975d6ff475ede79e800743c |
27-Jan-2015 |
Jorim Jaggi <jjaggi@google.com> |
Revert "Remove dead code #11: Remove more unused classes" This reverts commit 397ca8be8de407237cd293873647c182837bc032. Change-Id: Id7f8dbe93d2a48a7f6261232499f73b7de8dd7b1 Reason: Build breakage.
es/layout/size_adaptive.xml
es/layout/size_adaptive_color.xml
es/layout/size_adaptive_color_statelist.xml
es/layout/size_adaptive_four_u.xml
es/layout/size_adaptive_four_u_text.xml
es/layout/size_adaptive_gappy.xml
es/layout/size_adaptive_large_only.xml
es/layout/size_adaptive_lies.xml
es/layout/size_adaptive_one_u.xml
es/layout/size_adaptive_one_u_text.xml
es/layout/size_adaptive_overlapping.xml
es/layout/size_adaptive_singleton.xml
es/layout/size_adaptive_text.xml
es/layout/size_adaptive_three_way.xml
rc/com/android/internal/widget/SizeAdaptiveLayoutTest.java
|
397ca8be8de407237cd293873647c182837bc032 |
07-Jan-2015 |
Jorim Jaggi <jjaggi@google.com> |
Remove dead code #11: Remove more unused classes Change-Id: I3130991cb468a47aa0e198e42f20edca0836f66b
es/layout/size_adaptive.xml
es/layout/size_adaptive_color.xml
es/layout/size_adaptive_color_statelist.xml
es/layout/size_adaptive_four_u.xml
es/layout/size_adaptive_four_u_text.xml
es/layout/size_adaptive_gappy.xml
es/layout/size_adaptive_large_only.xml
es/layout/size_adaptive_lies.xml
es/layout/size_adaptive_one_u.xml
es/layout/size_adaptive_one_u_text.xml
es/layout/size_adaptive_overlapping.xml
es/layout/size_adaptive_singleton.xml
es/layout/size_adaptive_text.xml
es/layout/size_adaptive_three_way.xml
rc/com/android/internal/widget/SizeAdaptiveLayoutTest.java
|
43df3c6c198da1c2a6622e50fca86b656385baf1 |
20-Jan-2015 |
Ying Wang <wangying@google.com> |
am b5108949: am e4a031e3: Merge "New trick to install bad dex file." * commit 'b51089499c8c39fce47deccf70d3ea069c58b471': New trick to install bad dex file.
|
b643624d2f01145f200dfe15b6b7627241deee29 |
15-Jan-2015 |
Ying Wang <wangying@google.com> |
New trick to install bad dex file. Previously we use LOCAL_JAVA_RESOURCE_FILES to override the normally generated classes.dex with a bad dex file. Now as we have moved Java resource processing before running jarjar, dx would fail for the bad classes.dex inside the classes.jar. Instead we override the target specific variable PRIVATE_DEX_FILE to inject the bad dex file. (cherry-picked from commit f122d90c290c789e0d0085127beebdcf1935c127) Bug: 18837479 Change-Id: I73f82c8a15e1d8935d9c2f290ba9456184a56ec7
pks/install_bad_dex/Android.mk
|
63ae9f33095d8ef38ae938084568b4b9a3acb169 |
20-Jan-2015 |
Ying Wang <wangying@google.com> |
Merge "New trick to install bad dex file."
|
b3f73dc5179532d587f743a9831faff3584c7c5b |
16-Jan-2015 |
Neil Fuller <nfuller@google.com> |
am b55011e4: am f9c04f17: Merge "Removing HttpResponseCacheTest" * commit 'b55011e4265f866604ed0c3ffe0241436682c3d2': Removing HttpResponseCacheTest
|
60cf05c1b3dd8357c1fcb5ef4f6fa0d2b497dc7d |
15-Jan-2015 |
Neil Fuller <nfuller@google.com> |
Removing HttpResponseCacheTest Moving HttpResponseCacheTest.java from frameworks/base/core/tests/coretests/src/android/net/http to cts/tests/tests/net/src/android/net/http/cts Change-Id: I61a07c53f8d0ef55d35b928f244e4680725b76ef
rc/android/net/http/HttpResponseCacheTest.java
|
f122d90c290c789e0d0085127beebdcf1935c127 |
15-Jan-2015 |
Ying Wang <wangying@google.com> |
New trick to install bad dex file. Previously we use LOCAL_JAVA_RESOURCE_FILES to override the normally generated classes.dex with a bad dex file. Now as we have moved Java resource processing before running jarjar, dx would fail for the bad classes.dex inside the classes.jar. Instead we override the target specific variable PRIVATE_DEX_FILE to inject the bad dex file. Bug: 18837479 Change-Id: I73f82c8a15e1d8935d9c2f290ba9456184a56ec7
pks/install_bad_dex/Android.mk
|
60b268f039857211333e2ea1cc68e795a12d7e07 |
12-Jan-2015 |
Neil Fuller <nfuller@google.com> |
am f5f345cf: am 837261cc: Merge "Fix HttpResponseCacheTest in anticipation of an OkHttp upgrade." * commit 'f5f345cf929908bd863143815743c44778d29e4a': Fix HttpResponseCacheTest in anticipation of an OkHttp upgrade.
|
b7260cbcc45e9dd4ca52a67b5574cc62059fac6b |
09-Jan-2015 |
Neil Fuller <nfuller@google.com> |
Fix HttpResponseCacheTest in anticipation of an OkHttp upgrade. OkHttp recently changed the behavior of their caching with commit e74e3f3bf744ef7f4d8ee724a7cf2347e486cfab - it is now neccessary to close the inputstream (or disconnect the HttpURLConnection) for a response to be cached. This change is (effectively) a no-op prior to the upgrade. The behavior is undefined as to whether closing the input stream is required for caching. OkHttp's new behavior is consistent with other HttpURLConnection implementations tried. (cherry-picked from commit 62d0677b0f6cc5ae48fd0b816ea5caad82264fd6) Change-Id: Ibe698a443ec98866787ed9da2698322fab856518
rc/android/net/http/HttpResponseCacheTest.java
|
62d0677b0f6cc5ae48fd0b816ea5caad82264fd6 |
09-Jan-2015 |
Neil Fuller <nfuller@google.com> |
Fix HttpResponseCacheTest in anticipation of an OkHttp upgrade. OkHttp recently changed the behavior of their caching with commit e74e3f3bf744ef7f4d8ee724a7cf2347e486cfab - it is now neccessary to close the inputstream (or disconnect the HttpURLConnection) for a response to be cached. This change is (effectively) a no-op prior to the upgrade. The behavior is undefined as to whether closing the input stream is required for caching. OkHttp's new behavior is consistent with other HttpURLConnection implementations tried. Change-Id: Iaf57371651296ac84850971ef60a9338cead57c0
rc/android/net/http/HttpResponseCacheTest.java
|
9962ed55759336642cfaba27e8b2a47822f562fe |
18-Dec-2014 |
Elliott Hughes <enh@google.com> |
am 93241de7: Merge "Remove a bitrotted test." automerge: ba6982a * commit 'ba6982a16cb3b9f6196fdac11d1d90a02eb32cfd': Remove a bitrotted test.
|
988fd73499492d5826754ca85acac1e64357121c |
18-Dec-2014 |
Elliott Hughes <enh@google.com> |
Remove a bitrotted test. Change-Id: I4c44f2da0544dbfde8e340f7f477191725c5fb8b
rc/android/os/SELinuxTest.java
|
45207128c5c4f0d1f106af8561bdd156546b0aad |
01-Dec-2014 |
Jeff Sharkey <jsharkey@android.com> |
am 05d455ca: am b9ccc047: Merge "Sanitize display names, keep extensions intact." into lmp-mr1-dev * commit '05d455ca2b83793a81aac2544c388eec8ac140cd': Sanitize display names, keep extensions intact.
|
0cce5355b45d835f95a8918b8b803fd977d374e4 |
26-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
Sanitize display names, keep extensions intact. When creating or renaming files on external storage, sanitize the requested display names to be valid FAT filenames. This also fixes a handful of directory traversal bugs. Also relax logic around generating display names to allow any extension which maps to the requested MIME type. Tests to verify. Bug: 18512473, 18504132 Change-Id: I89e632019ee145f53d9d9d2050932f8939a756af
rc/android/os/FileUtilsTest.java
|
79ef5ef7a58baf17f7c3522a5aeb041f5206c32a |
21-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
am 54c11274: am c0491a2e: Merge "Lightweight checkin output for network stats." into lmp-mr1-dev * commit '54c11274b5e7ce9f774f7c846d7165563279b96a': Lightweight checkin output for network stats.
|
55a442e58262e253df965d652bd8219c8d1e72d3 |
19-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
Lightweight checkin output for network stats. Define and print a compact version of network statistics when dump is requested with the "--checkin" flag. Defaults to last 24 hours, but included data can be tweaked with various flags. Groups together detailed network identities into larger umbrella terms like "mobile" and "wifi." Bug: 18415963 Change-Id: I70cf9c828ea5c6e5bb6884837d3608f66fbad2e6
rc/android/net/NetworkStatsHistoryTest.java
|
ffd4785e3c518a0b33f5451dd6c2e2be61474aa9 |
13-Nov-2014 |
Adam Lesinski <adamlesinski@google.com> |
am 648f8106: am db3d76ab: Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into lmp-mr1-dev * commit '648f81064747b58be7ea9efab6d5744d6b49397a': Fix ParceledListSlice to enforce the same concrete types among its elements.
|
db3d76ab685955aae4a3e363238a2931d89c6f03 |
13-Nov-2014 |
Adam Lesinski <adamlesinski@google.com> |
Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into lmp-mr1-dev
|
bea6648df5b06240380bc0bf6feefa9af24f7d4f |
13-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
am a2781fda: am 521ca5f8: am 2e700004: am d68b87cd: Recover apps with malformed certificates. * commit 'a2781fdac332c4f6277a986c88e34daa25a3b5f9': Recover apps with malformed certificates.
|
521ca5f8fba355f526e82dc3a8fc6520e4379874 |
12-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
am 2e700004: am d68b87cd: Recover apps with malformed certificates. * commit '2e7000040e3d836bb591e29515974817afc49488': Recover apps with malformed certificates.
|
d68b87cdd402d46013170d9316a31c82be4e4816 |
12-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
Recover apps with malformed certificates. There was a window of time in Lollipop where we persisted certificates after they had passed through a decode/encode cycle. The well-written OpenSSL library was liberal when decoding (allowing slightly malformed certs to be parsed), but then strict when encoding, giving us different bytes for effectively the same certificate. A related libcore change (0c990ab4a90b8a5492a67b2b728ac9a4a1ccfa1b) now returns the original bytes verbatim, fixing both pre-Lollipop installs and installs after that change. This change recovers any apps that had been installed during the window of time described above by doing a one-time check to see if the certs are effectively equal. Bug: 18228011 Change-Id: Ib82bd6db718d0490d7a26c9c1014b7c8457a7f2d
rc/android/content/pm/SignatureTest.java
|
2fa1e48692e9bc29b81b0333e8b3742a1eb85206 |
12-Nov-2014 |
Elliott Hughes <enh@google.com> |
am 7c4ef052: Merge "Fix for CharSequenceCreator test case" * commit '7c4ef052d521d5ccf8acfb03c9332b59ea737cea': Fix for CharSequenceCreator test case
|
3df1c38ee098872352086e03d6f1adb16796ee29 |
07-Nov-2014 |
Adam Lesinski <adamlesinski@google.com> |
Fix ParceledListSlice to enforce the same concrete types among its elements. Bug:17671747 Change-Id: I896f75738e5b464ccb6c03290f139cc2fa72f966
rc/android/content/pm/ParceledListSliceTest.java
|
2a53332343c9fbc734595d269a2c35371227904b |
08-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
Resurrect dusty PackageManagerTests. Mostly just getting them running again, still a few failures related to native library symlinks that need more investigation. Bug: 18048725 Change-Id: I4642adab9fb2b9ec1488b700edcee48c09e36005
rc/android/content/pm/PackageManagerTests.java
|
fc2bd335d14ba14795cd2955f189536a53a0021f |
27-May-2011 |
Mattias Petersson <mattias.petersson@sonyericsson.com> |
Fix for CharSequenceCreator test case The test case testCharSequenceCreator() in TextUtilsTest fails because the data position is not reset before calling createFromParcel(). Change-Id: I6d5cc093ff65019ab0d2191bb0bd9c10ae49612b
rc/android/text/TextUtilsTest.java
|
161977998feebf0a855ea56558464470877040cf |
04-Nov-2014 |
Jeff Davidson <jpd@google.com> |
Rename BROADCAST_SCORE_NETWORKS to BROADCAST_NETWORK_PRIVILEGED. This is necessary/desired for two reasons: 1. UX around network scoring shipped with L despite lacking underlying platform support. We do not want network scoring applications to trigger this UX on L devices, and therefore we must break the contract of what defines a network scorer so that apps build against the new contract don't trigger the old UX. 2. As a start towards generalizing the term "score" for a potentially broader role in the future, though that role is very much undefined. Bug: 18160480 Change-Id: If228977513e32e45bc44dbeda24aa18436fdfca6
rc/android/net/NetworkScorerAppManagerTest.java
|
befe778c73e48417942fc31c06509bac8e5ca0d2 |
20-Oct-2014 |
Erik Kline <ek@google.com> |
Treat optimistic addresses as global preferred. If the kernel sends notification of an optimistic address then treat is a useable address (isGlobalPreferred()). Note that addresses flagged as IFA_F_OPTIMISTIC are simultaneously flagged as IFA_F_TENTATIVE (when the tentative state has cleared either DAD has succeeded or failed, and both flags are cleared regardless). Additionally: do not consider RFC 4193 ULA addresses sufficient for "global preffered". They are, by definition, of global scope but not sufficient for global reachability. Bug: 17769720 Change-Id: I759623b28fd52758f2d4d76d167f3cafd9319d6a
rc/android/net/LinkAddressTest.java
|
dd91fb44743f15ee308a4cfedeca6338b6912fdc |
28-Oct-2014 |
Erik Kline <ek@google.com> |
Merge "(re)define the definition of "provisioned"" into lmp-mr1-dev
|
f3cab63ef2248aebf2c931cd1e84d5739791fa50 |
20-Oct-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Change removeStackedLink to take an interface name. This simplifies callers. Also remove all "implementations" of addStackedLink and removeStackedLink except the one in LinkProperties, because they are unused. Bug: 12111730 Change-Id: Ie294b855facba4b1436299dcb3211b72d9ba448e
rc/android/net/LinkPropertiesTest.java
|
d3b9fd33c69fa4fb844238c90b1fd343052946d9 |
24-Oct-2014 |
Erik Kline <ek@google.com> |
(re)define the definition of "provisioned" Specifically: [1] provide a hasIPv4(), and [2] a hasIPv6() each of which requires an IP address, a default route, and address-family-specific DNS servers to evaluate to true. Additionally: [3] redefine isProvisioned() to return the logical OR of [1] and [2] above. Any external caller can still use any of the has*() methods to construct its own, different definition of "provisioned". Bug: 17769720 Change-Id: Ia692fb8508484ff403d3920c94d0e1db4563f807
rc/android/net/LinkPropertiesTest.java
|
d422dc358f0100106dc07d7b903201eb9b043b11 |
25-Sep-2014 |
Yigit Boyar <yboyar@google.com> |
Added a generic configuration and theme based cache For now, only animators use it but we can consider migrating drawable cache to it as well. Bug: 17456416 Change-Id: I571b96856805edb171f0fc52e6bff5a365f46b70
ndroidManifest.xml
es/anim/reset_state_anim.xml
es/anim/test_animator.xml
es/anim/test_state_anim.xml
es/values-land/dimens.xml
es/values/dimens.xml
rc/android/animation/AnimatorInflaterTest.java
rc/android/animation/BasicAnimatorActivity.java
rc/android/content/res/ConfigurationBoundResourceCacheTest.java
rc/android/content/res/ResourceCacheActivity.java
|
7a8f1a32dcbd93354ba5b8987be9a9d9d0d61519 |
17-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
NetworkStats always needs arrays. Internal logic relies on Arrays.copyOf(), so always give ourselves valid arrays, using shared empty objects to save overhead. Bug: 17502649 Change-Id: I5dbb00545bdfe45bbd48144ab505ea08cc92cbcd
rc/android/net/NetworkStatsTest.java
|
941a8ba1a6043cf84a7bf622e44a0b4f7abd0178 |
21-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Installing splits into ASECs! Sessions can now zero-copy data directly into pre-allocated ASEC containers. Then at commit time, we compute the total size of the final app, including any inherited APKs and unpacked libraries, and resize the container in one step. This supports both brand new ASEC installs and inheriting from existing ASEC installs. To keep things simple, it currently requires copying any inherited ASEC contents, but this could be optimized in the future. Expose new vold resize command, and allow read-write mounting of ASEC containers. Move native library extraction into the installer flow, since it needs to happen before ASEC is sealed. Move multiArch flag into NativeLibraryHelper, instead of making everyone pass it around. Migrate size calculation to shared location. Separate "other" package name in public API, provide a path to a storage device when relevant, and add more docs. Bug: 16514385 Change-Id: I06c6ce588d312ee7e64cce02733895d640b88456
rc/android/content/pm/PackageHelperTests.java
rc/android/os/storage/AsecTests.java
|
1806b1fc25bcffaa005e72a55042031a42b168b1 |
11-Aug-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Switch RouteInfo to use IpPrefix instead of LinkAddress. This addresses a TODO and also makes it possible to create routes to destinations that are not valid LinkAddresses, such as multicast addresses. Bug: 16875580 Change-Id: Id4c77b00dc3064bf27d78cdcbbe035e645748cfe
rc/android/net/RouteInfoTest.java
|
3824db6141c9ecabfc0ab900f2120e3aef3e9425 |
21-Jul-2014 |
Jeff Davidson <jpd@google.com> |
Delete most network scorer tests from coretests. Anything which tests public API functionality will be moved to a compatibility test suite. The only remaining test is NetworkScorerAppManagerTest, which contains unit tests for an internal helper class that is not (and should not be) exposed via @SystemApi or otherwise. Bug: 16355542 Change-Id: I478da97d3a4d09407992af37e45466dc484fa8cf
rc/android/net/NetworkKeyTest.java
rc/android/net/RssiCurveTest.java
rc/android/net/ScoredNetworkTest.java
|
9d2f441f9bb2c8dcac1150e2cba1d15a86a4efb1 |
09-Jun-2014 |
dcashman <dcashman@google.com> |
Initial KeySet API. Previously submitted but reverted due to doc-compilation bug. Bug: 6967056 Change-Id: I9bd7ef299a4c92c4b327f5b5d7e951f0753b4c8a
ndroidManifest.xml
pks/keyset/Android.mk
pks/keyset/api_test/AndroidManifest.xml
rc/android/content/pm/PackageManagerTests.java
|
5de7377feca5242fe7127e2d4dc7792d4886d365 |
12-Jul-2014 |
dcashman <dcashman@google.com> |
Revert "Initial KeySet API." This reverts commit 9a643fe02bc960e266484547dda5572b094a4c72.
ndroidManifest.xml
pks/keyset/Android.mk
pks/keyset/api_test/AndroidManifest.xml
rc/android/content/pm/PackageManagerTests.java
|
405912bce074e9e59a246e2357a108e50dffabf8 |
09-Jun-2014 |
dcashman <dcashman@google.com> |
Initial KeySet API. Bug: 6967056 Change-Id: I47a01bd5dc25591cc70f58f38920ad0a021094ae
ndroidManifest.xml
pks/keyset/Android.mk
pks/keyset/api_test/AndroidManifest.xml
rc/android/content/pm/PackageManagerTests.java
|
989eb371bf8f572fed1e65c6d8aeeb2548be89a7 |
17-Jun-2014 |
dcashman <dcashman@google.com> |
Change key-set/public-key manifest relationship. Separate definition of public keys and keysets in the manifest to better represent their relationship. The 'key-set' tags should have nested additional 'public-key' tags that indicate which of the defined 'public-key' tags are associated with them. The first use of a given 'public-key' name should define its value; subsequent uses may refer to it only by name. 'key-set' and 'public-key' names may not intersect. Also, change 'keys' tag to 'key-sets' to avoid issues with previous keysets implementation. Bug: 6967056 Change-Id: I7534e4a42326e97b67b55509187c0d3c21a2bb32
pks/keyset/permUse/AndroidManifest.xml
pks/keyset/uA/AndroidManifest.xml
pks/keyset/uAB/AndroidManifest.xml
pks/keyset/uAuB/AndroidManifest.xml
pks/keyset/uB/AndroidManifest.xml
|
55b1078e2a1b56daa85edfd5000a5844d3c7914b |
09-Apr-2014 |
dcashman <dcashman@google.com> |
Initial work for key rotation. Introduces the upgrade-keyset tag to AndroidManifest.xml. This specifies a KeySet by which an apk must be signed in order to update the app. Multiple upgrade KeySets may be specified, in which case one of them must be used to sign the updating apk. If no upgrade-keyset is specified, the current logic involving signatures is used. Current Key Rotation Design Decisions: -Apps using a shared user id may not rotate keys. -All acceptable upgrade keysets must be specified, including the key signing the app. This enables key rotation in one update, but also 'locks' an app if an incorrect upgrade keyset is specified. -Minimal changes to existing KeySet code. Bug: 6967056 Change-Id: Ib9bb693d4e9ea1aec375291ecdc182554890d29c
pks/keyset/Android.mk
pks/keyset/permDef/AndroidManifest.xml
pks/keyset/permUse/AndroidManifest.xml
pks/keyset/res/values/strings.xml
pks/keyset/uA/AndroidManifest.xml
pks/keyset/uAB/AndroidManifest.xml
pks/keyset/uAuB/AndroidManifest.xml
pks/keyset/uB/AndroidManifest.xml
pks/keyset/uNone/AndroidManifest.xml
erts/keyset_A.pk8
erts/keyset_A.x509.pem
erts/keyset_B.pk8
erts/keyset_B.x509.pem
rc/android/content/pm/PackageManagerTests.java
|
b6646a8987a8ce6abd34cc05d9ca0193a6d7bea9 |
28-Jun-2014 |
Jeff Davidson <jpd@google.com> |
Allow network scorers to provide an opt-in activity. A candidate scorer may have an activity registered to listen for the ACTION_CUSTOM_ENABLE intent action. If so, when the user attempts to select this scorer as the active one, this custom activity will be launched and will be responsible for requesting that the framework activate the scorer. This is to enable more complex opt-in flows prior to becoming the active scorer. Scorers which do not specify this activity will default to using the framework switcher (currently ActiveNetworkScorerDialog, though this may change). Note that all switches must still go through the framework switcher; the opt-in activity simply allows scorers to first show another screen and perform the framework switch on their own terms. Bug: 15775314 Change-Id: I3847e5d3161a8fcc9622abc03218795697c32778
rc/android/net/NetworkScorerAppManagerTest.java
|
a3b9ca5adead683eb30492f038e4e72452b6fa5a |
26-Jun-2014 |
Jeff Davidson <jpd@google.com> |
Merge "Use/expose the receiver's label as the scorer name."
|
c741553644f8b19c63938ab9e36af1721c2cfa34 |
24-Jun-2014 |
Jeff Davidson <jpd@google.com> |
Use/expose the receiver's label as the scorer name. Allows scorer apps to set a custom name for the scoring functionality, even if the app has other non-scoring responsibilities, in which case the application's label would be too generic. Bug: 15775300 Change-Id: I61a7d1966742d463508e6801b7845ced8392db84
rc/android/net/NetworkScorerAppManagerTest.java
|
76ea6c68d3222441970ef98079ba30710ac8c595 |
23-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Teach LinkProperties whether it's provisioned or not. In IPv4, a link is provisioned when DHCP succeeds. In IPv6, a there is no such signal, because addresses and DNS servers can be notified by the kernel at different times. Add an isProvisioned method that returns true if we believe that enough information has configured to use a network. For IPv6, this requires an IP address, default route, and DNS server. For IPv4, this requires only an IPv4 address, because we support static configuration that doesn't have a default route or DNS server. To do this we use the existing hasIPv4Address method, rename the all-but unused hasIPv6Address method to hasGlobalIPv6Address (which is what we want anyway) and add new hasIPv[46]DefaultRoute and hasIPv[46]DnsServer methods. Bug: 9180552 Change-Id: Ib2f5ff8af920f7b6f1edf0e2afaaa0edce9bc72d
rc/android/net/LinkPropertiesTest.java
|
64c43b1948a2b2fcd692cd4a48f031efbf7f7336 |
23-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Minor changes to RouteInfo. 1. Realize that mDestination can never be null and update the code accordingly. 2. Simplify isDefaultRoute. 3. Provide two new hidden utility methods, isIPv4Default() and isIPv6Default(), that can be used by LinkProperties to to determine if the system has connectivity. 4. Update tests. Bug: 9180552 Change-Id: I85028d50556c888261d250925962bdedfe08e0c6
rc/android/net/RouteInfoTest.java
|
1603eadc5ad2f6d3e912ca0f20ec1bbc0b81fe01 |
23-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Unbreak LinkPropertiesTest. This was broken by the changes that made addRoute add routes only if they did not already exist. Change-Id: I1d227df9223fbecf106efde05b709f320824ee9d
rc/android/net/LinkPropertiesTest.java
|
275e085d5a42ced54bb79e40ff76c77539e7d82d |
18-Jun-2014 |
Jeff Sharkey <jsharkey@android.com> |
Stronger PackageParser contract, more split work. Require that method callers always provide relevant paths, instead of relying on constructor. Move DisplayMetrics to be an overall parser parameter, and move PARSE_TRUSTED_OVERLAY to flags. Parse split APKs and apply deterministic ordering based on split names. Assert consistent package name and version code across all split APKs in a package, and enforce unique split names and required base APK. Collect certificates for split APKs, enforcing they're all signed consistently. Better flow control and resource cleanup when collecting certs. Refactor validation code so it's easier to reason about. Cleaner maintenance of read buffer when draining stream contents. Change-Id: I8bc8c62095fbb933227b9e76ad8771f4b1246fe8
rc/android/content/pm/PackageManagerTests.java
|
0f50bbfe45f48a22bf74c2ff3e412ea1a1b7adcd |
17-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Merge "IpPrefix improvements."
|
8c6c2c3c929acad783b9a56b8d9efa597d0ae609 |
12-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
IpPrefix improvements. 1. Allow IpPrefixes to be created from strings. In order to do this, factor out the code from LinkAddress which already does this to a small utility class in NetworkUtils. 2. Truncate prefixes on creation, fixing a TODO. 3. Add a toString method. 4. Write a unit test. While I'm at it, make RouteInfoTest pass again, and convert it to use IpPrefix instead of LinkAddress. Change-Id: I5f68f8af8f4aedb25afaee00e05369f01e82a70b
rc/android/net/IpPrefixTest.java
rc/android/net/RouteInfoTest.java
|
c4858a2ba972e86436d629c4d3f18eb49116de14 |
16-Jun-2014 |
Jeff Sharkey <jsharkey@android.com> |
Switch PackageParser to reference single path. It previously kept mPath separate from mScanPath for some very odd edge cases around moving apps-on-SD. This changes it to always use a single path, refactors moving to keep separate paths. Refactors method names in PackageParser to be clearer about their APK-versus-package relationship. Beginnings of a split package parser. Instead of requiring that callers check error codes when null, switch to always throwing on parse errors, to require that callers deal with the error. Longer term the entire parser should switch to this style, but its too pervasive for a simple refactoring. Change-Id: If071d8e55e46e56cc201fadfb51cb471713ae973
rc/android/content/pm/PackageManagerTests.java
|
62388936c88840a5f1ab7a7f6dd547467e99dfad |
13-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Assert that RT_SCOPE_* and IFA_F_* are not zero. If these constants are zero (or, rather, if they're not all different), the test will fail with more cryptic error messages whose cause is not obvious. Clearly check for that here. Bug: 15602893 Change-Id: I7ca4a9c5e3d592fd93fbfa1b50666a1861a0031d
rc/android/net/LinkAddressTest.java
|
756c4b795e3c8017530b93f8fcaff683331ac2b5 |
12-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
am f7c964fa: Merge "Fix Build" into lmp-preview-dev * commit 'f7c964fa06257d6db1b894bfbe905ca125c755c8': Fix Build
|
54e312a51bbef80658d71d10b65a0bc5f3268636 |
12-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
am 9c6d406e: Fix build breakage. * commit '9c6d406eb7ab0fce40fb7cd1257714a29d06774c': Fix build breakage.
|
130669992c5ea8d54db15f142e27578bdcf7e003 |
12-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Fix build breakage. Change-Id: Ideb32704ce5dc37ef36b05609f88da2aa55b3a00
rc/android/net/RouteInfoTest.java
|
6f0ec45a3bff040790ae84345f154c65c9777610 |
12-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Fix Build Change-Id: Iebbce8eaf21b3d2ba01ec720812d38018b13529e
rc/android/net/RouteInfoTest.java
|
594b456b6e2aa4142fa31394cdd39bd4cc7a1d3a |
12-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Merge "Minor changes to the LinkAddress API docs." into lmp-preview-dev
|
6307b35e1d3a8d577877be0b4c9cea1a909b6329 |
04-Jun-2014 |
Sreeram Ramachandran <sreeram@google.com> |
Add a new IpPrefix class and use it in RouteInfo. This change uses IpPrefix only in the public API and continues to use LinkAddress for everything else. It does not change the callers to use the new APIs, with the exception of changing all current uses of getDestination to getDestinationLinkAddress to make room for the new getDestination method that returns an IpPrefix. Based on Sreeram's earlier change: https://googleplex-android-review.git.corp.google.com/#/c/477874/ but a bit simplified and with a bit more documentation. Bug: 15142362 Bug: 13885501 Change-Id: Ib4cd96b22cbff4ea31bb26a7853989f50da8de4e (cherry picked from commit 7d3b4b9a3d4de9673119632da0ebd583e50126f7)
rc/android/net/RouteInfoTest.java
|
00a0fd650b7a31dffb88c229242bb04fa0b487a4 |
09-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Minor changes to the LinkAddress API docs. 1. Rename getNetworkPrefixLength to getPrefixLength. Update all callers in frameworks/base and add a shim method and a TODO for the rest. 2. @hide isSameAddressAs. It doesn't add much, and it's just one-liner that callers can implement if they want. 3. Fix the alignment of the initial paragraph (<ul> should have been </ul>). 4. Remove the documentation that talks about creating LinkAddresses, since there's no public API for creating them. With these changes I think LinkAddress is fine as a public API. Bug: 15142362 Change-Id: Iaf3b1db577745bb68a9e1dd7f96d666dd3f3ec7c (cherry picked from commit 9ab53650cfcd91a2a151b44b3fd1381841f76269)
rc/android/net/LinkAddressTest.java
|
25702b39675c51dd4963eb71b66b20126a55cc05 |
06-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Fix public API of LinkProperties. bug:15142362 (cherry picked from commit 51d898fd0223a4b7c728980ab987dd985c02df5f) Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
rc/android/net/LinkPropertiesTest.java
|
7dc78cf3af9fd11a4f1e2e981ce584a23755ea9e |
09-Jun-2014 |
Lorenzo Colitti <lorenzo@google.com> |
Minor changes to the LinkAddress API docs. 1. Rename getNetworkPrefixLength to getPrefixLength. Update all callers in frameworks/base and add a shim method and a TODO for the rest. 2. @hide isSameAddressAs. It doesn't add much, and it's just one-liner that callers can implement if they want. 3. Fix the alignment of the initial paragraph (<ul> should have been </ul>). 4. Remove the documentation that talks about creating LinkAddresses, since there's no public API for creating them. With these changes I think LinkAddress is fine as a public API. Bug: 15142362 Change-Id: Iaf3b1db577745bb68a9e1dd7f96d666dd3f3ec7c
rc/android/net/LinkAddressTest.java
|
cc91c7b804a079f7b20404827277c61dd403805f |
04-Jun-2014 |
Sreeram Ramachandran <sreeram@google.com> |
Add a new IpPrefix class and use it in RouteInfo. This change uses IpPrefix only in the public API and continues to use LinkAddress for everything else. It does not change the callers to use the new APIs, with the exception of changing all current uses of getDestination to getDestinationLinkAddress to make room for the new getDestination method that returns an IpPrefix. Based on Sreeram's earlier change: https://googleplex-android-review.git.corp.google.com/#/c/477874/ but a bit simplified and with a bit more documentation. Bug: 15142362 Bug: 13885501 Change-Id: Ib4cd96b22cbff4ea31bb26a7853989f50da8de4e
rc/android/net/RouteInfoTest.java
|
df2b878ff4e7b4a258588d3a93574c399db78a07 |
06-Jun-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Fix public API of LinkProperties. bug:15142362 Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
rc/android/net/LinkPropertiesTest.java
|
874d0d4032dc940327a81359f144d38d3cb580a3 |
30-May-2014 |
dcashman <dcashman@google.com> |
Add ArrayUtils methods and tests for consumption by KeySet code. Adds methods for dealing specifically with long data types. Used by PackageKeySetData as part of the KeySet work. Add appropriate test methods to MoreAsserts as well. Bug: 6967056 Change-Id: I1e263301b353e0cd1b45126be6ef5ec310f311a8
rc/com/android/internal/util/ArrayUtilsTest.java
|
78cc340c2de873d6995c283b777476f7237d690f |
22-May-2014 |
Jeff Sharkey <jsharkey@android.com> |
Offer to stream and fsync() install sessions. Installers are interested in both streaming APK data and establishing a happens-after relationship to support resuming downloads after a process kill or battery pull. This exposes a generic OutputStream for writing, and hooks up flush() to be a blocking call which returns only when all outstanding write() data has been fsync()'ed to disk. Tests to verify behavior. Bug: 14975160 Change-Id: I38289867c80ac659163bb0c2158ef12d99cc570d
rc/android/os/FileBridgeTest.java
|
7672ef046b40cc5a56fd36f152f848654c55a096 |
16-May-2014 |
Jeff Davidson <jpd@google.com> |
Fix inconsistent package name. Change-Id: I6dfa0ded4309ae9e3f8ab73d96e6ccb521beb7c4
rc/android/view/VelocityTest.java
|
f9cb86aebe9647e0fe0137fc198ba16c017445c6 |
09-Apr-2014 |
Robert Greenwalt <rgreenwalt@google.com> |
Replace LinkCapabilities with NetworkCapabilities Also remove unused LinkSocket and LinkSocketNotifier. bug:13885501 Change-Id: Id426e31b201fa4f29109b5fea485d8efb34519d3
rc/android/net/LinkSocketTest.java
|
f4c5bf30b445874cf353e1b96cab94185a39ce6d |
07-May-2014 |
Yigit Boyar <yboyar@google.com> |
State based animators for Views Set quantum theme buttons to elevate 2dp on press Change-Id: Ibf4f5ef166b901382c304d392eba075836a96a35
es/anim/reset_state_anim.xml
es/anim/test_state_anim.xml
rc/android/animation/StateListAnimatorTest.java
|
14f1ec05b2add5ee051c0d2e7c7c3b36a6e77b92 |
29-Apr-2014 |
Jeff Davidson <jpd@google.com> |
API for network cache subsystems. A network subsystem (e.g. Wi-Fi) will be responsible for implementing INetworkScoreCache. NetworkScoreService will load caches for each configured network subsystem. When it receives a call to update scores, it will separate the networks by type and call updateScores on the appropriate INetworkScoreCache. Each subsystem will also be responsible for requesting scores for new networks by calling NetworkScoreManager#requestScores. Bug: 14408144 Bug: 14137255 Change-Id: I76e5e5205bc359c39d6b9c1782126fb7f465cd96
rc/android/net/RssiCurveTest.java
|
bafab83995df4662cce6d05133ebce9a80abbdac |
29-Apr-2014 |
Elliott Hughes <enh@google.com> |
am c4e6f6d2: am cf939672: am 2e9d924d: Merge "Remove unused import." * commit 'c4e6f6d2827ad526f562a5882975f42eee69486c': Remove unused import.
|
f25f14eebab85611b9aa00c8f555074893849c33 |
29-Apr-2014 |
Elliott Hughes <enh@google.com> |
Remove unused import. Change-Id: I3f6a035cda55859a7a521f3117da72ee962beb63
rc/com/android/internal/util/FileRotatorTest.java
|
812ad2265ed1386b347c98f48cc8a2b2925541b3 |
28-Apr-2014 |
Elliott Hughes <enh@google.com> |
am d937f275: am 12928a07: am 2336c4ec: Merge "Fix build." * commit 'd937f2750c6edc2c1a03901605b22dad02b89147': Fix build.
|
10596fbcce710a76ffc7e917400df13af5c2ebcb |
28-Apr-2014 |
Elliott Hughes <enh@google.com> |
resolved conflicts for merge of 3ce4f3d0 to master Change-Id: Id5c5997ad8f801b32e1dbd97413ea42e38c27210
|
9790190feecba4bbd66d54c9b942737722e5a16f |
28-Apr-2014 |
Elliott Hughes <enh@google.com> |
Fix build. Change-Id: I0bd6e1aac19276bf664accd8d38f86d2cc7450cc
rc/android/content/pm/PackageManagerTests.java
|
34385d352da19805ae948215e2edbeedd16b7941 |
28-Apr-2014 |
Elliott Hughes <enh@google.com> |
Track libcore.os' move to android.system. (This is partial, but should cover everything in AOSP master except for the zygote.) Change-Id: I1042c99245765746a744c44e714095cb2c6cb75d
rc/android/content/pm/PackageManagerTests.java
rc/android/net/LinkAddressTest.java
rc/android/net/LinkPropertiesTest.java
|
846318a3250fa95f47a9decfbffb05a31dbd0006 |
04-Apr-2014 |
Jeff Sharkey <jsharkey@android.com> |
Allow prefix-based Uri permission grants. Define new FLAG_GRANT_PREFIX_URI_PERMISSION which indicates that a Uri permission grant should also apply to any other Uris that have matching scheme, authority, and path segments. For example, a prefix grant for /foo/ would allow /foo/bar/ but not /foo2/. Allow persistable and prefix grants to be issued directly through grantUriPermission(). Relaxing persistable is fine, since it still requires the receiver to actively take the permission. Since exact- and prefix-match grants for the same Uri can coexist, we track them separately using a new UriGrant key. (Consider the case where an app separately extends READ|PREFIX and WRITE for the same Uri: we can't let that become READ|WRITE|PREFIX.) Fix revoke to always take away persisted permissions. Move prefix matching logic to Uri and add tests. Add new flags to "am" tool, and various internal uses around Intent and Context. Switch some lagging users to ArraySet. Bug: 10607375 Change-Id: Ia8ce2b88421ff9f2fe5a979a27a026fc445d46f1
rc/android/net/UriTest.java
|
6a4b220f1263d95fdefe6361c2bc87bbb04bbed0 |
17-Apr-2014 |
Jeff Davidson <jpd@google.com> |
Initial implementation of NetworkScoreManager's backing service. This service will ultimately be responsible for propagating scores down to lower-level network subsystems. For now, it just keeps scores in memory and exposes these for debugging purposes via "adb shell dumpsys network_score". This change also adds provisioning of a default scorer. When NetworkScoreService is first initialized, it checks to see if it has ever set a default scorer; if not, it reads a package name from a build config property and attempts to set it as the default. Also add autogenerated equals/hashCode methods to all parcelables. Bug: 14111427 Bug: 13786258 Change-Id: I02271171653d42e12acd240b73b9e23950744f6b
rc/android/net/NetworkScorerAppManagerTest.java
rc/android/net/NetworkScorerApplicationTest.java
|
dd6fd1e62b1792d1f96824b2fefb16d894b43197 |
15-Apr-2014 |
Jeff Davidson <jpd@google.com> |
Class for managing the active scorer application. Allows listing all possible scorer apps, getting the active scorer app, setting the active scorer app, and determining whether a given UID is for the active scorer. Note that setting a default scorer with a system image will be handled separately - the plan here is to add a read-only build property containing a package name to use as the scorer out of the box. When NetworkScorerService is initialized, it will check a provisioning bit; if that bit isn't set, it will set the current scorer to the package specified in this build property (if any) and set the provisioning bit to true. Bug: 13769362 Change-Id: I18c0b2ba2aceccc88b70c3611a49149e0bf17ecf
ndroid.mk
rc/android/net/NetworkScorerApplicationTest.java
|
dc960e21ef1005fab5ef145773ddd6f40c802217 |
08-Apr-2014 |
Jeff Davidson <jpd@google.com> |
Data structures for communication with network scorer apps. NetworkKey represents the necessary information to identify a network to be scored. ScoredNetwork contains the key to identify a network as well as a score to be used when evaluating that network (as a curve based on RSSI). Bug: 13767776 Change-Id: I6bfebd105c9381e615513167b4332b767b43a23a
rc/android/net/NetworkKeyTest.java
rc/android/net/ScoredNetworkTest.java
|
d274c4643290261067ac1a9fee55e040aacfac3e |
11-Apr-2014 |
Jorim Jaggi <jjaggi@google.com> |
Fix ugly black background when expanding/collapsing notifications. Bug: 13635952 Change-Id: I7a0f434172db4583f904e6817d94ca12d3b117bc
rc/com/android/internal/widget/SizeAdaptiveLayoutTest.java
|
f1977b4500e82b72ea6aa5c46d97406a20017caf |
25-Mar-2014 |
Christopher Tate <ctate@google.com> |
Expand install observer semantics ...and now fail conservatively when two apps both attempt to define the same permission. Apps signed with the same certificate are permitted to redefine permissions. We also finally have a (hidden) interface class for observing package installation so that we can now rev the interface without breaking existing callers. Bug 13551375 Change-Id: Ifa4e59154dcccbb286ee46a35a6f25e4ad0f0f01
rc/android/content/pm/PackageManagerTests.java
|
7629a18a3f190368e6268d3f2827824905683268 |
26-Mar-2014 |
Glenn Kasten <gkasten@google.com> |
Revert "Expand install observer semantics" This reverts commit ab8a501f255b272af887acb0e66eb71cdf24c755. Change-Id: I4ab4ae1a96efa2adf9d5a513793d8b84eef38b4e
rc/android/content/pm/PackageManagerTests.java
|
ab8a501f255b272af887acb0e66eb71cdf24c755 |
25-Mar-2014 |
Christopher Tate <ctate@google.com> |
Expand install observer semantics ...and now fail conservatively when two apps both attempt to define the same permission. We also finally have a (hidden) interface class for observing package installation so that we can now rev the interface without breaking existing callers. Bug 13551375 Change-Id: I3a286d024a30e812ee4b098f345401df3c00e178
rc/android/content/pm/PackageManagerTests.java
|
432f755d44d3afc20cef2b78559ad31775d3a06d |
17-Mar-2014 |
Jeff Sharkey <jsharkey@android.com> |
am ac0f9ffd: am da07fe64: am eeb36c5c: am d88d8174: Merge "Null pointer exception in FileRotator.java" * commit 'ac0f9ffda2a7e48d2d641654dafd11b8da39830a': Null pointer exception in FileRotator.java
|
bbf1861fdd2ba250354c060fe70f0ee7cbe93877 |
13-Dec-2013 |
Mikael Gullstrand <mikael.gullstrand@sonymobile.com> |
Null pointer exception in FileRotator.java Sometimes a null pointer exception is thrown when examining files managed by the file rotator. The logs from the test show that the Wifi state is changed a large number of times. On every state change, a write operation is initiated on the file system. This will eventually result in out of memory and the call to mBasePath.list() in the maybeRotate(...) method in FileRotator.java will return null so the iteration will throw a NullPointerException. Change-Id: I5d5980d9593bc9ec75281169ca27ee591809903f
rc/com/android/internal/util/FileRotatorTest.java
|
8a985d24ce9a38f40ed88fecbdcd0e75e3a68f44 |
25-Feb-2014 |
John Spurlock <jspurlock@google.com> |
Tabs -> spaces in frameworks/base. Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be
rc/android/app/TranslucentFancyActivity.java
rc/android/app/activity/AbortReceiver.java
rc/android/app/activity/RemoteSubActivityScreen.java
rc/android/app/activity/SubActivityScreen.java
rc/android/database/DatabaseCursorTest.java
rc/android/database/DatabaseStatementTest.java
|
b2e0733fe649ae98cf1a4cc449eed12ce72b7224 |
17-Feb-2014 |
Narayan Kamath <narayan@google.com> |
am 94b7c749: am 37e6af75: am 92a09fbd: am a14d9c31: Merge "Move Json{Reader,Writer} test to cts." * commit '94b7c749fd0bc5bbd80dbabfd412c2a212584343': Move Json{Reader,Writer} test to cts.
|
94ccb6bf95d1a798ff980816528747b14ffff7fd |
17-Feb-2014 |
Narayan Kamath <narayan@google.com> |
Move Json{Reader,Writer} test to cts. These tests aren't really run automatically (or perhaps even manually) in their present location, and increasing CTS coverage is never a bad thing. Change-Id: I81cce1211021011dca551fde62e725e177ca4df0
rc/android/util/JsonReaderTest.java
rc/android/util/JsonWriterTest.java
|
ebf8ad5d91b22eb4359c75711a5b70ddcce0723d |
31-Jan-2014 |
Jeff Sharkey <jsharkey@android.com> |
Update DrmOutputStream to use raw FileDescriptor. This allows DownloadManager to use FDs, paving the way for downloading directly to content:// Uris. Also return flag indicating if deleteOlderFiles() actually deleted anything. Update tests to verify. Bug: 5287571 Change-Id: I2579e5e2113f31b2860d7b021bd61c91b6310963
rc/android/os/FileUtilsTest.java
|
4ca728c064aeab644f6d044e0285eaa056818b8a |
11-Jan-2014 |
Jeff Sharkey <jsharkey@android.com> |
Detect removable and emulated secondary storage. Also rename existing secondary storage API to match naming convention in rest of class. Bug: 11536709 Change-Id: I2684c817de4982b414893d2d9927a21e3f171d53
rc/android/os/FileUtilsTest.java
|
98fcf484efbba3252174d6db1e21ba308a968c04 |
07-Jan-2014 |
Narayan Kamath <narayan@google.com> |
am d2098682: am 3f2843a4: am c47b7d37: am 9d4ebdca: am cf1aa551: Merge "XmlUtils#readThisMapXml should handle null keys." * commit 'd2098682ab269d311dd482a38e8557df6717ee17': XmlUtils#readThisMapXml should handle null keys.
|
f748257eee651b974e15274e03fe9843a8393073 |
18-Dec-2013 |
Narayan Kamath <narayan@google.com> |
XmlUtils#readThisMapXml should handle null keys. Both readThisValueXml & writeThisValueXml have been implemented to handle values with "null" names. Change readThisMapXml to allow such names as well, and map them to the null key in the resulting HashMap. readThisListXml and readThisSetXml already support null names. bug: https://code.google.com/p/android/issues/detail?id=63463 Change-Id: I1c93976656e45e7733113eb67d29b6bad5d25f1f
rc/com/android/internal/util/XmlUtilsTest.java
|
4598ea4e5e6b2accce5165a76f5e2d04ce46c74c |
09-Dec-2013 |
Lorenzo Colitti <lorenzo@google.com> |
am 263c4788: am 30253d7a: am 2daa0c93: Merge "Add address flags and scope to LinkAddress." * commit '263c4788dcf45f104f8668fd6621d1a7c39689b9': Add address flags and scope to LinkAddress.
|
2daa0c93c4a0a9d18f4ef4486369fb8c90cd1ea2 |
07-Dec-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Merge "Add address flags and scope to LinkAddress."
|
64483947fdb03bf838e317ac0a4af5e0f53a5bbf |
15-Nov-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Add address flags and scope to LinkAddress. This is necessary so that the framework can know whether an IPv6 address is likely to be usable (i.e., if it's global scope and preferred). Also, it will simplify the address notification methods in INetworkManagementEventObserver, which currently take the address, the flags, and the scope as separate arguments. 1. Add flags and scope to the class and update the unit test. Use the IFA_F_* and RT_SCOPE_* constants defined by libcore. Since most callers don't know about flags and scope, provide constructors that default the flags to zero and determine the scope from the address. Addresses notified by the kernel will have these properly set. Make multicast addresses invalid. Update the class documentation. 2. Provide an isSameAddressAs() method that compares only the address and prefix information between two LinkAddress objects. This is necessary because an interface can't have two addresses with the same address/prefix but different flags. 3. Update LinkProperties's addLinkAddress and removeLinkAddress to identify existing addresses to add/remove using isSameAddressAs instead of implicit equals(). Specifically: - If addLinkAddress is called with an address that is already present, the existing address's flags and scope are updated. This allows, for example, an address on an interface to go from preferred to deprecated when it expires, without it having to be removed and re-added. - If removeLinkAddress is called with an address that is present but with different flags, it deletes that address instead of failing to find a match. 4. Update the INetworkManagementEventObserver address notification methods to take just a LinkAddress instead of LinkAddress, flags, and scope. While I'm at it, change the order of the arguments for consistency with the other functions in the interface. Change-Id: Id8fe0f09a7e8f6bee1ea3b52102178b689a9336e
rc/android/net/LinkAddressTest.java
rc/android/net/LinkPropertiesTest.java
|
ebcb32f58a6220802ca129ea33f47b4b69931a10 |
05-Dec-2013 |
The Android Open Source Project <initial-contribution@android.com> |
Merge commit 'bac61807d3bcfff957b358cb9ad77850bd373689' into HEAD Change-Id: I29374270c8e0c2f2859efaf1d55af9f73da0f8d7
|
66c621496fb2b4381e7dcf33ee3272ca3eed8da7 |
04-Dec-2013 |
Lorenzo Colitti <lorenzo@google.com> |
am 13d9dfb4: am 86570409: am 453a5233: Merge "Minor changes to LinkAddress." * commit '13d9dfb495db1431623c712b36cac1fe2f3c2fc0': Minor changes to LinkAddress.
|
86570409a28ff359acbf56cc11bc1ad4d5f57630 |
04-Dec-2013 |
Lorenzo Colitti <lorenzo@google.com> |
am 453a5233: Merge "Minor changes to LinkAddress." * commit '453a5233086b216f2a95d0879954a2af39279095': Minor changes to LinkAddress.
|
e1ad1849f3a65c1ff06919351ef1d73e9bc8854e |
27-Nov-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Minor changes to LinkAddress. 1. Simplify the parceling code. Since the InetAddress inside a LinkAddress can never be null, we don't need to special-case the case where it is. 2. Add / update method documentation. 3. Write a unit test. Change-Id: Iba0a8cecc683d55d736419965e72ee33dd66dc22
rc/android/net/LinkAddressTest.java
|
0b3bcedcccdbb5773877bdc61e436502a5f80f6a |
23-Oct-2013 |
Narayan Kamath <narayan@google.com> |
Merge "Get rid of coretests/android.text.HtmlTest"
|
e27564fbae288221ba719bb8bc6e042b87dc4209 |
23-Oct-2013 |
John Spurlock <jspurlock@google.com> |
am 759bc4f4: am 7539a5af: am 2f566900: Merge "Ensure the simple CAB appears below the status bar." into klp-dev * commit '759bc4f421e01460cff92522bf70d52c53b79e85': Ensure the simple CAB appears below the status bar. Add 'no system permission' test app.
|
515662fa6f845a9abb09785253998fc29ac88666 |
23-Oct-2013 |
Narayan Kamath <narayan@google.com> |
Get rid of coretests/android.text.HtmlTest This is a strict subset of android.text.cts.HtmlTest and is currently completely broken (due to ltr changes). Change-Id: If8d5c8a03f96ef3712cd398f297c8872d91403bb
rc/android/text/HtmlTest.java
|
305258da757bc1dff447a27b1c7e510cb65191bb |
22-Oct-2013 |
Brett Chabot <brettchabot@google.com> |
Add 'no system permission' test app. Used in PackageManagerOTATests to verify upgraded system apps are granetd new permissions. Bug 11271490 Change-Id: Idbc07bc043d06ea15dc41285ecbfb8186a7ecc95
pks/version_nosys/Android.mk
pks/version_nosys/AndroidManifest.xml
pks/version_nosys/res/values/strings.xml
pks/version_nosys/src/com/android/frameworks/coretests/version_test/NullProvider.java
|
fd5f566db84722f9cf54085d8a378e9398ef260d |
19-Sep-2013 |
Chris Wren <cwren@android.com> |
add a test for BackupData helpers. Bug: 10821481 Change-Id: I3e28123d36927ae4a22d26378b8bf1cd4e87cfd2
ndroid.mk
ssets/backup_mock.dat
ssets/backup_mock.gld
ssets/backup_real.dat
ssets/backup_real.gld
rc/android/app/backup/BackupDataTest.java
|
8f64e3cd42730e0961a9c4d68f3ab49ffabdf649 |
16-Sep-2013 |
Igor Murashkin <iam@google.com> |
am 14297141: am 5cf86aa7: Merge "media: Update ImageReader to remove MaxImagesAcquiredException" into klp-dev * commit '142971418c8e9ca539dae40f3c2532956f258e6b': media: Update ImageReader to remove MaxImagesAcquiredException
|
5454e3ddcc0c64dd894dfd25e38226a8bef62f7a |
16-Sep-2013 |
Igor Murashkin <iam@google.com> |
am 720b1fce: am 26cb5fd5: Merge "media: Update ImageReader APIs" into klp-dev * commit '720b1fcecd6c21bf4fbe6d3822e52c8a092b93c4': media: Update ImageReader APIs
|
e3351f1942bfe86682389b278e7ff128a72ea671 |
13-Sep-2013 |
Igor Murashkin <iam@google.com> |
media: Update ImageReader to remove MaxImagesAcquiredException * acquiring images now throws IllegalStateException instead of MaxImagesAcquiredException Bug: 10691447 Change-Id: I7ce68f990fb96703705b9181012a28633fea0b7a
rc/android/hardware/display/VirtualDisplayTest.java
|
5e712064dfe48992f8f732208fa4fc13f3455b30 |
30-Aug-2013 |
Igor Murashkin <iam@google.com> |
media: Update ImageReader APIs Bug: 10461757 Change-Id: Ic04e4c41965e3d417b29004f3f08e0cd56b8f4cb
rc/android/hardware/display/VirtualDisplayTest.java
|
d6b37fdf6c24321a87566ad4053dad5daa3a844a |
09-Sep-2013 |
Narayan Kamath <narayan@google.com> |
Allow SSL caches to be installed directly on SSLContexts. This allows clients to enable ssl session caching without having to use SSLCertificateSocketFactory. Change-Id: Id63b8b31f51c96e73beefe9ecc5fd0cf0a1852c6
rc/android/net/SSLSessionCacheTest.java
|
b7757a6b32edea62a1a9a803ad83579220f26100 |
10-Sep-2013 |
Jeff Sharkey <jsharkey@android.com> |
Rename offer() to add(), remove/hide some APIs. Change MatrixCursor offer() to add() based on review feedback. Remove some now-unused XML metadata. Hide document creation, since it's not supported in initial version. Bug: 10577809, 10461706, 10678563 Change-Id: I7b3f4c6899c28f633471ef816bee22bf032aa0d2
rc/android/database/MatrixCursorTest.java
|
69df743f7489ca67ef1c94270325d1056f1bc546 |
07-Sep-2013 |
Robert Greenwalt <rgreenwalt@google.com> |
Fix the build. Change-Id: Ia5d29de9db7ea8fd467b3bde551a8cfb95877b41
rc/android/net/LinkPropertiesTest.java
|
9d9b74a900696191048aa97cc3c854072640428b |
01-Sep-2013 |
sy.yun <sy.yun@lge.com> |
Setting MTU size for specific network. Able to config network specific MTU size. Normally, the default size of MTU is 1500. US - ATT 1410, TMUS 1440, SPRINT 1422 KR - SKT 1440, KT 1450, LGU+ 1428 JP - KDDI 1420, SoftBank 1340 CA - RGS 1430, FIDO 1430, MTS 1430, BELL 1358, SaskTel 1358 AU - TEL 1400 Bug: 10195070 Change-Id: Ie18650b37a3d44af944f2dae4aa97c04fb12cd5e
rc/android/net/LinkPropertiesTest.java
|
22f407b11e11cfdb336e06e8c0d4a7ef1eafc783 |
23-Aug-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Add a function to replace all the link addresses. Bug: 10232006 Change-Id: I689ce4735999dac2ab5e1fae09d80b1f734292a1
rc/android/net/LinkPropertiesTest.java
|
580e60fdcd64ba1c8cd6bad3d20200312b7503aa |
31-Aug-2013 |
Kenny Root <kroot@google.com> |
Merge "Use core-tests-support instead of core-tests" into klp-dev
|
3603f04ab8b828a8fc990e21ad459f7a38775941 |
29-Aug-2013 |
Kenny Root <kroot@google.com> |
Use core-tests-support instead of core-tests The core-tests-support library is newly created. It doesn't have any tests itself but some support for tests that need to use mocked classes for testing. In this case, some tests are using TestKeyStore for SSL testing in frameworks tests. (cherry picked from commit c2d6728350f3ec80f9b4c8967794558e42516987) Bug: 10092469 Change-Id: Ib38364c607de5a98eb242050eaaf52b22ab8ca57
ndroid.mk
|
ada3dbe7c98e44ed350e83cad62eb9f410bbc0f2 |
26-Aug-2013 |
Jonathan Dixon <joth@google.com> |
Remove WebViewClassic specific test code Bug: 10427705 These tested internals of WebViewClassic and will no longer build when that is removed Change-Id: I42af538dcb0343e9eff0b3fa85d7ff39f19c7c61
rc/android/webkit/AccessibilityInjectorTest.java
rc/android/webkit/AccessibilityInjectorTestActivity.java
rc/android/webkit/UrlInterceptRegistryTest.java
rc/android/webkit/WebkitTest.java
rc/android/webkit/ZoomManagerTest.java
|
4faa027df03c241c92a12a437f20767ab4d6ee64 |
08-Aug-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Modify LinkProperties address update methods. 1. Make addLinkAddress a no-op if the address already exists. 2. Make addLinkAddress, addStackedLink and removeStackedLink return a boolean indicating whether something changed. 3. Add a removeLinkAddress method (currently there is no way of removing an address). 3. Move hasIPv6Address from ConnectivityService to LinkProperties, where it belongs. Bug: 9625448 Bug: 10232006 Change-Id: If641d0198432a7a505e358c059171f25bc9f13d5
rc/android/net/LinkPropertiesTest.java
|
9d0843df7e3984293dc4ab6ee2f9502e898b63aa |
07-May-2013 |
Jeff Sharkey <jsharkey@android.com> |
Resized thumbnails; async; extend MatrixCursor. When requesting thumbnails, check if their dimensions are larger than requested, and downscale to avoid memory pressure. Load them async and with LruCache. Extend MatrixCursor so that RowBuilder can offer() columns without requiring they know the projection map. This makes it easier to respond to query() calls, where the remote side controls the projection map. Use it to handle custom projections in external storage backend. Update date/time formatting to match spec. Bug: 10333418, 10331689 Change-Id: I7e947a8e8068af8a39b55e6766b3241de4f3fc16
rc/android/database/MatrixCursorTest.java
|
8aa1ffb0ed292891030992c65df4e5dc8bd37524 |
08-Aug-2013 |
Chet Haase <chet@google.com> |
pause/resume for Animators It is now possible to pause Animator-based animations. Pausing an animator causes it to hold the current time/value indefinitely, or until end/cancel/resume is called. When resume() is called, it continues from where it left off. There is a new listener interface on Animator, AnimatorPauseListener, which can be used to listen to pause/resume events. Change-Id: I77d1535e792fb7bf349f549a0ac0a0d85958cb47
rc/android/animation/AnimatorSetEventsTest.java
rc/android/animation/EventsTest.java
|
a50f4b1d0592d34547a4bb33e08915b171f954f6 |
08-Aug-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Merge "Simplify LinkPropertiesTest."
|
3f1e1b2ce407684519f8bd070c931940fd33db4f |
08-Aug-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Simplify LinkPropertiesTest. Instead of converting IP addresses to strings throughout the test, do so once at the beginning. Change-Id: I7f0dae5d2e9e2cdc6ec808e2cf71197ba6ade0a4
rc/android/net/LinkPropertiesTest.java
|
f724c277d3362dbc8099fcbf8674609a424cd2ee |
07-Aug-2013 |
Jeff Brown <jeffbrown@google.com> |
Add more virtual display tests. We can't test everything in CTS because some features require system permissions. So this is another copy of the CTS test with more stuff that we can build with the system cert. Change-Id: Ied5a456a0810d38d307b6dfbad0f770cb480b4ee
ndroidManifest.xml
rc/android/hardware/display/VirtualDisplayTest.java
|
d1e0fae2bc5c98b1f00b185d7be7219dc7e1d0f7 |
31-Jul-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Add accessors for all addresses and clarify compare* methods 1. Add a method to return all addresses and all LinkAddresses on all links (both base links and stacked links). We already had one for routes, but did not yet have any for addresses. 2. Rename compareRoutes to compareAllRoutes, because unlike the other compare* methods, it looks at all interfaces. Update what appears to be its only caller. 3. Update the documentation of the compare* methods to match reality (they don't return lists) and clarify whether they look at all links or only the base link. Change-Id: Ie22e6c7f163d5de8e407248b45171dc28382d2d3
rc/android/net/LinkPropertiesTest.java
|
a920f25fe55fc9afc7640902a200f19ce278588b |
29-Jun-2013 |
Elliott Hughes <enh@google.com> |
resolved conflicts for merge of fca0f92e to stage-aosp-master Change-Id: I4791f0ffa324a313b8390fbde6d8f82f716ecf74
|
d396a448b2e36e29598c954b64bfddef73f3fae0 |
29-Jun-2013 |
Elliott Hughes <enh@google.com> |
Switch frameworks/base over from @hidden Charsets to public StandardCharsets. Bug: 3484927 Change-Id: I5d136d2ee629588538602766a182ae14ce5fc63c
rc/com/android/internal/util/ProcFileReaderTest.java
|
6c042b6d678edea0f936da994f85ba62f9a1950e |
27-Jun-2013 |
Kenny Root <kroot@google.com> |
am a5a2de55: Merge "Add ALPN support to SSL socket factory" * commit 'a5a2de55082b1f2a9ec0b99962a88063ac6d1bbf': Add ALPN support to SSL socket factory
|
100d7290264338c6536739abd59879aaaa812537 |
25-Jun-2013 |
Kenny Root <kroot@google.com> |
Add ALPN support to SSL socket factory This adds the ability to use Application-Layer Protocol Negotiation (ALPN) through the SSLCertificateSocketFactory. ALPN is essentially like Next Protocol Negotiation (NPN) but negotiation is done in the clear. This allows the use of other protocols on the same port (e.g., SPDY instead of HTTP on port 80). Change-Id: Ie62926b455e252c4c98670bbbecc1eb5c6f13990
rc/android/net/SSLTest.java
|
e9ae6822a80cb1f3bd13c785f1727c03d35da52e |
30-Apr-2013 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 1f6e789b to jb-mr2-dev-plus-aosp Change-Id: I06c05d637613215b6d83df3e29cd495f6a5a0176
|
12e752225aa96888358294be0d725d499a1c9f03 |
24-Apr-2013 |
Kenny Root <kroot@google.com> |
Track change to JSSE provider Change-Id: I35e824e47ad758ab6408e91e2ba5dcda053a82f5
ndroid.mk
rc/android/net/http/X509TrustManagerExtensionsTest.java
|
75827d4a3155c190f455329a67c84ac8fbb9bda0 |
03-Apr-2013 |
Kenny Root <kroot@google.com> |
Merge "Add direct API to get ManifestDigest" into jb-mr2-dev
|
6c918cec31f396bb19597d107856122173c90594 |
02-Apr-2013 |
Kenny Root <kroot@google.com> |
Add direct API to get ManifestDigest This makes it faster for applications that don't want to collect all the certificates but do want the AndroidManifest.xml digest. Bug: 8528639 Change-Id: Ide9498d0981188960af194a9568387337c075bcc
rc/android/content/pm/ManifestDigestTest.java
|
213f98b6fe81c73f0d182fb5af312d4ce4a08041 |
01-Apr-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Fix LinkProperties's equals() method. LinkProperties's equals() method was broken by the addition of stacked interfaces. The reason was that equals() was checking the equality of mStackedInterfaces.keys(), which is just an enumeration, instead of mStackedInterfaces.keySet(), which actually contains the keys. The test was failing, but I didn't notice. Fix the bug and make the test check the objects more in depth so it can give more detailed error messages when equals() fails. Bug: 8276725 Change-Id: Ie990bd75f641c28e63e54d953dcd0f4de13f7c9f
rc/android/net/LinkPropertiesTest.java
|
cdee9727e26721910a44ba67980b39de4b103f7d |
27-Mar-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Merge "Make isHostRoute match only host routes" into jb-mr2-dev
|
972a9255a7e2c75cf13dab74121cb367c03e2809 |
27-Mar-2013 |
Chiao Cheng <chiaocheng@google.com> |
Merge "Allow leading slash in path argument for addURI() method." into jb-mr2-dev
|
fdadc4e242d987c09007df274e01fe678a82331f |
27-Mar-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Make isHostRoute match only host routes Currently, isHostRoute returns true iff the gateway address is the unspecified address (0.0.0.0 or ::). Thus, it will return true for any route that has no gateway (e.g., a route pointing at a point-to-point interface), even if the route is not a host route. Fix this by checking the prefix length instead. This should be safe because: 1. mDestination cannot be null, since it's created using new. 2. Host routes created using makeHostRoute (which is what ConnectivityService calls) always have the correct prefix lengths (/32 or /128) set. Bug: 8276725 Change-Id: I14285398823fa6c312349128c7cc216cad4a84c9
rc/android/net/RouteInfoTest.java
|
ef23bf198d14bea183c0dabd5b4fcd0a5d07d738 |
20-Mar-2013 |
Chiao Cheng <chiaocheng@google.com> |
Allow leading slash in path argument for addURI() method. The original documentation for this class indicated a leading slash was possible but the code did not support it. Since then, the docs were changed to reflect what the code does. The purpose of this change is to allow the use of uri.getPath() as an argument. With this change, the following can be done matcher.addURI(ContactsContract.AUTHORITY, ContactsContract.CONTENT_FILTER_URI.getPath(), CONTACTS_FILTER) instead of matcher.addURI(ContactsContract.AUTHORITY, "contacts/filter", CONTACTS_FILTER) Change-Id: I76a9e3133365be9fe7a8de86eae57f9eea1cd2a3
rc/android/net/UriMatcherTest.java
|
be19e030a14c8e398e8af97fa898ea80187704df |
16-Mar-2013 |
Chet Haase <chet@google.com> |
Add auto-cancel ability to ObjectAnimator Add a method that enables a new auto-cancel option to ObjectAnimator. When set, any ObjectAnimator (when started) will cause any running ObjectAnimator instance (with that flag set) that has the same target and properties to cancel() itself prior to starting the new one. Issue #7426129 Add auto-cancel to animators Change-Id: I586659c365289cdb9afb6c416bdbaf5630477149
rc/android/animation/AutoCancelTest.java
rc/android/animation/FutureWaiter.java
|
6d3b13384e5ac4261eff264e7f8855610815e728 |
19-Mar-2013 |
Elliott Hughes <enh@google.com> |
am c9fe40ea: am 71558f1f: Merge "Fix times in debugging output to use H rather than k." * commit 'c9fe40ead549ff18393c0cc5c6e3bd67548f9da6': Fix times in debugging output to use H rather than k.
|
64a277d83778827b451b5ed6634eec6ac86bceeb |
19-Mar-2013 |
Elliott Hughes <enh@google.com> |
Fix times in debugging output to use H rather than k. Bug: 8359981 Change-Id: I4fccf3ed7e469b77f6e755dacbcd025005390505
rc/android/webkit/WebkitTest.java
|
b91e50c266a7eb9dd6f8171deb497931ef7aef76 |
15-Mar-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Fix build. Change-Id: Iac84a5f35d7fcaebd096e605a4590f8c90fe97b0
rc/android/net/LinkPropertiesTest.java
|
419a4ce9e461177d75eca5fd71fc8c275969e479 |
07-Mar-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Add stacked interfaces to LinkProperties. Bug: 8276725 Change-Id: I2f592d4c690e9af0459ae742ab16107a10d89353
rc/android/net/LinkPropertiesTest.java
|
d9526907d1a51ef0b35bfbbeee43fa209d8b5bbf |
14-Mar-2013 |
Jeff Sharkey <jsharkey@android.com> |
Move deleteOlderFiles() to framework, tests. Supports both age and count based constraints. Added light docs and tests to verify behavior. Bug: 8387555 Change-Id: If4d0dac8bc54ce705c2a339bc09a60ea748728b8
rc/android/os/FileUtilsTest.java
|
1994bc14ab9fd3a3c5dca8851cfc0042bcb25d46 |
09-Mar-2013 |
Lorenzo Colitti <lorenzo@google.com> |
Unit test routes with interfaces in LinkProperties Change-Id: Ie41a56bc9863ee72f4d7a8f72e436fc57e57b1af
rc/android/net/LinkPropertiesTest.java
|
45b9a5bb93569ca49bbd44f7a518091371687f96 |
08-Mar-2013 |
Lorenzo Colitti <lorenzo@google.com> |
RouteInfo changes. - Add the interface name. - Fix a bug where a default route would match an address of another protocol (e.g., 0.0.0.0/0 would match 2001::). - Tweak the hashCode method. - Write a unit test. Change-Id: Ida8266de440a9b1d9eaa132f182b9f1ce8978c44
rc/android/net/RouteInfoTest.java
|
09ed05ceaecc5fca46e25fe9bd9e8c0ee61fd31d |
08-Mar-2013 |
Elliott Hughes <enh@google.com> |
am 4a1bd464: am d0d1be2d: Merge "Explain why the frameworks/base DateUtilsTest isn\'t merged with CTS\' DateUtilsTest." * commit '4a1bd4640c5e915ed1ebd320a515725e31992545': Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest.
|
025148cc4de9c1104a30333c14eb63337af4e3de |
07-Mar-2013 |
Elliott Hughes <enh@google.com> |
Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest. Change-Id: Icbdb4e9133a9ae1c1b37f822367e1ac86e9e36cb
rc/android/text/format/DateUtilsTest.java
|
94c91dca55de9ffdbe072fcc5dd6dbf1efe5e4c1 |
07-Mar-2013 |
Jeff Sharkey <jsharkey@android.com> |
ArrayUtils.indexOf(), containsAll() with tests. Change-Id: I040164d4e45126e4a6c1df54bd114f47951da560
rc/com/android/internal/util/ArrayUtilsTest.java
|
fb053cde74483f901462b5a034dd2be90a5af0da |
22-Feb-2013 |
Wink Saville <wink@google.com> |
am f7bf667d: am b5a1ce2f: Merge "Allow three digit phone numbers" * commit 'f7bf667d4a5e8e3fca75640f6352724826705128': Allow three digit phone numbers
|
a37fc575a4ac40f3ff2e9a9f2108b577a649db73 |
19-Sep-2012 |
Bin Zhu <bin.zhu@sonyericsson.com> |
Allow three digit phone numbers The comment for the PHONE pattern says: "<digit><digit|sdd>+<digit>" But the actual pattern requires that the string contains more than that. A phone number should be allowed to be three digits. Change-Id: I86d2f3d634cd0c1654dad9814906f151055dc23a
rc/android/util/PatternsTest.java
|
d2726582f135383e56661bc41d750966642dab45 |
04-Feb-2013 |
Maggie Benthall <mbenthall@google.com> |
Fix for SettingsProvider to query for correct user. insertForUser takes a specified user and attempts to adjust that user's settings, first looking at their existing settings to determine the difference. However it was querying the settings for the calling user, rather than for the user whose settings were being changed. Also add a test that exercises the fix. Change-Id: I6ed6fd79154ac1b6e6ab880769ac9081dfff6b80
rc/android/provider/SettingsProviderTest.java
|
8e7b3b15f7a4f888d55f080d3ed61860cd5fab55 |
01-Feb-2013 |
Jeff Sharkey <jsharkey@android.com> |
Support optional values in ProcFileReader. When new values are added to proc files, we need to handle reading them from both old and new kernels. This change supports optionally reading long values. Tests to verify. Bug: 7903145 Change-Id: I9fe250c0486c3cce3cf3d8624f01af01128d1191
rc/com/android/internal/util/ProcFileReaderTest.java
|
ed1ad7fadae1ed0fae2946dbe3e3ee9eea299bde |
31-Jan-2013 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Add wrapping support to IndentingPrintWriter."
|
71cb446f010e791ca77a27c416a79b5ccb3f075b |
31-Jan-2013 |
Jeff Sharkey <jsharkey@android.com> |
Add wrapping support to IndentingPrintWriter. When created with a wrapping width, any content longer than the requested width will be wrapped onto additional lines. This supports use-cases like dumping lots of data with printPair(). Improve documentation and add tests to verify behavior. Change-Id: Ibdfce198f0e69f4df7725544fd1cd02fa029c647
rc/com/android/internal/util/IndentingPrintWriterTest.java
|
d21e24bccec8309839a264da95c5dc1573fc65c3 |
30-Jan-2013 |
Wink Saville <wink@google.com> |
Merge "Cleanup StateMachine LogRec handling and get tests working."
|
efcc3d35661c0cd978bb2b2f808fade4c4734e21 |
30-Jan-2013 |
Wink Saville <wink@google.com> |
Cleanup StateMachine LogRec handling and get tests working. Change-Id: I13107e846812b16f1c95be11626500dbd7a13b2a
rc/com/android/internal/util/StateMachineTest.java
|
3029bf225cfa2c4b5b6e76303b0eba0d91c21026 |
30-Jan-2013 |
Jeff Sharkey <jsharkey@android.com> |
Check text length when testing for newline. Also add tests to verify. Bug: 8102140 Change-Id: I7e5dbff53caeb50bfa0fb4ea5dce73e3c742986a
rc/com/android/internal/util/FastXmlSerializerTest.java
|
dc4271ce1d6e47a193fe0119ca180bd37f3d1311 |
29-Jan-2013 |
Svetoslav <svetoslavganov@google.com> |
Removing duplicated tests that use hidden APIs Change-Id: If3e32e8659fcb4dc2186fea668601a93f4556a73
ndroidManifest.xml
rc/android/accessibilityservice/InterrogationActivity.java
rc/android/accessibilityservice/InterrogationActivityTest.java
|
dda73b5dcd92006762a1c71e2fb352e64fa265ef |
19-Jan-2013 |
Jeff Sharkey <jsharkey@android.com> |
Add LongSparseLongArray with tests. Change-Id: Iae32ba7647601c587e30834379d7d3c2235c75b0
rc/android/util/LongSparseLongArrayTest.java
|
06c5f8a768bcd4f7b6441f7525bd5c639399fc76 |
04-Dec-2012 |
Jeff Sharkey <jsharkey@android.com> |
Examine widget hierarchy to find clocks. When switching to a widget, examine its hierarchy to determine if it contains TextClocks that show hour and minute for the local timezone. If so, hide the status bar clock. Doesn't fix closing walls. Bug: 7667638 Change-Id: I1e2c40345c9e5eb0193efd70838c7ca9f779190b
rc/android/text/format/DateFormatTest.java
|
305efe23a326d0f886d3cf66ea05dfbd30e714e2 |
05-Jan-2013 |
Brian Carlstrom <bdc@google.com> |
am 498eaf58: am bc7d5a55: am 537fb0af: Merge "Use most specific attributes for distinguished name display" * commit '498eaf58ad399e42cf7b3aca020b828c35023288': Use most specific attributes for distinguished name display
|
bc7d5a55b22ce30af250cc7468b6c5987cd25dfd |
05-Jan-2013 |
Brian Carlstrom <bdc@google.com> |
am 537fb0af: Merge "Use most specific attributes for distinguished name display" * commit '537fb0afe24a520e7b9a2442786b6fb4fe194392': Use most specific attributes for distinguished name display
|
91154ce658483488a1390e3da58cc2950fb02acb |
22-Dec-2012 |
Brian Carlstrom <bdc@google.com> |
Use most specific attributes for distinguished name display Bug: 7894348 Bug: http://code.google.com/p/android/issues/detail?id=41662 Change-Id: I8048a53b8a9a17b384f12b6a4f40071bb3dd3e04
rc/android/net/http/SslCertificateTest.java
|
03cb98aecfeef0b0894f69987f8b4a15c02501f3 |
11-Dec-2012 |
Amith Yamasani <yamasani@google.com> |
Move Observer test to servicetests Change-Id: Ib3493af4eb3185db79004a3cad5473161ed51f71
rc/android/content/ObserverNodeTest.java
|
e03c17f1cb50a7869ef33406a2be275fdb040ea1 |
11-Dec-2012 |
Amith Yamasani <yamasani@google.com> |
Merge "Move one more test."
|
814a8d35ae11b70027e0e476ca1c0bb589106b4d |
11-Dec-2012 |
Amith Yamasani <yamasani@google.com> |
Move one more test. Change-Id: Iea0e0b5727746f2332db2ab1c1b216326eb50f13
rc/android/app/SearchablesTest.java
|
8ff9a156c04c24458d94c716a64a5b7327f0e987 |
11-Dec-2012 |
Amith Yamasani <yamasani@google.com> |
Fix build. Forgot to move this test. Change-Id: I06aab8ec6e2dac86b65bbeed3587444260fec2e8
rc/android/content/SyncStorageEngineTest.java
|
7a96c39c510923ef73bbb06ab20109f0168b8eb1 |
15-Nov-2012 |
Jeff Sharkey <jsharkey@android.com> |
Move lingering services to services.jar. This helps reduce the pressure on framework.jar, and makes it clear that it should only be used by the system_server. Bug: 7333397 Change-Id: I0858904239535380fbf30562b793e277d8c3f054
rc/android/accounts/AccountManagerServiceTest.java
rc/android/content/SyncOperationTest.java
|
6dd028cbb9b7657c5491cf2d9c5635bda1376e96 |
16-Nov-2012 |
Jeff Sharkey <jsharkey@android.com> |
am 9f43afad: am 68363456: am 7420ab68: Merge "Utility to format human-friendly durations." into jb-mr1.1-dev * commit '9f43afad9de92fc36dc7b242585ef734e834285c': Utility to format human-friendly durations.
|
9f43afad9de92fc36dc7b242585ef734e834285c |
15-Nov-2012 |
Jeff Sharkey <jsharkey@android.com> |
am 68363456: am 7420ab68: Merge "Utility to format human-friendly durations." into jb-mr1.1-dev * commit '68363456c1f360c0f1afe637a1f3028519e059ed': Utility to format human-friendly durations.
|
53f6e8a9b95a1fe5229295ade4989339d577de08 |
14-Nov-2012 |
Jeff Sharkey <jsharkey@android.com> |
Utility to format human-friendly durations. Bug: 6777872 Change-Id: Ie7ebcb456306f4f88b4707030dd7beda3fc90368
rc/android/text/format/DateUtilsTest.java
|
7b172a49a90ea6784dbfe0002474f9d4fd4ace1a |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files" * commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6': Correct executable bit for source files
|
58ed5d748c0b9b64845975ef5844ad313de7c3f6 |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
am 768d9e1a: Merge "Correct executable bit for source files" * commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04': Correct executable bit for source files
|
3a084af2e90849aaa8beb3a610189e3399c63ea0 |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
Correct executable bit for source files Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
rc/android/content/pm/AppCacheTest.java
rc/android/content/pm/PackageManagerTests.java
rc/android/os/storage/AsecTests.java
|
b09aadeda5fdaa68d231d7652f78cc55e7c5ac61 |
24-Oct-2012 |
Adam Powell <adamp@android.com> |
am a23f69a8: am 86e0d95d: Merge "Reattach header view after DPAD scroll." * commit 'a23f69a8782e0edeff815cfb5275f2864fc1d19e': Reattach header view after DPAD scroll.
|
a23f69a8782e0edeff815cfb5275f2864fc1d19e |
24-Oct-2012 |
Adam Powell <adamp@android.com> |
am 86e0d95d: Merge "Reattach header view after DPAD scroll." * commit '86e0d95de1007d339af467c1484b09878ee528fc': Reattach header view after DPAD scroll.
|
86e0d95de1007d339af467c1484b09878ee528fc |
23-Oct-2012 |
Adam Powell <adamp@android.com> |
Merge "Reattach header view after DPAD scroll."
|
a7fb9d907c7f3b44d92e401ca4cea096c5c53de0 |
20-Oct-2012 |
Kenny Root <kroot@google.com> |
am 9396f183: resolved conflicts for merge of a5d29b2c to jb-mr1-dev-plus-aosp * commit '9396f183c2db5d6167f39a8d5667fb4abcc96e5e': Try to free cache before giving up on install Robustly add symlink and add for non-primary users
|
57286f970641493b315b0b42aba7ac6b672cc8b8 |
09-Oct-2012 |
Alon Albert <aalbert@google.com> |
Add sync reason to dumpsys Also: * add a second history section that logs * log mesg as text instead of number * dump Sync Status as a table Sample log: Recent Sync History #1 : 2012-10-11 15:06:11 USER 0.4s aagmtest1@gmail.com/com.google u0 com.android.calendar com.google.android.calendar #2 : 2012-10-11 15:06:11 USER 0.1s aagmtest1@gmail.com/com.google u0 subscribedfeeds android.uid.system:1000 mesg=parse-error #3 : 2012-10-11 15:06:11 USER 0.0s aagmtest1@gmail.com/com.google u0 com.google.android.apps.uploader.PicasaUploadProvider android.uid.system:1000 #4 : 2012-10-11 15:06:10 USER 0.1s aagmtest1@gmail.com/com.google u0 com.google.android.gms.plus.action android.uid.system:1000 Recent Sync History Extras #1 : 2012-10-11 15:06:11 USER aagmtest1@gmail.com/com.google u0 com.android.calendar Bundle[{feed=aagmtest1@gmail.com, force=true, ignore_settings=true, ignore_backoff=true}] #2 : 2012-10-11 15:06:11 USER aagmtest1@gmail.com/com.google u0 subscribedfeeds Bundle[{ignore_backoff=true, force=true, ignore_settings=true}] #3 : 2012-10-11 15:06:11 USER aagmtest1@gmail.com/com.google u0 com.google.android.apps.uploader.PicasaUploadProvider Bundle[{ignore_backoff=true, force=true, ignore_settings=true}] #4 : 2012-10-11 15:06:10 USER aagmtest1@gmail.com/com.google u0 com.google.android.gms.plus.action Bundle[{ignore_backoff=true, force=true, ignore_settings=true}] Sync Status Account aagmtest1@gmail.com u0 com.google ======================================================================= Authority Syncable Enabled Delay Loc Poll Per Serv User Tot Time Last Sync Periodic ------------------------------------------------------------------------------------------------------------------------------------------------------------- com.google.android.apps.currents 1 true 0 2 1 2 1 6 0:35 PERIODIC SUCCESS 86400 2012-10-12 14:59:40 2012-10-13 14:58:13 com.google.android.music.MusicContent 1 true 0 0 1 2 1 4 0:09 PERIODIC SUCCESS 86400 2012-10-12 14:59:18 2012-10-13 14:58:13 com.google.android.gms.plus.action 1 true 0 0 1 1 1 3 0:00 PERIODIC SUCCESS 86400 2012-10-12 14:59:15 2012-10-13 14:58:13 com.google.android.apps.magazines 1 true 0 1 1 2 1 5 0:14 PERIODIC SUCCESS 86400 2012-10-12 14:59:00 2012-10-13 14:58:13 Change-Id: Iffeb825e4b4f6217940a39b0dd71e06856f08f3f
rc/android/content/SyncOperationTest.java
rc/android/content/SyncStorageEngineTest.java
|
a3e90798b7ad3ed62e5b31842c699b2f98bd457b |
18-Oct-2012 |
Kenny Root <kroot@google.com> |
Robustly add symlink and add for non-primary users Amazingly, some apps still don't use the nativeLibraryPath. So add a lib symlink for non-primary users to fix that. Also, there was an error when the symlink existed that it would give up. This shouldn't really happen, but in that case, just remove it and create a new one to be safe. Also, move the downgrade code to the appropriate place. This downgrade case triggered the above symlink existing bug. Bug: 7318366 Bug: 7371571 Change-Id: Ia175b36d98f00bdc2f2433b909aafd524eb34d15
pks/install_bad_dex/AndroidManifest.xml
rc/android/content/pm/PackageManagerTests.java
|
9d0791bf6a047dbf7a99034130a5c4b437510fcf |
10-Oct-2012 |
Jeff Sharkey <jsharkey@android.com> |
Fix build, only invalidate when creating user. Bug: 7276595 Change-Id: I322f9d76a682b2d45fc556e35381442458168fe5
rc/android/accounts/AccountManagerServiceTest.java
|
6ab72d74b86e5f4ec3c3909366fd46c225a66bd7 |
09-Oct-2012 |
Jeff Sharkey <jsharkey@android.com> |
Make RegisteredServicesCache multi-user aware. RegisteredServicesCache is used to track account authenticators and sync adapters, which can vary based on user. This change requires that callers now provide a userId when making cache requests. It continues persisting into a single file for now, which is keyed based on UID. It now watches for package broadcasts from all users, and scans packages on-demand. It changes cache callers to provide a relevant userId, and evicts cache entries when users are stopped. Changes SyncManager to only work with accounts from running users, only kicking off pending syncs once a user is started. Bug: 7276595, 7316150 Change-Id: I79466a84aa69aa37e4bd9691c5d6221d3662ff29
rc/android/accounts/AccountManagerServiceTest.java
|
9dbbfcda81f251f23aded866f7f9d49d8a744c75 |
28-Sep-2012 |
Ben Gruver <bgruv@google.com> |
Merge "Pass the originating uid to the package verifier" into jb-mr1-dev
|
625239a05401bbf18b04d9874cea3f82da7c29a1 |
27-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Migrate more Secure settings to Global. Migrate networking, storage, battery, DropBox, and PackageManager related Secure settings to Global table. Bug: 7232014, 7231331, 7231198 Change-Id: I772c2a9586a2f708c9db95622477f235064b8f4d
rc/android/content/pm/PackageManagerTests.java
|
37d83a3caf138e35fa1a355787d20c351f6b37a6 |
27-Sep-2012 |
Ben Gruver <bgruv@google.com> |
Pass the originating uid to the package verifier Bug: 6923241 Change-Id: I85a3e0d53b469543cb0551d3a440d2663b5d0697
rc/android/content/pm/VerificationParamsTest.java
|
4fbbda4cecb078bd3867f416b02cc75f5455284f |
25-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Handle multi-user mountObb() requests. Since emulated external storage paths differ based on execution context, carefully fix up paths for various use-cases: 1. When sending paths to DefaultContainerService, always scope OBB paths as belonging to USER_OWNER. 2. When sending paths to vold, always build emulated storage paths visible to root. 3. Always use the original untouched path when talking with apps. Mount OBB containers using shared app GID, so that an app can read the mount point across users. Handle legacy paths like "/sdcard" by resolving the canonical path before sending to MountService. Move tests to servicestests, and add tests for new path generation logic. Bug: 7212801 Change-Id: I078c52879cd08d9c8a52cc8c83ac7ced1e8035e7
es/raw/test1.obb
es/raw/test1_nosig.obb
es/raw/test1_wrongpackage.obb
rc/com/android/server/MountServiceTests.java
|
50cdf7c3069eb2cf82acbad73c322b7a5f3af4b1 |
24-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7214090: Need to be able to post notifications to all users Also fix a bunch of system services that should be doing this. And while doing that, found I needed to fix PendingIntent to evaluate USER_CURRENT at the point of sending, not creation. Note that this may end up with us having some notification shown to non-primary users that lead to settings UI that should only be for the primary user (such as the vpn notification). I'm not sure what to do about this, maybe we need a different UI to come up there or something, but showing the actual notification for those users at least seems less broken than not telling them at all. Change-Id: Iffc51e2d7c847e3d05064d292ab93937646a1ab7
rc/android/accounts/AccountManagerServiceTest.java
|
daa57e8d1866fe4579c280c41604f3660db7cd01 |
19-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Migrate network stats from removed users. When a user is removed, migrate all network stats belonging to that user into special UID_REMOVED bucket. Also removes those stats from kernel to avoid double-counting if another user is created. Bug: 7194784 Change-Id: I03f1d660fe3754566326b7749cae8068fc224ea9
rc/android/net/NetworkStatsTest.java
|
fd5a80f6e98124d908643a14d33b8d2fa5238da6 |
18-Sep-2012 |
Geremy Condra <gcondra@google.com> |
Code cleanup for X509TrustManagerExtensionsTest.java Change-Id: I85584f7a9dbc726be811f783d125efcf70c9f6af
rc/android/net/http/X509TrustManagerExtensionsTest.java
|
cb4c5819758a7e2951bd4818383f7c5e10a5f016 |
18-Sep-2012 |
Geremy Condra <gcondra@google.com> |
Fix bad isinstance check in X509TrustManagerExtensions and add test. Change-Id: I333957186655b2543a637dafa8c51b0bba9d4dfb
rc/android/net/http/X509TrustManagerExtensionsTest.java
|
16aa9736175f5bbe924a6e5587a2ca47c2dd702b |
18-Sep-2012 |
Christopher Tate <ctate@google.com> |
Per-user content observer APIs Callers with INTERACT_ACROSS_USERS_FULL permission can now observe content for a given user's view (and can notify content uri changes targeted to a specific user). An observer watching for UserHandle.USER_ALL will see all notifications for the given uri across all users; similarly, a notifier who specifies USER_ALL will broadcast the change to all observers across all users. The API handles both USER_ALL or USER_CURRENT, and explicitly forbids any other "pseudouser" designations. This CL also revs the Settings provider to notify with USER_ALL for changes to global settings, and with only the affected user's handle for all other changes. Bug 7122169 Change-Id: I94248b11aa91d1beb0a36432e82fe5725bb1264f
rc/android/content/ObserverNodeTest.java
|
e15bdc2da4c74c8d16db8c1d067a42c4767d1003 |
17-Sep-2012 |
Kenny Root <kroot@google.com> |
Add test for failed dexopt Bug: 7010829 Change-Id: Ie0616ff2c3739ad73733857de6d04243b2be2fca
pks/install_bad_dex/Android.mk
pks/install_bad_dex/AndroidManifest.xml
pks/install_bad_dex/classes.dex
pks/install_bad_dex/res/values/strings.xml
pks/install_bad_dex/src/com/android/frameworks/coretests/TestActivity.java
pks/install_jni_lib/Android.mk
rc/android/content/pm/PackageManagerTests.java
|
13d428e8306d1bb1a3017045bc5d2f76edec32df |
13-Sep-2012 |
rich cannings <richc@google.com> |
Send more information to verifiers Send package name, version code and the uid of the application requesting the install to package verifiers. Bug: 7164155 Change-Id: I2464dc5d4551f60b4f38f7982495a8920c83e1cd
rc/android/content/pm/VerificationParamsTest.java
|
78d2a66ac12e4c8f1303225514f573fb53af1dd9 |
14-Sep-2012 |
Christopher Tate <ctate@google.com> |
Fix Settings writes to a different user Oops. Stacked bugs: first, the desired user handle was not properly being passed from the call() entry point to the database operations; then on top of that, the client-side cache management was still looking in the local user's cache for the data, so a request to read a different user's settings would return the local user's instead if that key was already known to the local user's cache. Reads and writes of a different user's settings are now uncached, so they're relatively much slower. They're rare, however, so this is not something to worry about unless we encounter a real world case where it's a significant factor. This CL also adds a bit of cross-user settings read/write testing to the existing provider suite. These new tests caught both the known wrong-user-write bug and discovered the client-side cache bug, so yay. Finally, the existing wholesale mutual-exclusion approach would deadlock in certain circumstances due to the fact that the settings database creation code might have to call out to the Package Manager while populating the bookmark/shortcut table, and the Package Manager would then call back into the settings provider in the course of handling that request. The synchronization regime has been significantly tightened up now: now the database code [which is known to deal with concurrency itself] is allowed to cope with multiple parallel openers of the same db; this allows the settings provider to avoid calling out to other parts of the system even implicitly while its internal lock is held. Change-Id: Ib77d445b4a2ec658cc5c210830f6977c981f87ed
ndroidManifest.xml
rc/android/provider/SettingsProviderTest.java
|
158d6b70ac2f0c8fd7dafe0f865112090fb31699 |
02-Feb-2011 |
Mattias Niklewski <mattias.niklewski@sonyericsson.com> |
Reattach header view after DPAD scroll. A header view that was scrolled off screen using the DPAD would not be reattached properly when scrolled back into view, due to the flag recycledHeaderFooter. Solved this by using detachViewFromParent() instead of removeViewInLayout(). Compare to AbsListView.trackMotionScroll(). Change-Id: I0ac0ec0f9bf23bc62430c1f62ae7d1a8570b0a24
rc/android/widget/listview/focus/ListWithEditTextHeaderTest.java
|
4e2eb6581f8ee91166cbfd80b531f628dedab89a |
11-Sep-2012 |
Christopher Tate <ctate@google.com> |
Merge "Update airplane-mode manipulation for the new Settings namespace" into jb-mr1-dev
|
c09cdce1b05075da808ae080b9905a14a3e1e627 |
11-Sep-2012 |
Christopher Tate <ctate@google.com> |
Update airplane-mode manipulation for the new Settings namespace Quick Settings and global actions (aka longpress-Power) toggles are included in this CL. The Settings app manipulations are updated in a different CL because that's a different git package. Bug 7132230 Change-Id: I50838f5e8d7b25a750d2bcae90bf384b09816dbb
rc/android/app/DownloadManagerBaseTest.java
|
ddbe50df2ca70700a46e5849347989b520d1113e |
06-Sep-2012 |
Kenny Root <kroot@google.com> |
Move native libraries to /data/app-lib Instead of unpacking libraries into /data/data/<appname>/lib, unpack them into /data/app-lib so that multi-user applications can use the same libraries. Change-Id: I636dafb5a9eea8cf5a41f1360698e7695455f385
rc/android/content/pm/PackageManagerTests.java
|
e64e0971475409533aec201e4f3d23b31f653217 |
09-Sep-2012 |
Kenny Root <kroot@google.com> |
Add a native library to test APKs In order to make sure we have unpacking and deletion working, add a fake JNI library to every APK. This can be expanded in the future to make sure replacement is working correctly as well. Change-Id: I1ad04c61df9518429aa17795b8a9d3608791cd8e
pks/FrameworkCoreTests_apk.mk
pks/install_jni_lib/Android.mk
pks/install_jni_lib/com_android_frameworks_coretests_JNITest.cpp
|
7e921a157d1aca97506302637d4f3843ddc2b982 |
09-Sep-2012 |
Kenny Root <kroot@google.com> |
Add more testing for native libraries Make sure that native library paths have the correct permissions and owners. Also make it easier to do a "String#startsWith" test so we can get better errors when it fails. Change the observer to have more sane semantics with a CountDownLatch instead of weird synchronization on a local variable. Change-Id: I2437e5ea886d6e6cb8b4edeab80d6053b79857d4
rc/android/content/pm/PackageManagerTests.java
|
25c925e6659e57f1cc8fef83be07f3917a108e3c |
09-Sep-2012 |
Kenny Root <kroot@google.com> |
Throw ALL the exceptions! (in the PackageManagerTests) Change all the test method headers to throw Exception so we don't have to try to catch anything during the tests. Catching an exception might mask an error during the tests. Also fix a lot of formatting errors that have built up over the years. This includes 3-space indentations instead of 4-space, missing spaces between braces and parens, too-long lines, wrapping when it isn't needed, etc. Change-Id: Ifccea5f0706b6f9235f37974a5f80bee76c654dd
rc/android/content/pm/PackageManagerTests.java
|
7de350a91301985b7f2d9f28edde5aade8495d9b |
08-Sep-2012 |
Nick Kralevich <nnk@google.com> |
installd: fix forward locking symlink installd was not creating a compatibility symlink when installing a forward locked application. Fix. Bug: 7121527 Change-Id: Ied507ab2b759d8658af563e6ac8f0dbb0d286cce
rc/android/content/pm/PackageManagerTests.java
|
4120375d46091df8527bb701882e056fbb0e6b06 |
31-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Remove Binder.getOrigCallingUid(). Replaced all remaining places that used it with explicit user specification. While doing this, I ran into stuff that was creating PendingIntent objects (that now need to specify the explicit user they are for), which are also posting notifications... but have no way to specify the user for the notification. So the notification manager in the system process now also gets a formal concept of a user associated with the notification, which is passed in to all the necessary aidl calls. I also removed the old deprecated aidl interface for posting/cancelling notifications, since we now always need a user supplied. There is more work that needs to be done here, though. For example I think we need to be able to specify USER_ALL for a notification that should be shown to all users (such as low storage or low battery). Along with that, the PendingIntent creation needs to be tweaked to be able to handle USER_CURRENT by evaluating the user at the point the pending intent is sent. That's for another change, however. Change-Id: I468e14dce8def0e13e0870571e7c31ed32b6310c
rc/android/app/activity/BroadcastTest.java
|
5ac72a29593ab9a20337a2225df52bdf4754be02 |
30-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Improve multi-user broadcasts. You can now use ALL and CURRENT when sending broadcasts, to specify where the broadcast goes. Sticky broadcasts are now correctly separated per user, and registered receivers are filtered based on the requested target user. New Context APIs for more kinds of sending broadcasts as users. Updating a bunch of system code that sends broadcasts to explicitly specify which user the broadcast goes to. Made a single version of the code for interpreting the requested target user ID that all entries to activity manager (start activity, send broadcast, start service) use. Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
rc/android/app/activity/BroadcastTest.java
|
7767eac3232ba2fb9828766813cdb481d6a97584 |
24-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Keep track of whether an app is installed for each user. This add a new per-user state for an app, indicating whether it is installed for that user. All system apps are always installed for all users (we still use disable to "uninstall" them). Now when you call into the package manager to install an app, it will only install the app for that user unless you supply a flag saying to install for all users. Only being installed for the user is just the normal install state, but all other users have marked in their state for that app that it is not installed. When you call the package manager APIs for information about apps, uninstalled apps are treated as really being not visible (somewhat more-so than disabled apps), unless you use the GET_UNINSTALLED_PACKAGES flag. If another user calls to install an app that is already installed, just not for them, then the normal install process takes place but in addition that user's installed state is toggled on. The package manager will not send PACKAGE_ADDED, PACKAGE_REMOVED, PACKAGE_REPLACED etc broadcasts to users who don't have a package installed or not being involved in a change in the install state. There are a few things that are not quite right with this -- for example if you go through a full install (with a new apk) of an app for one user who doesn't have it already installed, you will still get the PACKAGED_REPLACED messages even though this is technically the first install for your user. I'm not sure how much of an issue this is. When you call the existing API to uninstall an app, this toggles the installed state of the app for that user to be off. Only if that is the last user user that has the app uinstalled will it actually be removed from the device. Again there is a new flag you can pass in to force the app to be uninstalled for all users. Also fixed issues with cleaning external storage of apps, which was not dealing with multiple users. We now keep track of cleaning each user for each package. Change-Id: I00e66452b149defc08c5e0183fa673f532465ed5
rc/android/content/pm/PackageManagerTests.java
|
0c3804950236fe170ebf6cc7a5f1e3e305b8f315 |
21-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Improve multi-user app management. Introduce API to get per-user storage information, keep track of services associated with users, and various small cleanup. Change-Id: I5d4e784e7ff3cccfed627d66a090d2f464202634
rc/android/content/pm/AppCacheTest.java
|
706e8ba26bf0de19ad5f736516dae40c4c88c2d7 |
20-Aug-2012 |
rich cannings <richc@google.com> |
Pass URLs to package verifiers This change passes the originating URL and accompanied referrer to package verifiers, when available. Bug: 6544677 Change-Id: I9ebc71bc13f549bd88267e444816151a99bda000
rc/android/content/pm/VerificationParamsTest.java
|
9a994b5350731b8169a9b25463f57266ee2988fb |
17-Aug-2012 |
Kenny Root <kroot@google.com> |
am 050c87f8: am a950daf5: Merge changes Ieb566a2a,I953057cd * commit '050c87f87e2a48c7bc90f5b15fb6e4e37e667286': Use Libcore's stat instead of FileUtils#getFileStatus Use Libcore.os.stat instead of FileUtils
|
050c87f87e2a48c7bc90f5b15fb6e4e37e667286 |
17-Aug-2012 |
Kenny Root <kroot@google.com> |
am a950daf5: Merge changes Ieb566a2a,I953057cd * commit 'a950daf5c14a0009c2c62e9c3e0e8d51eb0cf7d9': Use Libcore's stat instead of FileUtils#getFileStatus Use Libcore.os.stat instead of FileUtils
|
98e15e78934a00cf46f2be55472b7fd7a39ac0de |
16-Aug-2012 |
Kenny Root <kroot@google.com> |
Use Libcore's stat instead of FileUtils#getFileStatus Remove the last user of FileUtils#getFileStatus and move it to Libcore.os.stat instead. Then we can remove the JNI code that does the equivalent of a stat. Change-Id: Ieb566a2a8a17c2dd0150724b4eb3ac1cc41c823d
rc/android/os/FileUtilsTest.java
|
f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8 |
16-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Rename UserId to UserHandle. This is the start of turning this into a formal public API. Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
rc/android/content/pm/AppCacheTest.java
rc/android/os/ProcessTest.java
|
9630704ed3b265f008a8f64ec60a33cf9dcd3345 |
28-Jul-2012 |
Jeff Brown <jeffbrown@google.com> |
Power manager rewrite. The major goal of this rewrite is to make it easier to implement power management policies correctly. According, the new implementation primarily uses state-based rather than event-based triggers for applying changes to the current power state. For example, when an application requests that the proximity sensor be used to manage the screen state (by way of a wake lock), the power manager makes note of the fact that the set of wake locks changed. Then it executes a common update function that recalculates the entire state, first looking at wake locks, then considering user activity, and eventually determining whether the screen should be turned on or off. At this point it may make a request to a component called the DisplayPowerController to asynchronously update the display's powe state. Likewise, DisplayPowerController makes note of the updated power request and schedules its own update function to figure out what needs to be changed. The big benefit of this approach is that it's easy to mutate multiple properties of the power state simultaneously then apply their joint effects together all at once. Transitions between states are detected and resolved by the update in a consistent manner. The new power manager service has is implemented as a set of loosely coupled components. For the most part, information only flows one way through these components (by issuing a request to that component) although some components support sending a message back to indicate when the work has been completed. For example, the DisplayPowerController posts a callback runnable asynchronously to tell the PowerManagerService when the display is ready. An important feature of this approach is that each component neatly encapsulates its state and maintains its own invariants. Moreover, we do not need to worry about deadlocks or awkward mutual exclusion semantics because most of the requests are asynchronous. The benefits of this design are especially apparent in the implementation of the screen on / off and brightness control animations which are able to take advantage of framework features like properties, ObjectAnimator and Choreographer. The screen on / off animation is now the responsibility of the power manager (instead of surface flinger). This change makes it much easier to ensure that the animation is properly coordinated with other power state changes and eliminates the cause of race conditions in the older implementation. The because of the userActivity() function has been changed so that it never wakes the device from sleep. This change removes ambiguity around forcing or disabling user activity for various purposes. To wake the device, use wakeUp(). To put it to sleep, use goToSleep(). Simple. The power manager service interface and API has been significantly simplified and consolidated. Also fixed some inconsistencies related to how the minimum and maximum screen brightness setting was presented in brightness control widgets and enforced behind the scenes. At present the following features are implemented: - Wake locks. - User activity. - Wake up / go to sleep. - Power state broadcasts. - Battery stats and event log notifications. - Dreams. - Proximity screen off. - Animated screen on / off transitions. - Auto-dimming. - Auto-brightness control for the screen backlight with different timeouts for ramping up versus ramping down. - Auto-on when plugged or unplugged. - Stay on when plugged. - Device administration maximum user activity timeout. - Application controlled brightness via window manager. The following features are not yet implemented: - Reduced user activity timeout for the key guard. - Reduced user activity timeout for the phone application. - Coordinating screen on barriers with the window manager. - Preventing auto-rotation during power state changes. - Auto-brightness adjustment setting (feature was disabled in previous version of the power manager service pending an improved UI design so leaving it out for now). - Interpolated brightness control (a proposed new scheme for more compactly specifying auto-brightness levels in config.xml). - Button / keyboard backlight control. - Change window manager to associated WorkSource with KEEP_SCREEN_ON_FLAG wake lock instead of talking directly to the battery stats service. - Optionally support animating screen brightness when turning on/off instead of playing electron beam animation (config_animateScreenLights). Change-Id: I1d7a52e98f0449f76d70bf421f6a7f245957d1d7
rc/android/os/BrightnessLimit.java
|
dc09102c8dad2668ec8c1228fee8762aa81153a5 |
13-Aug-2012 |
Amith Yamasani <yamasani@google.com> |
Tests for mapping android name to uid This tests some changes made to bionic. Change-Id: I7ff8c7f94f6b4bfff64d4e15d4a1a3516a453180
rc/android/os/ProcessTest.java
|
bccda0aee3fc0078d2e094b4fb9c6c2abab1b728 |
31-Jul-2012 |
Kenny Root <kroot@google.com> |
am 194da0b8: am a39fdd11: Merge "Fix AccountManagerServiceTest" into jb-dev * commit '194da0b8b368ac61b23870224bc0d449ad465bd4': Fix AccountManagerServiceTest
|
194da0b8b368ac61b23870224bc0d449ad465bd4 |
31-Jul-2012 |
Kenny Root <kroot@google.com> |
am a39fdd11: Merge "Fix AccountManagerServiceTest" into jb-dev * commit 'a39fdd11e80618acc046fff65b6549b5c8b5aa8d': Fix AccountManagerServiceTest
|
ae652cc97c9aa71838820d6d47f7535b18688436 |
31-Jul-2012 |
Kenny Root <kroot@google.com> |
Fix AccountManagerServiceTest The MockAccountAuthenticatorCache needs to implement the new method. Bug: 6820670 Change-Id: I5d1cb3aecec63602ae4541cd01ae8e28c8328e5a
rc/android/accounts/AccountManagerServiceTest.java
|
85d28a00043e5985b11f517031d7b2317ac19e10 |
24-Jul-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Replace left/right with start/end for Gravity / LayoutParams / Padding"
|
eaaf396169abdbd213565cacb37dc0c9c391b365 |
21-Jul-2012 |
Jeff Sharkey <jsharkey@android.com> |
Avoid emitting broken ASCII. Bug: 6131887 Change-Id: Iff13573aad8128cc7ae3613ab718c81e6d0862a1
rc/android/util/TimeUtilsTest.java
|
aac0d4ed026d1cfbcf3fa81c6e4eb96f4347ca17 |
20-Jul-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Replace left/right with start/end for Gravity / LayoutParams / Padding - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: Id9af5375fb9b0edeae5232c77e52ecd497bd2e67
rc/android/util/ListItemFactory.java
rc/android/widget/focus/VerticalFocusSearch.java
|
33034b13cae1429d526722374bd39be3f9605ae4 |
10-Jul-2012 |
Wink Saville <wink@google.com> |
Create telephony-common and mms-common - DO NOT MERGE These have been created to reduce the size and complexity of frameworks/base. mms-common was created by moving all of frameworks/base/core/java/com/google/android/mms to: frameworks/opt/mms telephony-common was created by moving some of frameworks/base/telephony to: frameworks/opt/telephony Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
ndroid.mk
|
5362f17ff5e8e06601b172bd86c26027ced9780c |
12-Jul-2012 |
Wink Saville <wink@google.com> |
Merge commit '1b003ef0' into mit * commit '1b003ef0': Create telephony-common and mms-common Change-Id: Ie8876541dbe7f4c933cf7d69910dd204538bc975
|
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a |
10-Jul-2012 |
Wink Saville <wink@google.com> |
Create telephony-common and mms-common These have been created to reduce the size and complexity of frameworks/base. mms-common was created by moving all of frameworks/base/core/java/com/google/android/mms to: frameworks/opt/mms telephony-common was created by moving some of frameworks/base/telephony to: frameworks/opt/telephony Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
ndroid.mk
|
095c58b73ac112cc7e00771430765434893d8bc5 |
29-May-2012 |
Wink Saville <wink@google.com> |
Enhance StateMachine Quitting and logging support. DO NOT MERGE Make StateMachine#quit non-conditional and remove the need to process the SM_QUIT_CMD it is now private. Rename halting to onHalting. Add onQuitting Change the message specific logging to be more generic and change the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add addLogRec(String) and addLogRec(String, State) as the generic logging methods. bug: 5678189 Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7 Conflicts: services/java/com/android/server/NsdService.java
rc/com/android/internal/util/StateMachineTest.java
|
5293d0cb2e0689dafd5ed821d479babfa6e008f9 |
20-Jun-2012 |
Kenny Root <kroot@google.com> |
Merge "Packages for PackageManagerService tests"
|
ec7e483c55a148490e35661ddb4fc5c1eb3b1a78 |
08-May-2012 |
Kenny Root <kroot@google.com> |
Packages for PackageManagerService tests Change-Id: I3fd96abb0560fd8c596304d9c233e2f8f3fd8089
pks/version/Android.mk
pks/version/AndroidManifest.xml
pks/version/res/values/strings.xml
pks/version/src/com/android/frameworks/coretests/version_test/NullProvider.java
erts/README
erts/unit_test.pk8
erts/unit_test.x509.pem
erts/unit_test_diff.pk8
erts/unit_test_diff.x509.pem
|
2414c8b37aa17bb9a063d4789f322e55782a2f9c |
16-Jun-2012 |
Kenny Root <kroot@android.com> |
am 535d3b3f: am 0cf34218: Merge "Adding test cases for getInstalledPackages" * commit '535d3b3f3363af6a5f2acb620542baec4cb96b45': Adding test cases for getInstalledPackages
|
535d3b3f3363af6a5f2acb620542baec4cb96b45 |
16-Jun-2012 |
Kenny Root <kroot@android.com> |
am 0cf34218: Merge "Adding test cases for getInstalledPackages" * commit '0cf342184e030ee6f65d87eeba48484725910a8b': Adding test cases for getInstalledPackages
|
0cf342184e030ee6f65d87eeba48484725910a8b |
16-Jun-2012 |
Kenny Root <kroot@android.com> |
Merge "Adding test cases for getInstalledPackages"
|
5bb87cd9b81506b0c25d3f9184e406762a9e9d9c |
14-Jun-2012 |
Amith Yamasani <yamasani@google.com> |
SearchManagerService made multi-user aware Cache Searchables per user and query package manager through the private interface. Change-Id: I1d24fdd27cce8c27be45287cbfcb4df1e2ce2cf1
rc/android/app/SearchablesTest.java
|
450f21a97da3d12fa835ed436cab251bbc34cf89 |
08-Jun-2012 |
Kenny Root <kroot@google.com> |
am d26f7139: Merge "resolved conflicts for merge of 9855f6e2 to jb-dev-plus-aosp" into jb-dev-plus-aosp * commit 'd26f7139a7ff42ca1be470657515767f7509955b': Add JNI bindings for some of the libselinux interfaces.
|
e38b1c4d156a569efc646e86a72ab3a3e3ccf6fc |
08-Jun-2012 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 9855f6e2 to jb-dev-plus-aosp Change-Id: I012bd3b5946dedba3439285caa93739d44ebc60f
|
f2f1b6c94685147a6260cc70909247a96bcbe81f |
26-May-2011 |
Martin Wallgren <martin.wallgren@sonyericsson.com> |
Adding test cases for getInstalledPackages There was an earlier fix for a case where the binder heap would run out of space when calling the getInstalledPackages. This could happen when there were a lot of installed packages. This change adds some test cases to verify that fix. Change-Id: I8e0c5f674bf2098adcff6d40893f94162961031f
pks/install_complete_package_info/Android.mk
pks/install_complete_package_info/AndroidManifest.xml
pks/install_complete_package_info/src/com/android/frameworks/coretests/TestActivity.java
pks/install_complete_package_info/src/com/android/frameworks/coretests/TestProvider.java
pks/install_complete_package_info/src/com/android/frameworks/coretests/TestReceiver.java
pks/install_complete_package_info/src/com/android/frameworks/coretests/TestService.java
rc/android/content/pm/PackageManagerTests.java
|
bbf30dfd767f823f5f40d14b498e2a593454c5c9 |
29-May-2012 |
Wink Saville <wink@google.com> |
Enhance StateMachine Quitting and logging support. Make StateMachine#quit non-conditional and remove the need to process the SM_QUIT_CMD it is now private. Rename halting to onHalting. Add onQuitting Change the message specific logging to be more generic and change the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add addLogRec(String) and addLogRec(String, State) as the generic logging methods. bug: 5678189 Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7
rc/com/android/internal/util/StateMachineTest.java
|
fc1f1d173eceb6134799c66a0b52f4726ef26dea |
21-May-2012 |
Jesse Wilson <jessewilson@google.com> |
am 0ddb5d3b: am 9cb376e7: Merge "Change NPN to forbid empty lists of protocols." into jb-dev * commit '0ddb5d3b5d91ed0b891476e834de5ec4ffafece8': Change NPN to forbid empty lists of protocols.
|
f1a97a851d18c538409d69b02ca8ed7c97aa7a89 |
18-May-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
am 044d40ad: am 824aa860: Merge "Accessibility service needs to request permission to be bound to." into jb-dev * commit '044d40ad87f5f6a321aa48f74e05b8355c40f422': Accessibility service needs to request permission to be bound to.
|
9cb376e792567b5278e0eb418a3aeb848339a283 |
17-May-2012 |
Jesse Wilson <jessewilson@google.com> |
Merge "Change NPN to forbid empty lists of protocols." into jb-dev
|
2108ead7f125536874d6de6ca1c0c4cffbf61b44 |
17-May-2012 |
Jesse Wilson <jessewilson@google.com> |
Change NPN to forbid empty lists of protocols. Bug: http://b/6438423 Change-Id: Ie89220e5bc219396c15dbe1feaa2f74fa1b243eb
rc/android/net/SSLTest.java
|
53e184d34e7c5b1a65c74fac55f9a635d8131dda |
17-May-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Accessibility service needs to request permission to be bound to. 1. Every accessibility services targeting JellyBean or higher has to request a special permission for the system to bind to it. Change-Id: I6e579326bdf3597f148d6c67317455701ec8af68
ndroidManifest.xml
|
e4fd3d50c7a39313120a005e659640bc10d94ef4 |
11-May-2012 |
Kenny Root <kroot@google.com> |
am 42a419b4: am 718af32a: Merge "Use long instead of int for file offsets" into jb-dev * commit '42a419b4c0e7d16145e336ceec709dcefbdcf894': Use long instead of int for file offsets
|
103d53005e7a3c2735f4ac76fa9b795a7e7e39d7 |
10-May-2012 |
Kenny Root <kroot@google.com> |
Use long instead of int for file offsets Use long instead of int so we don't run into a 2GB file limit. Fix possible overflows in offset and length. Change-Id: Idb3a34f5600f9c2372b9c89256f21757049fa43b
rc/android/content/pm/LimitedLengthInputStreamTest.java
|
4311705501a7d426a07d2a6c5b8a0d1d262495ba |
10-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
am fe9e28cb: am 6367b166: Merge "Recover from Throwable in FileRotator, dump." into jb-dev * commit 'fe9e28cba7dabb452fdbadcf421f7f758a859447': Recover from Throwable in FileRotator, dump.
|
6de357e4d10fa5977ab9a6c665dc858765e95d34 |
09-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
Recover from Throwable in FileRotator, dump. In rewriteSingle(), catch Throwable to rollback to backup file, instead of just IOException. Also add dumpAll() to pack up contents for later debugging, and use it when encountering bad stats. Bug: 6467868 Change-Id: Ic8e287cf5a235706811a304a88d71d11d3a79cd4
rc/com/android/internal/util/FileRotatorTest.java
|
c72b502d897fc1314ccbb8799f8ca66a3d131e17 |
09-May-2012 |
Kenny Root <kroot@google.com> |
am 83ea8609: am 29bb27ef: Merge "Add encryption parameters to package installation" into jb-dev * commit '83ea86091bf94571912694c7caf8be1c21727f91': Add encryption parameters to package installation
|
ceb1b0bfaea56251796b08c07b963de7403d84eb |
24-Apr-2012 |
Anonymous Coward <nobody@android.com> |
Add encryption parameters to package installation Change-Id: Ic9f8ab9f8110f08bb3c00725cfce5b8ee7b766f3
rc/android/content/pm/ContainerEncryptionParamsTest.java
rc/android/content/pm/LimitedLengthInputStreamTest.java
rc/android/content/pm/MacAuthenticatedInputStreamTest.java
|
94e4429086fd3948ca26593993c78ae61cbe7706 |
07-May-2012 |
Fred Quintana <fredq@google.com> |
am 5484e826: am 989c7532: Merge "fix expedited syncs. there were times when an expedited sync wouldn\'t correctly preempt non-expedited syncs" into jb-dev * commit '5484e82612ef67630f10a0179dfad55716bcce2a': fix expedited syncs. there were times when an expedited sync wouldn't correctly preempt non-expedited syncs
|
dc47556cb37b6f25faceb5eb97cef60d384b55fb |
05-May-2012 |
Fred Quintana <fredq@google.com> |
fix expedited syncs. there were times when an expedited sync wouldn't correctly preempt non-expedited syncs Change-Id: Ia88ce6504c06d7c8e50e40362e8bf2b85bd0934b
rc/android/content/SyncStorageEngineTest.java
|
353f8c7d3398f3212c9d5f817e6e4a3b9784e5ac |
04-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
am 3ddb4f80: am c065a8af: Merge "Begin collecting xtables iface counters." into jb-dev * commit '3ddb4f80e5cb47173b78430399076c4c3d1bb178': Begin collecting xtables iface counters.
|
c065a8af1561544f1557e3f5036e45a4be4a6d7e |
04-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Begin collecting xtables iface counters." into jb-dev
|
8ae5cd3b81b49d5fd79b62687e7b77dd1d6bfde8 |
03-May-2012 |
Kenny Root <kroot@google.com> |
am f154df1a: am 03f22533: Merge "Fix some problems with ASECs" into jb-dev * commit 'f154df1a31e73c8b4342f54ea7d5508295d30936': Fix some problems with ASECs
|
03f22533a7ed398351f7c98af4a91d91354a2095 |
03-May-2012 |
Kenny Root <kroot@google.com> |
Merge "Fix some problems with ASECs" into jb-dev
|
9151669615dc5ee678d3044ca0556d38bf733017 |
03-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
am 5924a7dc: am 3b5a7089: Merge "Support full 32 bits for socket tags." into jb-dev * commit '5924a7dc53af273343bbdd8456de0c8477ad6b06': Support full 32 bits for socket tags.
|
bf023589b3d9994f43823c7cb0450d278b084f9b |
03-May-2012 |
Kenny Root <kroot@google.com> |
Fix some problems with ASECs On devices that had external storage, permissions weren't set correctly on non-forward-locked applications. Also, moving forward locked applications didn't work since DefaultContainerService wasn't able to read it. Fixed some faulty unit tests as well. Bug: 6427212 Change-Id: I5c1f0bf5278549069c78939f0708c4c43a7d4006
rc/android/content/pm/PackageManagerTests.java
|
2d6c580262ba1c19fc4f20c3566889e332fbdcb6 |
03-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
Support full 32 bits for socket tags. Bug: 5321184 Change-Id: Iadb3a4ad541ef012cea35b70ad440eca4c879f42
rc/com/android/internal/net/NetworkStatsFactoryTest.java
|
e8914c36276710de50b347c1e6aecfa45d6a56cd |
02-May-2012 |
Jeff Sharkey <jsharkey@android.com> |
Begin collecting xtables iface counters. Add method to parse new iface_stat_fmt proc stats, or return null when kernel support is unavailable. Add test and remove older, unused parsing code. Create new "xt" recorder to persist the new xtables counters when available. Add SSID support to NetworkIdentity to fix policy tests. Bug: 6422414 Change-Id: I77f70e9acb79a559ab626f3af5c4f3599801ed43
es/raw/net_dev_typical
es/raw/xt_qtaguid_iface_fmt_typical
rc/com/android/internal/net/NetworkStatsFactoryTest.java
|
d733ec3b28ded8d2d4f6ab0498bc66a207cb6ad7 |
25-Apr-2012 |
Brett Chabot <brettchabot@android.com> |
Prevent binder flooding when sending instrumentation status. There is a long standing bug in the InstrumentationTestRunner where executing many fast-running tests causes it to hang with 'FAILED BINDER TRANSACTION' messages in the logs. This commit changes the Instrumentation status updates to be sent synchronously. Bug 1796494 Change-Id: Ifd1af31158353d727bd88283eaeb90933ba1a3ca
rc/android/app/InstrumentationTest.java
|
6dceb88f1c7c42c6ab43834af2c993d599895d82 |
12-Apr-2012 |
Kenny Root <kroot@google.com> |
Allow forward locked apps to be in ASECs We couldn't put forward-locked apps in ASEC containers before since we didn't have any permissioned filesystems. This adds the ability for forward-locked applications to be in ASEC containers. This means that forward locked applications will be able to be on the SD card now. This change also removes the old type of forward-locking that placed parts of apps in /data/app-private. Now all forward-locked applications will be in ASEC containers. Change-Id: I17ae0b0d65a4a965ef33c0ac2c47e990e55707ad
rc/android/content/pm/PackageHelperTests.java
rc/android/content/pm/PackageManagerTests.java
rc/android/os/storage/AsecTests.java
|
54dfa5d90e49037eba05f5278076b45428b2bd11 |
24-Apr-2012 |
Chris Wren <cwren@android.com> |
Don't allow children of a SizeAdaptiveLayout to measure outside their declared range of valid sizes. Bug: 6377749 Change-Id: Ie706006eee9c0ed8dda468212a652941b8e20be0
es/layout/size_adaptive_lies.xml
rc/com/android/internal/widget/SizeAdaptiveLayoutTest.java
|
0b568ff17983ee84b6099e28c89cac414abd0739 |
20-Apr-2012 |
Gilles Debunne <debunne@google.com> |
Merge "TextView's sub display lists have tighten bounds"
|
d84e5937468f6ebf2313ccd5ae54d5405f5e9cde |
19-Apr-2012 |
Chris Wren <cwren@android.com> |
fix press feedback on notification rows Change-Id: I50de2f4d6142c2553428abc853c820f4354d0640 Bug: 6362246
es/drawable/size_adaptive_statelist.xml
es/layout/size_adaptive_color_statelist.xml
rc/com/android/internal/widget/SizeAdaptiveLayoutTest.java
|
157aafcbee0eabda798a3be406ccc4200ee86756 |
20-Apr-2012 |
Gilles Debunne <debunne@google.com> |
TextView's sub display lists have tighten bounds An editable TextView caches text rendering inside an adaptive number of sub display lists. The bounds of these use to be those of the entire View. This CL creates block display lists with tighten bounds, so that (a still-to-be-implemented) quick rejection can occur. Also cleaned-up the contradictory translations that were used to handle the TextView's internal scroll and removed the invalidation of display lists in that case. TODO: When internal scroll sets a tighter clipping rect, quick reject the creation and display of the clipped display lists. Also renamed blockEnds to a more explicit blockEndLines. Change-Id: I7d79bea78d06d19b6935aef75ff7aa7df2594050
rc/android/text/DynamicLayoutBlocksTest.java
|
3d100d97a55c5aba2cac5599a158fe3759d278ca |
18-Apr-2012 |
Chet Haase <chet@google.com> |
Merge "Fix logic of animator start/cancel/end callbacks"
|
a51a9564fd53b661446cd63eea23208656acc678 |
18-Apr-2012 |
Craig Mautner <cmautner@google.com> |
Add call-stack reporting methods into Debug Added two public methods to Debug. These methods return a String indicating the caller (getCaller()) or callers (getCallers(int depth)) of the calling method. The String indicates the class, method and line number of the caller(s). Similar to using Throwable.fillInStackTrace() but much more concise. Change-Id: I53d0085aa50e4501d28e8eb3ad5b91ef700ac218
rc/com/android/internal/os/DebugTest.java
|
17cf42cb85c22b50ecfa8d21efc992f99d20fc45 |
17-Apr-2012 |
Chet Haase <chet@google.com> |
Fix logic of animator start/cancel/end callbacks The callbacks for animators in some corner cases were not being called correctly. For example, startDelayed animators that were started and then ended didn't send out the proper events. This CL fixes that logic. Specifically: - An animator that is end()'d will implicitly start() itself and then assign an end value. This was already the case, but listeners were not getting notified. Now this situation causes callbacks to listeners for both the start and end events. - startDelayed animators that are end()'d or cancel()'d prior to finishing the startDelay phase will send out events (start and cancel/end, as appropriate) to listeners. Change-Id: I40a0f2fdb19d9ec7c3726a91363686c6ecb7d915
rc/android/animation/EventsTest.java
|
3a59d6e26dbec61ede7d6f87d966698e27c91d78 |
31-Mar-2012 |
Chris Wren <cwren@android.com> |
A layout that switches between its children based on the requested layout height. Change-Id: I5a4e5892fbed7cab2470e458a38accbbcb05ae51
es/drawable/abe.jpg
es/drawable/gettysburg.png
es/layout/size_adaptive.xml
es/layout/size_adaptive_color.xml
es/layout/size_adaptive_four_u.xml
es/layout/size_adaptive_four_u_text.xml
es/layout/size_adaptive_gappy.xml
es/layout/size_adaptive_large_only.xml
es/layout/size_adaptive_one_u.xml
es/layout/size_adaptive_one_u_text.xml
es/layout/size_adaptive_overlapping.xml
es/layout/size_adaptive_singleton.xml
es/layout/size_adaptive_text.xml
es/layout/size_adaptive_three_way.xml
es/values/strings.xml
rc/com/android/internal/widget/SizeAdaptiveLayoutTest.java
|
b7c24702c26c7824f025d603d703ddf2f19ddb30 |
15-Apr-2012 |
Kenny Root <kroot@google.com> |
Better error reporting for PackageManager tests The unit tests were eating failure reasons. Remove some assertions so the useful messages percolate up to the JUnit report. Change-Id: Ica8efe403ca3eb4f0c4f2a18939a22085f74a08f
rc/android/content/pm/PackageManagerTests.java
|
52c5acacd477cf77a6513ac870251de6bde93a43 |
15-Apr-2012 |
Kenny Root <kroot@google.com> |
Build "install" resource for PMS tests All the APKs in the FrameworkCoreTests's res/raw directory should be built by source. This change makes one more built from source that was causing test failures with mismatched certificates. Change-Id: I1baed15477ee39c45d3d77f9b02b81f771a16ca2
pks/install/Android.mk
pks/install/AndroidManifest.xml
pks/install/res/values/strings.xml
es/raw/install
|
4213804541a8b05cd0587b138a2fd9a3b7fd9350 |
20-Mar-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Accessibility focus - framework Usefulness: Keep track of the current user location in the screen when traversing the it. Enabling structural and directional navigation over all elements on the screen. This enables blind users that know the application layout to efficiently locate desired elements as opposed to try touch exploring the region where the the element should be - very tedious. Rationale: There are two ways to implement accessibility focus One is to let accessibility services keep track of it since they have access to the screen content, and another to let the view hierarchy keep track of it. While the first approach would require almost no work on our part it poses several challenges which make it a sub-optimal choice. Having the accessibility focus in the accessibility service would require that service to scrape the window content every time it changes to sync the view tree state and the accessibility focus location. Pretty much the service will have to keep an off screen model of the screen content. This could be quite challenging to get right and would incur performance cost for the multiple IPCs to repeatedly fetch the screen content. Further, keeping virtual accessibility focus (i.e. in the service) would require sync of the input and accessibility focus. This could be challenging to implement right as well. Also, having an unlimited number of accessibility services we cannot guarantee that they will have a proper implementation, if any, to allow users to perform structural navigation of the screen content. Assuming two accessibility services implement structural navigation via accessibility focus, there is not guarantee that they will behave similarly by default, i.e. provide some standard way to navigate the screen content. Also feedback from experienced accessibility researchers, specifically T.V Raman, provides evidence that having virtual accessibility focus creates many issues and it is very hard to get right. Therefore, keeping accessibility focus in the system will avoid keeping an off-screen model in accessibility services, it will always be in sync with the state of the view hierarchy and the input focus. Also this will allow having a default behavior for traversing the screen via this accessibility focus that is consistent in all accessibility services. We provide accessibility services with APIs to override this behavior but all of them will perform screen traversal in a consistent way by default. Behavior: If accessibility is enabled the accessibility focus is the leading one and the input follows it. Putting accessibility focus on a view moves the input focus there. Clearing the accessibility focus of a view, clears the input focus of this view. If accessibility focus is on a view that cannot take input focus, then no other view should have input focus. In accessibility mode we initially give accessibility focus to the topmost view and no view has input focus. This ensures consistent behavior accross all apps. Note that accessibility focus can move hierarchically in the view tree and having it at the root is better than putting it where the input focus would be - at the first input focusable which could be at an arbitrary depth in the view tree. By default not all views are reported for accessibility, only the important ones. A view may be explicitly labeled as important or not for accessibility, or the system determines which one is such - default. Important views for accessibility are all views that are not dumb layout managers used only to arrange their chidren. Since the same content arrangement can be obtained via different combintation of layout managers, such managers cannot be used to reliably determine the application structure. For example, a user should see a list as a list view with several list items and each list item as a text view and a button as opposed to seeing all the layout managers used to arrange the list item's content. By default only important for accessibility views are regared for accessibility purposes. View not regarded for accessibility neither fire accessibility events, nor are reported being on the screen. An accessibility service may request the system to regard all views. If the target SDK of an accessibility services is less than JellyBean, then all views are regarded for accessibility. Note that an accessibility service that requires all view to be ragarded for accessibility may put accessibility focus on any view. Hence, it may implement any navigational paradigm if desired. Especially considering the fact that the system is detecting some standard gestures and delegates their processing to an accessibility service. The default implementation of an accessibility services performs the defualt navigation. bug:5932640 bug:5605641 Change-Id: Ieac461d480579d706a847b9325720cb254736ebe
rc/android/widget/focus/ListOfButtonsTest.java
|
8fc27e8b87bd1def854a03d84009143b315d4176 |
05-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Support metered Wi-Fi NetworkPolicy. Add networkId field to NetworkIdentity to identify Wi-Fi networks by SSID. Add support for policies without usage cycles. Only apply mobile policies when SIM state is ready, which is cleaner than just checking for airplane mode. Also avoids creating no-op default policies when subscriberId is null. Bug: 3001465, 3291052 Change-Id: I1f8aaa49a5db306df022c402ea7f3f5d4bc0cfc7
rc/com/android/internal/net/NetworkStatsFactoryTest.java
|
c07fca3831baf4d812dd724f506b4ed23dcc39e0 |
13-Jan-2012 |
Stephen Smalley <sds@tycho.nsa.gov> |
Add JNI bindings for some of the libselinux interfaces. Change-Id: Ifcc68cb06f9f56a04f3bc64dd9906a9436fabc88
rc/android/os/SELinuxTest.java
|
b14ad8cc8cb0ed774072b077694b21fd0a6f33be |
29-Mar-2012 |
Jeff Sharkey <jsharkey@android.com> |
Migrate to shared MockWebServer. Bug: 4726601 Change-Id: Ibbe71b5785a64bd2883c46b83e721fba9a25afa2
rc/android/app/DownloadManagerBaseTest.java
rc/android/app/DownloadManagerFunctionalTest.java
rc/android/app/DownloadManagerStressTest.java
|
1e130b2abc051081982b5a793a18a28376c945e4 |
15-Mar-2012 |
Gilles Debunne <debunne@google.com> |
Added a unit test for DynamicLayout#updateBlocks Change-Id: I1824ebeae2bbb5c60a65de36fe1696bf003347c9
rc/android/text/DynamicLayoutBlocksTest.java
|
e300d828282645759abfbc5725c5ccc448e8c053 |
26-Mar-2012 |
Jesse Wilson <jessewilson@google.com> |
Merge "Add an API to expose Next Protocol Negotiation (NPN)."
|
f5fb5e80963abeabdf0ff10dcee068344235082e |
23-Mar-2012 |
Jesse Wilson <jessewilson@google.com> |
Add an API to expose Next Protocol Negotiation (NPN). Bug: http://b/4190756 Change-Id: If904f7ff440391a6adb2963eb2ecb990140ab7cc
rc/android/net/SSLTest.java
|
483f3b06ea84440a082e21b68ec2c2e54046f5a6 |
14-Mar-2012 |
Amith Yamasani <yamasani@google.com> |
Package restrictions per user Packages can be enabled/disabled per user. This requires maintaining stopped/launched states and enabled / disabled components and packages per user. Refactored pm.Settings and PackageSettingsBase to keep track of states per user. Migrated the stopped-packages.xml to users/<u>/package-restrictions.xml Changed intent resolution to handle individual user restrictions. Bunch of IPackageManager calls now have a userId argument. Make AppWidgetService handle removals of packages. Added some tests for pm.Settings and PackageManager. Change-Id: Ia83b529e1df88dbcb3bd55ebfc952a6e9b20e861
rc/android/content/pm/AppCacheTest.java
|
3e3c3f80a90b156ff500076f8655647dfb317acf |
06-Feb-2012 |
Jake Hamby <jhamby@google.com> |
Add support for CMAS warning notifications over CDMA. Refactor SMS Cell Broadcast support to enable receiving CMAS warning notifications over CDMA. The CellBroadcastReceiver app must also be updated with the corresponding change. All cell broadcasts are now delivered as a Parcelable SmsCbMessage object in the "message" extra of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION, instead of as a GSM/UMTS "pdu" byte array. Existing functionality for ETWS and CMAS alerts over GSM/UMTS continues to be supported using the new radio-technology independent SmsCbMessage and related objects. Test cases are added to verify that valid and invalid broadcast data is handled appropriately. Unit testing discovered a bug in the BitwiseOutputStream utility class used by the added test cases. When the BitwiseOutputStream object must be expanded (in the private possExpand() method), the mEnd field is not updated to the new array size. This causes a new array to be allocated on every new write, and for all data beyond the original array allocation to be replaced with zeroes. Fixed by adding a line to possExpand() to update mEnd. Added a test case to BitwiseStreamsTest to verify the fix. Besides the test cases, BitwiseOutputStream is only used by BearerData in two places, both of which allocate a sufficient initial buffer. So the bug in BitwiseOutputStream is not critical to fix for normal operation, but should be fixed so that the test cases using it function correctly. Bug: 5856308 Change-Id: I201ecbf11607fd200aaae3cbb32561efabf65672
rc/com/android/internal/util/BitwiseStreamsTest.java
|
1103beee4453d1e1144e98993fb46d2a6562ff42 |
13-Mar-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Move LocalUtil unit tests from Frameworks to CTS Change-Id: I9f3333a4fdf7ccbe71e5bd5a9bd0104551efb724
rc/android/util/LocaleUtilTest.java
|
05f692e8050c3650ec123b2361143a121e2e7d4b |
12-Mar-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Make Gravity RTL APIs public"
|
e8dc07dcdb983d5d3999b16c2a49ddee4bdb942c |
10-Mar-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Make Gravity RTL APIs public - also move unit tests to CTS - also small improvement for View Javadoc Change-Id: I166d5a10f4a00f1b46c90468c8b11906b438e1ea
rc/android/view/GravityTest.java
|
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 |
09-Mar-2012 |
Ken Wakasa <kwakasa@google.com> |
Fix obvious typos under frameworks/base/core Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
rc/android/util/ListScenario.java
rc/android/view/ViewAttachTest.java
|
28ca8f9f95b1ee8186463bfc3f33b9383c0d1dd0 |
09-Mar-2012 |
Amith Yamasani <yamasani@google.com> |
Merge "Make SyncManager and AccountManagerService multi-user aware."
|
04e0d265e3385e9d1fbc35e43c4e8caffbbe3290 |
14-Feb-2012 |
Amith Yamasani <yamasani@google.com> |
Make SyncManager and AccountManagerService multi-user aware. AccountManagerService - Maintain multiple account lists, one per user - Keep multiple databases of accounts - Account db moved to /data/system/users/<userid>/ SyncManager - SyncStorageEngine keeps track of multiple users' accounts. - SyncQueue maintained as a single instance, queueing requests from multiple users. - Changed some methods to take userId arguments - Removed some deadc0de - Store the userId in the SyncOperation, so we know which provider instance to bind to when queued operations are processed. ContentService - Pass along the userid to sync manager calls. ActivityManagerService: - Fixed a bug in cancelIntentSender - Don't bring other user's task forward when resetting tasks. Updated tests Change-Id: If317340ef68e902787aa3f5ceb4cf96f14aea695
rc/android/content/SyncOperationTest.java
rc/android/content/SyncStorageEngineTest.java
|
42b40c0ed81db5a598d9c67f71cb7952b2360247 |
06-Mar-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #4972463 Update CTS tests for TextView textDirection"
|
e9c0d1495b1ac85048e19fd7cbf232a0cd10df12 |
06-Mar-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #4972463 Update CTS tests for TextView textDirection - move unit tests from Frameworks to CTS Change-Id: I4598d8e99850f49e660c5bb3fb6025e71c635635
es/layout/textview_test.xml
rc/android/widget/TextViewTest.java
rc/android/widget/TextViewTestActivity.java
|
3c90952036a5ff7ddb2946c643f1a0bf1c31d53a |
28-Feb-2012 |
Jonathan Dixon <joth@google.com> |
Refactor WebView to be a thin proxy class Splits interface and implementation; all client calls are forwarded to an abstract WebViewProvider interface, and the existing implementation moved into the WebViewClassic implementor of this interface. Originally taken from a snapshot from the development branch, by: git diff HEAD 9a4c328a54cc05e5 | git apply - but then rebased to keep up to date with master Interdepends on webkit and Browser changes: https://android-git.corp.google.com/g/158979 https://android-git.corp.google.com/g/167911 Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
rc/android/webkit/ZoomManagerTest.java
|
b303b428169986bc8c469218f3b0fc1fcafe4a95 |
29-Feb-2012 |
Jake Hamby <jhamby@google.com> |
Merge "Revert "Add support for CMAS warning notifications over CDMA." I'll submit again when the app change is ready."
|
efba344b5a7b20e400daf5f41b2fbd688337f789 |
29-Feb-2012 |
Jake Hamby <jhamby@google.com> |
Revert "Add support for CMAS warning notifications over CDMA." I'll submit again when the app change is ready. This reverts commit 0c49f03a0429b5c0c4a619256f7bca86a4997ae8
rc/com/android/internal/util/BitwiseStreamsTest.java
|
7b0eb33c3a6a70c91a913e4cd0171e19fba0a3f1 |
29-Feb-2012 |
Jake Hamby <jhamby@google.com> |
Merge "Add support for CMAS warning notifications over CDMA."
|
3fb824bae3322252a68c1cf8537280a5d2bd356d |
29-Feb-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #5217606 LocaleUtils constants TEXT_LAYOUT_DIRECTION_LTR_DO_NOT_USE and TEXT_LAYOUT_DIRECTION_RTL_DO_NOT_USE should be renamed - replace them by the View constants Change-Id: I7c2bf0213319247d3db369b6f7c36771fdf3e509
rc/android/util/LocaleUtilTest.java
|
0c49f03a0429b5c0c4a619256f7bca86a4997ae8 |
06-Feb-2012 |
Jake Hamby <jhamby@google.com> |
Add support for CMAS warning notifications over CDMA. Refactor SMS Cell Broadcast support to enable receiving CMAS warning notifications over CDMA. The CellBroadcastReceiver app must also be updated with the corresponding change. All cell broadcasts are now delivered as a Parcelable SmsCbMessage object in the "message" extra of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION, instead of as a GSM/UMTS "pdu" byte array. Existing functionality for ETWS and CMAS alerts over GSM/UMTS continues to be supported using the new radio-technology independent SmsCbMessage and related objects. Test cases are added to verify that valid and invalid broadcast data is handled appropriately. Unit testing discovered a bug in the BitwiseOutputStream utility class used by the added test cases. When the BitwiseOutputStream object must be expanded (in the private possExpand() method), the mEnd field is not updated to the new array size. This causes a new array to be allocated on every new write, and for all data beyond the original array allocation to be replaced with zeroes. Fixed by adding a line to possExpand() to update mEnd. Added a test case to BitwiseStreamsTest to verify the fix. Besides the test cases, BitwiseOutputStream is only used by BearerData in two places, both of which allocate a sufficient initial buffer. So the bug in BitwiseOutputStream is not critical to fix for normal operation, but should be fixed so that the test cases using it function correctly. Bug: 5856308 Change-Id: Ie3e6af747976ce9b8a3e71e76fec71709cf86545
rc/com/android/internal/util/BitwiseStreamsTest.java
|
0d04e245534cf777dfaf16dce3c51553837c14ff |
21-Feb-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Improving accessibility APIs used for UI automation. 1. UiTestAutomationBridge was accessing the root node in the active window by tracking the accessibility event stream and keeping the last active window changing event. Now the bridge is stateless and the root node is fetched by passing special window and view id with the request to the system. 2. AccessibilityNodeInfos that are cached were not finished, i.e. not sealed, causing exception when trying to access their children or rpedecessors. 3. AccessibilityManagerService was not properly restoring its state after the UI automation bridge disconnects from it. I particular the devices was still in explore by touch mode event if no services are enabled and the sutomation bridge is disconnected. 4. ViewRootImpl for the focused window now fires accessibility events when accessibility is enabled to allow accessibility services to determine the current user location. 5. Several missing null checks in ViewRootImpl are fixed since there were scenraios in which a NPE can occur. 6. Update the internal window content querying tests. 7. ViewRootImpl was firing one extra focus event. bug:6009813 bug:6026952 Change-Id: Ib2e058d64538ecc268f9ef7a8f36ead047868a05
rc/android/accessibilityservice/InterrogationActivityTest.java
|
18c227ba72406c0b69ce9925a80113060d870256 |
15-Feb-2012 |
Jesse Wilson <jessewilson@google.com> |
Implement the (hidden) ExtendedResponseCache interface. Bug: http://code.google.com/p/android/issues/detail?id=25418 Change-Id: I4b20d576bac7036f94e57db7124de44f5b8d75be
rc/android/net/http/HttpResponseCacheTest.java
|
b36a0ac9709e9e1c7098559c0435cfbdc09e6c46 |
15-Feb-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Incorrect behavior of View clear focus v2.0. The framework tries to have a focused view all the time. For that purpose when a view's focus is cleared the focus is given to the first focusable found from the top. The implementation of this behavior was causing the following issues: 1. If the fist focusable View tries to clear its focus it was getting focus but the onFocusChange callbacks were not properly invoked. Specifically, the onFocusChange for gaining focus was called first and then the same callback for clearing focus. Note that the callback for clearing focus is called when the View is already focused. 2. If not the first focusable View tries to clear focus, the focus is given to another one but the callback for getting focus was called before the one for clearing, so client code may be mislead that there is more than one focused view at a time. 3. (Nit) The implementaion of clearFocus and unFocus in ViewGroup was calling the super implementaion when there is a focused child. Since there could be only one focused View, having a focused child means that the group is not focused and the call to the super implementation is not needed. 4. Added unit tests that verify the correct behavior, i.e. the focus of the first focused view cannot be cleared which means that no focus change callbacks are invoked. The callbacks should be called in expected order. Now the view focus clear precedes the view focus gain callback. However, in between is invoked the global focus change callback with the correct values. We may want to call that one after the View callbacks. If needed we can revisit this. Change-Id: I8cfb141c948141703093cf6fa2037be60861cee0
ndroid.mk
rc/android/widget/focus/RequestFocus.java
rc/android/widget/focus/RequestFocusTest.java
|
dd29f8c4e3db3338bc055302145c3bc51a27566f |
15-Feb-2012 |
Amith Yamasani <yamasani@google.com> |
Merge "Revert "Incorrect behavior of View clear focus.""
|
73eb97f628b298c7bd032aa9db11dadf05f5b539 |
15-Feb-2012 |
Amith Yamasani <yamasani@google.com> |
Revert "Incorrect behavior of View clear focus." This reverts commit c6fd88e213703a581fe4680259981f09ae0444f2
rc/android/widget/focus/RequestFocus.java
rc/android/widget/focus/RequestFocusTest.java
|
d36ad9b1ff99675dd0eca6a3fda1f52353f451a4 |
07-Feb-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Adding a method for retching the root node in UiTestAutomationBridge"
|
b765db590ff824fb5827fb773b14ac4286ae2774 |
07-Feb-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Adding a method for retching the root node in UiTestAutomationBridge bug:5974791 Change-Id: I46a8b6a259ba31f27fcd6a71d06dc34efdb4de76
rc/android/accessibilityservice/InterrogationActivityTest.java
|
241dde2306202e7655fdf41d5381f2874e47e108 |
03-Feb-2012 |
Jeff Sharkey <jsharkey@android.com> |
Unify shorthand for byte-based units. Change-Id: If990859dee3f0973e1d4c48f05312c84071b3328
rc/android/net/NetworkStatsHistoryTest.java
|
742a67127366c376fdf188ff99ba30b27d3bf90c |
04-May-2011 |
Amith Yamasani <yamasani@google.com> |
Multi-user - 1st major checkin Switching activity stacks Cache ContentProvider per user Long-press power to switch users (on phone) Added ServiceMap for separating services by user Launch PendingIntents on the correct user's uid Fix task switching from Recents list AppWidgetService is mostly working. Commands added to pm and am to allow creating and switching profiles. Change-Id: I15810e8cfbe50a04bd3323a7ef5a8ff4230870ed
rc/android/app/activity/BroadcastTest.java
|
2eecea3b48ece6f45b30fef9b41dc20075ccc94f |
01-Feb-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Speedup the accessibility window querying APIs and clean up."
|
c6fd88e213703a581fe4680259981f09ae0444f2 |
26-Jan-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Incorrect behavior of View clear focus. The framework tries to have a focused view all the time. For that purpose when a view's focus is cleared the focus is given to the first focusable found from the top. The implementation of this behavior was causing the following issues: 1. If the fist focusable View tries to clear its focus it was getting focus but the onFocusChange callbacks were not properly invoked. Specifically, the onFocusChange for gaining focus was called first and then the same callback for clearing focus. Note that the callback for clearing focus is called when the View is already focused. Also note that at the end the View did not clear its focus, hence no focus change callbacks should be invoked. 2. If not the first focusable View tries to clear focus, the focus is given to another one but the callback for getting focus was called before the one for clearing, so client code may be mislead that there is more than one focused view at a time. 3. (Nit) The implementaion of clearFocus and unFocus in ViewGroup was calling the super implementaion when there is a focused child. Since there could be only one focused View, having a focused child means that the group is not focused and the call to the super implementation is not needed. 4. Added unit tests that verify the correct behavior, i.e. the focus of the first focused view cannot be cleared which means that no focus change callbacks are invoked. The callbacks should be called in expected order. Now the view focus clear precedes the view focus gain callback. However, in between is invoked the global focus change callback with the correct values. We may want to call that one after the View callbacks. If needed we can revisit this. Change-Id: Iee80baf5c75c82d3cda09679e4949483cad475f1
rc/android/widget/focus/RequestFocus.java
rc/android/widget/focus/RequestFocusTest.java
|
36a561b4ee35911fd6594c1592aab134be22f0f7 |
26-Jan-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Fixing failing focus tests Change-Id: I3df6a72f6340cbf2e42ce4913e28471e9358088b
rc/android/util/InternalSelectionView.java
rc/android/widget/focus/ListOfInternalSelectionViews.java
rc/android/widget/focus/RequestFocusTest.java
rc/android/widget/focus/ScrollingThroughListOfFocusablesTest.java
|
79311c4af8b54d3cd47ab37a120c648bfc990511 |
18-Jan-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Speedup the accessibility window querying APIs and clean up. 1. Now when an interrogating client requires an AccessibilibtyNodeInfo we aggressively prefetch all the predecessors of that node and its descendants. The number of fetched nodes in one call is limited to keep the APIs responsive. The prefetched nodes infos are cached in the client process. The node info cache is invalidated partially or completely based on the fired accessibility events. For example, TYPE_WINDOW_STATE_CHANGED event clears the cache while TYPE_VIEW_FOCUSED removed the focused node from the cache, etc. Note that the cache is only for the currently active window. The ViewRootImple also keeps track of only the ids of the node infos it has sent to each querying process to avoid duplicating work. Usually only one process will query the screen content but we support the general case. Also all the caches are automatically invalidated so not additional bookkeeping is required. This simple strategy leads to 10X improving the speed of the querying APIs. 2. The Monkey and UI test automation framework were registering a raw event listener for accessibility events and hence perform connection and cache management in similar way to an AccessibilityService. This is fragile and requires the implementer to know internal framework stuff. Now the functionality required by the Monkey and the UI automation is encapsulated in a new UiTestAutomationBridge class. To enable this was requited some refactoring of AccessibilityService. 3. Removed the *doSomethiong*InActiveWindow methods from the AccessibilityInteractionClient and the AccessibilityInteractionConnection. The function of these methods is implemented by the not *InActiveWindow version while passing appropriate constants. 4. Updated the internal window Querying tests to use the new UiTestAutomationBridge. 5. If the ViewRootImple was not initialized the querying APIs of the IAccessibilityInteractionConnection implementation were returning immediately without calling the callback with null. This was causing the client side to wait until it times out. Now the client is notified as soon as the call fails. 6. Added a check to guarantee that Views with AccessibilityNodeProvider do not have children. bug:5879530 Change-Id: I3ee43718748fec6e570992c7073c8f6f1fc269b3
rc/android/accessibilityservice/InterrogationActivity.java
rc/android/accessibilityservice/InterrogationActivityTest.java
|
a27a3e8ad7d20dea63ef2d5cb8b6ec7e56c20a89 |
09-Jan-2012 |
Jeff Sharkey <jsharkey@android.com> |
Introduce FileRotator. Utility that rotates files over time, similar to logrotate. There is a single "active" file, which is periodically rotated into historical files, and eventually deleted entirely. Files are stored under a specific directory with a well-known prefix. Bug: 5386531 Change-Id: I29f821a881247e50ce0f6f73b20bbd020db39e43
rc/com/android/internal/util/FileRotatorTest.java
|
986f00faf44b0d9ed5b1384746ca4254037fc180 |
13-Jan-2012 |
Jeff Brown <jeffbrown@google.com> |
Merge "Rewrite SQLite database wrappers."
|
156936975dec49022681f218b8221ef9e3d87011 |
12-Jan-2012 |
Jeff Brown <jeffbrown@google.com> |
Merge "Fix indentation and whitespace."
|
18c415c3c87da27ceca27ce8df6e2c816d6a2fa3 |
12-Jan-2012 |
Jeff Brown <jeffbrown@google.com> |
Merge "Clean up database tests a little bit."
|
e5360fbf3efe85427f7e7f59afe7bbeddb4949ac |
01-Nov-2011 |
Jeff Brown <jeffbrown@google.com> |
Rewrite SQLite database wrappers. The main theme of this change is encapsulation. This change preserves all existing functionality but the implementation is now much cleaner. Instead of a "database lock", access to the database is treated as a resource acquisition problem. If a thread's owns a database connection, then it can access the database; otherwise, it must acquire a database connection first, and potentially wait for other threads to give up theirs. The SQLiteConnectionPool encapsulates the details of how connections are created, configured, acquired, released and disposed. One new feature is that SQLiteConnectionPool can make scheduling decisions about which thread should next acquire a database connection when there is contention among threads. The factors considered include wait queue ordering (fairness among peers), whether the connection is needed for an interactive operation (unfairness on behalf of the UI), and whether the primary connection is needed or if any old connection will do. Thus one goal of the new SQLiteConnectionPool is to improve the utilization of database connections. To emulate some quirks of the old "database lock," we introduce the concept of the primary database connection. The primary database connection is the one that is typically used to perform write operations to the database. When a thread holds the primary database connection, it effectively prevents other threads from modifying the database (although they can still read). What's more, those threads will block when they try to acquire the primary connection, which provides the same kind of mutual exclusion features that the old "database lock" had. (In truth, we probably don't need to be requiring use of the primary database connection in as many places as we do now, but we can seek to refine that behavior in future patches.) Another significant change is that native sqlite3_stmt objects (prepared statements) are fully encapsulated by the SQLiteConnection object that owns them. This ensures that the connection can finalize (destroy) all extant statements that belong to a database connection when the connection is closed. (In the original code, this was very complicated because the sqlite3_stmt objects were managed by SQLiteCompiledSql objects which had different lifetime from the original SQLiteDatabase that created them. Worse, the SQLiteCompiledSql finalizer method couldn't actually destroy the sqlite3_stmt objects because it ran on the finalizer thread and therefore could not guarantee that it could acquire the database lock in order to do the work. This resulted in some rather tortured logic involving a list of pending finalizable statements and a high change of deadlocks or leaks.) Because sqlite3_stmt objects never escape the confines of the SQLiteConnection that owns them, we can also greatly simplify the design of the SQLiteProgram, SQLiteQuery and SQLiteStatement objects. They no longer have to wrangle a native sqlite3_stmt object pointer and manage its lifecycle. So now all they do is hold bind arguments and provide a fancy API. All of the JNI glue related to managing database connections and performing transactions is now bound to SQLiteConnection (rather than being scattered everywhere). This makes sense because SQLiteConnection owns the native sqlite3 object, so it is the only class in the system that can interact with the native SQLite database directly. Encapsulation for the win. One particularly tricky part of this change is managing the ownership of SQLiteConnection objects. At any given time, a SQLiteConnection is either owned by a SQLiteConnectionPool or by a SQLiteSession. SQLiteConnections should never be leaked, but we handle that case too (and yell about it with CloseGuard). A SQLiteSession object is responsible for acquiring and releasing a SQLiteConnection object on behalf of a single thread as needed. For example, the session acquires a connection when a transaction begins and releases it when finished. If the session cannot acquire a connection immediately, then the requested operation blocks until a connection becomes available. SQLiteSessions are thread-local. A SQLiteDatabase assigns a distinct session to each thread that performs database operations. This is very very important. First, it prevents two threads from trying to use the same SQLiteConnection at the same time (because two threads can't share the same session). Second, it prevents a single thread from trying to acquire two SQLiteConnections simultaneously from the same database (because a single thread can't have two sessions for the same database which, in addition to being greedy, could result in a deadlock). There is strict layering between the various database objects, objects at lower layers are not aware of objects at higher layers. Moreover, objects at higher layers generally own objects at lower layers and are responsible for ensuring they are properly disposed when no longer needed (good for the environment). API layer: SQLiteDatabase, SQLiteProgram, SQLiteQuery, SQLiteStatement. Session layer: SQLiteSession. Connection layer: SQLiteConnectionPool, SQLiteConnection. Native layer: JNI glue. By avoiding cyclic dependencies between layers, we make the architecture much more intelligible, maintainable and robust. Finally, this change adds a great deal of new debugging information. It is now possible to view a list of the most recent database operations including how long they took to run using "adb shell dumpsys dbinfo". (Because most of the interesting work happens in SQLiteConnection, it is easy to add debugging instrumentation to track all database operations in one place.) Change-Id: Iffb4ce72d8bcf20b4e087d911da6aa84d2f15297
rc/android/database/sqlite/DatabaseConnectionPoolTest.java
rc/android/database/sqlite/SQLiteCursorTest.java
rc/android/database/sqlite/SQLiteDatabaseTest.java
rc/android/database/sqlite/SQLiteStatementTest.java
rc/android/database/sqlite/SQLiteUnfinalizedExceptionTest.java
|
3f11f302c7e8c4ba513f6c559f33db96319c3825 |
12-Jan-2012 |
Jeff Brown <jeffbrown@google.com> |
Fix indentation and whitespace. Change-Id: Iccb954fb77f21b230eecb3f06328e11b14611f17
rc/android/database/NewDatabasePerformanceTests.java
|
5a05c23f3d6a1a895bf5917aacd8bd9a5302ba00 |
12-Jan-2012 |
Jeff Brown <jeffbrown@google.com> |
Clean up database tests a little bit. Change-Id: Ib05c699bf59187cb51627b5f352c2a15ad2c28bb
rc/android/database/CursorWindowTest.java
rc/android/database/DatabaseCursorTest.java
rc/android/database/DatabaseErrorHandlerTest.java
rc/android/database/DatabaseGeneralTest.java
rc/android/database/DatabaseLockTest.java
rc/android/database/DatabasePerformanceTests.java
rc/android/database/DatabaseStatementTest.java
rc/android/database/NewDatabasePerformanceTests.java
|
24162fc52c739b6d71adc8e0f9bc3768a24c5805 |
11-Jan-2012 |
Ying Wang <wangying@google.com> |
Build all test apks as raw resource in FrameworksCoreTests. Bug: 5848975 Change-Id: I395013ded1c29e0914f72e03d0abd60bb4a7973a
ndroid.mk
pks/Android.mk
pks/FrameworkCoreTests_apk.mk
pks/install_decl_perm/Android.mk
pks/install_loc_auto/Android.mk
pks/install_loc_internal/Android.mk
pks/install_loc_sdcard/Android.mk
pks/install_loc_unspecified/Android.mk
pks/install_use_perm_good/Android.mk
pks/install_uses_feature/Android.mk
pks/install_verifier_bad/Android.mk
pks/install_verifier_good/Android.mk
es/raw/install_decl_perm
es/raw/install_loc_auto
es/raw/install_loc_internal
es/raw/install_loc_sdcard
es/raw/install_loc_unspecified
es/raw/install_use_perm_good
es/raw/install_uses_feature
|
4c1e00a8c29e532a5b0fce755bead691797eff94 |
06-Jan-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add textDirection="locale" - also fix and update unit tests - see bug #5242821 Change-Id: I29e029bab8ade336a430f9a2a5073caaf11b8dda
rc/android/widget/TextViewTest.java
|
52cd299eef703030f8fcf7a92f413791301771cc |
27-Dec-2011 |
Jesse Wilson <jessewilson@google.com> |
Move the frameworks/base hostname verifier into libcore. Part 2/2 Bug: http://b/5619726 Change-Id: I165eb3befcef104ff56ffb466c87c60b632f3194
es/raw/alt_ip_only.crt
es/raw/subject_alt_only.crt
es/raw/subject_only.crt
es/raw/subject_with_alt_names.crt
es/raw/subject_with_wild_alt_name.crt
es/raw/wild_alt_name_only.crt
rc/com/android/internal/net/DNParserTest.java
rc/com/android/internal/net/DomainNameValidatorTest.java
|
786e54dd13111b6a2f75f4f37dd20353cf613e97 |
01-Dec-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Fixing the build Change-Id: I125956773dd364b14f8d328e625df3c852001dbf
rc/android/accessibilityservice/InterrogationActivityTest.java
|
f3b4f3163b5b4c0a54a2643f07c97c47b14a1eb7 |
01-Dec-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
resolved conflicts for merge of 26f7a81f to master Change-Id: I6bf5fd7c0de7945cef84602dbe3a7bbed587700f
|
d116d7c78a9c53f30a73bf273bd7618312cf3847 |
22-Nov-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Fixing memory leaks in the accessiiblity layer. 1. AccessibilityInteractionConnections were removed from the AccessiiblityManagerService but their DeathRecipents were not unregistered, thus every removed interaction connection was essentially leaking. Such connection is registered in the system for every ViewRootImpl when accessiiblity is enabled and inregistered when disabled. 2. Every AccessibilityEvent and AccessiilbityEventInfo obtained from a widnow content querying accessibility service had a handle to a binder proxy over which to make queries. Hoewever, holding a proxy to a remote binder prevents the latter from being garbage collected. Therefore, now the events and infos have a connection id insteand and the hindden singleton AccessiiblityInteaction client via which queries are made has a registry with the connections. This class looks up the connection given its id before making an IPC. Now the connection is stored in one place and when an accessibility service is disconnected the system sets the connection to null so the binder object in the system process can be GCed. Note that before this change a bad implemented accessibility service could cache events or infos causing a leak in the system process. This should never happen. 3. SparseArray was not clearing the reference to the last moved element while garbage collecting thus causing a leak. bug:5664337 Change-Id: Id397f614b026d43bd7b57bb7f8186bca5cdfcff9
rc/android/accessibilityservice/InterrogationActivityTest.java
|
5898991075ad5aa941c7c3c92467c03d28902ecf |
15-Nov-2011 |
Jeff Sharkey <jsharkey@android.com> |
am bc03c74c: am d968670d: Merge "Conservatively trim data usage stats." into ics-mr1 * commit 'bc03c74c485669695805944a655795a6f9890956': Conservatively trim data usage stats.
|
7ee8658453fe4efe04781bea9a14368e1d5ff41f |
15-Nov-2011 |
Jeff Sharkey <jsharkey@android.com> |
Conservatively trim data usage stats. Instead of trusting NTP time alone, use the most-conservative of system clock and NTP. Bug: 5584564 Change-Id: I5dd87fc009959b1cf0a7d660e385a0b1a8be238b
rc/android/net/NetworkStatsHistoryTest.java
|
c592a57f3ff4f4e051eef57c7fb50b8643a653e5 |
09-Nov-2011 |
Jeff Sharkey <jsharkey@android.com> |
am 489b4312: am 4c48d2ff: Merge "Make operation counts monotonically increase." into ics-mr1 * commit '489b431273500db81d35ed43440915187c238f92': Make operation counts monotonically increase.
|
4abb1b8ef64dc4cd71966b59dc5d72a15055bf13 |
09-Nov-2011 |
Jeff Sharkey <jsharkey@android.com> |
Make operation counts monotonically increase. Bug: 5585704 Change-Id: I5247a68acdb209a4ef0f5aac18944595c295e6ca
rc/android/net/NetworkStatsTest.java
|
4d81191dd377d30570d6c3294b0fb1f0ea681f46 |
03-Nov-2011 |
Jeff Sharkey <jsharkey@android.com> |
am 808ee95d: Merge "Correct proc file reader, optimizations." into ics-mr1 * commit '808ee95dd4244da6ae767d3ddd003ed7b48937d0': Correct proc file reader, optimizations.
|
163e6443f27884a9bfcb9a48ef606dc635852c23 |
01-Nov-2011 |
Jeff Sharkey <jsharkey@android.com> |
Correct proc file reader, optimizations. Moved away from BufferedReader, which only reads the first 8KB of some proc files because it aggresively fills its buffer. Optimized proc parsing, now double the speed. Tests to cover. Log when NetworkStats counters roll backwards when subtracting, and optimizations around findIndex(). When system removes UID, also remove from last stats snapshot to avoid xt counters from rolling backwards. Bug: 5472949, 5458380 Change-Id: I07c08fe5233156fac2b84450f6291868bf9bfaf2
es/raw/xt_qtaguid_extended
es/raw/xt_qtaguid_typical
es/raw/xt_qtaguid_typical_with_set
rc/android/net/NetworkStatsTest.java
rc/com/android/internal/net/NetworkStatsFactoryTest.java
rc/com/android/internal/util/ProcFileReaderTest.java
|
0f28af209ac877091f4a096f7553f02a0b401596 |
29-Oct-2011 |
Jesse Wilson <jessewilson@google.com> |
Interpret '+' as a space char in the URL query params. This changes Uri.decode() to use libcore's implementation of the same behavior. Bug: http://code.google.com/p/android/issues/detail?id=21064 Change-Id: If81005492b12d3aaecc745471e0a28679544a391
rc/android/net/UriTest.java
|
021078554b902179442a345a9d080a165c3b5139 |
04-Oct-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Adding APIs to enable reporting virtual view hierarchies to accessibility serivces. Added an interface that is the contract for a client to expose a virtual view hierarchy to accessibility services. Clients impement this interface and set it in the View that is the root of the virtual sub-tree. Adding this finctionality via compostion as opposed to inheritance enables apps to maintain backwards compatibility by setting the accessibility virtual hierarchy provider on the View only if the API version is high enough. bug:5382859 Change-Id: I7e3927b71a5517943c6cb071be2e87fba23132bf
rc/android/accessibilityservice/InterrogationActivityTest.java
|
136b1637f89e493b29cc130d1fff066f981ce3e9 |
14-Jun-2011 |
Steve Block <steveblock@google.com> |
Fix use of WebView.loadData() to avoid passing invalid encoding No change in behavior, as invalid encodings have always been ignored. Bug: 5125738 Change-Id: I23f21ca65a6b14501c74dc2189a55643f1e33c33
rc/android/webkit/AccessibilityInjectorTest.java
rc/android/widget/focus/ListWithMailMessages.java
|
c755ae3b58096334aa25522b5212b1bb19dac1cf |
13-Oct-2011 |
Jeff Brown <jeffbrown@google.com> |
Use MatrixCursor instead of ArrayListCursor. ArrayListCursor is deprecated, and a duplicate private copy of it is doubly so. Delete some tests that are duplicated in the CTS package. Change-Id: Ib5837b12e39dadba57595906ad621b1feb0d2c0d
rc/android/database/CursorWindowTest.java
rc/android/widget/SimpleCursorAdapterTest.java
|
1059c3c30ad96a15695c1a92ae8896e078a6309f |
05-Oct-2011 |
Jeff Sharkey <jsharkey@android.com> |
Move battery stats to xt_qtaguid for data stats. Replace TrafficStats calls by reading values from xt_qtaguid kernel module. To keep BatteryStatsImpl changes lightweight, cache recently parsed stats. Tracks mobile ifaces from ConnectivityService. Refactor xt_qtaguid parsing into factory outside of NMS. Add stats grouping based on UID, and total based on limiting filters like iface prefix and UID. Bug: 4902271 Change-Id: I533f116c434b77f93355bf95b839e7478528505b
es/raw/net_dev_typical
es/raw/xt_qtaguid_extended
es/raw/xt_qtaguid_iface_typical
es/raw/xt_qtaguid_typical
es/raw/xt_qtaguid_typical_with_set
rc/android/net/NetworkStatsTest.java
rc/com/android/internal/net/NetworkStatsFactoryTest.java
|
270928bd4a1db1dc0d989f4e9897a81ab865e30e |
08-Oct-2011 |
Jeff Brown <jeffbrown@google.com> |
Merge changes Idbfeb3cc,I03e8e2e7,Iff9eed78 * changes: Fix regression in CursorWindow.getString() Bug: 5332296 Clean up CursorWindow lifetime. Bug: 5332296 Fix regression in CursorWindow.copyStingToBuffer. Bug: 5332296
|
7ce745248d4de0e6543a559c93423df899832100 |
07-Oct-2011 |
Jeff Brown <jeffbrown@google.com> |
Clean up CursorWindow lifetime. Bug: 5332296 Removed dead code in SQLiteCursor related to the use of a background query thread. This code could result in CursorWindows being modified concurrently or used after free. This code is broken, unused and is just in the way. Added comments to explain how CursorWindow ownership is supposed to work for AbstractWindowedCursors. (There are still cases where cursor windows get dropped on the floor without being closed. Those will be taken care of in a subsequent patch.) Cleaned up SQLiteQuery.fillWindow to eliminate duplicate code and remove bits that were only needed for background loading, like returning -1. Change-Id: I03e8e2e73ff0c11df76d63f57df4c5ada06ae1cb
rc/android/database/DatabaseCursorTest.java
|
b6eca6e6691d4563d8395b3c3843d9932a2a6560 |
27-Sep-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Accessibility test automation API not working. 1. Due to a previous change that disabled accessibility if not enabled and installed serivces are present the automation APIs stopped working since they use fake automation service that is not installed. 2. Added clean up of death recipients when binders die. bug:5374662 bug:5239044 Change-Id: I1f3c8cd1d1c79753a4a64e2b8b2963025abb2939
rc/android/accessibilityservice/InterrogationActivityTest.java
|
905b5891d2aa802f447ac2ce5d77b6c5ba06277a |
01-Oct-2011 |
Jeff Sharkey <jsharkey@android.com> |
Track xtables summary, move tether stats, time. Begin tracking xtables summary of data usage to compare with values reported from /proc/net/dev. Roll tethering directly into UID stats to trigger UID stats persisting when crossing threshold. Include xtables summary and authoritative time in samples. Bug: 5373561, 5397882, 5381980 Change-Id: Ib7945522caadfbe0864fdf391582dc820f4f371e
rc/android/net/NetworkStatsTest.java
|
de5d7d250848b0db4119f362e2e700cb19e02293 |
28-Sep-2011 |
Jesse Wilson <jessewilson@google.com> |
Test to demonstrate NPE in DefaultRequestDirector When the HTTP client encountered a server failure while talking through a proxy, it fails with an NullPointerException and not an IOException. Change-Id: I4b287105bf78b832d034557e37e74ce576c7894d Bug: http://b/5372438
rc/android/net/http/AbstractProxyTest.java
|
05ca4c90644921df9193d92b2abdc81ef77e4a62 |
15-Sep-2011 |
Kenny Root <kroot@google.com> |
Allow non-required package verifiers * Verifiers can be specified in the AndroidManifest.xml * Those verifiers can respond to the new Intent action * PackageManager API for those verifiers: verifyPendingInstall Change-Id: I4892bce2e6984871e6e93c60a1ca0dae145f5df5
pks/install_verifier_bad/Android.mk
pks/install_verifier_bad/AndroidManifest.xml
pks/install_verifier_bad/res/values/strings.xml
pks/install_verifier_good/Android.mk
pks/install_verifier_good/AndroidManifest.xml
pks/install_verifier_good/res/values/strings.xml
|
04b08bdf19497c31abdef49100bfe471f8d104d6 |
15-Sep-2011 |
Kenny Root <kroot@google.com> |
Merge "Be more forgiving in parsing verifier IDs"
|
ea515aeafa01de6f50c854ee381b972ef2478284 |
15-Sep-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Update the public APIs for finding views by text to optionally use content description. 1. Added flags to the search method to specify whether to match text or content description or both. 2. Added test case for the seach by content description. 3. Updated the code in AccessibilityManager service to reflect the latest changes there so test automation service works - this is the fake service used for UI automation. Change-Id: I14a6779a920ff0430e78947ea5aaf876c2e66076
es/layout/interrogation_activity.xml
rc/android/accessibilityservice/InterrogationActivityTest.java
|
a0f264e1afa3c0a00a5af0db362f884b122d978d |
14-Sep-2011 |
Kenny Root <kroot@google.com> |
Be more forgiving in parsing verifier IDs RFC 4648's Base32 is made to be forgiving for users doing manual entry of the digits. For this reason we want to be able to parse lowercase letters as uppercase and number 0 (zero) as letter O along with number 1 (one) as letter I. Change-Id: Ide760aff84f97c3e06af8bf8d006f36c74033a41
rc/android/content/pm/VerifierDeviceIdentityTest.java
|
c924fbd6933f6a96588b6e78d385082155cfd236 |
14-Sep-2011 |
Kenny Root <kroot@google.com> |
Merge "Add verifier device identity"
|
0aaa0d931716e9f57a1d84d795fab2df75092756 |
13-Sep-2011 |
Kenny Root <kroot@google.com> |
Add verifier device identity This adds a special device identifier that is usable only for device validation. The user will be presented with this number encoded in easily-transcribable Base32 in the Developer options of Settings. Change-Id: I4843f55ee90d689a51d0269b22454ca04c1be7ec
ndroidManifest.xml
rc/android/content/pm/ManifestDigestTest.java
rc/android/content/pm/PackageManagerTests.java
rc/android/content/pm/VerifierDeviceIdentityTest.java
|
e44365b539056b84a3ab57f5a9338d182eb10033 |
13-Sep-2011 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Data usage structure optimizations."
|
69b0f63af2e3babc2e9f048c4682032a0c17d9d0 |
12-Sep-2011 |
Jeff Sharkey <jsharkey@android.com> |
Data usage structure optimizations. Driven by traceview hotspots found in Settings UI. Change-Id: I614a049523c526b7fcd12fffdf53a3e4723623e4
rc/android/net/NetworkStatsHistoryTest.java
|
13c7197da8a16f77f6398708a6314c80cb01e0d1 |
08-Sep-2011 |
Ben Komalo <benkomalo@google.com> |
Revert encryption mapping for device wipes. External storage volumes that were emulated+encrypted needed to have their encryption mapping removed so that it doesn't try to encrypt the volume after formatting them. This just wires through an argument through vold, and assumes that vold will do the right thing even if there is no encryption mapping set. Bug: 5017638 Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad
rc/android/content/pm/PackageManagerTests.java
rc/android/os/storage/AsecTests.java
|
e3bf88da23bfadd89a35b6dec769ea825e5ecd6e |
06-Sep-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics - update unit tests too Change-Id: I7c518f58a9f17cb679bc3913bdd38243f7ad2195
rc/android/widget/TextViewTest.java
|
d32f27aec04dd91edf488f280ca609e0b55aec9e |
26-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #5199577 TextView with android:password="true" is showing the "dots" on the left even if the password chars are RTL"
|
7810b5f8cffb3c2c98fd0df579f4da5a9ac6cc73 |
25-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #5199577 TextView with android:password="true" is showing the "dots" on the left even if the password chars are RTL - force TextView to LOCALE text heuristic when in "password" mode - remove TEXT_LAYOUT_DIRECTION_UNKNOWN_DO_NOT_USE - LocaleUtils.getLayoutDirectionFromLocale() returns "LTR" is locale is NULL or ROOT Change-Id: I182c46aaf2d73c8b18967fffa230bfabec91ed06
rc/android/util/LocaleUtilTest.java
|
ed191e1fae0f860323f6ed76ea982287c42ec83e |
25-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Data usage buckets active time, parsing ISE."
|
235c47ff3edc9228609e82d2201275e70889921f |
25-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Register for kernel global data usage alerts."
|
8bd69610aafc6995126965d1d23b771fe02a9084 |
23-Aug-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Intra-process view hierarchy interrogation does not work. The content retrieval APIs are synchronous from a client's perspective but internally they are asynchronous. The client thread calls into the system requesting an action and providing a callback to receive the result after which it waits up to a timeout for that result. The system enforces security and then delegates the request to a given view hierarchy where a message is posted (from a binder thread) describing what to be performed by the main UI thread the result of which it delivered via the mentioned callback. However, the blocked client thread and the main UI thread of the target view hierarchy can be the same one, for example an accessibility service and an activity run in the same process, thus they are executed on the same main thread. In such a case the retrieval will fail since the UI thread that has to process the message describing the work to be done is blocked waiting for a result is has to compute! To avoid this scenario when making a call the client also passes its process and thread ids so the accessed view hierarchy can detect if the client making the request is running in its main UI thread. In such a case the view hierarchy, specifically the binder thread performing the IPC to it, does not post a message to be run on the UI thread but passes it to the singleton interaction client through which all interactions occur and the latter is responsible to execute the message before starting to wait for the asynchronous result delivered via the callback. In this case the expected result is already received so no waiting is performed. bug:5138933 Change-Id: I382e2d8689f5189110226613c2387f553df98bd3
es/layout/interrogation_activity.xml
rc/android/accessibilityservice/InterrogationActivityTest.java
|
558a23200697d306b75750cf4612cf0717e73537 |
25-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Data usage buckets active time, parsing ISE. When recording data usage, measure the actual active time, since buckets can be quite long. Offer incrementOperationCount() version that reads thread stats tag for caller. Rethrow any NPE as ISE during stats parsing, which callers already handle. Bug: 5171812, 5184508, 5180659 Change-Id: I6da80ccc0162be68bee279529e3a23b6f98ebd87
rc/android/net/NetworkStatsHistoryTest.java
|
8e9992ae5053a3ac52d28a5a892aed0a0798c7ab |
24-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Register for kernel global data usage alerts. Instead of polling every 15 minutes, register for alerts that trigger when system-wide traffic passes a threshold. Still mixed with polling to persist UID stats, but relaxed to 30 minutes. Currently watches for every 512kB. Make persistence decision separately for network versus UID, and use total delta bytes when making decision. Use light bootstrap during systemReady() instead of heavy poll, which had been force-loading all UID data unnecessarily. Bug: 5023631 Change-Id: I04b723d6c4bf872fb1028071122dba66a8e1b576
rc/android/net/NetworkStatsTest.java
|
fe62e31914bef645851e11418ddaee279c845e99 |
18-Aug-2011 |
Brian Muramatsu <btmura@google.com> |
Test for Settings Intent Bug 4983978 Change-Id: I4d366bbcacdc12e5d86d22f5fab0e934e4ef66db
rc/android/provider/SettingsProviderTest.java
|
b5d55e302d2253e4bfb233ea705caf258cdc4cb9 |
11-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Foreground/background network stats using sets. Teach NetworkStats about "counter sets" coming from kernel, and use them to track usage in foreground/background. Add AID_NET_BW_ACCT to system_server so it can control counter sets. Move to composite key of NetworkIdentitySet, UID, set, and tag when recording historical usage. Persisting still clusters by identity, since that is heaviest object. Request async stats poll during systemReady() to bootstrap later delta calculations. Reset kernel counters when UID removed. Update various tests. Bug: 5105592, 5146067 Change-Id: Idabec9e3ffcaf212879821515602ecde0a03de8c
rc/android/net/NetworkStatsTest.java
|
bcc954d772e8cd5ef640060cbc0be50e7e4778f2 |
09-Aug-2011 |
Kenny Root <kroot@google.com> |
Manifest digest stored during package scanning This allows things that scanned an APK to pass a hash of the manifest to others that would then be able to compare it. Change-Id: I465f5edf3acab2a952c3d321c8df2247ffe012ea
rc/android/content/pm/ManifestDigestTest.java
|
cbbd93ae701b9af2e5054d59286bdbf6275c2838 |
09-Aug-2011 |
Chet Haase <chet@google.com> |
Fix ViewPropertyAnimator duration and startDelay issues getDuration() wasn't returning the correct thing in some cases, and setStartDelay() had no effect whatsoever. Fixed those. Change-Id: I89f930535ec1acddf57227937a9ad64986548998
rc/android/animation/ViewPropertyAnimatorTest.java
|
8b699792b677bd4dd8442b32641ac09d48fdd79c |
06-Aug-2011 |
Chet Haase <chet@google.com> |
Fix cancellation of AnimatorSet when child animation has delay Previously, AnimatorSet incorrectly checked whether child animations were 'running' to figure out what to cancel. If a child animation was started, but sitting in a startDelay phase, it was not 'running', so the right cancel/end events would not propagate. The fix is to add a new isStarted() API to Animator, which returns true when the animator has started (but not yet ended), regardless of whether the animator has a startDelay or not. It's basically a superset of the existing isRunning() method, which only returns true when an animator has actually started setting values. Change-Id: I126814cb6637b58295b6d18d9b155235671f99be
rc/android/animation/AnimatorSetEventsTest.java
rc/android/animation/EventsTest.java
|
163efc028544db685c8b6244deffcca28a91e3ba |
05-Aug-2011 |
Chet Haase <chet@google.com> |
Merge "Fix AnimatorSet cancellation issues"
|
b8f574a165bf6ec5b316734b367ac274ded4809b |
03-Aug-2011 |
Chet Haase <chet@google.com> |
Fix AnimatorSet cancellation issues AnimatorSet was incorrectly ignoring cancel() when it was in the initial startDelay phase. Fix is to change isRunning() to be true if the animator is also in its delay phase. Change-Id: I1a8c877de24fa294beea0ba30d495658255b13b3
rc/android/animation/EventsTest.java
|
63d27a9233fed934340231f438493746084a681d |
04-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Network stats with varint, omit parcel fields. Persist NetworkStatsHistory using variable-length encoding; since most buckets have small numbers, we can encode them tighter. Initial test showed 44% space savings. Also persist packet and operation counters. Let NetworkStatsHistory consumers request which fields they actually need to reduce parcel overhead. Tests for verify varint and history field requests, also verify end- to-end by persisting history into byte[] and restoring. Expose bandwidth control enabled state. Extend random generation to create packet and operation counts. Moved operation counts to long. Fix bug that miscalculated bytes since last persist, which would cause partial stats loss when battery pulled. Bug: 4581977, 5023706, 5023635, 5096903 Change-Id: If61e89f681ffa11fe5711471fd9f7c238d3d37b0
rc/android/net/NetworkStatsHistoryTest.java
|
1ebd74acf9977daa42133507e970dab88e08f0ef |
04-Aug-2011 |
Kenny Root <kroot@google.com> |
Better error codes for missing files Make sure that files that don't exist aren't returning bogus 'out of space' error codes. Add some Javadoc so I can remember what each thing does in an IDE. Add copyright header to NativeLibraryHelper Bug: 3375299 Change-Id: Iac46019160921daca65b21d38897e5165063316e
rc/android/content/pm/PackageManagerTests.java
|
a63ba59260cd1bb3f5c16e395ace45a61f1d4461 |
20-Jul-2011 |
Jeff Sharkey <jsharkey@android.com> |
Add operation counts to network statistics. Provide API to increment "operation counts" for a UID and tag, used to eventually derive bytes/operation stats. Internally is stored at network layer, but should belong at data layer. Switch profiling to use data layer stats, which are emulated by summarizing network layer details. Read packet counts from new /proc/ columns and collect them into NetworkStatsHistory. Prevent double-counting by ignoring values from first snapshot. Watch for duplicate /proc/ entries. Update tests to verify packet and operation counters. Bug: 5052136, 5097392 Change-Id: I1832f65a2b8a9188f8088f253474a667c21a2f09
es/raw/history_v1
rc/android/net/NetworkStatsHistoryTest.java
rc/android/net/NetworkStatsTest.java
|
00aabf7d187bc05408199bd687a538b2e68bdc17 |
21-Jul-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Touch exploration state set to clients asynchronously and depended on talking service being enabled. 1. Upon registration of an accessibility client the latter received only the accessiiblity state and waiting for the touch exploration state to be sent by the system in async manner. This led the very first check of touch exploration state is checked a wrong value to be reported. Now a state of the accessibility layer is returned to the client upon registration. 2. Removing the dependency on talking accessibility service to be enabled for getting into touch exploration mode. What if the user wants to use an accessibility service that shows a dialog with the text of the touched view? bug:5051546 Change-Id: Ib377babb3f560929ee73bd3d8b0d277341ba23f7
rc/android/view/accessibility/RecycleAccessibilityEventTest.java
|
7a2c813d304b910b00046115efb0f462e6431a64 |
20-Jul-2011 |
Jesse Wilson <jessewilson@google.com> |
Skip byte order mark (BOM) in JsonReader Bug: http://code.google.com/p/android/issues/detail?id=18508 Change-Id: I7652080d9ab475c75d0a811a6e2ede4975ebe063
rc/android/util/JsonReaderTest.java
|
378c368f20d9746f07c8047172f5931abf69af8e |
19-Jul-2011 |
Jesse Wilson <jessewilson@google.com> |
Remove accidental spaces from expected failure message. Change-Id: I6c004ff09ba12851f57716801d72e9027db00944
rc/android/util/JsonReaderTest.java
|
783123f79de3210d27ef2aab103bac7737b64caf |
01-Jul-2011 |
Todd Kennedy <toddke@google.com> |
Add getBlob() to MatrixCursor Change-Id: I1abfd2fd117a2a31f99e77bd0b395c4ad0cfc6d2
rc/android/database/MatrixCursorTest.java
|
ba6e855453f055d358beead9cb50f3232a9e34e3 |
19-Jul-2011 |
Shimeng (Simon) Wang <swang@google.com> |
Merge "Add in i18n TLDs and new TLDs to the URL RegEx matcher."
|
52fc810f73e0d8e005281e80a981e1ceed855850 |
19-Jul-2011 |
Shimeng (Simon) Wang <swang@google.com> |
Add in i18n TLDs and new TLDs to the URL RegEx matcher. also update APIs. issue: 4384739 Change-Id: I946323d80f85fe43338fdc19c5858356faefa6cc
rc/android/util/PatternsTest.java
|
07229314aff0056dab21dc211468b7f6154f1350 |
19-Jul-2011 |
Bart Sears <bsears@google.com> |
Merge "Revert "Add in i18n TLDs and new TLDs to the URL RegEx matcher.""
|
89006fa55ccfd7d5eea6d490436575b6b7503580 |
19-Jul-2011 |
Bart Sears <bsears@google.com> |
Revert "Add in i18n TLDs and new TLDs to the URL RegEx matcher." This reverts commit 6050cf65dbdf52f52325dc4513156f9404ffe9d8
rc/android/util/PatternsTest.java
|
35ca86d8a48e2c2edc12e21e087b76a2304c4cfe |
19-Jul-2011 |
Shimeng (Simon) Wang <swang@google.com> |
Merge "Add in i18n TLDs and new TLDs to the URL RegEx matcher."
|
6050cf65dbdf52f52325dc4513156f9404ffe9d8 |
19-Jul-2011 |
Shimeng (Simon) Wang <swang@google.com> |
Add in i18n TLDs and new TLDs to the URL RegEx matcher. issue: 4384739 Change-Id: I96f2263d9a14fc2560583e2719cf7c5ac5c46d9e
rc/android/util/PatternsTest.java
|
a11c2f8674ab5b8834fb5cccce1060aa829a7f0a |
18-Jul-2011 |
Jesse Wilson <jessewilson@google.com> |
Merge "Track line and column when parsing JSON."
|
febae4ed18953098fec2126c7f883213e14469c9 |
18-Jul-2011 |
Jesse Wilson <jessewilson@google.com> |
Track line and column when parsing JSON. This is a prerequisite to skipping the BOM if it exists. Bug: http://code.google.com/p/android/issues/detail?id=18508 Change-Id: I38b1c46f246d8526fa20859b50ca3e25c9f9b9d1
rc/android/util/JsonReaderTest.java
|
1a1d731c9cc0209570472a9c8b6e59da0b545968 |
18-Jul-2011 |
Jesse Wilson <jessewilson@google.com> |
Merge "Always escape chars that JavaScript treats as newlines."
|
0fc0edfd273f9d92b9f9fe4f49382b11104f55f0 |
18-Jul-2011 |
Jesse Wilson <jessewilson@google.com> |
Always escape chars that JavaScript treats as newlines. Related GSON Bug: http://code.google.com/p/google-gson/issues/detail?id=341 Change-Id: I41b1615c4b3b4526f2223a75191f9b0699cdda12
rc/android/util/JsonWriterTest.java
|
1b64e0d8657463c0f7ce9b068a16a522cdfe7d28 |
18-Jul-2011 |
Dianne Hackborn <hackbod@google.com> |
Work on death recipient leaks in Activity Manager and Content Service. This should fix a leak of process death recipients in the activity manager. Also add debugging of content observers to try to track down what looks like a leak of them in the content service. Change-Id: Id6823679493ef0cde5307bb66490ebe31b878556
rc/android/content/ObserverNodeTest.java
|
50e95eba5c7cf70a0ecbc50c0cf5b700201aa67f |
15-Jul-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Implement textDirection heuristic selection."
|
cb379120456d8065d742021fc5c66748fc8a11a8 |
07-Jul-2011 |
Doug Felt <dougfelt@google.com> |
Implement textDirection heuristic selection. Change-Id: I2fcf18de573f2d66494fa5ed61e4273c3c6078c7
rc/android/widget/TextViewTest.java
|
434962e44ea93b1c4d216c55f636a435bf54aa54 |
13-Jul-2011 |
Jeff Sharkey <jsharkey@android.com> |
Include full network history around current time. When requesting historical values with time ranges, always include full values for buckets that span current time. (It doesn't make sense to interpolate partial data.) Move getTotalData() to return full Entry objects to prepare for packet counts. Bug: 4691901 Change-Id: I717bd721be9f1d4a47c4121e46e07a56cb15bbf1
rc/android/net/NetworkStatsHistoryTest.java
|
f0c3b1b6b7fd2b851851c96d98d2f9a77415bf43 |
13-Jul-2011 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Hide NetworkStatsHistory internals."
|
d37948f6ed1667d077e0e3a38808f42f981ddcc2 |
12-Jul-2011 |
Jeff Sharkey <jsharkey@android.com> |
Hide NetworkStatsHistory internals. Instead of exposing internal storage details, offer getValues() accessor which populates values into a recycled structure. Change-Id: I5228d7099a8f61b2018a435a813435a67dae49b4
rc/android/net/NetworkStatsHistoryTest.java
rc/android/net/NetworkStatsTest.java
|
9893fd977182a00a0783b9b6374ff193195210c2 |
12-Jul-2011 |
Chet Haase <chet@google.com> |
Merge "Fix Animator cancel() behavior"
|
7dfacdb1c820f955cb3cd6032ff5fbc2dd7d9df5 |
12-Jul-2011 |
Chet Haase <chet@google.com> |
Fix Animator cancel() behavior Previously, calling cancel() on an Animator would cause onAnimationCancel events to be sent to all listeners. This was confusing for listeners that were keying off this event for performing other actions, when the original animator wasn't truly canceled (because it wasn't even running, or had already been canceled earlier). This change hinges listener notification on the animator actually running; no events are sent otherwise. Also added the first set of Animator tests to verify that this behavior is correct. Change-Id: I81ab56559b5c0343c8dc7880e1c8235f3020975b
ndroid.mk
ndroidManifest.xml
es/layout/animator_basic.xml
rc/android/animation/AnimatorSetEventsTest.java
rc/android/animation/BasicAnimatorActivity.java
rc/android/animation/EventsTest.java
rc/android/animation/FutureWaiter.java
rc/android/animation/ObjectAnimatorEventsTest.java
rc/android/animation/ValueAnimatorEventsTest.java
|
1ea4cc64643afb987ad42630eb146b4585647d0a |
12-Jul-2011 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Return stats from inactive ifaces, packet counts."
|
fd8be3e5e7420f3cca591daeec8a44487f5f65aa |
11-Jul-2011 |
Jeff Sharkey <jsharkey@android.com> |
Return stats from inactive ifaces, packet counts. When an iface goes inactive, xt_qtaguid maintains historical counters instead of discarding. Now reading and returning those values in NetworkManagementService summary calls. Tests to verify stats are returned. Modify NetworkStats to include rxPackets and txPackets values, and move to Entry to eventually hide internal storage details. Bug: 4984539 Change-Id: I1ba0bb5580c62e946d9dff2cc2a6f64aff403efc
rc/android/net/NetworkStatsTest.java
|
503f5301cd46018ac8c9bc1d8ba32f2aa992f49b |
11-Jul-2011 |
Andy McFadden <fadden@android.com> |
Merge "Relocate common Calendar classes"
|
7f86c806ada21fc7a3feefd89d6fcb4282b0af40 |
02-Jul-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix View reset of layoutDirection and textDirection - do it in onDetachedFromWindow() - make naming consistent too - update unit tests Change-Id: I320fcdbf75166bae793c4409e7344608b696667f
ndroidManifest.xml
es/layout/textview_test.xml
es/values/strings.xml
rc/android/widget/TextViewTest.java
rc/android/widget/TextViewTestActivity.java
|
64a3b34afaf1df7bd4792d0a5f7dd0686cbc56ec |
07-Jul-2011 |
Andy McFadden <fadden@android.com> |
Relocate common Calendar classes Move some classes from android.pim to com.android.calendarcommon. Bug 4575374 Change-Id: Iab09cb331a0a74f6b951ab5e5b7c207e8f1b939c
rc/android/pim/EventRecurrenceTest.java
rc/android/pim/RecurrenceSetTest.java
|
8f5026562f26dcde43ee9d9182b309c3204dc1ad |
30-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add charCount heuristic to TextView textDirection - threshold set to 60% (using a constant) - fix also one issue during layout direction resolution (parent could be null so delay resolution up to when parent is no more null) Change-Id: I65f24a297aac6bc0d5d482ee31b55db0b201e5bf
rc/android/widget/TextViewTest.java
|
222688682e6e072076489d8203d01bdf2366101a |
28-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add textDirection support for TextView and ViewGroup - use ViewGroup inheritance if defined - use different heuristics (inherit, firstStrong, anyRtl, ltr, rtl) - add more unit tests Change-Id: Ic1325aa7d9e4689b181e0a2d08b7dd7fb3f0dbeb
rc/android/widget/TextViewTest.java
|
f2dd2dfb6cd46166ddbd03d35e9cef98a4c0cbf8 |
27-Jun-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
AccessibilityInjectorTest did not restore the default key binsings. 1. AccessibilityInjectorTest changes the key bindings and when done restores the defatult ones. The restoreation was not working. bug:4905620 Change-Id: I812bad0b748637ded0ce69ace12517511f62f726
rc/android/webkit/AccessibilityInjectorTest.java
|
df867f8f8025c778a2d2eb4c4e364d967808743c |
24-Jun-2011 |
Jesse Wilson <jessewilson@google.com> |
Test that algorithm name is case-insensitive for digest auth. Change-Id: I891a533ae3b16b838925fa488093c19dfeb32efa http://code.google.com/p/android/issues/detail?id=16051
rc/android/net/http/DefaultHttpClientTest.java
|
ae633b2d36172862df3cd5ab240882bdff5a2a6c |
14-Jun-2011 |
Andy McFadden <fadden@android.com> |
Port EventRecurrence.parse() from native This adds a Java-language implementation of EventRecurrence.parse(), to make it easier to relocate it for the benefit of unbundled Calendar. Differences from the native version: - enforces that FREQ appears first - allows (but ignores) X-* parts - improved validation on various values - error messages are more specific - enforces that only one of UNTIL and COUNT may be present [disabled] - allows lower-case property and enumeration values [disabled] As part of the transition process, both versions of the parser are called on every request, and the results are compared. If the results are different a warning message is logged. An unnecessary constructor was removed. This also this moves some EventRecurrence tests out of CalendarProvider, into coretests, and adds a simple parse test with the examples from the RFC. Bug 4575374 Change-Id: If737ed1272fda65c93363d87b2da12b85e644f5b
rc/android/pim/EventRecurrenceTest.java
|
1b5a2a96f793211bfbd39aa29cc41031dfa23950 |
19-Jun-2011 |
Jeff Sharkey <jsharkey@android.com> |
Read "qtaguid" network stats, refactor templates. Teach NMS to read qtaguid stats from kernel, but fall back to older stats when kernel doesn't support. Add "tags" to NetworkStats entries to support qtaguid. To work around double-reporting bug, subtract tagged stats from TAG_NONE entry. Flesh out stronger NetworkTemplate. All NetworkStatsService requests now require a template, and moved matching logic into template. Record UID stats keyed on complete NetworkIdentitySet definition, similar to how interface stats are stored. Since previous UID stats didn't have iface breakdown, discard during file format upgrade. Change-Id: I0447b5e7d205d73d28e71c889c568e536e91b8e4
rc/android/net/NetworkStatsTest.java
|
1515c0b5192996fdaf49c6ab8841a0d5b8ea9ca9 |
17-Jun-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Remove HanziToPinin.java Those files are moved to ContactsProvider package. Must be after If786dd286dab47ca1b2ccab38c5fa43ae390c0f7 Bug: 4645142 Change-Id: I774426347e8331fc1c203d5d8e6887e83baffc9f
rc/com/android/internal/util/HanziToPinyinTest.java
|
c01924f156710e0c92bef13ec0b1a1e057b793d1 |
16-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Update getLayoutDirectionFromLocale() for using ICU - now relying on ICU.getScript() and ICU.addLikelySubtags() for getting the locale script - clean unit tests imports Change-Id: Icdc45fa78490d1e2dde0e83bca0feea8aa205cdf
rc/android/util/LocaleUtilTest.java
|
49e3b372ab288992a4705dfe7f37fbd732d06aed |
16-Jun-2011 |
Kenny Root <kroot@google.com> |
Fix crash determining direction of invalid locale The layoutlib is used in the SDK which might not have a default Locale, so the language string will be some kind of junk. This causes a crash in the new LocaleUtils Change-Id: I24e5115c56e39d394dcf89ec6cff609525b3c73e
rc/android/util/LocaleUtilTest.java
|
7e27e489d86888ac8bfc7852379a58178313fa5c |
16-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Introduce LocalUtil and getLayoutDirectionFromLocale() now use likelySubtags"
|
a47f45e4829f812ff47f9e5c9370b02284d92ae8 |
15-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Introduce LocalUtil and getLayoutDirectionFromLocale() now use likelySubtags - move code from Configuration to LocaleUtil - move unit tests Change-Id: Ic14b0131894a0c5618f00d4acb3edb0daadefe01
rc/android/content/res/ConfigurationTest.java
rc/android/util/LocaleUtilTest.java
|
e460e6d7181282937fc79119e3271bb8a80cffcf |
15-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add View.getResolvedLayoutDirection()"
|
c0053223bedf33581b0830fb87be32c1f26e5372 |
13-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add View.getResolvedLayoutDirection() - update Callback2 interface - update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic by changing "boolean isRtl" parameter to "int layoutDirection" - fix BiDiTests for RTL FrameLayout Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
rc/android/view/GravityTest.java
|
bec6c36b96f7bc415af18abbb142bd51a1741796 |
14-Jun-2011 |
RoboErik <epastern@google.com> |
Rename Calendar.java to CalendarContract.java Change-Id: Iadb22f39d1cb3d57d1636360df24ef484a9edb58
rc/android/pim/RecurrenceSetTest.java
|
c282401b5729d07a522b35d54f199a0e85fd3f34 |
13-Jun-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Final polish of the interrogation feature."
|
9d9f23727031e3f1576bae44d0586c72842afbf3 |
13-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Update Configuration for renaming and fixes"
|
4a97122ebf4d92a3f94402041729d77905e6c0c0 |
12-Jun-2011 |
Jeff Sharkey <jsharkey@android.com> |
Growable NetworkStats object instead of builder. NetworkStats now grows in place with arraycopy() instead of callers needing to know record count a priori. Better growth calculation for both NetworkStats and NetworkStatsHistory; 50% each time. Better estimates of buckets needed in calling services. Change-Id: I3adbffa0b7407612cc6349d9135a8b4eb63cd440
rc/android/net/NetworkStatsTest.java
|
eeee4d2c01d3c4ed99e4891dbc75c7de69a803fa |
11-Jun-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Final polish of the interrogation feature. 1. Added a new event type for notifying client accessibilitiy services for changes in the layout. The event is fired at most once for a given time frame and is delivered to clients only if it originates from the window that can be interrogated. 2. Exposed the findByText functionality in AccessibilityNodeInfo. This is very useful for an accessibility service since it allows searching for something the user knows is on the screen thus avoiding touch exploring the content. Touch exploring is excellent for learning the apps but knowing them search is much faster. 3. Fixed a bug causing an accessibiliby service not to receive the event source in case of more than one service is registered and one of them does not have paermission to interrogate the window. The same event was dispatched to multiple services but if one of them does not have interrogation permission the event is modified to remove the source causing subsequent serivices not to get the later. 4. Moved the getSource setSource methods to AccessibilityRecord instead in AccessibilityEvent. 5. Hiden some protected members in AccessibilityRecod which should not be made public since getters exist. 6. Added the View absolute coordinates in the screen to AccessibilityNodeInfo. This is needed for fast computation of relative positions of views from accessibility - common use case for the later. 7. Fixed a couple of marshalling bugs. 8. Added a test for the object contract of AccessibilityNodeInfo. Change-Id: Id9dc50c33aff441e4c93d25ea316c9bbc4bd7a35
rc/android/accessibilityservice/InterrogationActivityTest.java
|
7a736fbf69dd6f03db968d7d8182024eebc0e508 |
10-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Update Configuration for renaming and fixes - rename layoutDirection to textLayoutDirection - rename constants for being clear that they cannot be used (work in progress) - fix a few issues concerning default switch case and relation to Locale Change-Id: Icfe9a9b5c0d1c0e28e5a893549b437fc4fa5df82
rc/android/content/res/ConfigurationTest.java
|
5f3b2f1e59f34f7043487a194c9ab532b0f5a24f |
10-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add Configuration.getLayoutDirectionFromLocale()"
|
7194efd394ce0b38a74bab87206adfd9ff823742 |
09-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add Configuration.getLayoutDirectionFromLocale() - returns LAYOUT_DIRECTION_UNDEFINED / LAYOUT_DIRECTION_LTR / LAYOUT_DIRECTION_RTL depending on the Locale - add unit tests Change-Id: I4372734eb011cbf6270f39ba815e696b04f2352f
rc/android/content/res/ConfigurationTest.java
|
601ad8061cb8dcf3ab7385fa9e9dd13f15dc8ece |
09-Jun-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Invalid access to AccessibilityInteractionController 1. The Interaction connection checks if the ViewAncestor is valid and posts a message to be processed on the UI thread. The code in the UI thread did not check if the mView was valid. Added this check. 2. Added a faster sync mechanism in the test for getting the source of the last access event. Change-Id: I9982b6592f5f44a68a67df40f37c063a3ba62993
rc/android/accessibilityservice/InterrogationActivityTest.java
|
3f3913550c10792edb8aecf66cc83c3db5c8b311 |
06-Jun-2011 |
Jeff Sharkey <jsharkey@android.com> |
Persist network stats using AtomicFile. Implements read/write of network stats using AtomicFile, along with magic number and versioning. Stores in "/data/system/netstats.bin" for now. Tests to verify that stats are persisted across a simulated reboot, and to verify that TEMPLATE_WIFI is working. Fixed bug where kernel counters rolling backwards would cause negative stats to be recorded; now we clamp deltas at 0. Change-Id: I53bce26fc8fd3f4ab1e34ce135d302edfa34db34
rc/android/net/NetworkStatsTest.java
|
19862bf5d058b6ab0c2979e7a5e0297dae6b170b |
03-Jun-2011 |
Jeff Sharkey <jsharkey@android.com> |
Compute range-based usage in NetworkStatsHistory. When given a start/end range, interpolate between buckets to return the total network usage. Used to summarize detailed UID stats. Method to combine NetworkStatsHistory regardless of bucket size. Used to combine all histories matching a template. Added tests for both methods. Change-Id: Ia463910c0ecf7cf08dcf97c658ad99742bd6b882
rc/android/net/NetworkStatsHistoryTest.java
|
d2a458750e5a3d490af09cecb5c28370baf0a913 |
29-May-2011 |
Jeff Sharkey <jsharkey@android.com> |
Map network identity using ConnectivityService. Instead of deriving network identity based on raw subsystem broadcasts, listen for updates from ConnectivityService. Added atomic view of all active NetworkState, and build map from "iface" to NetworkIdentity set for stats tracking. To avoid exposing internal complexity, INetworkStatsService calls use general templates. Added TelephonyManager mapping to classify network types using broad labels like "3G" or "4G", used to drive templates. Cleaned up Objects and Preconditions. Change-Id: I1d4c1403f0503bc3635a59bb378841ba42239a91
rc/android/net/NetworkStatsHistoryTest.java
|
7ad00e6f5ccaf975a49870cdd267d28ae144314e |
07-Jun-2011 |
Jesse Wilson <jessewilson@google.com> |
Use external/mockwebserver in frameworks/base Change-Id: Ifb45671e3e7256692c74587984ee5fe1d0eca181
ndroid.mk
rc/android/net/http/AbstractProxyTest.java
rc/android/net/http/CookiesTest.java
rc/android/net/http/DefaultHttpClientTest.java
|
8643aa0179e598e78d938c59035389054535a229 |
20-Apr-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Interrogation of the view hierarchy from an AccessibilityService. 1. Views are represented as AccessibilityNodeInfos to AccessibilityServices. 2. An accessibility service receives AccessibilityEvents and can ask for its source and gets an AccessibilityNodeInfo which can be used to get its parent and children infos and so on. 3. AccessibilityNodeInfo contains some attributes and actions that can be performed on the source. 4. AccessibilityService can request the system to preform an action on the source of an AccessibilityNodeInfo. 5. ViewAncestor provides an interaction connection to the AccessibiltyManagerService and an accessibility service uses its connection to the latter to interact with screen content. 6. AccessibilityService can interact ONLY with the focused window and all calls are routed through the AccessibilityManagerService which imposes security. 7. Hidden APIs on AccessibilityService can find AccessibilityNodeInfos based on some criteria. These API go through the AccessibilityManagerServcie for security check. 8. Some actions are hidden and are exposes only to eng builds for UI testing. Change-Id: Ie34fa4219f350eb3f4f6f9f45b24f709bd98783c
ndroidManifest.xml
es/layout/interrogation_activity.xml
es/values/strings.xml
rc/android/accessibilityservice/InterrogationActivity.java
rc/android/accessibilityservice/InterrogationActivityTest.java
|
9e3b002d3f9141d54948a65e0330fdcd09e75a30 |
07-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Rename Gravity BEFORE/AFTER to START/END - following spec proposal for having CSS3 like naming Change-Id: Id5e316a2d9b54b9f20bbcb168fea6a3a83882e1b
rc/android/view/GravityTest.java
|
75279904202357565cf5a1cb11148d01f42b4569 |
25-May-2011 |
Jeff Sharkey <jsharkey@android.com> |
Collect historical network stats. Periodically records delta network traffic into historical buckets to support other services, such NetworkPolicyManager and Settings UI. Introduces NetworkStatsHistory structure which contains sparse, uniform buckets of data usage defined by timestamps. Service periodically polls NetworkStats and records changes into buckets. It only persists to disk when substantial changes have occured. Current parameters create 4 buckets each day, and persist for 90 days, resulting in about 8kB of data per network. Only records stats for "well known" network interfaces that have been claimed by Telephony or Wi-Fi subsystems. Historical stats are also keyed off identity (such as IMSI) to support SIM swapping. Change-Id: Ia27d1289556a2bf9545fbc4f3b789425a01be53a
rc/android/net/NetworkStatsHistoryTest.java
rc/android/net/NetworkStatsTest.java
|
50e51b81b1cf2778b99682d918ec1288a3a2593e |
02-Jun-2011 |
Brett Chabot <brettchabot@android.com> |
Merge "Move bluetooth tests to their own package."
|
b525f089cf0f580ccb26e80bbb0db1376ba554cc |
28-May-2011 |
Brett Chabot <brettchabot@android.com> |
Move bluetooth tests to their own package. Bug 4501764 Change-Id: Id65de5d96516720e75dfbb5d522f465187e73913
ndroidManifest.xml
rc/android/bluetooth/AtParserTest.java
rc/android/bluetooth/BluetoothRebootStressTest.java
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestRunner.java
rc/android/bluetooth/BluetoothTestUtils.java
|
9909d999b71ca31085b4c938d5c9167324604e48 |
01-Jun-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Removed unused service declaration from core tests. bug:4513413 Change-Id: I722655a0840762a90e581e57b7890ccc52174a0c
ndroidManifest.xml
|
c05aace48af1104dd917e8b5ad2dd76a02645ada |
28-May-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix default for getAbsoluteGravity() - remove LEFT as default, keep it as it is given (because apply() is doing CENTER_HORIZONTAL) - update unit tests Change-Id: I294621c5d5c7d675a715c15cb10947d026539b21
rc/android/view/GravityTest.java
|
5ff0f99b23da389f59fe736c4c670c60f13be8ea |
27-May-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add support for Gravity BEFORE and AFTER"
|
6a03640539405afbdefe72894759281b98aa6e6f |
23-May-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add support for Gravity BEFORE and AFTER - update layouts - add Callback2 for RTL aware Drawable - add unit tests Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
rc/android/view/GravityTest.java
|
a7284f0e72745d66155e1e282fc07113332790fa |
27-May-2011 |
Brian Carlstrom <bdc@google.com> |
Tracking merge of dalvik-dev to master Adapt to change in the way MockWebServer sets up CONNECT proxies. git cherry-pick --no-commit c7e2feee5e7908a019a0de91123c1feb9bdc38bc React to move of Base64 in libcore git cherry-pick --no-commit 119f7ebdd1f8df3a8ff8e3b8056bff725d569253 Expose and document android.net.HttpResponseCache. git cherry-pick --no-commit 7b73f0fdb8c032a65c55610541d66385bd8bcbe6) make update-api Change-Id: Ieb48b304ea38ee8c2ec01e860d99b1404583889e
rc/android/net/http/AbstractProxyTest.java
rc/android/net/http/HttpResponseCacheTest.java
|
eedcb9525ba5befee2ba6ebb7a9ee3f13395c2a3 |
17-May-2011 |
Jeff Sharkey <jsharkey@android.com> |
APIs to profile network usage for current UID. Added startDataProfiling() and stopDataProfiling() to TrafficStats, which can be used by apps to measure network usage delta between two points in time. Currently takes two NetworkStats snapshots and returns delta, which will eventually include tag-level granularity. Added tests for NetworkStats delta subtraction. Added NMS.getNetworkStatsUidDetail() that returns stats for specific UID. Always gives stats access for the calling UID, otherwise enforces that caller has permission. Fix readSingleLongFromFile(), since /proc/ files don't have well-defined lengths. Change-Id: Ic5b6414d8effbd66846e275b00d4b8a82c74589d
rc/android/net/NetworkStatsTest.java
|
c6cc0f8c19d9eccf408a443fa2bf668af261dcd0 |
12-Apr-2011 |
Joe Onorato <joeo@google.com> |
Rename ViewRoot to ViewAncestor. ViewRoot is about to be a new public class for poking at ViewAncestor. Change-Id: Ie95d707c6d8bbb48f78d093d7b2667851812a7d5
rc/android/widget/focus/RequestFocusTest.java
rc/android/widget/listview/ListViewHeight.java
|
a8e0dfae06298b375637813a3263a62749dd0b82 |
02-May-2011 |
Robert Greenwalt <rgreenwalt@google.com> |
resolved conflicts for merge of db46fa25 to master Change-Id: I8df9d5d07588fbd70e417dae567be26f645b74b6
|
db46fa25be0a3e8040b118f688b69dd526aed86d |
02-May-2011 |
Robert Greenwalt <rgreenwalt@google.com> |
am a47c4019: Merge "Add RouteInfo objects for tracking routes." into honeycomb-LTE * commit 'a47c40193fcbe9ca07facea78b2828afdae5e025': Add RouteInfo objects for tracking routes.
|
aa70f101e08098ed9cb190abe2d7f952561026b8 |
28-Apr-2011 |
Robert Greenwalt <rgreenwalt@google.com> |
Add RouteInfo objects for tracking routes. Used to have list of gateways for default routes, but general static routes should be supported. Change-Id: I01730142c6139f2b833b9d48f5381d2d320b69f6
rc/android/net/LinkPropertiesTest.java
|
e8141854dcedb9f8487efe1a1237793e8f004f93 |
02-May-2011 |
Conley Owens <cco3@android.com> |
am dddaa56f: Merge commit \'b737647d\' (Scrolling using arrow keys with padding) into m * commit 'dddaa56f793ad9ecb4e20df746f562ac7f24d158': Scolling using arrow keys with padding
|
f4c4a276e2a78528d2387319313e99c559142cf9 |
02-May-2011 |
Conley Owens <cco3@android.com> |
Merge commit 'f395e304' into m Conflicts: core/tests/coretests/src/android/text/TextUtilsTest.java Change-Id: I7439f7f80cf91ff654c0ddd79c3e6b3808ba4784
|
dddaa56f793ad9ecb4e20df746f562ac7f24d158 |
30-Apr-2011 |
Conley Owens <cco3@android.com> |
Merge commit 'b737647d' (Scrolling using arrow keys with padding) into m Conflicts: core/java/android/widget/ScrollView.java Change-Id: I1cfd3f7091e92793ce9fa048a09ae08a04c10c80
|
f395e3042accd7f3f5df466dbb532befcd1db5d4 |
30-Apr-2011 |
Conley Owens <cco3@android.com> |
am 19653c64: am 425db473: Merge "CHAR_SEQUENCE_CREATOR cannot handle null string" * commit '19653c6440eaf7328ecbc01c3ca6d7a910906484': CHAR_SEQUENCE_CREATOR cannot handle null string
|
76616b138eb68a77a838a93fdf2f0322e982f706 |
29-Apr-2011 |
Conley Owens <cco3@android.com> |
Merge "Scolling using arrow keys with padding"
|
425db473a05e4204301bf46d4ab6f51b12d9c447 |
29-Apr-2011 |
Conley Owens <cco3@android.com> |
Merge "CHAR_SEQUENCE_CREATOR cannot handle null string"
|
d21e7b5d542cc9e93526182272c2bdc995c816fb |
28-Apr-2011 |
Conley Owens <cco3@android.com> |
am c4791bd6: Merge commit \'5e3562a5\' into m * commit 'c4791bd65cdf2e487c87da0d863140337e5141cb': onDetachedFromWindow is called before onAttachedToWindow
|
c4791bd65cdf2e487c87da0d863140337e5141cb |
28-Apr-2011 |
Conley Owens <cco3@android.com> |
Merge commit '5e3562a5' into m Conflicts: core/java/android/view/ViewRoot.java Change-Id: Idd1eb8309e169eae2de3838f7969606df8097b87
|
696cba573e651b0e4f18a4718627c8ccecb3bda0 |
29-Mar-2011 |
Adam Powell <adamp@google.com> |
Refactor menu internals. In the old world, MenuBuilder and MenuItemImpl were responsible for generating views for any presentation of a menu. MenuBuilder needed to know any types and resources involved, and the implied caching semantics did not work well for menus presented within AdapterViews. In the new world, the MenuPresenter interface takes over the responsibility of generating views or adapters for menu items. MenuBuilder/MenuItemImpl still provide extra metadata tracking used by these presenters. Mutiple presenters may be active for a single menu at a time. All of this remains internal framework implementation details. BaseMenuPresenter provides a simple base for presenters that treats the host MenuView more like an AdapterView. This allows for less rebuilding of views when items are added/removed. Callbacks have been restructured. Calls that relate to the menu itself are still handled by MenuBuilder.Callback, but calls related to a specific presentation of a menu are handled by MenuPresenter.Callback objects attached to a MenuPresenter. Also add API to programmatically set divider options for LinearLayout and hidden API so that ActionBarView can have finer-grained control over divider placement. Change-Id: I2265b86a084279822908021aec20dfbadc1bb56b
rc/android/view/menu/MenuLayoutLandscapeTest.java
rc/android/view/menu/MenuLayoutPortraitTest.java
rc/android/view/menu/MenuScenario.java
rc/android/view/menu/MenuWith1ItemTest.java
|
343c1ad7200619230a55caa6aa8a9d041e62b29d |
19-Apr-2011 |
Wink Saville <wink@google.com> |
am 37677849: am 64c42cae: Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State. * commit '37677849998e6c9a39afe0a730b2f0131a371f3b': Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.
|
37677849998e6c9a39afe0a730b2f0131a371f3b |
19-Apr-2011 |
Wink Saville <wink@google.com> |
am 64c42cae: Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State. * commit '64c42cae4482fe0157e977b8ddd0f2c2436b3f31': Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State.
|
64c42cae4482fe0157e977b8ddd0f2c2436b3f31 |
18-Apr-2011 |
Wink Saville <wink@google.com> |
Rename HierarchicalStateMachine and HierarchicalState to StateMachine and State. Change-Id: Ib4b33894da75f5f156066092fb145b478e52f7d7
rc/com/android/internal/util/HierarchicalStateMachineTest.java
rc/com/android/internal/util/StateMachineTest.java
|
505bd0d60d26811ac1e61d2c39a2d5a995d2254d |
13-Apr-2011 |
Martin Wallgren <martin.wallgren@sonyericsson.com> |
onDetachedFromWindow is called before onAttachedToWindow Multiple threads are adding messages about the current state of the views to the main looper. This can cause onDetachedFromWindow to be posted on the looper before onAttachedToWindow. This change will make sure to only dispatch onDetachedFromWindow if we have previously dispatched onAttachToWindow. Change-Id: Ibc7cbcafb098bc000d2ef5480d2110d3fff4d55a
ndroidManifest.xml
es/layout/attach_view_test.xml
rc/android/view/ViewAttachTest.java
rc/android/view/ViewAttachTestActivity.java
rc/android/view/ViewAttachView.java
|
37e344cbe277e8f4da944c19cffaf34f38f6396e |
11-Apr-2011 |
Wink Saville <wink@google.com> |
am 1b00dc66: am 3156a8c1: Merge "Move ProcessedMessage into HierarchicalStateMachine." into honeycomb-LTE * commit '1b00dc66d4b61b9a2bf44f76a9d3f54be91a2dbf': Move ProcessedMessage into HierarchicalStateMachine.
|
1b00dc66d4b61b9a2bf44f76a9d3f54be91a2dbf |
11-Apr-2011 |
Wink Saville <wink@google.com> |
am 3156a8c1: Merge "Move ProcessedMessage into HierarchicalStateMachine." into honeycomb-LTE * commit '3156a8c1694756dfa74c3918867f528bcf916e28': Move ProcessedMessage into HierarchicalStateMachine.
|
d3059487abd526b91b912f70939c1c6994eecf52 |
11-Apr-2011 |
Wink Saville <wink@google.com> |
Move ProcessedMessage into HierarchicalStateMachine. ProcessedMessage is really private to HSM and so moving it into the HSM class. Change-Id: Ida476fc7aae5e9bfb6ac632dac979e11f489b6fc
rc/com/android/internal/util/HierarchicalStateMachineTest.java
|
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 |
07-Apr-2011 |
Joe Onorato <joeo@google.com> |
Remove the deprecated things from Config.java. These haven't been working since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
rc/android/app/activity/LocalProvider.java
|
52c858f5f01d99b34131612a645790492bf6d5e9 |
07-Apr-2011 |
John Wang <johnwang@google.com> |
am c343c183: am 5d6f1167: Merge "Make LinkProperties comparable." into honeycomb-LTE * commit 'c343c18376b8fd7d27a07adc5bb617d0260a8cdc': Make LinkProperties comparable.
|
c343c18376b8fd7d27a07adc5bb617d0260a8cdc |
07-Apr-2011 |
John Wang <johnwang@google.com> |
am 5d6f1167: Merge "Make LinkProperties comparable." into honeycomb-LTE * commit '5d6f1167039e22889545212ce18192460f9b503e': Make LinkProperties comparable.
|
4e900091c4da26eb1c9f0d232ee0e50f4522cc69 |
04-Apr-2011 |
John Wang <johnwang@google.com> |
Make LinkProperties comparable. Add equals() and hashcode() to LinkProperties and related fields. Bug:3501569 Change-Id: Ifa737a67c16867ac43cf76bf618a483e612a189e
rc/android/net/LinkPropertiesTest.java
|
5435a06010fb50dd8b495df6b7f21f15d82a2c0a |
07-Apr-2011 |
Mattias Petersson <mattias.petersson@sonyericsson.com> |
Scolling using arrow keys with padding It was impossible to reach the end of a large test when scrolling down using the arrowkeys when the ScrollView had padding. A common example of this would be an AlertDialog with a text that is too long to fit on the screen. Change-Id: I55464290a0cdeabde83ccccc76fe8d015ae57a8d
ndroidManifest.xml
rc/android/util/ScrollViewScenario.java
rc/android/widget/scroll/arrowscroll/MultiPageTextWithPadding.java
rc/android/widget/scroll/arrowscroll/MultiPageTextWithPaddingTest.java
|
cee2051adac53a85653ba8ead3a671c0978af43b |
07-Apr-2011 |
Martin Wallgren <martin.wallgren@sonyericsson.com> |
CHAR_SEQUENCE_CREATOR cannot handle null string TextUtils.writeToParcel can handle null as input CharSequence but createFromParcel will throw NullPointerException. Transforming to and from parcel should handle null in the same way. Change-Id: I707ea9be2091d2655c5f63eaa57c5674befa5ad3
rc/android/text/TextUtilsTest.java
|
bc20ac85a56dec157226a2aa4239190d5714366d |
05-Apr-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am e511fb33: am 9b1b6439: am 2ed72048: Merge "Always return a valid index from Rfc822Tokenizer.findTokenEnd()" * commit 'e511fb33d33f0ba83ce437f615fa236f369b5ade': Always return a valid index from Rfc822Tokenizer.findTokenEnd()
|
37334c0f34ef40735b9f44918b53c1469ceae2cc |
05-Apr-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am 8f7aad14: am f7a34b15: am e558a000: Merge "Avoid crash in system server when mounting container" * commit '8f7aad147d790b25bae7301827e070df72690341': Avoid crash in system server when mounting container
|
e511fb33d33f0ba83ce437f615fa236f369b5ade |
05-Apr-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am 9b1b6439: am 2ed72048: Merge "Always return a valid index from Rfc822Tokenizer.findTokenEnd()" * commit '9b1b64399502af0a08beac3014f2294644753602': Always return a valid index from Rfc822Tokenizer.findTokenEnd()
|
8f7aad147d790b25bae7301827e070df72690341 |
05-Apr-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am f7a34b15: am e558a000: Merge "Avoid crash in system server when mounting container" * commit 'f7a34b15986f8c00bc6fb941a40f9acbe2c21aff': Avoid crash in system server when mounting container
|
2ed72048828cf9f617da971e5d2b8a062de08e5b |
04-Apr-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
Merge "Always return a valid index from Rfc822Tokenizer.findTokenEnd()"
|
114f98a75334813fe116da3d95567db8984d45b9 |
18-Jan-2011 |
Mattias Niklewski <mattias.niklewski@sonyericsson.com> |
Always return a valid index from Rfc822Tokenizer.findTokenEnd() If an invalid input string ends with a backslash inside a comment or quoted string, the returned index would be past the end of the string. In one case this would lead to a runtime exception being thrown from MultiAutoCompleteTextView.performValidation. Change-Id: If629372b429716c25cdc25764f088e95d4812d57
rc/android/text/TextUtilsTest.java
|
a20c8ef471666cf8b0dca91a8739ff18af1741a5 |
09-Feb-2011 |
Fredrik Helmer <fredrik.helmer@sonyericsson.com> |
Avoid crash in system server when mounting container A race condition when mounting a container in PackageHelper may cause the system_server to crash (uncaught exception). Calling methods are prepared to handle null, so return null instead. Change-Id: I852ee21a2d847e37d81c1b900c27ddf94ef24fcb
rc/android/content/pm/PackageHelperTests.java
|
08065b9f09ead8895d97b2971622af8c179e1768 |
02-Apr-2011 |
Brian Carlstrom <bdc@google.com> |
Tracking merge of dalvik-dev to master git cherry-pick --no-commit a80febd83c8bf0b6717da2a7136179bdc906a5b7 git cherry-pick --no-commit 5e642b41cf44c5da7afdd95ab3d5e2bdbf7b31dd git cherry-pick --no-commit 4886db14c9eee4b6fee69bd54c57c5af04709c4c git cherry-pick --no-commit 560c685e448769904047507b9484ce8111967d7e git cherry-pick --no-commit 63dde7a2fcfa53dc531558635b64cea613d3cdb4 git cherry-pick --no-commit 74e5cb91060a379d98dd3a333b5f231bfb4f502e git cherry-pick --no-commit 1cc8c9708b555e2e338b7798d38887a2fefcfea6 git cherry-pick --no-commit 09625a21f5abe0c0db15757f58585d552d62c3d7 git cherry-pick --no-commit fcb02dfe0f5a2bb7c07e6d6fc69f756a484b5458 git cherry-pick --no-commit a68cb7fa3ab42854768b8145ff85231663770292 git cherry-pick --no-commit 716beb1c131dd2c6b805d4f681debaa20075010c git cherry-pick --no-commit 8c29b1097a7afe3a77e27546a56e396f3620a4ec git cherry-pick --no-commit 9c6a1a55d1c8086c1cc57464eea43725694ff70c git cherry-pick --no-commit b14f5ea5c57acdd009ba5b51f1bbe430f3d353b8 Change-Id: I8cc94175441b009e23549762d6baee1dbace4881
ndroid.mk
|
112d339673c379b71a989bd33b73648aafe58ce1 |
25-Mar-2011 |
Jesse Wilson <jessewilson@google.com> |
Fix MemoryFile's output stream to advance. Previously it was not useful. Change-Id: I0bcc06b65bab33a38a0b0148c020509076a51b1c http://code.google.com/p/android/issues/detail?id=11415
rc/android/os/MemoryFileTest.java
|
94d76925c285b8788bdc31ca5a667a32c245ca78 |
23-Mar-2011 |
Eric Rowe <erowe@google.com> |
am 2f97217b: am 22e21da6: am 5e66ccf5: Merge "Clean up BT stress tests." into honeycomb-mr1 * commit '2f97217bfca0e89b88498c44a8f0f5ad35091b0a': Clean up BT stress tests.
|
cc1eaf6f7b81eaae21c01cbf4cf6f27dc3970774 |
15-Mar-2011 |
Vasu Nori <vnori@google.com> |
bug:4090903 allow bindargs on attach database statement code incorrectly assumed that certain statements (like ATTACH DATABASE) will never have bindargs. Change-Id: I62eddbdf8e15947e8debf5052c7248113a3b9b57
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
2b1fb45fabcb6f6e6edfd1a7a8e394928a27afe8 |
01-Mar-2011 |
Eric Rowe <erowe@google.com> |
Clean up BT stress tests. Make ConnectPanReceiver a child of ConnectProfileReceiver, check if a profile proxy is null before trying to connect. Change log output in bluetooth. Remove some oververbose parameters from test runner. Make the setup for the tests more consistent (delete pairings, etc). Most of this work has been done to facilitate the tests created for trade federation. Change-Id: I7350d308b5d09c2052e0a3f3308a69c564ba4d74
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestRunner.java
rc/android/bluetooth/BluetoothTestUtils.java
|
1e3ac18e7ad03e02819f3e1a89d6a80a2bb7645f |
08-Mar-2011 |
Gilles Debunne <debunne@google.com> |
Empty spans are not considered in text layout/rendering process. Bug http://code.google.com/p/android/issues/detail?id=14786 Empty spans are affecting the text before and after them. See the comment in TextUtils.removeEmptySpans for details. Change-Id: I40376c32fd56a17efde6219f9b2593e4b4ab1ba1
rc/android/text/TextUtilsTest.java
|
dfed7c006a2f1c36c45043da7264c0a8a8f12bbf |
26-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Remove deprecated and unused entryEvicted method. Change-Id: I30ccf3d798a3ebfc88a1b340efaaacf524d56fae http://b/3461302
rc/android/util/LruCacheTest.java
|
27f4bd7a474c2b57be21b82b13b89473278f1272 |
07-Mar-2011 |
Jesse Wilson <jessewilson@google.com> |
Merge "Remove deprecated and unused entryEvicted method."
|
3dee21eb0f253a7e78572872b8dfc7b5d990a063 |
02-Mar-2011 |
Kenny Root <kroot@google.com> |
Merge "Switch to returnCode for IPackageDeleteObserver"
|
f9f240e3ad5ff5eeaa32fbb2dd65ef7f3b06af32 |
25-Feb-2011 |
Fred Quintana <fredq@google.com> |
Fix a deadlock in AccountManagerService cause by different paths of code getting the mCacheLock and DB locks in different orders. The philosophy I followed for this was to ensure that the DatabaseHelper is only ever accessed from within a synchronized(mCacheLock) block. I also renamed a bunch of methods to make it easier to know if a given method should be called from within this synchronized block. Bug: 3404506 Change-Id: Ia48f95e77b77647d0717f70f1d8364da3719cc13
rc/android/accounts/AccountManagerServiceTest.java
|
c39bb4aaa7be1b9b0cc9fb0b1f03d54f7609ffeb |
28-Feb-2011 |
Kenny Root <kroot@google.com> |
Switch to returnCode for IPackageDeleteObserver Before the IPackageDeleteObserver only knew whether the deletion succeeded or failed, but not the reason why. Bug: 2520191 Change-Id: I1f0d7c04f06c539660b6e17e7e133defb0f61b5b
rc/android/content/pm/PackageManagerTests.java
|
835d8ee61ecddcd3fdc0aadf500d05b914ca375f |
01-Mar-2011 |
Eric Rowe <erowe@google.com> |
Add test cases for AudioManager SCO methods. Add test cases for AudioManager.startBluetoothSco() and AudioManager.stopBluetoothSco() Bug: http://b/3292864 Change-Id: I743c8d732270262fbaaff79a53d43cedcd5de528
ndroidManifest.xml
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestRunner.java
rc/android/bluetooth/BluetoothTestUtils.java
|
c4e6209c5294da5cbca75eafd0ba5d4c3ed9a5b1 |
26-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Remove deprecated and unused entryEvicted method. Change-Id: Id2ac0913968099eb0c8dfa762b87082ba6bd9cd9 http://b/3461302
rc/android/util/LruCacheTest.java
|
7db1b40a03ff04ac8b49b3b53839b3c5d1c6f16a |
26-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Callback on any removal, not just evictions. Don't hold locks while running create or remove callbacks. That gets a bit ugly because it means a create could be unwanted by the time it returns. Change-Id: I14b2b3ed41a446750f8ee5a7e35cb8d801c4ce6d http://b/3461302
rc/android/util/LruCacheTest.java
|
74ef1199459629c5dd9f272f8cd706d82cdfeeb1 |
23-Feb-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Make BluetoothPan inherit from BluetoothProfile. Change-Id: Ibd3e24e391be93ebe2cf975bd075efb68e10c1ff
rc/android/bluetooth/BluetoothTestUtils.java
|
4ab0e7746fe74a9e4d75d374f73b7af87420b2f6 |
18-Feb-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Make BluetoothInputDevice inherit from BluetoothProfile. This makes it in sync with BluetoothHeadset and BluetoothA2dp profiles. Change-Id: I3ddb1d18b04aacb173b7bc376bca21c277a6afe4
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestUtils.java
|
12669b6c8073defcfae369e9f7b6f879b1ac218e |
18-Feb-2011 |
Vasu Nori <vnori@google.com> |
bring back sqlite WAL tests now that the feature is in. Change-Id: I92103915845b7cf3f41f95e909051b6669c63ec4
rc/android/database/sqlite/SQLiteCursorTest.java
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
62bf34c6e28f7098ab4091786a0e6b64950d22fe |
14-Feb-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "Accessibility events generated by WebView contain non well formed markup."
|
2cfed9eb0e1316f9906eacf25b51231c1ed8b331 |
11-Feb-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Accessibility events generated by WebView contain non well formed markup. bug:3444147 1. Now that the spans with CSS data are included in the accessibility events, such that a client can parse them, the tests are doing so. Change-Id: I574c68d27a95cd8226dd7634b00a7d404ae387fe
rc/android/webkit/AccessibilityInjectorTest.java
|
56b6ad3e28f9f86fb3186c96ddd8754e190afdf0 |
11-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Add a new method, LruCache.remove Change-Id: Iae78a2ed4d719d4f14a4677ecb6fe5bc823bb660 http://b/3184897
rc/android/util/LruCacheTest.java
|
e7dea4ec2479002f5ee15bc6fc98d8c8acd123a6 |
10-Feb-2011 |
Vasu Nori <vnori@google.com> |
bug:3443154 fix database tests after disabling sqlite wal sqlite wal is disabled in Change-Id: I283ad26ba7e1793772a372aa8e24df0cb96ce2ef Change-Id: I2b370c65390a9293e4a82f650c9cee8023b861d7
rc/android/database/DatabaseErrorHandlerTest.java
rc/android/database/sqlite/SQLiteCursorTest.java
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
8bf7cace20c84506c7cf8db95a0f4e894dbc2fca |
06-Feb-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Added tests for WebView accessibility no JS bug:3421690 This change is related to change:Idfec7e6a 1. Added tests for cases in which the previous implementation was not behaving as expected. 2. Refatered the tests to be intrumentation tests since the code under tests uses the DOM element dimensions to determine visibility and if the the WebView has no size i.e. not attached to ViewRoot the size of all DOM elements is zero forcing all tests to fail. Change-Id: Ib4c01af8feb09f2b2a6b9d906e08bfaaa9e9bc74
ndroidManifest.xml
es/layout/accessibility_injector_test.xml
rc/android/webkit/AccessibilityInjectorTest.java
rc/android/webkit/AccessibilityInjectorTestActivity.java
|
e2c1f4a0ee026e7a2a15d198dc3be4529896e9f6 |
07-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
New LRU cache class. Change-Id: I0e6ea1e489c684b876aebd5857c6f16a21048a8d http://b/3184897
rc/android/util/LruCacheTest.java
|
db569b49180621c01fa55db88ed92071aae9b3bb |
01-Feb-2011 |
Dianne Hackborn <hackbod@google.com> |
am 6cf32312: Merge "Do not check features in PackageManagerService" into honeycomb * commit '6cf32312aaee6716ffd1df7098838b08d80054e4': Do not check features in PackageManagerService
|
b04ec6a8a7e6a684eb4b8d434c87b76bbac9c80c |
01-Feb-2011 |
Dianne Hackborn <hackbod@google.com> |
am 7a7ed2b2: Merge "Do not check features in PackageManagerService DO NOT MERGE" into gingerbread * commit '7a7ed2b21233480d63a1f6b3830e3b0c1c6a3298': Do not check features in PackageManagerService DO NOT MERGE
|
4c3915a0f73e51d0c70d93fe5b9ed125d5739b93 |
01-Feb-2011 |
Kenny Root <kroot@google.com> |
Do not check features in PackageManagerService PackageManagerService shouldn't check features that a package declares that it uses because this will cause problems in the future when we add more features that older phones didn't explicitly declare. We must rely on markets to know about phones and filter them for us to avoid this situation. Bug: 3409434 Change-Id: I419a5b936be3572b83a485081a6c81b2f1c8741c
es/raw/install_uses_feature
rc/android/content/pm/PackageManagerTests.java
|
fa2ae1ad1ad2f6c905a9de713038338a24d9ae7c |
01-Feb-2011 |
Kenny Root <kroot@google.com> |
Do not check features in PackageManagerService DO NOT MERGE PackageManagerService shouldn't check features that a package declares that it uses because this will cause problems in the future when we add more features that older phones didn't explicitly declare. We must rely on markets to know about phones and filter them for us to avoid this situation. Bug: 3409434 Change-Id: I0d51b2de33d8110edc6824af4b5b8c901f96077f
pks/install_uses_feature/Android.mk
pks/install_uses_feature/AndroidManifest.xml
pks/install_uses_feature/res/values/strings.xml
es/raw/install_uses_feature
rc/android/content/pm/PackageManagerTests.java
|
242fa0eb73d555eb025c39cf212030f00cb53cb4 |
28-Jan-2011 |
Vasu Nori <vnori@google.com> |
am ce3b35a7: Merge "bug:3398527 return List insttead of ArrayList from public API" into honeycomb * commit 'ce3b35a7b0b80061692d9fa1977cee68b365728c': bug:3398527 return List insttead of ArrayList from public API
|
ce3b35a7b0b80061692d9fa1977cee68b365728c |
27-Jan-2011 |
Vasu Nori <vnori@google.com> |
Merge "bug:3398527 return List insttead of ArrayList from public API" into honeycomb
|
a017edace756956cd4b4789a85316e3681d04a7e |
27-Jan-2011 |
Vasu Nori <vnori@google.com> |
bug:3398527 return List insttead of ArrayList from public API Change-Id: Idbdcb59fe860a9168c9ef6c00eb128b05fce84ff
rc/android/database/DatabaseGeneralTest.java
|
54fc78072fec46933ca5ee96c7642bd4b9fc540f |
26-Jan-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
am df467264: Merge "Final polish of WebView accessibility support for no JavaScript case." into honeycomb * commit 'df4672643b92208b4ab7f9ab995dca8b69d3c458': Final polish of WebView accessibility support for no JavaScript case.
|
9504f5753db3309b67e74ccecb400a18d23ca2d1 |
14-Jan-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Final polish of WebView accessibility support for no JavaScript case. 1. Added tests for the new code added by change:I5a796aef 2. WebCore thread now calls the UI thread to set the cursor to the current position enabling the user to interact with the content that is being selected on the page. 3. Removed the code that changes the selection on movement of the cursor ring. We are dropping the "default web view behavior" as granularity of reading the document since with this change a user can freely access inputs/buttons/links. Change-Id: I7a3f6677eff0bc95e8127973d07cec78e3465c7b
rc/android/webkit/AccessibilityInjectorTest.java
|
85d5b532dd40e78844e5d9d3cce9e6583d352a1a |
19-Jan-2011 |
Eric Rowe <erowe@google.com> |
am f38bddbe: DO NOT MERGE Add connect HID/NAP BT stress test * commit 'f38bddbeb42988c7960e20585aeee9ae64f4b985': DO NOT MERGE Add connect HID/NAP BT stress test
|
993add8297bb5eec254180055cc4824bbfadd18c |
19-Jan-2011 |
Eric Rowe <erowe@google.com> |
am a0d4d80f: DO NOT MERGE Cleaned up BT test utils * commit 'a0d4d80fd2feaa04cb5f5242acd159cd783b25d4': DO NOT MERGE Cleaned up BT test utils
|
f38bddbeb42988c7960e20585aeee9ae64f4b985 |
08-Dec-2010 |
Eric Rowe <erowe@google.com> |
DO NOT MERGE Add connect HID/NAP BT stress test Change-Id: I1d8cd5cb45583d1c4c5e94e72abbd8a9f04f53cf
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestRunner.java
rc/android/bluetooth/BluetoothTestUtils.java
|
a0d4d80fd2feaa04cb5f5242acd159cd783b25d4 |
04-Dec-2010 |
Eric Rowe <erowe@google.com> |
DO NOT MERGE Cleaned up BT test utils Change-Id: I905a468a04b5730258a9e6525165e4c4013d30c8
rc/android/bluetooth/BluetoothTestUtils.java
|
a33dd09b5cc62b50afc3a15cd8b67b5344756f1e |
17-Jan-2011 |
Kenny Root <kroot@google.com> |
am d6c54d97: Merge "Revert "Add the {get,set}PackageObbPaths calls to API"" into honeycomb * commit 'd6c54d97867edd566700c535f3edf57dd4396350': Revert "Add the {get,set}PackageObbPaths calls to API"
|
a1cbb94dbc9a82d4eb3a47242fe161af21803858 |
17-Jan-2011 |
Kenny Root <kroot@google.com> |
Revert "Add the {get,set}PackageObbPaths calls to API" This reverts commit 5d40fe9c6846ba765072e50ed1254293cb9195e4. Change-Id: Ie41010c92fb860b19a12bcf63f6fe95ffa68da81
rc/android/content/pm/PackageManagerTests.java
|
e26aa3f78a33af5720e141e98a1ab0c77ef0456d |
17-Jan-2011 |
Kenny Root <kroot@google.com> |
am 34d2b41e: Revert "Add the {get,set}PackageObbPaths calls to API" * commit '34d2b41e48281d1df2c844e004740f008e699093': Revert "Add the {get,set}PackageObbPaths calls to API"
|
34d2b41e48281d1df2c844e004740f008e699093 |
17-Jan-2011 |
Kenny Root <kroot@google.com> |
Revert "Add the {get,set}PackageObbPaths calls to API" This reverts commit 6c4d904851772313930f800ac7c323cf90c709bb. Going with a different tactic that doesn't dump stuff on PackageManagerService. Bug: 3214719 Change-Id: I0bbeccf3c21d264deda4256eb53713d2c98284f4
rc/android/content/pm/PackageManagerTests.java
|
d9fa11b446da5dbc92776518c20bab1f04e55537 |
14-Jan-2011 |
Kenny Root <kroot@google.com> |
am 312206b9: Merge "Add the {get,set}PackageObbPaths calls to API" into honeycomb * commit '312206b98749bbe395416634e6e82bd242b1d5f2': Add the {get,set}PackageObbPaths calls to API
|
5d40fe9c6846ba765072e50ed1254293cb9195e4 |
14-Jan-2011 |
Kenny Root <kroot@google.com> |
Add the {get,set}PackageObbPaths calls to API Add getPackageObbPaths() and setPackageObbPaths() to the public API. Bug: 3214719 Change-Id: I8627b5f674a795d5780eb5c08911419110670a41
rc/android/content/pm/PackageManagerTests.java
|
575fbf612a69715025de1fd543aa5b2aaa2d5ec4 |
13-Jan-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
am 06e32b43: Merge "Updating the WebView accessibility key bindings after discussion with the access-eng team" into honeycomb * commit '06e32b434b62b22eeee900851ff56f2098ddc019': Updating the WebView accessibility key bindings after discussion with the access-eng team
|
bfc3ce78f4b9b4a720e48b3cc276e81a3fa8cfb2 |
13-Jan-2011 |
Svetoslav Ganov <svetoslavganov@google.com> |
Updating the WebView accessibility key bindings after discussion with the access-eng team Change-Id: I39a303864b94a8a11b6cded9b8bb23041ad91502
rc/android/webkit/AccessibilityInjectorTest.java
|
470750793b6e930a323ee63cbed05c43dc435ba1 |
13-Jan-2011 |
Kenny Root <kroot@google.com> |
am e8c04db7: Merge "Add the {get,set}PackageObbPaths calls to API" into gingerbread * commit 'e8c04db71e347396e9537ead7113ba9f46706e44': Add the {get,set}PackageObbPaths calls to API
|
c31e095e2b3b6966f97766a7deee44fe0b92f96b |
13-Jan-2011 |
Kenny Root <kroot@google.com> |
am e7b2310a: Merge "Make sure AppCacheTest casts to long" into honeycomb * commit 'e7b2310a856889aa1e683104039033ada3f6b696': Make sure AppCacheTest casts to long
|
6c46760b723cf010a456f71b5d3013bff60f33d8 |
12-Jan-2011 |
Kenny Root <kroot@google.com> |
Make sure AppCacheTest casts to long AppCacheTest was multiplying two integers that were too large for devices that had more free space than 32-bits could represent. Hopefully no one releases devices with 1TB soon. The testAppCacheClear test doesn't work currently because it has an "imax" attribute that doesn't allow the disk to be filled up entirely. It only writes a couple hundred MB before it gives up. Bug: 3216419 Change-Id: Ie371f42211bab65f2c767b36d9837ce76922501e
rc/android/content/pm/AppCacheTest.java
|
aee96e9773c0bddc64f80c4d9ebc0b132726ea1d |
12-Jan-2011 |
Kenny Root <kroot@google.com> |
am 5e9ba49f: Merge "Skip SD card tests on devices without SD cards" into honeycomb * commit '5e9ba49f5efed4f0adc7ffcf5052668cdfd92a25': Skip SD card tests on devices without SD cards
|
3c6768958433a7a1f1724ab97481b2c8affcfba1 |
12-Jan-2011 |
Kenny Root <kroot@google.com> |
Skip SD card tests on devices without SD cards Tests were giving false failures when they should instead be skipped. Forcing an install to an SD card on a device without one shouldn't count as a failure. It's expected behavior. Bug: 3216422 Change-Id: Ia523861d1331e74c76b434f7ba73b642d474a9cc
rc/android/content/pm/PackageManagerTests.java
|
43194ce05eef26665572fb248a108fd24d247a8f |
12-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am 52d70722: am cb842753: Merge "Closing cursor in finalizer to avoid GREF and fd leak in acore" * commit '52d70722654548d156bd7a1cb8c1f05b94b09f06': Closing cursor in finalizer to avoid GREF and fd leak in acore
|
eb97c0ddc063176c26065fc6855188edf0c16e03 |
10-Jan-2011 |
Jesse Wilson <jessewilson@google.com> |
Patch new JSON APIs with changes informed by GSON. Change-Id: I86c12a123080cc06ab23d11d1563bb52c5902517
rc/android/util/JsonReaderTest.java
rc/android/util/JsonWriterTest.java
|
52d70722654548d156bd7a1cb8c1f05b94b09f06 |
10-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am cb842753: Merge "Closing cursor in finalizer to avoid GREF and fd leak in acore" * commit 'cb8427538dfdc5eae941e377b11bfd11a95fc5a5': Closing cursor in finalizer to avoid GREF and fd leak in acore
|
872a52c6b637faf75262b83fe68ff4e0d9fe044c |
20-Dec-2010 |
Johannes Carlsson <johannes.carlsson.x@sonyericsson.com> |
Closing cursor in finalizer to avoid GREF and fd leak in acore The finalize() call did not clean up completely, this eventually caused the android.process.acore to crash since it ran out of fds and GREF to increased above 2000 if an application forgot to close its cursor objects. A warning was also added when this happens so that application developers can correct their mistake. The included test case tries to verify that the finalizer works as expected by creating a bunch of Cursor objects without closing them (without this fix the acore process crashes after about 400 iterations and the test case ends with "Process crashed"). Change-Id: I11e485cef1ac02e718b2742108aa88793666c31d
rc/android/content/ContentResolverTest.java
|
6c4d904851772313930f800ac7c323cf90c709bb |
19-Nov-2010 |
Kenny Root <kroot@google.com> |
Add the {get,set}PackageObbPaths calls to API Add getPackageObbPaths() and setPackageObbPaths() to the public API. Bug: 3214719 Change-Id: Icb9f2f92f8c59bb3d31317f609854e81abbd1449
rc/android/content/pm/PackageManagerTests.java
|
b0512c372587f366f0b0bd859b22a344a5d5a520 |
09-Jan-2011 |
Kenny Root <kroot@google.com> |
Merge "Fix check for required features" into honeycomb
|
1683afac148f5bce186f7af7a6a8ea6294ecd379 |
07-Jan-2011 |
Kenny Root <kroot@google.com> |
Fix check for required features The required features check was in an null check for usesLibraries, so it wasn't checking for required features when an application did not use a library. Bug: 3331713 Change-Id: I96d366ba00d4962b84f3796be97e2b622eb331a5
pks/install_uses_feature/Android.mk
pks/install_uses_feature/AndroidManifest.xml
pks/install_uses_feature/res/values/strings.xml
es/raw/install_uses_feature
rc/android/content/pm/PackageManagerTests.java
|
79ff914f2183a5f0a4121ef06112409e1c699ae7 |
07-Jan-2011 |
Gilles Debunne <debunne@google.com> |
Added support for Unicode surrogate characters in word selection Inspired by https://review.source.android.com/#change,16606 Change-Id: I896354f5aba83c1919c008f07b6d0b2abf0b8e01
rc/android/widget/TextViewWordLimitsTest.java
|
87380bcaebe63bdcd44828f137b2b2b0ba952f0a |
04-Jan-2011 |
Gilles Debunne <debunne@google.com> |
Added support for asian characters in text selection. Inspired by https://review.source.android.com/#change,16606 Test class has been revamped to mimic new behavior: selectCurrentWord is no longer used to add words to the dictionary. We rely on the suggestion bar in the IME for that. Change-Id: I1cb88df54dffb166c75f75fefb743ff55a33519b
rc/android/widget/TextViewWordLimitsTest.java
|
6141e13f6e84846ae531358a8bcbf6d2102b1bd4 |
24-Dec-2010 |
Vasu Nori <vnori@google.com> |
when cursorwindow allocation fails, print the number of cursors left open the reason for bug:3281533, bug:3127159 is probably too many cursors are left un-closed in the process. print the info on the number of cursors left open when the exception "cursorwindow allocation failed" occurs. This should help us figure out if that indeed is the reason and which process is leaving the cursors open. Change-Id: I4b46be63f5dfbe9b102ad7a9cf9dd21e70f71e14
rc/android/database/DatabaseCursorTest.java
|
2967aa3e6060f582f166cdb334a0fb9ff0cb4759 |
28-Dec-2010 |
Alon Albert <aalbert@google.com> |
am 672ebb61: Merge "Improved ignore-backoff handling Allow a non-epidited ignore-backoff op to pass through an expidited backed off op." into gingerbread * commit '672ebb61a755e4bbe60e4e884b1adadf186733b6': Improved ignore-backoff handling Allow a non-epidited ignore-backoff op to pass through an expidited backed off op.
|
672ebb61a755e4bbe60e4e884b1adadf186733b6 |
28-Dec-2010 |
Alon Albert <aalbert@google.com> |
Merge "Improved ignore-backoff handling Allow a non-epidited ignore-backoff op to pass through an expidited backed off op." into gingerbread
|
3079d44a9df72cacb675e0356e907f794671eb6a |
24-Dec-2010 |
Vasu Nori <vnori@google.com> |
Merge "fix all flaky tests to make them work consistently."
|
d41fe75f09fa09fc708d389572639511d745c20e |
22-Dec-2010 |
Alon Albert <aalbert@google.com> |
Improved ignore-backoff handling Allow a non-epidited ignore-backoff op to pass through an expidited backed off op. To do this, I first refactored the complicated if statement: if (best == null || ((bestSyncableIsUnknownAndNotARetry == syncableIsUnknownAndNotARetry) ? (best.expedited == op.expedited ? opRunTime < bestRunTime : op.expedited) : syncableIsUnknownAndNotARetry)) { best = op; bestSyncableIsUnknownAndNotARetry = syncableIsUnknownAndNotARetry; bestRunTime = opRunTime; } Into a more readable: boolean setBest = false; if (best == null) { setBest = true; } else if (bestSyncableIsUnknownAndNotARetry == syncableIsUnknownAndNotARetry) { if (best.expedited == op.expedited) { if (opRunTime < bestRunTime) { // if both have same level, earlier time wins setBest = true; } } else { if (op.expedited) { setBest = true; } } } else { if (syncableIsUnknownAndNotARetry) { setBest = true; } } if (setBest) { best = op; bestSyncableIsUnknownAndNotARetry = syncableIsUnknownAndNotARetry; bestRunTime = opRunTime; } The refactoring was all done automatically with IntelliJ to avoid human error in the conversion. After verifying this code still behaved as expected including the error condition in the bug, I added handling for the cases when a non-expidited op may override an expedited op if certain conditions occur, specificaly, if the expidited op is backed off and the non-expidited op is not. Finally, refactored to make it testable and added tests and logging. Bug: 3128963 Change-Id: I131cbcec6073ea5fe425f6b5aa88ca56c02b6598
rc/android/content/SyncQueueTest.java
|
6f35c0ecba6cb1ce5d7563a9962acf9557dbaced |
18-Dec-2010 |
Vasu Nori <vnori@google.com> |
fix all flaky tests to make them work consistently. Change-Id: I688f7e058511089bec7fa21e972e23780604d98a
rc/android/app/DownloadManagerBaseTest.java
rc/android/app/DownloadManagerFunctionalTest.java
rc/android/app/DownloadManagerStressTest.java
|
20c915d80356859d8716f014a7d4950f06c38cfc |
21-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
am 5261cea2: Merge "Fix issue #3224616: TimeUtils.formatDuration() can drop 0s." into gingerbread * commit '5261cea2e0cd61801e102114039a19ab449b53fe': Fix issue #3224616: TimeUtils.formatDuration() can drop 0s.
|
bd1c5da28dab9c3fb7e19bdadb22d7ad960fa3c3 |
21-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Remove unused performance tests. Change-Id: I5a252e314831716f99ce5fbb32d983c7473ee787
ndroidManifest.xml
|
f5f75104868ce699db458ce6360f3843371e594f |
23-Nov-2010 |
Bjorn Bringert <bringert@android.com> |
Fix issue #3224616: TimeUtils.formatDuration() can drop 0s. Integrated from master. Change-Id: Ie12dd25cce03c06fafb7df1335266322df43b038
rc/android/util/TimeUtilsTest.java
|
43c0db48d265a3d8f136d107e181e8c23455ec37 |
17-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Merge "Test that DefaultHttpClient responds gracefully when the server closes a socket. http://b/2612240"
|
0cb0d7a2d43874895e764fabed6a6692818dc89d |
17-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Test that DefaultHttpClient responds gracefully when the server closes a socket. http://b/2612240 Change-Id: Iafde060572f7865b72fc568b3b55578ed5dd9c94
rc/android/net/http/DefaultHttpClientTest.java
|
e8a56933de9fb9cddab9ae71a6a42fecdc15fb99 |
16-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Merge "New tests for AndroidHttpClient with a proxy server."
|
bf1df887d4b87f7da69cd4fe9306eb0d19166d52 |
16-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
New tests for AndroidHttpClient with a proxy server. Change-Id: I03ec2f1257824c8675156dd80f6045512d1a36fe http://b/3254717
rc/android/net/http/AbstractProxyTest.java
rc/android/net/http/AndroidHttpClientProxyTest.java
rc/android/net/http/DefaultHttpClientProxyTest.java
rc/android/net/http/ProxyTest.java
|
82e891b3259350a92b55969a6380ca1240ee0829 |
15-Dec-2010 |
Vasu Nori <vnori@google.com> |
fix downloadmanager tests. add few more. fix some. isolate flaky ones the following work frameworks/base/core/tests/coretests/src/android/app/DownloadManagerFunctionalTest.java ideally, most of the tests in this should be moved to cts testsuite. will require reformatting of comments and probably removal of one or two tests using hidden public API. packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/DownloadManagerFunctionalTest.java packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/PublicApiFunctionalTest.java packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ThreadingTest.java packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/PublicApiAccessTest.java packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/DownloadProviderPermissionsTest.java the following need work frameworks/base/core/tests/coretests/src/android/app/DownloadManagerStressTest.java some of these tests fail in a flaky way. they need work Change-Id: Ib64645005a8f5faa32e0b9a4c5cacfe6e6ae3063
ndroidManifest.xml
rc/android/app/DownloadManagerBaseTest.java
rc/android/app/DownloadManagerFunctionalTest.java
rc/android/app/DownloadManagerIntegrationTest.java
rc/android/app/DownloadManagerStressTest.java
|
0c4d04ac2e8aa62560d8d767fa1c87e5361b0b08 |
04-Nov-2010 |
Fred Quintana <fredq@google.com> |
allow sync adapter authors to control more policies - let the SyncManager know that the SyncAdapter can handle parallel syncs even within sync adapter types - allow indicating that the sync adapter should be auto initialized without requiring the sync adapter to run first. When this setting is used then setIsSyncable(1) is automatically called for the sync adapter. Change-Id: Ib40eba95c2556eaee4bb0fe715f379af1b72b84a
rc/android/content/SyncOperationTest.java
|
02b93914b47f3e5a47fbeddbec7ff151c7ee4f35 |
08-Dec-2010 |
Svetoslav Ganov <svetoslavganov@google.com> |
Merge "bug 3248277 android.webkit.AccessibilityInjectorTest tests are flaky on trygon"
|
f9dee3b1d314365cb2bb5c6574d287d6a7c3d241 |
08-Dec-2010 |
Eric Rowe <erowe@google.com> |
Merge "Allow extra flags to be fired in BT stress tests"
|
ea26a4feb6defa465ce13dc3e718f6e9f58269c4 |
07-Dec-2010 |
Svetoslav Ganov <svetoslavganov@google.com> |
bug 3248277 android.webkit.AccessibilityInjectorTest tests are flaky on trygon Change-Id: I06332bc6eafb692b9ec829a093d23eccde897a2a
rc/android/webkit/AccessibilityInjectorTest.java
|
ee3567558f594c9039a7605d88d5671bcf465488 |
07-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Merge "Test that we use proxies specified by system properties."
|
10733a71c5557861160292e07de011ea9a4db25c |
07-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Test that we use proxies specified by system properties. This tests that we use the properties and also that the precedence prefers client and request properties. Change-Id: I480dacaf373e3ddd7642d3c918fa50695b36cdba http://b/3254717
rc/android/net/http/HttpsThroughHttpProxyTest.java
rc/android/net/http/ProxyTest.java
|
56285a60e83138bb4b4f2d3bdec91b2f3ca11aa2 |
02-Dec-2010 |
Fred Quintana <fredq@google.com> |
add caching to the AccountManagerService - cache the accounts, userdata and authtokens - make the AccountManagerServiceTest work again - add a log statement for every binder call http://b/issue?id=3188457 Change-Id: I96b94b9b690cf391fe4341e2a72893a6d823777b
rc/android/accounts/AccountManagerServiceTest.java
|
5d0ed7b952667a1506585683c9eb5fe5ed7f0af2 |
22-Nov-2010 |
Eric Rowe <erowe@google.com> |
Allow extra flags to be fired in BT stress tests Change-Id: I69a7748a3cbbd5aa7d2e4e3d9201389d67180761
rc/android/bluetooth/BluetoothTestUtils.java
|
47413708eb42753d891882f488c2d6399b298169 |
01-Dec-2010 |
Jesse Wilson <jessewilson@google.com> |
Add a test to demonstrate parsing of trailing URI parameters. Change-Id: I1fde21381cf74b5e4847bb2c2a9ef52f8ac6a2bb http://b/3124097
rc/android/net/UriTest.java
|
93fbae34ce8b6a1907b6f1daf42f17e3f0025346 |
24-Nov-2010 |
Bjorn Bringert <bringert@android.com> |
Merge "Don't drop zeros in the second position in formatDuration()"
|
7e118b5ba06fd285a2bef593f481571903b22421 |
24-Nov-2010 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #2898737 (add unit tests for SyncOperation.toKey()) Change-Id: I25ae95c9ca67ae5dcb71ff427d976e3e93b48125
rc/android/content/SyncOperationTest.java
|
901b3796fd0954cc4b01bf95dbcbd88d87414e84 |
23-Nov-2010 |
Bjorn Bringert <bringert@android.com> |
Don't drop zeros in the second position in formatDuration() Bug: 3223250 Change-Id: I462c96af51cc052f9df1dc3d2c668551b10155ea
rc/android/util/TimeUtilsTest.java
|
a8bbc11afc0f93143c1fd200108a51c95507cc43 |
19-Nov-2010 |
Jesse Wilson <jessewilson@google.com> |
Merge "Decode JSON literal types eagerly and with our own decoder."
|
9d9b4e70a1e7f9ffb6cedd8a86fdd926f2a28202 |
18-Nov-2010 |
Jesse Wilson <jessewilson@google.com> |
Decode JSON literal types eagerly and with our own decoder. Previously we relied on Double.parseDouble() to decode tokens. Since that method is expensive, we deferred calling it unless absolutely necessary. Now we decode the literal type immediately. For efficiency we decode the token right out of the char buffer. This makes things more complicated but it saves many calls to charAt(). With this change overall performance is 7% faster for JSON documents cited in the bug. benchmark run ms linear runtime % GsonParseFull no switch, no int parse 309 ============================ 93% GsonParseFull baseline 330 ============================== 100% http://b/3201883 Change-Id: I436b6769956b1357a17c807a327d3a234691c73f
rc/android/util/JsonReaderTest.java
|
248caac22ef7be6c2357512a1ab7d4a9218f12a8 |
16-Nov-2010 |
Eric Rowe <erowe@google.com> |
Merge "Remove asserts in bluetooth test utils"
|
16013b37cbfd58a68005dc0ecc9f10c0293a9e32 |
16-Nov-2010 |
Eric Rowe <erowe@google.com> |
Merge "Add acceptPair method to BT stress."
|
b49aa60829ab8fadec2f4c0661271100691d8225 |
16-Nov-2010 |
Eric Rowe <erowe@google.com> |
Remove asserts in bluetooth test utils Certain checks were causing the test to fail due to a race condition. Bug: b/3198566 Change-Id: I9389a1936f6032939851922c052ef8ed32e5283b
rc/android/bluetooth/BluetoothTestUtils.java
|
23c067692be74c4fcd50cea48f9d469ba5288213 |
04-Nov-2010 |
Eric Rowe <erowe@google.com> |
Add acceptPair method to BT stress. Add a method to the test utils which waits to accept a bonding request from another device. This is identical to the pairing method except that it waits for a remote pair request instead of initiating the pairing request itself. Also, add a test method to the test utils. Change-Id: I97e215d3412d4b61757d6dc011b90cc5f2c8f084
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestUtils.java
|
6b888d98f7fffe5b87b3d5421d2f9a119899c7dd |
15-Nov-2010 |
Wink Saville <wink@google.com> |
Move AsyncChannelTest and HierarchicalStateMachineTest to proper directory. Change-Id: Ifa0f14aad3fee7cad47cdf762c6cff457b56a473
rc/android/os/AsyncChannelTest.java
rc/android/os/HierarchicalStateMachineTest.java
rc/com/android/internal/util/AsyncChannelTest.java
rc/com/android/internal/util/HierarchicalStateMachineTest.java
|
385125c65452b7e7e9305ec09e3db721474bb5c3 |
09-Nov-2010 |
Jesse Wilson <jessewilson@google.com> |
Merge "Test to demonstrate that HTTP cookie hostnames aren't case-sensitive."
|
40811b01542cec7a76bdfee79e77d1f684731d37 |
09-Nov-2010 |
Jesse Wilson <jessewilson@google.com> |
Test to demonstrate that HTTP cookie hostnames aren't case-sensitive. Change-Id: I05c764876acdc1e85b41f4558bd03fff526da1b4 http://b/3167208
rc/android/net/http/CookiesTest.java
|
553a53ef9ff789dff8b5a74dfea4d6f37feeb263 |
04-Nov-2010 |
Ficus Kirkpatrick <ficus@android.com> |
Make saveRecentQuery() async. Bug: 3163612 Change-Id: Idd3c1925e0f1dc3272dd1303d8f2907c5c5fca8b
rc/android/content/SearchRecentSuggestionsProviderTest.java
rc/android/provider/SearchRecentSuggestionsProviderTest.java
rc/android/provider/TestProvider.java
|
5de6d7a162f7b207e48a9078b9d0fe2700044976 |
04-Nov-2010 |
Eric Rowe <erowe@google.com> |
am 82fc12af: Merge "DO NOT MERGE Add acceptPair method to BT stress." into gingerbread * commit '82fc12af416e351cb0a9d978734d585ab66d3f27': DO NOT MERGE Add acceptPair method to BT stress.
|
776e64da8832844882b5116ab3e4af75ea28e27a |
04-Nov-2010 |
Eric Rowe <erowe@google.com> |
DO NOT MERGE Add acceptPair method to BT stress. Add a method to the test utils which waits to accept a bonding request from another device. This is identical to the pairing method except that it waits for a remote pair request instead of initiating the pairing request itself. Also, add a test method to the test utils. Change-Id: I6391d03e9f33c040afd64d73083acfe3184251eb
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestUtils.java
|
51d10323e9a7374403c2b13befcff5b76c668ca5 |
02-Nov-2010 |
Neal Nguyen <tommyn@google.com> |
am 424963ef: am 5dda76a7: Adding some StorageManager integration test infrastructure and some basic tests. * commit '424963ef8d46c34d67ea24d25735944c0d87409c': Adding some StorageManager integration test infrastructure and some basic tests.
|
424963ef8d46c34d67ea24d25735944c0d87409c |
02-Nov-2010 |
Neal Nguyen <tommyn@google.com> |
am 5dda76a7: Adding some StorageManager integration test infrastructure and some basic tests. * commit '5dda76a72e8bb4630fb5fd38a42e7bceb5b9c954': Adding some StorageManager integration test infrastructure and some basic tests.
|
5dda76a72e8bb4630fb5fd38a42e7bceb5b9c954 |
11-Oct-2010 |
Neal Nguyen <tommyn@google.com> |
Adding some StorageManager integration test infrastructure and some basic tests. More interesting tests to come in the form of host-based tests. Change-Id: Ifdedf7ef26ed9889871c902af20164df0498cf07
es/raw/obb_enc_file100_orig1.obb
es/raw/obb_enc_file100_orig3.obb
es/raw/obb_file1.obb
es/raw/obb_file2.obb
es/raw/obb_file2_nosign.obb
es/raw/obb_file3.obb
es/raw/obb_file3_bad_packagename.obb
rc/android/os/storage/StorageManagerBaseTest.java
rc/android/os/storage/StorageManagerIntegrationTest.java
|
879ed85598800bd2d87b7fe96d0a763d9b954a6e |
02-Nov-2010 |
Neal Nguyen <tommyn@google.com> |
am af35b8f4: am bd06f02d: Cleaning up some more flakiness in DownloadManager tests. * commit 'af35b8f43262a27c941c396186501a9695954cd8': Cleaning up some more flakiness in DownloadManager tests.
|
af35b8f43262a27c941c396186501a9695954cd8 |
02-Nov-2010 |
Neal Nguyen <tommyn@google.com> |
am bd06f02d: Cleaning up some more flakiness in DownloadManager tests. * commit 'bd06f02d02e07ca15e420ee9e50e35253646ba64': Cleaning up some more flakiness in DownloadManager tests.
|
bd06f02d02e07ca15e420ee9e50e35253646ba64 |
21-Oct-2010 |
Neal Nguyen <tommyn@google.com> |
Cleaning up some more flakiness in DownloadManager tests. A couple of logic fixes (synchronization, poll time), and adding a little more test logging info. Change-Id: I8da71f87fd1e211913f84ec517762dca81f87292
rc/android/app/DownloadManagerBaseTest.java
rc/android/app/DownloadManagerStressTest.java
|
5e7d4a7d010a8dd7e8f1c922fc844043c3c6175c |
30-Oct-2010 |
Neal Nguyen <tommyn@google.com> |
am 2202c8b9: am 06875afa: Merge "A little tweaking of DL Manager tests and adding better debugging output." into gingerbread * commit '2202c8b9f25c74e2b7f87090f9963683744b573e': A little tweaking of DL Manager tests and adding better debugging output.
|
2202c8b9f25c74e2b7f87090f9963683744b573e |
30-Oct-2010 |
Neal Nguyen <tommyn@google.com> |
am 06875afa: Merge "A little tweaking of DL Manager tests and adding better debugging output." into gingerbread * commit '06875afad6101892a735f79aeb2c7bdbb58c26fa': A little tweaking of DL Manager tests and adding better debugging output.
|
65c36e6133be04e008bc164b62d42884ff06a13a |
25-Oct-2010 |
Neal Nguyen <tommyn@google.com> |
A little tweaking of DL Manager tests and adding better debugging output. Adding more detail to the output logging to help track down issues, fixing some download completed notification counter flakiness and making reboot test more robust, and reducing the number of concurrent downloads in testMultipleDownloads() to 10. After talking with Vasu, this is probably more appropriate as it is closer to typical usage scenarios, and as a side effect should trim some time from the test runs. Large numbers of downloads will be left for stress testing. Change-Id: Ie337cfe9b8d27299d70553e39c60e241ff3afe66
rc/android/app/DownloadManagerBaseTest.java
rc/android/app/DownloadManagerIntegrationTest.java
|
826af6266c79d76b81fe850b9cd3d351597e4adb |
23-Sep-2010 |
Eric Rowe <erowe@google.com> |
Modify bluetooth test cases GB for new HC APIs Modify bluetooth stress tests pairing and connection test cases for new honeycomb bluetooth APIs and severly refactor code, including better organization of broadcast receivers, using broadcast receivers to record the time (instead of getting the time at the end of the poll). Change-Id: I3ef28d54d1a013697f67f4c7c8a96aaadcc747d9
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestRunner.java
rc/android/bluetooth/BluetoothTestUtils.java
|
5dcf000117ba97e13c6c6d1d5105c0fa49fa48f6 |
23-Oct-2010 |
Eric Rowe <erowe@google.com> |
am 288f1373: am 8de43ab5: Merge "Change disable timeout for BT disable stress test" into gingerbread Merge commit '288f13730e6535fb36581781196a55a6f2d198d6' * commit '288f13730e6535fb36581781196a55a6f2d198d6': Change disable timeout for BT disable stress test
|
288f13730e6535fb36581781196a55a6f2d198d6 |
23-Oct-2010 |
Eric Rowe <erowe@google.com> |
am 8de43ab5: Merge "Change disable timeout for BT disable stress test" into gingerbread Merge commit '8de43ab5ba818b9552326d5383729b3e6fbf7c82' into gingerbread-plus-aosp * commit '8de43ab5ba818b9552326d5383729b3e6fbf7c82': Change disable timeout for BT disable stress test
|
867568314d160ba098c0c72558691536a2385933 |
23-Oct-2010 |
Eric Rowe <erowe@google.com> |
Change disable timeout for BT disable stress test Bug: b/3125900 Change-Id: Ie1f599f1c418fc40c29debd1401297441a2a9db3
rc/android/bluetooth/BluetoothTestUtils.java
|
d20a5d6b5a821e28d73eba6502a2135134014a84 |
21-Oct-2010 |
Wink Saville <wink@google.com> |
Add AsyncChannel and AsyncService. Change-Id: Ie6f9aed58f49defcd1c051611ce791e2e62a9474
rc/android/os/AsyncChannelTest.java
|
86bf0c7b69856124feb41fb1a938dce1f6695949 |
18-Oct-2010 |
Eric Rowe <erowe@google.com> |
am 72a635a1: Merge "DO NOT MERGE Add additional options and receiver to BT tests" into gingerbread Merge commit '72a635a1e08c1fe316dd91786774677abb11aafa' into gingerbread-plus-aosp * commit '72a635a1e08c1fe316dd91786774677abb11aafa': DO NOT MERGE Add additional options and receiver to BT tests
|
72a635a1e08c1fe316dd91786774677abb11aafa |
18-Oct-2010 |
Eric Rowe <erowe@google.com> |
Merge "DO NOT MERGE Add additional options and receiver to BT tests" into gingerbread
|
ad4eeb6e76420c434c7239cc1f7df6f8a6baf63e |
16-Oct-2010 |
Jesse Wilson <jessewilson@google.com> |
am 9bb8e5cc: am 8f666c2d: Merge "Test that we don\'t leak sensitive information when logging cookies." into gingerbread Merge commit '9bb8e5cc3e9f8ae2c46967ee1fd422f3bf1e9429' * commit '9bb8e5cc3e9f8ae2c46967ee1fd422f3bf1e9429': Test that we don't leak sensitive information when logging cookies.
|
fcab0f5502410b975afe045354bbae31ccba68a5 |
15-Oct-2010 |
Kenny Root <kroot@google.com> |
am 8fda1636: am bdf8034c: Merge "OBB: use PBKDF2 for key generation." into gingerbread Merge commit '8fda1636e3e35f060b9046294efd3c062a1fdb84' * commit '8fda1636e3e35f060b9046294efd3c062a1fdb84': OBB: use PBKDF2 for key generation.
|
9bb8e5cc3e9f8ae2c46967ee1fd422f3bf1e9429 |
15-Oct-2010 |
Jesse Wilson <jessewilson@google.com> |
am 8f666c2d: Merge "Test that we don\'t leak sensitive information when logging cookies." into gingerbread Merge commit '8f666c2db1811b2f1797a692d6547362f3cd9954' into gingerbread-plus-aosp * commit '8f666c2db1811b2f1797a692d6547362f3cd9954': Test that we don't leak sensitive information when logging cookies.
|
8f666c2db1811b2f1797a692d6547362f3cd9954 |
15-Oct-2010 |
Jesse Wilson <jessewilson@google.com> |
Merge "Test that we don't leak sensitive information when logging cookies." into gingerbread
|
2102bde9d4afc2a7246b62ceaab495a8ec7401f3 |
15-Oct-2010 |
Jesse Wilson <jessewilson@google.com> |
Test that we don't leak sensitive information when logging cookies. Change-Id: I048a785fa7209841ff1bffc365ed5e1bceb53522 http://b/3095990
rc/android/net/http/CookiesTest.java
|
8fda1636e3e35f060b9046294efd3c062a1fdb84 |
14-Oct-2010 |
Kenny Root <kroot@google.com> |
am bdf8034c: Merge "OBB: use PBKDF2 for key generation." into gingerbread Merge commit 'bdf8034c657147226b2390eef113ff841e0d6065' into gingerbread-plus-aosp * commit 'bdf8034c657147226b2390eef113ff841e0d6065': OBB: use PBKDF2 for key generation.
|
c9acd79f03422b18f8b866a040b6626cf51e2712 |
23-Sep-2010 |
Eric Rowe <erowe@google.com> |
DO NOT MERGE Add additional options and receiver to BT tests Add address and iterations options to bluetooth pair stress test. Refactored BroadcastReceiver into two receivers with one specific to pairing. The pairing receiver checks that we are pairing with the correct device, and also will accept the pairing dialogue/enter a predefined password automatically. Change-Id: I9c5283f8e9747e8b0129b7400a6b1345e78e46eb
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestRunner.java
rc/android/bluetooth/BluetoothTestUtils.java
|
3b1abba6bbc895d63da3e82e9b158c01bd12eddd |
14-Oct-2010 |
Kenny Root <kroot@google.com> |
OBB: use PBKDF2 for key generation. Switch to using PBKDF2 for the key generation for OBBs. Any previously generated OBBs will stop being read correctly. A small pbkdf2gen program is available to allow generation of appropriate keys with the salts. Bug: 3059950 Change-Id: If4305c989fd692fd1150eb270dbf751e09c37295
es/raw/test1.obb
es/raw/test1_wrongpackage.obb
|
0a9b54e88b9cbb30748b5f0b331aec3f3ef8d639 |
14-Oct-2010 |
Kenny Root <kroot@google.com> |
resolved conflicts for merge of 8bb7a1df to master Change-Id: Ieec036f494a54eab74a27b954d1423bf981dd3f9
|
eb8be973c7982fe3ece0aeaeca379c3b3cdced0c |
12-Oct-2010 |
Bjorn Bringert <bringert@android.com> |
Make fields in WebAddress private, add getters/setters Change-Id: Iceaf3d648289344e53c37273f7324a79676fbef7
rc/android/net/WebAddressTest.java
|
8bb7a1dfbb43dda49fb3c4f86181bcd7f969a832 |
12-Oct-2010 |
Kenny Root <kroot@google.com> |
am b4de3dca: Merge "OBB: rearrange to be entirely asynchronous" into gingerbread Merge commit 'b4de3dca96b9ff18562062e181dcd8b83e641e45' into gingerbread-plus-aosp * commit 'b4de3dca96b9ff18562062e181dcd8b83e641e45': OBB: rearrange to be entirely asynchronous
|
af9d667ccf3e24058214cf4cc0a8aa8bc5100e3c |
08-Oct-2010 |
Kenny Root <kroot@google.com> |
OBB: rearrange to be entirely asynchronous Rearrange structure of MountService handling of OBBs to be entirely asynchronous so we don't rely on locking as much. We still need the locking to support dumpsys which has been improved to output all the data structures for OBBs. Added more tests to cover more of the error return codes. Oh and fix a logic inversion bug. Change-Id: I34f541192dbbb1903b24825889b8fa8f43e6e2a9
rc/com/android/server/MountServiceTests.java
|
5bc3addb453ba1daad366862a24be654a06ff447 |
10-Oct-2010 |
Kenny Root <kroot@google.com> |
am 0689b60b: am 54e01e0f: Merge "Symlink application lib directory when on SD card" into gingerbread Merge commit '0689b60b8644d7c4c76e5cdf7e6ce5cc4c5be124' * commit '0689b60b8644d7c4c76e5cdf7e6ce5cc4c5be124': Symlink application lib directory when on SD card
|
06f89ca9b17e3944af330efc2510818dca87d885 |
09-Oct-2010 |
Kenny Root <kroot@google.com> |
am 36455d03: am a3ee5c03: Merge "Add MountService tests and fix a bug it found" into gingerbread Merge commit '36455d03256024981b1bf21557722a010b5e092a' * commit '36455d03256024981b1bf21557722a010b5e092a': Add MountService tests and fix a bug it found
|
0689b60b8644d7c4c76e5cdf7e6ce5cc4c5be124 |
08-Oct-2010 |
Kenny Root <kroot@google.com> |
am 54e01e0f: Merge "Symlink application lib directory when on SD card" into gingerbread Merge commit '54e01e0f980cfb78153d5481f7e67cef90416174' into gingerbread-plus-aosp * commit '54e01e0f980cfb78153d5481f7e67cef90416174': Symlink application lib directory when on SD card
|
6a6b007c77e5cab7ee435506a4f65824f52028b6 |
08-Oct-2010 |
Kenny Root <kroot@google.com> |
Symlink application lib directory when on SD card This will help legacy games that use dlopen() to directly access the /data/data/<app>/lib directory before the ApplicationInfo.nativeLibraryDir was part of the API. Change-Id: Ie9f3e7239b6334708b5d086ffafe66a507f6d9da
rc/android/content/pm/PackageManagerTests.java
|
c5610a4c1308e2d52108131fbdef35e432a414b6 |
07-Oct-2010 |
Kenny Root <kroot@google.com> |
am cfc80bd5: am 2c3360fe: Merge "Remove lingering system app native libs in /data" into gingerbread Merge commit 'cfc80bd5c1e4f0207357b288b1b7b8374a31ba70' * commit 'cfc80bd5c1e4f0207357b288b1b7b8374a31ba70': Remove lingering system app native libs in /data
|
82aacddef99e5cfc399d02702f2a336af8fbd59f |
07-Oct-2010 |
Eric Rowe <erowe@google.com> |
am f8d2acdc: Merge "DO NOT MERGE Initialize bluetooth profiles in BT stress tests" into gingerbread Merge commit 'f8d2acdc57fd747278bb909c9e15b959e07d63b6' into gingerbread-plus-aosp * commit 'f8d2acdc57fd747278bb909c9e15b959e07d63b6': DO NOT MERGE Initialize bluetooth profiles in BT stress tests
|
f8d2acdc57fd747278bb909c9e15b959e07d63b6 |
07-Oct-2010 |
Eric Rowe <erowe@google.com> |
Merge "DO NOT MERGE Initialize bluetooth profiles in BT stress tests" into gingerbread
|
8bcc744e1bb5e26bce9a85bda0b01e56ad7198ef |
07-Oct-2010 |
Eric Rowe <erowe@google.com> |
DO NOT MERGE Initialize bluetooth profiles in BT stress tests Change-Id: I0a8b75c8686d9d6969db51d618c1ddeacb2aba87
rc/android/bluetooth/BluetoothTestUtils.java
|
36455d03256024981b1bf21557722a010b5e092a |
07-Oct-2010 |
Kenny Root <kroot@google.com> |
am a3ee5c03: Merge "Add MountService tests and fix a bug it found" into gingerbread Merge commit 'a3ee5c0351e51f7a978ddddc37644f46051ca6ed' into gingerbread-plus-aosp * commit 'a3ee5c0351e51f7a978ddddc37644f46051ca6ed': Add MountService tests and fix a bug it found
|
c7912274b0e08365561531183bf2af106a48ec69 |
07-Oct-2010 |
Brett Chabot <brettchabot@android.com> |
am 111a4135: am b9a40068: Merge "Failing test cleanup." into gingerbread Merge commit '111a4135d84485eff85bbca6a96cd91886deb7ba' * commit '111a4135d84485eff85bbca6a96cd91886deb7ba': Failing test cleanup.
|
e2562ca8f19b227cd1fed97484cef428decedb02 |
07-Oct-2010 |
Neal Nguyen <tommyn@google.com> |
am daa9b8c6: am 95037fb1: Merge "Fixing some flakiness of some DL Manager tests." into gingerbread Merge commit 'daa9b8c69a3069d5533176e6caa286380b4675c2' * commit 'daa9b8c69a3069d5533176e6caa286380b4675c2': Fixing some flakiness of some DL Manager tests.
|
17eb6fb07cc6965f09c51adc70b3c291f57a784a |
07-Oct-2010 |
Kenny Root <kroot@google.com> |
Add MountService tests and fix a bug it found Add some MountService tests that are based partially on some stuff done in PackageManagerTests. This allows us to test the OBB changes in an easy way. Also, it found some bugs in the DefaultContainerService connection state machine, so fix those while we're at it. Change-Id: I18f38593be754eb32fb6e842f88eec47e2beefce
es/raw/test1.obb
es/raw/test1_nosig.obb
es/raw/test1_wrongpackage.obb
rc/com/android/server/MountServiceTests.java
|
c8b7971cb3e09dfd4480a4bb8875a32157b62192 |
06-Oct-2010 |
Fred Quintana <fredq@google.com> |
Merge "Make a separate active sync queue for initialization and regular syncs."
|
c2ce721fcf684189b7251a5ecbf386426490d68e |
06-Oct-2010 |
Vasu Nori <vnori@google.com> |
fix broken build Change-Id: Ic00e8b98780d48928e05ee27f855e8211fb1ec47
rc/android/database/sqlite/SQLiteCursorTest.java
|
918339ab8255f8e1d03d8448ab1d9036c7c15173 |
05-Oct-2010 |
Fred Quintana <fredq@google.com> |
Make a separate active sync queue for initialization and regular syncs. This entails allowing multiple syncs to happen in parallel, with different limits for regular and initialization syncs. Change-Id: I0e47c6515af5c98faf899f91855b342b0d0c708c
rc/android/content/SyncQueueTest.java
|
790762ca8f4fa458b87f75e7e8cde965c9efe3e5 |
06-Oct-2010 |
Vasu Nori <vnori@google.com> |
annotate some tests large - just in case they take longer. bug:3066136 Change-Id: I89ab0454f592748f971b678a3ae23724eb6fc2e5
rc/android/database/sqlite/SQLiteCursorTest.java
rc/android/database/sqlite/SQLiteStatementTest.java
|
cfc80bd5c1e4f0207357b288b1b7b8374a31ba70 |
05-Oct-2010 |
Kenny Root <kroot@google.com> |
am 2c3360fe: Merge "Remove lingering system app native libs in /data" into gingerbread Merge commit '2c3360fe9c03536cbfd77267170b73c120c071ac' into gingerbread-plus-aosp * commit '2c3360fe9c03536cbfd77267170b73c120c071ac': Remove lingering system app native libs in /data
|
831baa2e2566bf1d243c06918672abd5ff786105 |
05-Oct-2010 |
Kenny Root <kroot@google.com> |
Remove lingering system app native libs in /data If a system app had a lingering native library in /data/data/<app>/lib, it would prefer that over the one in /system/lib due to recent changed in the Dalvik JNI class loading code. To "fix" that we need to check if there are any native libraries in a /data/data/<app>/lib directory for any non-updated system apps and delete them during scanning. Change-Id: If3a22e41a8531e9e5a44ba001dcea46253d47d45
rc/android/content/pm/PackageManagerTests.java
|
111a4135d84485eff85bbca6a96cd91886deb7ba |
05-Oct-2010 |
Brett Chabot <brettchabot@android.com> |
am b9a40068: Merge "Failing test cleanup." into gingerbread Merge commit 'b9a40068b590b86904b40bf466571b140d0f94b4' into gingerbread-plus-aosp * commit 'b9a40068b590b86904b40bf466571b140d0f94b4': Failing test cleanup.
|
b9a40068b590b86904b40bf466571b140d0f94b4 |
05-Oct-2010 |
Brett Chabot <brettchabot@android.com> |
Merge "Failing test cleanup." into gingerbread
|
daa9b8c69a3069d5533176e6caa286380b4675c2 |
05-Oct-2010 |
Neal Nguyen <tommyn@google.com> |
am 95037fb1: Merge "Fixing some flakiness of some DL Manager tests." into gingerbread Merge commit '95037fb1a633f5bdeb4e0ece2d18a4974259c368' into gingerbread-plus-aosp * commit '95037fb1a633f5bdeb4e0ece2d18a4974259c368': Fixing some flakiness of some DL Manager tests.
|
2ad24f944ee68c6e14f3a214f0eef60f8cdb9eb8 |
05-Oct-2010 |
Brett Chabot <brettchabot@android.com> |
Failing test cleanup. Change-Id: I7cabc6ff2ec1fcb80dede5da03b03622a5bae021
rc/android/content/SyncStorageEngineTest.java
rc/com/android/internal/os/LoggingPrintStreamTest.java
|
63e5d79a163461651cd8bd89d3de691ef7649109 |
04-Oct-2010 |
Neal Nguyen <tommyn@google.com> |
Fixing some flakiness of some DL Manager tests. Change-Id: Ie9ad4d20b8f980480ce730c7c95876d0954db8b2
rc/android/app/DownloadManagerBaseTest.java
rc/android/app/DownloadManagerIntegrationTest.java
|
9987b1534e31b0aa406943450e6b5746f3ab2c03 |
30-Sep-2010 |
Paul Westbrook <pwestbro@google.com> |
am 5dcaf7b0: am fcf1948a: Moved Rfc822 validator test Merge commit '5dcaf7b0b92ad6867ed50801923fb29157edddaa' * commit '5dcaf7b0b92ad6867ed50801923fb29157edddaa': Moved Rfc822 validator test
|
825bdff3b8d8837af936eac3066b3f402c0c070b |
30-Sep-2010 |
Steve Howard <showard@google.com> |
resolved conflicts for merge of 538c3fa3 to master Change-Id: I9190ca078ffd8b51515e3d53ac5753c05110c014
|
5dcaf7b0b92ad6867ed50801923fb29157edddaa |
30-Sep-2010 |
Paul Westbrook <pwestbro@google.com> |
am fcf1948a: Moved Rfc822 validator test Merge commit 'fcf1948aeb0b548d1f89890d58baefd008880cb7' into gingerbread-plus-aosp * commit 'fcf1948aeb0b548d1f89890d58baefd008880cb7': Moved Rfc822 validator test
|
538c3fa35fc67d07a19aa58f7b1f993e86da5e83 |
30-Sep-2010 |
Steve Howard <showard@google.com> |
am cdcc0a65: Merge "Have download manager give more details when downloads are paused" into gingerbread Merge commit 'cdcc0a65fae7e649f0f07e396dbe0dd59ceffada' into gingerbread-plus-aosp * commit 'cdcc0a65fae7e649f0f07e396dbe0dd59ceffada': Have download manager give more details when downloads are paused
|
fcf1948aeb0b548d1f89890d58baefd008880cb7 |
30-Sep-2010 |
Paul Westbrook <pwestbro@google.com> |
Moved Rfc822 validator test Moved rfc822 validator test to framework/ex, as this is where the code lives Change-Id: Ia12e67364df9c8f9351dea423d769454a5d4e58d
rc/android/text/TextUtilsTest.java
|
3e8c1d3a467bab889de7f92379be1f43d9c2d81e |
30-Sep-2010 |
Steve Howard <showard@google.com> |
Have download manager give more details when downloads are paused This change introduces more detailed reporting of why downloads are paused in the download manager. First, it adds new, more detailed status constants in android.provider.Downloads for when a download is paused, in place of the old catch-all STATUS_RUNNING_PAUSED. I've eliminated some dead code there as well to ease the change. Second, in the public API, it changes COLUMN_ERROR_CODE to COLUMN_REASON, which now reports useful info for STATUS_PAUSED in addition to STATUS_FAILED. It adds some new PAUSED_* constants for reason values when a download is paused, and adds code to generate these values appropriately. Change-Id: Ie617d1c2c59357375e19466086923ace5e2fb122
rc/android/app/DownloadManagerIntegrationTest.java
rc/android/app/DownloadManagerStressTest.java
|
d58429f9acdb33f05bdb233b7bba495de80cb336 |
28-Sep-2010 |
Steve Howard <showard@google.com> |
Manual merge: Move DownloadManager to android.app Changing package at hackbod's request. Change-Id: I867017b6a9f4684d30c6c5bd1b07f9cabecddb9f
rc/android/app/DownloadManagerBaseTest.java
rc/android/app/DownloadManagerIntegrationTest.java
rc/android/app/DownloadManagerStressTest.java
rc/android/net/DownloadManagerBaseTest.java
rc/android/net/DownloadManagerIntegrationTest.java
rc/android/net/DownloadManagerStressTest.java
|
9d9719c44ad05834b48542ea0fc4edbb4f59c311 |
28-Sep-2010 |
Steve Howard <showard@google.com> |
am 5bdb89d7: Merge "Move DownloadManager to android.app (DO NOT MERGE)" into gingerbread Merge commit '5bdb89d7ac20d4d3e71660d7fe78002a63900399' into gingerbread-plus-aosp * commit '5bdb89d7ac20d4d3e71660d7fe78002a63900399': Move DownloadManager to android.app (DO NOT MERGE)
|
31fd85f39b554e09b2e6c1c2ccf5c186859880fa |
28-Sep-2010 |
Steve Howard <showard@google.com> |
Move DownloadManager to android.app (DO NOT MERGE) Changing package at hackbod's request. I'll merge this manually, as there's some additional master-only code that will be to be simultaneously changed. Change-Id: Ibb629ec1c31807fbee31e0193c6a941d04be0117
rc/android/app/DownloadManagerBaseTest.java
rc/android/app/DownloadManagerIntegrationTest.java
rc/android/app/DownloadManagerStressTest.java
rc/android/net/DownloadManagerBaseTest.java
rc/android/net/DownloadManagerIntegrationTest.java
rc/android/net/DownloadManagerStressTest.java
|
ffe06127f6ea4e9ea8e797f8ba0365d1f47fe297 |
27-Sep-2010 |
Vasu Nori <vnori@google.com> |
remove public API setConnectionPoolSize() because connection pool size is now settable by modifying config.xml of the device. Change-Id: I973cc11d7dc10c8d95ab83e2f691068f6019fa33
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
e6147f0c4bf8f6f1acf77831673cf5fe8fdd02c3 |
27-Sep-2010 |
Fabrice Di Meglio <fdimeglio@google.com> |
am 514a455f: am 28fa220c: Merge "Fix bug #2585298 (google calendar sync clears eventTimezone field for recurring allDay events)" into gingerbread Merge commit '514a455f2a63d6b3366b848a585d99e8680f69aa' * commit '514a455f2a63d6b3366b848a585d99e8680f69aa': Fix bug #2585298 (google calendar sync clears eventTimezone field for recurring allDay events)
|
514a455f2a63d6b3366b848a585d99e8680f69aa |
27-Sep-2010 |
Fabrice Di Meglio <fdimeglio@google.com> |
am 28fa220c: Merge "Fix bug #2585298 (google calendar sync clears eventTimezone field for recurring allDay events)" into gingerbread Merge commit '28fa220c8da1ea2933ac96595516d1efa545c1ea' into gingerbread-plus-aosp * commit '28fa220c8da1ea2933ac96595516d1efa545c1ea': Fix bug #2585298 (google calendar sync clears eventTimezone field for recurring allDay events)
|
28fa220c8da1ea2933ac96595516d1efa545c1ea |
27-Sep-2010 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #2585298 (google calendar sync clears eventTimezone field for recurring allDay events)" into gingerbread
|
8f57caf8eda5d0e5d3c0892da49aa47c30dc1c9a |
24-Sep-2010 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #2585298 (google calendar sync clears eventTimezone field for recurring allDay events) - force UTC timezone if recurrence is corresponding to an "allday" event Change-Id: I3603438c0ad8019051ed4a8bd39d4aa7c0401eb1
rc/android/pim/RecurrenceSetTest.java
|
43480d7b4d8a8cc4806627f91a53966b8c3c5442 |
23-Sep-2010 |
Kenny Root <kroot@google.com> |
am 2b1ffce1: am 7f459df9: Merge "Better errors in PackageManagerTests" into gingerbread Merge commit '2b1ffce18301ae051a70a85254133c29b9381593' * commit '2b1ffce18301ae051a70a85254133c29b9381593': Better errors in PackageManagerTests
|
2b1ffce18301ae051a70a85254133c29b9381593 |
23-Sep-2010 |
Kenny Root <kroot@google.com> |
am 7f459df9: Merge "Better errors in PackageManagerTests" into gingerbread Merge commit '7f459df9f94bc52e53d42894dea4702394fbad5c' into gingerbread-plus-aosp * commit '7f459df9f94bc52e53d42894dea4702394fbad5c': Better errors in PackageManagerTests
|
94e0acbf2f2b74a89c4ab0c81a4c1330964bde5f |
22-Sep-2010 |
Kenny Root <kroot@google.com> |
Better errors in PackageManagerTests PackageManagerTests was catching assertion errors and just spitting out a generic "Hey, there was an error!" message. This eliminates that and adds some expected outcomes in the assertions. Change-Id: I27baa3c57c85b0cae4ea76aaf1e2a9b61b2c32b7
rc/android/content/pm/PackageManagerTests.java
|
674df1b373c98e0d868de980c8c4ef4703202f36 |
22-Sep-2010 |
Jesse Wilson <jessewilson@google.com> |
am f78fdacc: am eaa2cabf: Merge "Fix problem where Base64InputStream single-byte reads were unsigned." into gingerbread Merge commit 'f78fdaccde379d1c101be137416808ea62a2f292' * commit 'f78fdaccde379d1c101be137416808ea62a2f292': Fix problem where Base64InputStream single-byte reads were unsigned.
|
f78fdaccde379d1c101be137416808ea62a2f292 |
22-Sep-2010 |
Jesse Wilson <jessewilson@google.com> |
am eaa2cabf: Merge "Fix problem where Base64InputStream single-byte reads were unsigned." into gingerbread Merge commit 'eaa2cabf342e973925fb223104f9971deae27b17' into gingerbread-plus-aosp * commit 'eaa2cabf342e973925fb223104f9971deae27b17': Fix problem where Base64InputStream single-byte reads were unsigned.
|
eaa2cabf342e973925fb223104f9971deae27b17 |
22-Sep-2010 |
Jesse Wilson <jessewilson@google.com> |
Merge "Fix problem where Base64InputStream single-byte reads were unsigned." into gingerbread
|
64b25cf736bc5f9b9f6d548f0694fb76fe805d0c |
22-Sep-2010 |
Jesse Wilson <jessewilson@google.com> |
Fix problem where Base64InputStream single-byte reads were unsigned. Change-Id: Ibdfb77a283300baa61738fe98aa1c9f29eaf976f http://b/3026478
rc/android/util/Base64Test.java
|
c64c6a99fb36c6d93055d6ab5c17cdf124c9ad92 |
21-Sep-2010 |
Neal Nguyen <tommyn@google.com> |
am abb45e67: am b9881e6b: Merge "Adding more DL Manager tests." into gingerbread Merge commit 'abb45e6720a035e909644941b8ef7f92faeb6f34' * commit 'abb45e6720a035e909644941b8ef7f92faeb6f34': Adding more DL Manager tests.
|
abb45e6720a035e909644941b8ef7f92faeb6f34 |
21-Sep-2010 |
Neal Nguyen <tommyn@google.com> |
am b9881e6b: Merge "Adding more DL Manager tests." into gingerbread Merge commit 'b9881e6b94607334673566493c904f6741087938' into gingerbread-plus-aosp * commit 'b9881e6b94607334673566493c904f6741087938': Adding more DL Manager tests.
|
df7a865bbf45b57c60d294d5ac721e67e69a2dd6 |
09-Sep-2010 |
Neal Nguyen <tommyn@google.com> |
Adding more DL Manager tests. Change-Id: I87bf91fdd7dbd058c8d619200d2826ba5e7f76fb
ndroidManifest.xml
rc/android/net/DownloadManagerBaseTest.java
rc/android/net/DownloadManagerIntegrationTest.java
|
00cfe112b436eaafb44c0466ceacce3baf10a8f3 |
17-Sep-2010 |
Wink Saville <wink@google.com> |
Add LinkSocket API Restructuring ConnectivityService to handle multiple connections. Change-Id: Ia993fbb120bebb844fd0d603dc76fbc700b31fd1
rc/android/net/LinkSocketTest.java
|
b729dcc8a94bc2c2a1ecda47d791be0d6f1d160a |
14-Sep-2010 |
Vasu Nori <vnori@google.com> |
Revert "caching code retooled to reduce locking + handle SMP" This reverts commit 992f7d52fad590d90edc166cd74380e96d627605. Change-Id: Ia5b789d1b2195d6ce43baffe24296c857f9b30f6
rc/android/database/sqlite/SQLiteCacheTest.java
rc/android/database/sqlite/SQLiteCompiledSqlTest.java
rc/android/database/sqlite/SQLiteDatabaseTest.java
rc/android/database/sqlite/SQLiteStatementTest.java
|
992f7d52fad590d90edc166cd74380e96d627605 |
03-Sep-2010 |
Vasu Nori <vnori@google.com> |
caching code retooled to reduce locking + handle SMP 1. Moved all code related to compiled-sql statement cache to SQLiteCache.java Removed all caching related code from everywhere else. 2. Moved all code related to compiling a sql statement and caching it to SQLiteCompiledSql.java. There was some code in SQLiteProgram.java releated to this. moved it out. 3. Added state to SQLiteCompiledSql. This is to help in debugging. Change-Id: I63ab0c9c4419e964eb9796d284dd389985763d83
rc/android/database/sqlite/SQLiteCacheTest.java
rc/android/database/sqlite/SQLiteCompiledSqlTest.java
rc/android/database/sqlite/SQLiteDatabaseTest.java
rc/android/database/sqlite/SQLiteStatementTest.java
|
585f13f8dec4cbf55b3bc04d95425d647f0577b2 |
10-Aug-2010 |
Svetoslav Ganov <svetoslavganov@google.com> |
Accessibility support for WebViews Change-Id: Ibb139192bae4d60fd53a7872b19c06312bb41558
ndroidManifest.xml
rc/android/webkit/AccessibilityInjectorTest.java
|
42a5ed2015461126bd012d6f8f3e1311e5721807 |
12-Sep-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
resolved conflicts for merge of 171c83f4 to master Change-Id: I56a4c1838b17cf40d96763f95df3c84fc86359eb
|
171c83f47ddf01792371e1eb7587a99b2f192575 |
12-Sep-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
am 11fe181e: Add faster TextUtil function for searching delimited lists. Merge commit '11fe181e16501103d7c0f70344661ea2ef5d3df9' into gingerbread-plus-aosp * commit '11fe181e16501103d7c0f70344661ea2ef5d3df9': Add faster TextUtil function for searching delimited lists.
|
11fe181e16501103d7c0f70344661ea2ef5d3df9 |
11-Sep-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Add faster TextUtil function for searching delimited lists. The previous version in Settings allocated memory. Change-Id: I0f821112dc8f830689489f201ce268195f9e6cbd
rc/android/text/TextUtilsTest.java
|
b18f27dbf43ee9028a11cafbca23d3fa318e278b |
13-Aug-2010 |
Vasu Nori <vnori@google.com> |
Return count of rows in a resultset only once (when startPos = 0) If a query returns 100 rows and say only 10 rows fit in 1MB, then client receiving the cursor from the ContentProvider needs to paginate. ContentProvider returns count of total data everytime it returns a page (= 1MB) of data to the client. Returning total count causes reading (and skipping unwanted) data from sqlite. Instead, it should be sufficient to get total count once and re-use the count value during the life of the cursor until a requery is performed on the cursor. (Count won't change unless data is changed - in which case the cursor is asked to perform requery anyway. So doing count once and reusing it should work) Change-Id: I3520d94524dda07be9bcff56b6fbae5276af1d3b
rc/android/database/sqlite/SQLiteCursorTest.java
|
1e3187c27f878c083170149e645b1e2d19bc40a6 |
09-Sep-2010 |
Neal Nguyen <tommyn@google.com> |
am 0c592acf: Merge "Adding Download Manager Integration, stress, and hosts-based tests." into gingerbread-plus-aosp Merge commit '0c592acfc0ea298a0cf6c049cce4c5c10974e911' * commit '0c592acfc0ea298a0cf6c049cce4c5c10974e911': Adding Download Manager Integration, stress, and hosts-based tests.
|
5f53bca55b2c9e217dee12bff8ce55e168829783 |
09-Aug-2010 |
Neal Nguyen <tommyn@google.com> |
Adding Download Manager Integration, stress, and hosts-based tests. Change-Id: I97008f6cfd95ea9950db0b4e093da02528849b63
ndroid.mk
ndroidManifest.xml
rc/android/net/DownloadManagerBaseTest.java
rc/android/net/DownloadManagerIntegrationTest.java
rc/android/net/DownloadManagerStressTest.java
|
cf67abbc48d6d56538dd6f2412d6aa9863a31637 |
08-Sep-2010 |
Jean-Baptiste Queru <jbq@google.com> |
am 6ffee9bb: Merge "Revert "resolve conflicts"" into gingerbread-plus-aosp Merge commit '6ffee9bbba53700d33456261b986ac8a3f333b9e' * commit '6ffee9bbba53700d33456261b986ac8a3f333b9e': Revert "resolve conflicts"
|
2cc595af6542ba898ce3aa79daeee923b1a585fa |
08-Sep-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Revert "resolve conflicts" This reverts commit 84f992a249491b9f755e879bf096baac3f9472f5.
ndroid.mk
ndroidManifest.xml
rc/android/net/DownloadManagerBaseTest.java
rc/android/net/DownloadManagerIntegrationTest.java
rc/android/net/DownloadManagerStressTest.java
|
980bd4a12d70e87cdab3c7b39b5b1d7828913933 |
08-Sep-2010 |
Jean-Baptiste Queru <jbq@google.com> |
am 84f992a2: resolve conflicts Merge commit '84f992a249491b9f755e879bf096baac3f9472f5' * commit '84f992a249491b9f755e879bf096baac3f9472f5': Adding Download Manager Integration, stress, and hosts-based tests.
|
84f992a249491b9f755e879bf096baac3f9472f5 |
08-Sep-2010 |
Jean-Baptiste Queru <jbq@google.com> |
resolve conflicts Change-Id: I87f854430f7083cd2f2e28b4ec4a7112ef6fe4f1
|
40ef0f49ea9fa7c39eb0018fdb4df4b73a11a77d |
09-Aug-2010 |
Neal Nguyen <tommyn@google.com> |
Adding Download Manager Integration, stress, and hosts-based tests. Change-Id: If75021380f4aee9c650f6e34093779e85cc4e5d8
ndroid.mk
ndroidManifest.xml
rc/android/net/DownloadManagerBaseTest.java
rc/android/net/DownloadManagerIntegrationTest.java
rc/android/net/DownloadManagerStressTest.java
|
422dad0f5069a96c002faf31540bf471a7052585 |
04-Sep-2010 |
Vasu Nori <vnori@google.com> |
android change to handle Change-Id: Idbeed81b5b7349059e467b33a8641abf0b4aaeff Change-Id: Icf221a8e8d4c281f7719875816835ad7dfe7f3d1
rc/android/database/sqlite/SQLiteUnfinalizedExceptionTest.java
|
8bb37f7ffb24ab06576dd4225ab0a5e1828a0d07 |
07-Sep-2010 |
Steve Block <steveblock@google.com> |
Adds a test case for WebAddress where the path component does not have a leading slash When a URL is malformed because the path does not start with a slash, we assume that the path starts with the first character that is not valid in the host and insert a leading slash. This is the reason why the regex for the path component does not force a leading slash. Bug: 1011602 Change-Id: I8efe46c058d2ee2d1a6a4406ee25dc021315222b
rc/android/net/UriTest.java
rc/android/net/WebAddressTest.java
|
582deec1f3c8f51b431bb2ad685c9217ffd9eaad |
06-Sep-2010 |
Steve Block <steveblock@google.com> |
Fixes a problem with URL parsing when the host ends with a dot The WebAddress class provides a lenient parser for URLs. Currently, it identifies the host portion with the regex [<chars>]+(\.[<chars>]+)* where <chars> is the set of characters valid for the host name. This pattern excludes the case where the host ends with a dot, which is valid possibility. As a result, any trailing dot is pushed into the path component. Since we add a leading slash to the path if one is missing, the result is a path that begins with '/.'. This fix changes the host regex to [<chars>]+[<chars>\.]* which allows trailing dots and fixes the problem. Bug: 2337042 Change-Id: I310512531787e0f742988f5d815ad944fd39e059
rc/android/net/UriTest.java
rc/android/net/WebAddressTest.java
|
572031747f5fd80109e9c574927ded06fcf23e6f |
03-Sep-2010 |
Eric Rowe <erowe@google.com> |
am 4ca550a1: am 947e25e5: am ac3c1f55: Add BT test instrumentation for reboot tests. Merge commit '4ca550a17b8becdf6b5a32909fb5c70ef7579f4e' * commit '4ca550a17b8becdf6b5a32909fb5c70ef7579f4e': Add BT test instrumentation for reboot tests.
|
4ca550a17b8becdf6b5a32909fb5c70ef7579f4e |
02-Sep-2010 |
Eric Rowe <erowe@google.com> |
am 947e25e5: am ac3c1f55: Add BT test instrumentation for reboot tests. Merge commit '947e25e5ffe13549dab82580ef05f1f4faf42cd2' into gingerbread-plus-aosp * commit '947e25e5ffe13549dab82580ef05f1f4faf42cd2': Add BT test instrumentation for reboot tests.
|
947e25e5ffe13549dab82580ef05f1f4faf42cd2 |
02-Sep-2010 |
Eric Rowe <erowe@google.com> |
am ac3c1f55: Add BT test instrumentation for reboot tests. Merge commit 'ac3c1f550f30aa793ccf5dcd0da55b070fd55364' into gingerbread * commit 'ac3c1f550f30aa793ccf5dcd0da55b070fd55364': Add BT test instrumentation for reboot tests.
|
b2b973d13edb0a043a0288838f41eb84e9c78f76 |
02-Sep-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
am 3bd9b8f0: Fix build breakage. Merge commit '3bd9b8f04cece37ab4405abc382e2810006b9f97' into gingerbread-plus-aosp * commit '3bd9b8f04cece37ab4405abc382e2810006b9f97': Fix build breakage.
|
3bd9b8f04cece37ab4405abc382e2810006b9f97 |
02-Sep-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Fix build breakage. Change-Id: If519f1730266f10a7852af209127aa4754a7ef9d
es/raw/v21_im.vcf
es/raw/v21_invalid_multiple_line.vcf
es/raw/v30_comma_separated.vcf
es/raw/v30_pager.vcf
es/raw/v40_sort_as.vcf
rc/android/pim/vcard/VCardImporterTests.java
rc/android/pim/vcard/VCardJapanizationTests.java
rc/android/pim/vcard/VCardTestUtilsTests.java
|
22a17ce60b5e8770ad950cc3da6d8f5a2be3b879 |
02-Sep-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
am b1f5a54a: Merge "VCard refactoring backport." into gingerbread Merge commit 'b1f5a54a2abd95d03dc96f5f691495d2d7dfadc7' into gingerbread-plus-aosp * commit 'b1f5a54a2abd95d03dc96f5f691495d2d7dfadc7': VCard refactoring backport.
|
b1f5a54a2abd95d03dc96f5f691495d2d7dfadc7 |
02-Sep-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Merge "VCard refactoring backport." into gingerbread
|
6aa717e4a190cc23f61b93770ee1f80243c0f8e7 |
02-Sep-2010 |
Eric Rowe <erowe@google.com> |
am 97e58ef4: Merge "DO NOT MERGE Separate utility methods into utility class." into gingerbread Merge commit '97e58ef444da53165caab2a7be4fe44c154d5a0e' into gingerbread-plus-aosp * commit '97e58ef444da53165caab2a7be4fe44c154d5a0e': DO NOT MERGE Separate utility methods into utility class.
|
27a912a3934819c9f38eb1244a6a691ce947bef9 |
02-Sep-2010 |
Eric Rowe <erowe@google.com> |
Merge "Separate utility methods into utility class."
|
13438b02052f3bafd73a1a6a47b3b729f3979932 |
31-Aug-2010 |
Eric Rowe <erowe@google.com> |
DO NOT MERGE Separate utility methods into utility class. Methods in BluetoothTestUtils remain the same as they were in BluetoothStressTest except for the constructor and close(). The constructor is derived from setUp() and close() from tearDown(). Change-Id: Ifce16346f30eccdcc10ab846800e8a6fd2a24361
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestRunner.java
rc/android/bluetooth/BluetoothTestUtils.java
|
69831d9dc16c1d36739328910e5d7c0fb7d327fe |
02-Sep-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
VCard refactoring backport. Change-Id: Icf265ce7f83c1e2bd5db0c3d9bd4c142afd6db34
rc/android/pim/vcard/ContentValuesBuilder.java
rc/android/pim/vcard/ContentValuesVerifier.java
rc/android/pim/vcard/ContentValuesVerifierElem.java
rc/android/pim/vcard/ExportTestResolver.java
rc/android/pim/vcard/ImportTestResolver.java
rc/android/pim/vcard/LineVerifier.java
rc/android/pim/vcard/LineVerifierElem.java
rc/android/pim/vcard/PropertyNode.java
rc/android/pim/vcard/PropertyNodesVerifier.java
rc/android/pim/vcard/VCardExporterTests.java
rc/android/pim/vcard/VCardImporterTests.java
rc/android/pim/vcard/VCardJapanizationTests.java
rc/android/pim/vcard/VCardTestRunner.java
rc/android/pim/vcard/VCardTestUtilsTests.java
rc/android/pim/vcard/VCardTestsBase.java
rc/android/pim/vcard/VCardUtilsTests.java
rc/android/pim/vcard/VCardVerifier.java
rc/android/pim/vcard/VNode.java
rc/android/pim/vcard/VNodeBuilder.java
rc/android/pim/vcard/test_utils/ContactEntry.java
rc/android/pim/vcard/test_utils/ContentValuesBuilder.java
rc/android/pim/vcard/test_utils/ContentValuesVerifier.java
rc/android/pim/vcard/test_utils/ContentValuesVerifierElem.java
rc/android/pim/vcard/test_utils/ExportTestProvider.java
rc/android/pim/vcard/test_utils/ExportTestResolver.java
rc/android/pim/vcard/test_utils/ImportTestProvider.java
rc/android/pim/vcard/test_utils/ImportTestResolver.java
rc/android/pim/vcard/test_utils/LineVerifier.java
rc/android/pim/vcard/test_utils/LineVerifierElem.java
rc/android/pim/vcard/test_utils/PropertyNode.java
rc/android/pim/vcard/test_utils/PropertyNodesVerifier.java
rc/android/pim/vcard/test_utils/PropertyNodesVerifierElem.java
rc/android/pim/vcard/test_utils/VCardTestsBase.java
rc/android/pim/vcard/test_utils/VCardVerifier.java
rc/android/pim/vcard/test_utils/VNode.java
rc/android/pim/vcard/test_utils/VNodeBuilder.java
|
8eb1bfe0f63f12235518d11a236dd11e352e48b2 |
02-Sep-2010 |
Vasu Nori <vnori@google.com> |
Merge "fix isIntegrityCheck() & add a sample impl class and test for DatabaseErrorHandler"
|
ac3c1f550f30aa793ccf5dcd0da55b070fd55364 |
01-Sep-2010 |
Eric Rowe <erowe@google.com> |
Add BT test instrumentation for reboot tests. Change-Id: If8134a1c11f3982086b7299e5c8bd3ef8eaa5959
rc/android/bluetooth/BluetoothRebootStressTest.java
|
185a0b04c611a287cbd866d27b0ceff77f12d97b |
31-Aug-2010 |
Eric Rowe <erowe@google.com> |
Separate utility methods into utility class. Methods in BluetoothTestUtils remain the same as they were in BluetoothStressTest except for the constructor and close(). The constructor is derived from setUp() and close() from tearDown(). Change-Id: Ib472878fee2aa1b678e8ee6743cac2373eb7507f
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestUtils.java
|
1314219a37403594f833c2c71744040ebd8d9b04 |
31-Aug-2010 |
Eric Rowe <erowe@google.com> |
DO NOT MERGE Separate utility methods into utility class. Methods in BluetoothTestUtils remain the same as they were in BluetoothStressTest except for the constructor and close(). The constructor is derived from setUp() and close() from tearDown(). Change-Id: I09f9637d3969c98e46cbde1d61bc6c3223aec7c1
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestUtils.java
|
6c8beb0cb4eb41e4d33dd928fd87c0d504495127 |
31-Aug-2010 |
Kenny Root <kroot@google.com> |
am 8a5ab396: am 2e86809b: Merge "Native libraries on SD" into gingerbread Merge commit '8a5ab396cf4f3bb76a3e820f16f946e313b73fcf' * commit '8a5ab396cf4f3bb76a3e820f16f946e313b73fcf': Native libraries on SD
|
8a5ab396cf4f3bb76a3e820f16f946e313b73fcf |
31-Aug-2010 |
Kenny Root <kroot@google.com> |
am 2e86809b: Merge "Native libraries on SD" into gingerbread Merge commit '2e86809b6c79375d23c0975914efc3b66e89ac90' into gingerbread-plus-aosp * commit '2e86809b6c79375d23c0975914efc3b66e89ac90': Native libraries on SD
|
0ac83f5a7c05ff5b7e213e5953590bfbeb4efb43 |
31-Aug-2010 |
Kenny Root <kroot@google.com> |
Native libraries on SD * Add native library tests during package move * Fix omission that let PackageSettings and ApplicationInfo get out of sync. Change-Id: Ic4958f971cb2c9cfd270522fdc120b4031c1124a
rc/android/content/pm/PackageManagerTests.java
|
6151a9ef232b9d4d2b38761159f49181679a6a17 |
30-Aug-2010 |
Eric Rowe <erowe@google.com> |
am f72b0e44: Merge "DO NOT MERGE Add A2DP and Headset connection stress tests." into gingerbread Merge commit 'f72b0e447296bc07104af62c33c56bc15b7a6677' into gingerbread-plus-aosp * commit 'f72b0e447296bc07104af62c33c56bc15b7a6677': DO NOT MERGE Add A2DP and Headset connection stress tests.
|
f72b0e447296bc07104af62c33c56bc15b7a6677 |
30-Aug-2010 |
Eric Rowe <erowe@google.com> |
Merge "DO NOT MERGE Add A2DP and Headset connection stress tests." into gingerbread
|
bfe1dc27944c80dcb81f0eb313987999ecd7b6fa |
26-Aug-2010 |
Vasu Nori <vnori@google.com> |
fix isIntegrityCheck() & add a sample impl class and test for DatabaseErrorHandler fixed a bug in SQLiteDatabase.isDatabaseIntegrityOk() and added a new class to demonstrate use of android.database.DatabaseErrorHandler and a bunch of nits Change-Id: Ia81870853fa3bd84074637f6d823a9fd22b66c7e
rc/android/database/DatabaseErrorHandlerTest.java
|
818c830c59fb8fb0fe7576f1e5a073ab599227c8 |
28-Aug-2010 |
Kenny Root <kroot@google.com> |
am 83285781: am 7046bd92: Merge "Allow native shared libraries in ASEC containers" into gingerbread Merge commit '8328578152fbfd23952a6cda4b2e60853d78eb74' * commit '8328578152fbfd23952a6cda4b2e60853d78eb74': Allow native shared libraries in ASEC containers
|
8328578152fbfd23952a6cda4b2e60853d78eb74 |
28-Aug-2010 |
Kenny Root <kroot@google.com> |
am 7046bd92: Merge "Allow native shared libraries in ASEC containers" into gingerbread Merge commit '7046bd924f77c54585b9e0e0c95e5edd2ceb55a3' into gingerbread-plus-aosp * commit '7046bd924f77c54585b9e0e0c95e5edd2ceb55a3': Allow native shared libraries in ASEC containers
|
85387d7ba36e56b291cbde87acb5a5b2200fe01c |
26-Aug-2010 |
Kenny Root <kroot@google.com> |
Allow native shared libraries in ASEC containers This change moves the native library handling earlier in the package installation process so that it may be inserted into ASEC containers before they are finalized in the DefaultContainerService. Note that native libraries on SD card requires that vold mount ASEC containers without the "noexec" flag on the mount point. Change-Id: Ib34b1886bf6f94b99bb7b3781db6e9b5a58807ba
rc/android/content/pm/PackageManagerTests.java
|
bfa6d1dbe495fcf4f74f1995d54ec191e6671b5c |
28-Aug-2010 |
Eric Rowe <erowe@google.com> |
am aed5d62a: am 8f5007ba: am 163fba0a: Merge "Improve logging and flexibility of BT stress tests." into froyo Merge commit 'aed5d62ac1278c032528921798529dbd824a1865' * commit 'aed5d62ac1278c032528921798529dbd824a1865': Improve logging and flexibility of BT stress tests.
|
66991b956a7b01ee88054e8175f51245178675b2 |
19-Aug-2010 |
Eric Rowe <erowe@google.com> |
DO NOT MERGE Add A2DP and Headset connection stress tests. Change-Id: I0b8ff3f54d75293b99e53adeda7dd6dea36403b0
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestRunner.java
|
aed5d62ac1278c032528921798529dbd824a1865 |
27-Aug-2010 |
Eric Rowe <erowe@google.com> |
am 8f5007ba: am 163fba0a: Merge "Improve logging and flexibility of BT stress tests." into froyo Merge commit '8f5007ba4789e0c9e1a620e7211fa24143a66a0a' into gingerbread-plus-aosp * commit '8f5007ba4789e0c9e1a620e7211fa24143a66a0a': Improve logging and flexibility of BT stress tests.
|
8f5007ba4789e0c9e1a620e7211fa24143a66a0a |
27-Aug-2010 |
Eric Rowe <erowe@google.com> |
am 163fba0a: Merge "Improve logging and flexibility of BT stress tests." into froyo Merge commit '163fba0a75dd582aa62187a062faa66d60db0d34' into gingerbread * commit '163fba0a75dd582aa62187a062faa66d60db0d34': Improve logging and flexibility of BT stress tests.
|
58a345936d7e2b66bdeefb492e4f777754792d7e |
19-Aug-2010 |
Ben Dodson <bjdodson@google.com> |
Added methods for managing uri query parameters Change-Id: Ic98c1bd159740dd4d895889079f9f2abae4fc2b9
rc/android/net/UriTest.java
|
e1d666b632608a2f708cb3df06c796e16d5d1717 |
27-Aug-2010 |
Eric Rowe <erowe@google.com> |
Improve logging and flexibility of BT stress tests. Change-Id: I657638b3b410175919da545e9a9b7d9df6466362
ndroidManifest.xml
rc/android/bluetooth/BluetoothStressTest.java
rc/android/bluetooth/BluetoothTestRunner.java
|
1922ac108ce6fd12f640b2892aa1eb348911a94b |
25-Aug-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
am d0ad67ad: Merge "Fix the test breakage in vCard tests." into gingerbread Merge commit 'd0ad67ad84e254cdf34963ad4152ca7158df5eab' into gingerbread-plus-aosp * commit 'd0ad67ad84e254cdf34963ad4152ca7158df5eab': Fix the test breakage in vCard tests.
|
4d9c1931c9147c80df31f4c57ed098b61ee1f5bc |
25-Aug-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Fix the test breakage in vCard tests. - Make custom resolvers use official MockContentProvider instead of relying on its own. - Fix a test which is found to be broken after the fix above. Bug: 2945326 Change-Id: Ifb14f61771215c103d8825240989eecee73d585a
rc/android/pim/vcard/ExportTestResolver.java
rc/android/pim/vcard/ImportTestResolver.java
rc/android/pim/vcard/VCardExporterTests.java
rc/android/pim/vcard/VCardTestsBase.java
rc/android/pim/vcard/VCardVerifier.java
|
c28227d443dc63823c19864376150f934a3f9690 |
24-Aug-2010 |
Wink Saville <wink@google.com> |
Merge "Allow reliable detection of a message that is in use."
|
28060c8a806b58fc53f281688146877e8c37a504 |
24-Aug-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
am 6dd19ca5: Merge "Make VCardTestsBase public." into gingerbread Merge commit '6dd19ca5cb78008d6793d0a223a6189786c5c62f' into gingerbread-plus-aosp * commit '6dd19ca5cb78008d6793d0a223a6189786c5c62f': Make VCardTestsBase public.
|
a334e7c72408c4e2805f2427a35d841a60adefc4 |
24-Aug-2010 |
Wink Saville <wink@google.com> |
Allow reliable detection of a message that is in use. Because the standard Looper.loop code calls Message#recycle it is imperative that Handler#handleMessage code not attempt to resue a message it receives. If allowed to do so it will cause bugs that could be difficult to diagnois. This change adds Message#flags and uses one bit to reliably detect a message is in use and throws an error in MessageQueue#enqueueMessage. This allows early detection of this bug. Note: This is not new functionality, but the current implementation does not detect messages that are in use because it uses Message#when != 0 as the detection mechanism. The problem is that a Message#when value of 0 is valid value used to place a message at the front of the queue and is thus unreliable. Another option is to change the setting of Message#when in Message#enqueueMessage so that it is never 0, although that does change subtly a publicly accessible field. Yet another option would be to use other fields but all candidates have similar problems as when in that they are publicly accessible or even settable such as Message#target. Change-Id: I040d6e546376f7b1ed1e4daa0d5644cce8bf333a
rc/android/os/MessageQueueTest.java
|
4077d7a75d78b3824c8d652e02efc56e04c7ee05 |
24-Aug-2010 |
Vasu Nori <vnori@google.com> |
Merge "SQLiteOpenHelper should discard closed singleton database objects"
|
07d39e915036ae1830391f8f60bedf61f2890cb0 |
24-Aug-2010 |
Brian Carlstrom <bdc@google.com> |
am 005f0d08: am 4d42ccd1: Tracking merge of dalvik-dev to gingerbread Merge commit '005f0d084ec3a5c7a2850b807c6054a1fc904daa' * commit '005f0d084ec3a5c7a2850b807c6054a1fc904daa': Tracking merge of dalvik-dev to gingerbread
|
cc6f54910d2431e31af176163f61b34d50a33647 |
24-Aug-2010 |
Vasu Nori <vnori@google.com> |
SQLiteOpenHelper should discard closed singleton database objects bug:2943028 Change-Id: I4b6263cc25413995363158c976d3c723231cc050
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
ddb2bfeb6e5a383306159672fe81333bf8520776 |
24-Aug-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Revert "Allow reliable detection of a message that is in use." This reverts commit 6083d81ce4d67ec632962270fda64ebb9db0d5b1. Reverting this because it causes runtime to reboot in a loop if connected to a Bluetooth Headset. copyFrom() needs to check for the introduced bit too.
rc/android/os/MessageQueueTest.java
|
0263b0d8876c3497634711335b00e29f24092a8c |
23-Aug-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make VCardTestsBase public. Change-Id: I9f1adc6f0b4263424897609b3cc0855e83906407
rc/android/pim/vcard/VCardTestsBase.java
|
6083d81ce4d67ec632962270fda64ebb9db0d5b1 |
22-Aug-2010 |
Wink Saville <wink@google.com> |
Allow reliable detection of a message that is in use. Because the standard Looper.loop code calls Message#recycle it is imperative that Handler#handleMessage code not attempt to resue a message it receives. If allowed to do so it will cause bugs that could be difficult to diagnois. This change adds Message#flags and uses one bit to reliably detect a message is in use and throws an error in MessageQueue#enqueueMessage. This allows early detection of this bug. Note: This is not new functionality, but the current implementation does not detect messages that are in use because it uses Message#when != 0 as the detection mechanism. The problem is that a Message#when value of 0 is valid value used to place a message at the front of the queue and is thus unreliable. Another option is to change the setting of Message#when in Message#enqueueMessage so that it is never 0, although that does change subtly a publicly accessible field. Yet another option would be to use other fields but all candidates have similar problems as when in that they are publicly accessible or even settable such as Message#target. Change-Id: I2df600537700a3fe206678f38bcae7329751c4e5
rc/android/os/MessageQueueTest.java
|
005f0d084ec3a5c7a2850b807c6054a1fc904daa |
20-Aug-2010 |
Brian Carlstrom <bdc@google.com> |
am 4d42ccd1: Tracking merge of dalvik-dev to gingerbread Merge commit '4d42ccd1579da53aaaf132a6ad26a06e2baa5b98' into gingerbread-plus-aosp * commit '4d42ccd1579da53aaaf132a6ad26a06e2baa5b98': Tracking merge of dalvik-dev to gingerbread
|
4d42ccd1579da53aaaf132a6ad26a06e2baa5b98 |
19-Aug-2010 |
Brian Carlstrom <bdc@google.com> |
Tracking merge of dalvik-dev to gingerbread git cherry-pick --no-commit 353ab63e412dd15029143de238e9590ab35eb583) make update-api Change-Id: I9e61616828a3a5745421350b9a2fc78ba181d388
rc/android/net/http/HttpsThroughHttpProxyTest.java
|
a7bb3ba54aed70919c8304ae4227ab5106243f75 |
18-Aug-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
am f996ed9f: Merge "Make vCard importer/exporter aware of multi-byte parameters." into gingerbread Merge commit 'f996ed9f2e4a992e5d884077a15dcc23a8d90c44' into gingerbread-plus-aosp * commit 'f996ed9f2e4a992e5d884077a15dcc23a8d90c44': Make vCard importer/exporter aware of multi-byte parameters.
|
a006b47298539d89dc7a06b54c070cb3e986352a |
14-Apr-2010 |
Bjorn Bringert <bringert@android.com> |
New API and implementation of DB and memory-backed FDs This depends on a kernel patch that implements read(2) in the ashmem driver. Bug http://b/issue?id=2595601 Change-Id: Ie3b10aa471aada21812b35e63954c1b2f0a7b042
rc/android/content/MemoryFileProvider.java
rc/android/content/MemoryFileProviderTest.java
rc/android/os/MemoryFileTest.java
|
b7688558cc30bceac8377640db68126e53dd545e |
18-Aug-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make vCard importer/exporter aware of multi-byte parameters. Bug: 2922186 Change-Id: Ic877940242d87ef918bf8d4dac601d37b296259b
es/raw/v30_multibyte_param.vcf
rc/android/pim/vcard/VCardImporterTests.java
rc/android/pim/vcard/VCardUtilsTests.java
|
542cf2c9cf9aac4c5678c39754110cd656cb859d |
10-Aug-2010 |
Eric Rowe <erowe@google.com> |
am 7cb0fc58: am edae848e: am 301c437b: Remove @LargeTest annotations Merge commit '7cb0fc588042f7642f13ea2cc404eae04bd5509a' * commit '7cb0fc588042f7642f13ea2cc404eae04bd5509a': Remove @LargeTest annotations
|
7cb0fc588042f7642f13ea2cc404eae04bd5509a |
10-Aug-2010 |
Eric Rowe <erowe@google.com> |
am edae848e: am 301c437b: Remove @LargeTest annotations Merge commit 'edae848eb62e27b8e987aa89557d1456304fada7' into gingerbread-plus-aosp * commit 'edae848eb62e27b8e987aa89557d1456304fada7': Remove @LargeTest annotations
|
edae848eb62e27b8e987aa89557d1456304fada7 |
10-Aug-2010 |
Eric Rowe <erowe@google.com> |
am 301c437b: Remove @LargeTest annotations Merge commit '301c437b554e2152f3f6fffadc680f5cbf8e8231' into gingerbread * commit '301c437b554e2152f3f6fffadc680f5cbf8e8231': Remove @LargeTest annotations
|
4f94181282e7f23d19a5fcab5f1b93d6d52e7715 |
10-Aug-2010 |
Brett Chabot <brettchabot@android.com> |
am e967ee49: Merge "Fix gingerbread FrameworkCoreTests makefile." into gingerbread Merge commit 'e967ee49b5a86de2be11dd1d28283c337b01e537' into gingerbread-plus-aosp * commit 'e967ee49b5a86de2be11dd1d28283c337b01e537': Fix gingerbread FrameworkCoreTests makefile.
|
56718cb1cb2775f8705f37f917fbcd013dc259a3 |
10-Aug-2010 |
Brett Chabot <brettchabot@android.com> |
Fix gingerbread FrameworkCoreTests makefile. android-common should be included as a static library. Change-Id: I539962904c84ef30e6d7bd1b48d0bc07e0757d58
ndroid.mk
|
301c437b554e2152f3f6fffadc680f5cbf8e8231 |
10-Aug-2010 |
Eric Rowe <erowe@google.com> |
Remove @LargeTest annotations Change-Id: Ib7e6f6e8b6437db5ca2ad2bcb89f079a0cbf7453
rc/android/bluetooth/BluetoothStressTest.java
|
1ba417140554dbd57602a1f4b453fc42363cf394 |
07-Aug-2010 |
Jesse Wilson <jessewilson@google.com> |
Adding JsonReader.setLenient() to handle malformed JSON strings. Also replacing setIndentSpaces() with a more general purpose method, setIndent(). Change-Id: I64fbe4901aec23de5392362c1d40b77bc2b5566b
rc/android/util/JsonReaderTest.java
rc/android/util/JsonWriterTest.java
|
76d7e20a75d24afb2f5011a7646dbde8aaa52087 |
04-Aug-2010 |
Jesse Wilson <jessewilson@google.com> |
A new streaming JSON API. Change-Id: Iefa7ee44ddacbe22ea9ebca3165ac59030659bf2
rc/android/util/JsonReaderTest.java
rc/android/util/JsonWriterTest.java
|
bde1fc848d6b2b6b7e0dc9df99d77ae43264b333 |
06-Aug-2010 |
Vasu Nori <vnori@google.com> |
am 499b7438: Merge "(gingerbread) remove unused tests. bug:2898376" into gingerbread Merge commit '499b743851aa84b9fc1a7e445e189946bc47ad5d' into gingerbread-plus-aosp * commit '499b743851aa84b9fc1a7e445e189946bc47ad5d': (gingerbread) remove unused tests. bug:2898376
|
286b9770cc051596f83fc23fbbcab888e11f9e9e |
06-Aug-2010 |
Vasu Nori <vnori@google.com> |
(gingerbread) remove unused tests. bug:2898376 Change-Id: Icc4c8ed20c9e910784bf202415d58e4af2366bee
rc/android/database/sqlite/AbstractJDBCDriverTest.java
rc/android/database/sqlite/SQLiteJDBCDriverTest.java
|
3417024b03a5f132adc3f9f872d0732138d20d1d |
06-Aug-2010 |
Eric Rowe <erowe@google.com> |
am 5c0f1e0a: am f9ea8ec5: am 982f1521: Merge "Checkin initial bluetooth stress tests." into froyo Merge commit '5c0f1e0a870b5792bbc0456eef6fd21642db3798' * commit '5c0f1e0a870b5792bbc0456eef6fd21642db3798': Checkin initial bluetooth stress tests.
|
5c0f1e0a870b5792bbc0456eef6fd21642db3798 |
06-Aug-2010 |
Eric Rowe <erowe@google.com> |
am f9ea8ec5: am 982f1521: Merge "Checkin initial bluetooth stress tests." into froyo Merge commit 'f9ea8ec57e1e1d5654f57c22f514954e242833d2' into gingerbread-plus-aosp * commit 'f9ea8ec57e1e1d5654f57c22f514954e242833d2': Checkin initial bluetooth stress tests.
|
f9ea8ec57e1e1d5654f57c22f514954e242833d2 |
06-Aug-2010 |
Eric Rowe <erowe@google.com> |
am 982f1521: Merge "Checkin initial bluetooth stress tests." into froyo Merge commit '982f1521a662d274eca1216707d874f148396ac6' into gingerbread * commit '982f1521a662d274eca1216707d874f148396ac6': Checkin initial bluetooth stress tests.
|
14db8d9978daf070f5e66ac8f2cdb1f4ee0dfe06 |
29-Jul-2010 |
Eric Rowe <erowe@google.com> |
Checkin initial bluetooth stress tests. Bluetooth stress tests include stress tests for enabling/disabling bluetooth, making the device discoverable/undiscoverable, and starting and stopping scans. Change-Id: Ic8ba09475ffe5551717438673e0ed3f4bd17cf2f
ndroidManifest.xml
rc/android/bluetooth/BluetoothStressTest.java
|
c44f1ffbfaf9cc2db7cfdef5fd4bf161070e3c07 |
05-Aug-2010 |
Kenny Root <kroot@google.com> |
am 983d4583: am dec43a10: Merge "Fix up PackageManager tests" into gingerbread Merge commit '983d4583e7bb1788d377296fe34babc1956c0a3c' * commit '983d4583e7bb1788d377296fe34babc1956c0a3c': Fix up PackageManager tests
|
1b7e4d5adcc2737bc11bfbf42a88a02d6df984e0 |
05-Aug-2010 |
Brian Carlstrom <bdc@google.com> |
am 4ae1e382: Merge "Tracking merge of dalvik-dev to gingerbread" into gingerbread Merge commit '4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af' into gingerbread-plus-aosp * commit '4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af': Tracking merge of dalvik-dev to gingerbread
|
4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af |
05-Aug-2010 |
Brian Carlstrom <bdc@google.com> |
Merge "Tracking merge of dalvik-dev to gingerbread" into gingerbread
|
983d4583e7bb1788d377296fe34babc1956c0a3c |
05-Aug-2010 |
Kenny Root <kroot@google.com> |
am dec43a10: Merge "Fix up PackageManager tests" into gingerbread Merge commit 'dec43a102226de55307de20d5779e20a435be8b1' into gingerbread-plus-aosp * commit 'dec43a102226de55307de20d5779e20a435be8b1': Fix up PackageManager tests
|
d7b421b4de68d803252a5d9b3cb0106731217ad7 |
05-Aug-2010 |
Kenny Root <kroot@google.com> |
Fix up PackageManager tests PackageManagerTests was trying to mount and unmount the media without waiting for the correct state to arrive. It was proceeding with any state transition. Some tests had their own volume mounting and unmounting code that was flawed, so switch it to the more robust mountMedia() and unmountMedia() implementations. Change-Id: If464927bb09dd15cb040c6cce195a6ad8452de95
rc/android/content/pm/PackageManagerTests.java
rc/android/os/storage/StorageListener.java
|
3c7c351a6217ac48b741740167c201a679a0ca65 |
05-Aug-2010 |
Brian Carlstrom <bdc@google.com> |
Tracking merge of dalvik-dev to gingerbread git cherry-pick --no-commit f77cf7f0 git cherry-pick --no-commit c8f503b5285e30c1a881d0ba860ba9021f57d113 git cherry-pick --no-commit 570bb561 git cherry-pick --no-commit e2417541 git cherry-pick --no-commit e4d81f25bd4dc1a5c909b56ab56a56406290da30 git cherry-pick --no-commit 5e8a587d Change-Id: I101a385d43f3e0f4ce5352217f92ef67a3908c88
ndroid.mk
rc/android/net/http/HttpsThroughHttpProxyTest.java
|
f22e87639338600f9bfcaa3f6fb524407e2e2f5f |
04-Aug-2010 |
Brett Chabot <brettchabot@android.com> |
resolved conflicts for merge of 10928c37 to master Change-Id: Idbe91a2fe90cab0a03fdef096dc6741dc5937351
|
672079a75aaaf30dab3729b865e79185f87d88f2 |
04-Aug-2010 |
Brett Chabot <brettchabot@android.com> |
Fix Framework core tests import of android-common. android.database.CursorWindowTest#testWriteCursorToWindow (and possibly other tests) were was failing because it couldn't locate a android-common class. Fix is to include android-common as a static library, as opposed to a runtime library. Change-Id: Iae50cf409e76a85ee79e4af71e9b903d18630078
ndroid.mk
|
10928c37f156963b017d508ffd79c033ace798e1 |
04-Aug-2010 |
Brett Chabot <brettchabot@android.com> |
am c458b2ca: Merge "Frameworks core tests size cleanup." into gingerbread Merge commit 'c458b2cab3a67e84f768af2247ba5235003a4ce4' into gingerbread-plus-aosp * commit 'c458b2cab3a67e84f768af2247ba5235003a4ce4': Frameworks core tests size cleanup.
|
ce38b98feb1e7c9c1799eb270c40798d833aa9ae |
22-Jul-2010 |
Vasu Nori <vnori@google.com> |
do begin-end transaction before standalone insert/update/delete sql also fix bug# 2871037 Change-Id: I13325f8eabff4f218d3206905010803b61d8e2cd
rc/android/database/DatabaseCursorTest.java
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
5e8a587d49f014fdd42403f51bbe877855e4a6b3 |
29-Jul-2010 |
Brian Carlstrom <bdc@google.com> |
Tracking merge of dalvik-dev to master Change-Id: Id4c19401ad0aa238219aaf5d9a20d2889d0a4b18
ndroid.mk
rc/android/net/http/HttpsThroughHttpProxyTest.java
|
f76c56bcaa9df1d1afa711177f813dc63f399795 |
27-Jul-2010 |
Brett Chabot <brettchabot@android.com> |
Frameworks core tests size cleanup. Adjust test sizes to better align with the test's runtime. Also do some import cleanup and migrate to non-deprecated classes. Change-Id: Ib2b190ddbe84f9ea8f5d6d3604bd4855d00df7a9
rc/android/app/activity/LifecycleTest.java
rc/android/app/activity/MetaDataTest.java
rc/android/content/BrickDeniedTest.java
rc/android/content/MemoryFileProviderTest.java
rc/android/content/SyncStorageEngineTest.java
rc/android/content/pm/AppCacheTest.java
rc/android/content/pm/ComponentTest.java
rc/android/content/pm/PackageManagerTests.java
rc/android/database/sqlite/SQLiteJDBCDriverTest.java
rc/android/os/FileObserverTest.java
rc/android/os/HierarchicalStateMachineTest.java
rc/android/os/PerformanceCollectorTest.java
rc/android/os/PowerManagerTest.java
rc/android/text/HtmlTest.java
rc/android/text/util/LinkifyTest.java
rc/android/util/MonthDisplayHelperTest.java
rc/android/view/FocusFinderTest.java
rc/android/view/accessibility/RecycleAccessibilityEventTest.java
rc/android/widget/RadioGroupPreCheckedTest.java
rc/android/widget/expandablelistview/ExpandableListWithHeadersTest.java
rc/android/widget/gridview/touch/GridTouchStackFromBottomManyTest.java
rc/android/widget/listview/arrowscroll/ListInterleaveFocusablesTest.java
rc/android/widget/listview/arrowscroll/ListOfItemsTallerThanScreenTest.java
rc/android/widget/listview/arrowscroll/ListOfShortShortTallShortShortTest.java
rc/android/widget/listview/arrowscroll/ListWithScreenOfNoSelectablesTest.java
|
fb16cbd9b2e86d6878d4bff820422bc09c8938de |
26-Jul-2010 |
Vasu Nori <vnori@google.com> |
add new API in SQLiteStatement to deprecate another. 1. SQLIteStatement.executeUpdateDelete() replaces execute() - and returns the number of rows changed. 2. let SQLiteDatabase.execSQL() call the above new API - which means all CRUD statements by execSQL() are stored in prepared statement cache. 3. remove the following from SQLiteDatabase lastrowId lastchangecount() native_execSQL() Change-Id: I4e93a09dc381f425c3ae6ccc331a7bf227491e22
rc/android/database/DatabaseGeneralTest.java
|
65a8883f0e605bb8a73a692987b47ce5da632e72 |
17-Jul-2010 |
Vasu Nori <vnori@google.com> |
don't store mDatabase in SQLiteCursor as it is already in SQLiteQuery SQLiteCursor has two members: mQuery, mDatabase but mQuery already has mDatabase. there is no need for SQLiteCursor.mDatabase. and everytime SQLiteQuery.mDatabase is to be used, try to use a pooled database connection handle, if possible. Change-Id: I42b2376d714a1a4091c843e245a45b882bb7fee6
rc/android/database/sqlite/DatabaseConnectionPoolTest.java
rc/android/database/sqlite/SQLiteCursorTest.java
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
506e6e0882fe7c726138f10d558732bf9617c5db |
16-Jul-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am 3a94ab02: merge from open-source master Merge commit '3a94ab026f0434624f233e99b1a0aadb9152a09a' * commit '3a94ab026f0434624f233e99b1a0aadb9152a09a': Allow ListPreference summary to use entry
|
3a94ab026f0434624f233e99b1a0aadb9152a09a |
16-Jul-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: Ib00a02e90d5c2c0b4cc1919258b858930967198b
|
ba636df784398e4cd56f2982de63973ef6cd44fb |
13-Jul-2010 |
Kenny Root <kroot@google.com> |
Allow ListPreference summary to use entry Currently when ListPreferences are used in a PreferenceActivity, the summary values are set to the same as the current index in mEntryValue. This patch adds the ability for a string substitution to be used in the summary which points to the corresponding entry in mEntries to aid in localization. For example a preference may be named "color" with the following attributes in the locale "de" (German): mEntryValues = { "red", "green", "blue" } mEntries = { "rot", "grün", "blau" } mSummary = "Die Farbe ist %1$s." getSummary() returns "Die Farbe ist grün." Change-Id: Iea169ac3d1c9d6290d853fc7c67a7c4c8a11bb90
rc/android/preference/ListPreferenceTest.java
|
e25539fdfdf884eee55107efbcc893f44e82e00e |
09-Jul-2010 |
Vasu Nori <vnori@google.com> |
reduce locking when using SQLiteStatement Do compiling of sql, binding of args and execution of the SQL statement within one single database lock period. This reduces the number of times the database lock needs to be acquired during the course of compilation, binding and execution of a SQLiteStatement. Change-Id: I22b090ec9e10fc0aa2532a93bafe610af2546b58
rc/android/database/sqlite/SQLiteDatabaseTest.java
rc/android/database/sqlite/SQLiteStatementTest.java
|
57feb5d9a7fd5329c2ae5daeca0ce8f10a7372a7 |
22-Jun-2010 |
Vasu Nori <vnori@google.com> |
STOPSHIP CL in master - make sqlite WAL default for all apps for testing the sqlite WAL feature in the next few weeks. Change-Id: I07234647b5e90d9e3bb0a5310b6cc449d58db428
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
2827d6d974beabb12344040a002dcb52dd7106b5 |
04-Jul-2010 |
Vasu Nori <vnori@google.com> |
for WAL to work, can't keep prepared SQL stmt_id in SQLiteStatement Some (including the Contacts app) do the following: 1. Open database 2. As part of database_connection.onCreate(), Create some SQLiteStatement objects to cache them in the process 3. attach databases WAL doesn't work with attached databases. so, apps doing the above should enable WAL only if there are no attached databases. But we would like to enable WAL automatically for all apps after step #1 above and disable WAL if the app subsequently does 'attach database' SQL. this works only if there are no SQLiteStatement objects created in step # 2, because SQLiteStatements cwmaintain a hard-reference to the database connection for life and also to the prepared SQL statement id. It is quite difficult to disable WAL in step # 3 if it is enabled in step # 1 and then a connection pool gets used by step # 2 would make WAL disabling easier if SQLiteStatement refers to prepared SQL statement id only when it is needed (during binding and execute calls) and thus NOT tied to a spacific database conenction. also, from the standpoint of not blocking readers, it helps NOT to have SQLiteStatement be married to a database connection and prepared SQL statement id for life. Change-Id: I464d57042965a28d2bde88e0f44b66ec119b40dc
rc/android/database/sqlite/SQLiteDatabaseTest.java
rc/android/database/sqlite/SQLiteStatementTest.java
|
6ac21d30be06c1c6d5ef04a88cf5171a446633f1 |
07-Jul-2010 |
Vasu Nori <vnori@google.com> |
unittests for DatabaseConnectionPool (and fix bugs) Change-Id: I6f251b4bdd472bd840ea1be6497660f8c31cd3e3
rc/android/database/sqlite/DatabaseConnectionPoolTest.java
|
59d60420ba9246eee152852b6a597a0aba7f704d |
04-Jul-2010 |
Vasu Nori <vnori@google.com> |
deprecate method returning prepared sql statement id this method causes sql statement in a SQLiteProgram object to be never re-compiled. thats not desirable, is it? there should be no need for this method. Change-Id: I207fad6415c1e2ef4097ee65a3ff347b5435b994
rc/android/database/DatabaseGeneralTest.java
rc/android/database/sqlite/SQLiteDatabaseTest.java
rc/android/database/sqlite/SQLiteStatementTest.java
|
2776d57403f08e4ffcc05d476d11d58861823f08 |
04-Jul-2010 |
Vasu Nori <vnori@google.com> |
Merge "fix broken build: renaming a testfile"
|
7af57126b557bfe08a21952134a8712f29009aaa |
04-Jul-2010 |
Vasu Nori <vnori@google.com> |
fix broken build: renaming a testfile Change-Id: I973f604f4f87792b3f8734a6aea4a73d29e0b34b
rc/android/database/sqlite/SQLiteStatementTest.java
|
d960ef8469b385124fe1a83c28c60ddaef5099ec |
04-Jul-2010 |
Vasu Nori <vnori@google.com> |
Merge "change name of a test to be more accurate"
|
709493707c22d8794a0f82b07caae96addeff460 |
04-Jul-2010 |
Vasu Nori <vnori@google.com> |
change name of a test to be more accurate Change-Id: Ie8c7d6ab4b80ae0446f9d67c8a04cef436948692
rc/android/database/sqlite/SQLiteGeneralTest.java
rc/android/database/sqlite/SQLiteStatementTest.java
|
150daa1ae1cf81b676349a7dedef61767c5a68a9 |
02-Jul-2010 |
Vasu Nori <vnori@google.com> |
Merge "remove broken, unused and unwanted tests"
|
ed57af9e89f1d27ae544ccebb88e2728c2ab379d |
02-Jul-2010 |
Vasu Nori <vnori@google.com> |
remove broken, unused and unwanted tests Change-Id: I804b777b7c434c8a190d70d6a2556e1f157abe70
rc/android/database/sqlite/AbstractJDBCDriverTest.java
rc/android/database/sqlite/SQLiteJDBCDriverTest.java
|
7501010b71d57264a06f82937f5fb29cb9f4b509 |
02-Jul-2010 |
Vasu Nori <vnori@google.com> |
some refactoring and multi-threading fixes Change-Id: I7a0497dc2ed7b1e21471d71532558ef243eb9f73
rc/android/database/DatabaseGeneralTest.java
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
b983c893d4307caec8504e6b46ca69ae859b25d3 |
28-Jun-2010 |
Derek Sollenberger <djsollen@google.com> |
Rename a data storage object to better reflect its intended usage. Change-Id: I18eae0665b59e7fee389a0e09955c5860a7e65f2
rc/android/webkit/ZoomManagerTest.java
|
4aef697d58bc142b96953cb2623b06981af2abc9 |
24-Jun-2010 |
Derek Sollenberger <djsollen@google.com> |
Initial pass at unit tests for ZoomManager. This CL also includes some minor changes to the ZoomManager that make the manager easier to test as well as fix some uncovered issues. Change-Id: I66a84d70ee75e765ccf9cccb2d123757a9470f93
rc/android/webkit/ZoomManagerTest.java
|
e8bf6dbc4025f5e3973f2902af7dfdb501e5d6ff |
18-Jun-2010 |
Vasu Nori <vnori@google.com> |
fix broken test similar to I32c30f7d05e5bec7c6b2776ce9a80c8be61d856f Change-Id: Idf075ea888dfab35afba0a28a838e3a15b7de545
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
0bcd289b99786567931b56658e37c8fcb965b513 |
17-Jun-2010 |
Vasu Nori <vnori@google.com> |
move a sqlite test from framework-tests to coretests Change-Id: Ic8d42a3c477e4ea0ad8eaa4e1869ae221b95ba46
rc/android/database/sqlite/SQLiteDatabaseTest.java
|
83ea9e395e86ca2d12d822609ca2a8b35b78cca9 |
16-Jun-2010 |
Brett Chabot <brettchabot@android.com> |
am 685fcf36: am c95812e6: Merge "Move out all framework-tests classes." into gingerbread Merge commit '685fcf364b84d5ac911ae9cbbc4fec99f36cbd48' * commit '685fcf364b84d5ac911ae9cbbc4fec99f36cbd48': Move out all framework-tests classes.
|
be81f4f15dad6d690efcab1973d1e174ce3b001b |
15-Jun-2010 |
Brett Chabot <brettchabot@android.com> |
Move out all framework-tests classes. Previously tests/framework-tests contained a quarantined set of test classes that needed access to package-private framework api. Running these tests normally would cause the dalvik verifier to throw errors. runtest now has support for turning off the dalvik verifier for frameworks tests, so move this tests into their recommended location, close to the source being tested. Also move policy source into a 'src' folder to accommodate the tests move. Change-Id: I62f839da185a55bc553b653bf583fd99da438512
rc/android/text/PackedIntVectorTest.java
rc/com/android/internal/http/multipart/MultipartTest.java
rc/com/android/internal/os/LoggingPrintStreamTest.java
|
d2cecfd3759d6785c5a2ed3f2f35fa1a30f757db |
04-Jun-2010 |
Vasu Nori <vnori@google.com> |
fix broken-test Change-Id: I3d33cda2e4f1ba68843d6a81b8c624ce4af8519f
rc/android/database/DatabaseGeneralTest.java
|
4f2cf8af551c1703835a1193727ea7c56c8c8323 |
03-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am 913dbc50: am a9f06fef: am ee7e6a78: merge from open-source master
|
a9f06fef8e2fff0c909132073203de5bd2461795 |
03-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am ee7e6a78: merge from open-source master Merge commit 'ee7e6a78e28b360826f215e0e84d43b1513b6401' into kraken * commit 'ee7e6a78e28b360826f215e0e84d43b1513b6401': Improved error-handling in Rfc822Tokenizer
|
ee7e6a78e28b360826f215e0e84d43b1513b6401 |
03-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: Idf8d5661d7b261b74ac0b1271af98795ac5faff9
|
62697e57eddc89d76fdfb6cdacaf83d058d9744a |
20-May-2010 |
Vasu Nori <vnori@google.com> |
Merge "close() on anything other than database shouldn't acquire db lock."
|
6f37f83a4802a0d411395f3abc5f24a2cfec025d |
19-May-2010 |
Vasu Nori <vnori@google.com> |
close() on anything other than database shouldn't acquire db lock. bug:2683001 implmentation details: 1.close() on any sql statement is should simply queued up for finalization to be performed later. caller doesn't acquire database lock. 2. the only effect of NOT close immediately is non-release of some memory. 3. all such queued-up-finalizations are performed whenever there is another execute() of some sql statement on that database from ANY thread in the process. 4. database close() automatically releases all unfinalized statements before closing the database. Change-Id: If4c9c7fde6b8945a41abc6c8b992aa8c69854512
rc/android/database/DatabaseGeneralTest.java
|
64545a8ced5aa350e917ab1824a1c06a14a96532 |
14-May-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make vCard code a separated static library. - Move the library to a separate directory in framewokr/base, and rename its package from android.pim.vcard to com.android.vcard. - Move all tests for the library under the directory. - Confirm all tests for vCard are successful. It would be better for us to have this directory somewhere else (like external/). But I'll submit this here now and move it to the right place as soon as possible. From the view of build mechanism, we can do that immediately. BUG: 2689523 Change-Id: I435e10571b7160bfcc029bed7c37aaac1c6fd69a
es/raw/v21_backslash.vcf
es/raw/v21_complicated.vcf
es/raw/v21_invalid_comment_line.vcf
es/raw/v21_japanese_1.vcf
es/raw/v21_japanese_2.vcf
es/raw/v21_multiple_entry.vcf
es/raw/v21_org_before_title.vcf
es/raw/v21_pref_handling.vcf
es/raw/v21_simple_1.vcf
es/raw/v21_simple_2.vcf
es/raw/v21_simple_3.vcf
es/raw/v21_title_before_org.vcf
es/raw/v21_winmo_65.vcf
es/raw/v30_comma_separated.vcf
es/raw/v30_simple.vcf
rc/android/pim/vcard/VCardExporterTests.java
rc/android/pim/vcard/VCardImporterTests.java
rc/android/pim/vcard/VCardJapanizationTests.java
rc/android/pim/vcard/VCardTestsBase.java
rc/android/pim/vcard/VCardUtilsTests.java
rc/android/pim/vcard/test_utils/ContactEntry.java
rc/android/pim/vcard/test_utils/ContentValuesBuilder.java
rc/android/pim/vcard/test_utils/ContentValuesVerifier.java
rc/android/pim/vcard/test_utils/ContentValuesVerifierElem.java
rc/android/pim/vcard/test_utils/ExportTestProvider.java
rc/android/pim/vcard/test_utils/ExportTestResolver.java
rc/android/pim/vcard/test_utils/ImportTestProvider.java
rc/android/pim/vcard/test_utils/ImportTestResolver.java
rc/android/pim/vcard/test_utils/LineVerifier.java
rc/android/pim/vcard/test_utils/LineVerifierElem.java
rc/android/pim/vcard/test_utils/PropertyNode.java
rc/android/pim/vcard/test_utils/PropertyNodesVerifier.java
rc/android/pim/vcard/test_utils/PropertyNodesVerifierElem.java
rc/android/pim/vcard/test_utils/VCardVerifier.java
rc/android/pim/vcard/test_utils/VNode.java
rc/android/pim/vcard/test_utils/VNodeBuilder.java
|
8e5819662f5ab8f38400d8df5042ba184ec04031 |
20-May-2010 |
Vasu Nori <vnori@google.com> |
Merge "DatabaseCorruptionHandler causes NPE"
|
85f08f9eaeae6b04c6ce42e5b9dc097ac3e70fc5 |
19-May-2010 |
Vasu Nori <vnori@google.com> |
DatabaseCorruptionHandler causes NPE it is trying to get attachedDb list (by executing a pragma) after closing the database. also added unittests. Change-Id: I7dce665ec7354402cdef6fbe055455f5798e123c
rc/android/database/DatabaseGeneralTest.java
|
33c26f9fd01d5e2acce3e6c7ca828951d28c7d66 |
19-May-2010 |
Wink Saville <wink@google.com> |
am 199d3783: am 7e3b31d7: Merge "Update docs, add HANDLED, NOT_HANDLED and getCurrentMessage." into kraken
|
a4f3bec29c85ef9e0d07fdd551fe3c50f28b9adc |
19-May-2010 |
Wink Saville <wink@google.com> |
Update docs, add HANDLED, NOT_HANDLED and getCurrentMessage. The EBNF statemachine description language was to difficult to remember changed to use a simpler and more obvious psuedo language. Added HANDLED and NOT_HANDLED as it makes the psuedo code more obvious. Added getCurrentMessage primarily for use by code in enter so that it can know why the new state is being entered. Change-Id: I1446e417b77684fbde0020b1da0975eedc57cce4
rc/android/os/HierarchicalStateMachineTest.java
|
d7289efbade2a7226cd0c768230f8a1fa93ebe5b |
19-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am 2be883c4: am 4ec730ca: am 7361b741: am 4a0823e5: Merge "Uncomment a test that was marked as STOPSHIP Add MediumTest tag" into froyo
|
6211c5690cdd91a0bb95fd04f19e026512794cd0 |
19-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am 5f0e438b: am 3d802ef7: am aa4db173: am 9a212adc: Fix 2641875 Initialize the cache path only if the container exists. This did exist before but was somehow removed. Fix a known test failure as well.
|
4ec730cabb68ee8347c6aa5dc929b09651275aca |
18-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am 7361b741: am 4a0823e5: Merge "Uncomment a test that was marked as STOPSHIP Add MediumTest tag" into froyo Merge commit '7361b7410f2427022cc8917b00553dc26107cded' into kraken * commit '7361b7410f2427022cc8917b00553dc26107cded': Uncomment a test that was marked as STOPSHIP
|
7361b7410f2427022cc8917b00553dc26107cded |
18-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am 4a0823e5: Merge "Uncomment a test that was marked as STOPSHIP Add MediumTest tag" into froyo Merge commit '4a0823e5486f16b10762076d629f2f7e4d5da476' into froyo-plus-aosp * commit '4a0823e5486f16b10762076d629f2f7e4d5da476': Uncomment a test that was marked as STOPSHIP
|
fb7bacf6ba9504f3a863dc954b6147985fc74778 |
18-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Uncomment a test that was marked as STOPSHIP Add MediumTest tag Change-Id: I0699d168d7ec70c076f4713e0e405c0779a290c6
rc/android/content/pm/PackageManagerTests.java
|
3d802ef73bd8573f61b6b441990fbbd8e44e18e7 |
18-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am aa4db173: am 9a212adc: Fix 2641875 Initialize the cache path only if the container exists. This did exist before but was somehow removed. Fix a known test failure as well. Merge commit 'aa4db173a2465d74ea35cc7f736f6b2a5b01f72c' into kraken * commit 'aa4db173a2465d74ea35cc7f736f6b2a5b01f72c': Fix 2641875
|
aa4db173a2465d74ea35cc7f736f6b2a5b01f72c |
18-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am 9a212adc: Fix 2641875 Initialize the cache path only if the container exists. This did exist before but was somehow removed. Fix a known test failure as well. Merge commit '9a212adcffbc4b32d51f512889b33ba584647aa9' into froyo-plus-aosp * commit '9a212adcffbc4b32d51f512889b33ba584647aa9': Fix 2641875
|
9a212adcffbc4b32d51f512889b33ba584647aa9 |
18-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Fix 2641875 Initialize the cache path only if the container exists. This did exist before but was somehow removed. Fix a known test failure as well. Change-Id: I63219369b0e7abca4919fbde2a04035a0fea9e35
rc/android/content/pm/PackageManagerTests.java
|
7cd51efcbd2d083bf577696591ef1769034f7e2f |
13-May-2010 |
Jeff Hamilton <jham@android.com> |
Remove the deprecated cursor methods. Change-Id: Ie3571fea9f36996c31c327240b11086f8cc487f0
rc/android/database/DatabaseCursorTest.java
rc/android/database/DatabaseGeneralTest.java
|
4952aef1c590361a19acdc1afae5f9c19b2fd114 |
14-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am 8e8bb02f: am 3f5ed04f: am b63ea5f7: am c928a11e: Merge "Fix 2672155 Check the code path when enabling disabling packages." into froyo
|
3f5ed04f7f594efe401f2a9f7828343920723b4b |
14-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am b63ea5f7: am c928a11e: Merge "Fix 2672155 Check the code path when enabling disabling packages." into froyo Merge commit 'b63ea5f784b7862a7ab28e0134f6da47f6275810' into kraken * commit 'b63ea5f784b7862a7ab28e0134f6da47f6275810': Fix 2672155
|
b63ea5f784b7862a7ab28e0134f6da47f6275810 |
14-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am c928a11e: Merge "Fix 2672155 Check the code path when enabling disabling packages." into froyo Merge commit 'c928a11e34678296511d5ea34582292be7368618' into froyo-plus-aosp * commit 'c928a11e34678296511d5ea34582292be7368618': Fix 2672155
|
1ace5bc070b7271a3f5835b13e326875785f718c |
13-May-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Fix 2672155 Check the code path when enabling disabling packages. Add unit test Change-Id: I0f0f482a3735234eab3f63ba1f6462574b70144e
rc/android/content/pm/PackageManagerTests.java
|
a4bb6410403d7cc4e5cac82243ad2cc3fc1d3c60 |
13-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am 1331ded8: am e28776bb: am b1110149: merge from open-source master
|
e28776bbd72397eea0dd24f5c28273fb2bf1a2f0 |
13-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am b1110149: merge from open-source master Merge commit 'b1110149cccc3b99e59ead34ca46e5ac026f6db9' into kraken * commit 'b1110149cccc3b99e59ead34ca46e5ac026f6db9': Use integer for loop counter instead of float New test in FrameworkTest for the VelocityTracker class Preserve '+' in phone numbers imported from SIM.
|
b1110149cccc3b99e59ead34ca46e5ac026f6db9 |
13-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I88a580162b34a80d1e3e7987b7a301c253afa0e8
|
54a8f2952341e39685c920e9be43e57d33e4b01b |
13-May-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Merge "Add FLAG_RERAIN_PHONE_NUMBER_FORMATTING." into kraken
|
6b385b66379b866c73d653e517de35ce313547c1 |
11-May-2010 |
Keith Ito <kito@google.com> |
am a52c85da: am 8528fcb1: am a8d8cb12: am be65399b: Merge "Fix for bug 2672749: StringIndexOutOfBoundsException in Uri.getQueryParameter" into froyo
|
9114a8bb8b241bb8d3be307b29e64ea64ab27901 |
11-May-2010 |
Keith Ito <kito@google.com> |
Fix for bug 2672749: StringIndexOutOfBoundsException in Uri.getQueryParameter Change-Id: I10b02306478d9c595dbcae0767b44c403d50e24a
rc/android/net/UriTest.java
|
ba2593a424a8d765909419e7903e4a6a454d1581 |
07-Apr-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add FLAG_RERAIN_PHONE_NUMBER_FORMATTING. Sometimes using PhoneNumberUtils takes unexpected side effects. For example, PAUSE mark (#) is removed and operation on the phone number does not work well in some devices. I also concern removing the PhoneNumberUtils logic since some other mobile phones cannot understand # or alphabets and starts emitting errors after the modification. I'll add a flag instead of just removing the code and let users choose it. Bug: 2329952 Change-Id: I4ffdd01ebb8ac320b8b67a5848a747af13c6ad1a
rc/android/pim/vcard/VCardExporterTests.java
|
07704f1f66e235e01734e8dc2e085649a4779126 |
10-May-2010 |
Dan Egnor <egnor@google.com> |
am 6bff8df8: am 1a373db0: am 5610c287: am 7d167376: Merge "Add unit test for passing thread priority & cgroup through Binder." into froyo
|
db990751ef8e535ea5cb3d527e36936e119095e8 |
07-May-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Updated URL pattern based on http://data.iana.org/TLD/tlds-alpha-by-domain.txt Note: this change doesn't solve the Arabic country code top level domains, which was turned on today. For that, more changes need to be done; probably we need a way to convert the BiDi url to punycode first; then apply this URL pattern. issue: 2663885 Change-Id: I0597fe620c4d44259bff88ecfcbcca1565928c6f
rc/android/util/PatternsTest.java
|
43fe81bc2c186e49b25762450003276a7ed0002d |
07-May-2010 |
Dan Egnor <egnor@google.com> |
Add unit test for passing thread priority & cgroup through Binder. This test actually exposes some bugs -- the test passes as written, but certain parts are commented out with references to the bugs in question. Bug: 2665914 Bug: 2665954 Change-Id: I61220e0efadc4edbb6ad419d26fa1f0f50bbc24c
ndroid.mk
ndroidManifest.xml
rc/android/os/BinderThreadPriorityService.java
rc/android/os/BinderThreadPriorityTest.java
rc/android/os/IBinderThreadPriorityService.aidl
|
cbeaf2d0aef5c8de9ce86b8f1dde17459f9227e3 |
07-May-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Revert "Updated URL pattern based on http://data.iana.org/TLD/tlds-alpha-by-domain.txt" This reverts commit 63b849ef8d6a47422b0f2779f1d9320f6a65d16b.
rc/android/util/PatternsTest.java
|
9b1872e619bd06f33853716a4bae0214b4a7d176 |
07-May-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Updated URL pattern based on http://data.iana.org/TLD/tlds-alpha-by-domain.txt Note: this change doesn't solve the Arabic country code top level domains, which was turned on today. For that, more changes need to be done; probably we need a way to convert the BiDi url to punycode first; then apply this URL pattern. issue: 2663885 Change-Id: Iac5d16bf9e091a072a59f8244ab6e87940badd4f
rc/android/util/PatternsTest.java
|
1fc1ec451610cb992f3cee37d5f05d4911676d1e |
28-Apr-2010 |
Brett Chabot <brettchabot@google.com> |
Merge "2604226 Add test cases for the internal accessibility infrastructure."
|
05fd7e7d328261260a348c0b6ba840bc1f60cb14 |
27-Apr-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Add good international characters to the path part of Url pattern. Change-Id: Ib24f8ffc8554366cb4350ec2f9d7e77efb0cb083
rc/android/util/PatternsTest.java
|
7ce7cfc32da1e5c2774ac62261a738fbb012ea99 |
27-Apr-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Merge "Add good international characters to the path part of Url pattern."
|
40064d3098e17eb447e2b9ee4512b691f6b8c269 |
27-Apr-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Add good international characters to the path part of Url pattern. Change-Id: I05efb7e52a023fcb92db9db2b41dbab2ccca87c7
rc/android/util/PatternsTest.java
|
0b29a587142b19ed25dd6489cfa037d06145afd1 |
17-Apr-2010 |
Svetoslav Ganov <svetoslavganov@google.com> |
2604226 Add test cases for the internal accessibility infrastructure. Change-Id: Iaeb2c11b6c2167632086b50d9c79e6459cc072b8
rc/android/accessibilityservice/AccessibilityTestService.java
|
22b0d173207904c9e78dc4d74248da129cba4912 |
23-Apr-2010 |
Neal Nguyen <tommyn@google.com> |
am 0c817ba3: am 27e5a95a: am 5fa65082: Merge "Re-enabling unit tests for PackageManager/Apps on SD." into froyo
|
9504c70f8862f5ffc55b07bc374e0b18b78a2dc6 |
23-Apr-2010 |
Vasu Nori <vnori@google.com> |
fix a bug introduced when prepared-statement cache was made LRU-based 1. when an entry is pushed out of cache, it should be released if it is not in use by any thread. This didn't have to be done when cache was NOT LRU because the object either got into the cache while the caller had a reference to it or it didn't. if it didn't get into cache (because cache is full), the caller's close() released the object. But in LRU cache, an object could get pushed out of cache due to LRU policy and if it is NOT in use by any thread at the time it was pushed out of cache, then it got GC'ed - which caused warnings to be pronted in the log. 2. also delete some unused methods in SQLiteDatabase. Change-Id: I7831952647d3a057342bcc8ac186a6a26eb58f33
rc/android/database/DatabaseGeneralTest.java
|
edb979a331ba3cdb12e9b7ce3944611cff1b51aa |
22-Apr-2010 |
Neal Nguyen <tommyn@google.com> |
Re-enabling unit tests for PackageManager/Apps on SD. Change-Id: I305d2e6d96418ab5b2df0ee7a31261180676204f
rc/android/content/pm/PackageManagerTests.java
|
c2591c14f77366f30cc83e9c6a2abf9d9cd12a5e |
22-Apr-2010 |
Kenny Root <kroot@google.com> |
Add tests for SettingsProvider.parseProviderList Change-Id: Id5c1597cd94b80e0d20ca415b5b7ba32200c1a03
rc/android/provider/SettingsProviderTest.java
|
56374c43f77ffb412864f53779b4a660ed6de7aa |
21-Apr-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
vCard refactoring. Change-Id: Ie6c5e0edae4a13279d5118f0380d863e4ff05727
rc/android/pim/vcard/test_utils/ContentValuesVerifier.java
rc/android/pim/vcard/test_utils/ContentValuesVerifierElem.java
rc/android/pim/vcard/test_utils/VCardVerifier.java
|
6db2c6cab5dd4970614363d53f08bf51b79de6e7 |
20-Apr-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Refactoring vCard: remove Shift_JIS information from flags. Change-Id: I34ef498b3312178e7d358b0c8ebc34703abfc771
rc/android/pim/vcard/VCardImporterTests.java
rc/android/pim/vcard/VCardJapanizationTests.java
rc/android/pim/vcard/test_utils/VCardVerifier.java
|
394026c53ece15d66bfdc256446474adaf3a6ee7 |
20-Apr-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Refactor vCard: clean up test code. Bug: 2605996 Change-Id: Icdd8f56c1c21af35c55305cb9cc124cbf43174fc
rc/android/pim/vcard/VCardJapanizationTests.java
rc/android/pim/vcard/test_utils/ContactEntry.java
rc/android/pim/vcard/test_utils/ExportTestProvider.java
rc/android/pim/vcard/test_utils/ExportTestResolver.java
rc/android/pim/vcard/test_utils/ImportTestProvider.java
rc/android/pim/vcard/test_utils/ImportTestResolver.java
rc/android/pim/vcard/test_utils/PropertyNode.java
rc/android/pim/vcard/test_utils/PropertyNodesVerifier.java
rc/android/pim/vcard/test_utils/VCardVerifier.java
rc/android/pim/vcard/test_utils/VNodeBuilder.java
|
8e798cf71e983ab27b8323b974a33d190d63f77d |
20-Apr-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Refactor vCard: move utilities for unit tests to test_utils directory. Change-Id: I4ef92633fb5eedc05f13ba53ca4ebc7e3e7ef8ce
rc/android/pim/vcard/ContentValuesBuilder.java
rc/android/pim/vcard/ContentValuesVerifier.java
rc/android/pim/vcard/ContentValuesVerifierElem.java
rc/android/pim/vcard/ExportTestResolver.java
rc/android/pim/vcard/ImportTestResolver.java
rc/android/pim/vcard/LineVerifier.java
rc/android/pim/vcard/LineVerifierElem.java
rc/android/pim/vcard/PropertyNode.java
rc/android/pim/vcard/PropertyNodesVerifier.java
rc/android/pim/vcard/VCardExporterTests.java
rc/android/pim/vcard/VCardImporterTests.java
rc/android/pim/vcard/VCardJapanizationTests.java
rc/android/pim/vcard/VCardTestsBase.java
rc/android/pim/vcard/VCardVerifier.java
rc/android/pim/vcard/VNode.java
rc/android/pim/vcard/VNodeBuilder.java
rc/android/pim/vcard/test_utils/ContactEntry.java
rc/android/pim/vcard/test_utils/ContentValuesBuilder.java
rc/android/pim/vcard/test_utils/ContentValuesVerifier.java
rc/android/pim/vcard/test_utils/ContentValuesVerifierElem.java
rc/android/pim/vcard/test_utils/ExportTestResolver.java
rc/android/pim/vcard/test_utils/ImportTestResolver.java
rc/android/pim/vcard/test_utils/LineVerifier.java
rc/android/pim/vcard/test_utils/LineVerifierElem.java
rc/android/pim/vcard/test_utils/PropertyNode.java
rc/android/pim/vcard/test_utils/PropertyNodesVerifier.java
rc/android/pim/vcard/test_utils/PropertyNodesVerifierElem.java
rc/android/pim/vcard/test_utils/VCardVerifier.java
rc/android/pim/vcard/test_utils/VNode.java
rc/android/pim/vcard/test_utils/VNodeBuilder.java
|
931a0a94321d948014f44170d4cee9eb1fc05310 |
19-Apr-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Refactor vCard so that it correctly choose charset while importing some files. Change-Id: I27600e260cd7ca42a25481d5ff61f262c9328d61
rc/android/pim/vcard/ContentValuesVerifier.java
rc/android/pim/vcard/ContentValuesVerifierElem.java
rc/android/pim/vcard/VCardVerifier.java
rc/android/pim/vcard/VNodeBuilder.java
|
186bad00b4da47062281afae89279c356031e69b |
16-Apr-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Refactor vCard code. - make the usage of VCardSourceDetector. - simplyfy flag usage. - remove unnecessary argument "canceled" Change-Id: I6dd9723df7230be7478f6817c0ac2e6cbedc6ca7
rc/android/pim/vcard/VCardImporterTests.java
rc/android/pim/vcard/VCardJapanizationTests.java
rc/android/pim/vcard/VCardTestsBase.java
rc/android/pim/vcard/VCardVerifier.java
|
120c457672056280e5925589c4b19107a9ee814a |
16-Apr-2010 |
android-build SharedAccount <android-build@google.com> |
manual merge Change-Id: I235ae925559b5db6d64cc8f8b188704a84d7b6a2
|
062fc7ce369758d5a26f83f12b50b11cd88e5def |
01-Apr-2010 |
Vasu Nori <vnori@google.com> |
allow apps to specify actions to take on database corruption error let the user specify an interface impl class to specify the actions to take when db corruption is detected. this class is specified when the database is opened/created. Change-Id: I84eb57208c8fedfa7235805b0ec58165efdc1560
rc/android/database/DatabaseGeneralTest.java
|
315a5fb91dbafe6073435a13d937cee9d26877f6 |
13-Apr-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Dont fall back to installing on sdcard when internal storage is filled up when the install location is set to internal only. Similary if install location is set to external only(via adb), dont fall back to installing on internal storage if sdcard is filled up. If nothing is specified ie install location is set to let system decide, we just check on internal storage. Fix tests Change-Id: I7400ccc131782d9c45284bd9ebd0dee43a3b412b
rc/android/content/pm/PackageManagerTests.java
|
58b50f86cdde829d286ffcc1969ed3ce9e2cdc11 |
08-Apr-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Refactor vCard parser so that its implementation detail would be hidden from users. Move the current implementation or 2.1 and 3.0 to VCardParserImpl_V21 and VCardParserImpl_V30. - From the view of users, it is strange to make vCard 3.0 inherit vCard 2.1. - Those two specifications still have similar implementation detail, so make implementation of vCard 3.0 inherits vCard 2.1 makes sense from technical view point. Now VCardParser_V21 and VCardParser_V30 are independent class. Remove strict mode in vCard 3.0, since strict parsing is not necessary from the view of actual use, and needs to extra effort to support it. Bug: 2576738 Change-Id: I1d5cb6cffffb53337faa2dd7c519e7254e12da86
rc/android/pim/vcard/ContentValuesVerifier.java
rc/android/pim/vcard/ContentValuesVerifierElem.java
rc/android/pim/vcard/PropertyNodesVerifier.java
rc/android/pim/vcard/VCardVerifier.java
|
4baf4e6a742fffba238ad79f8b2ce7bc52f96b18 |
08-Apr-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am eb606ec9: am 3e543abb: am a599469f: am c2461be6: Merge "Fix 2579461 Move install location values to secure settings. Diable attribute for UI. Set default value to auto. Add command line interface to set install location via pm." into froyo
|
40e472521a544f26cb6956995788f7c36fff1404 |
08-Apr-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Fix 2579461 Move install location values to secure settings. Diable attribute for UI. Set default value to auto. Add command line interface to set install location via pm. Change-Id: I80e97b3d24845adad7102f40dcbe238f00efa406
rc/android/content/pm/PackageManagerTests.java
|
716abe57399803a188d419a69cb5f174d77e80e6 |
08-Apr-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am 4cdd682c: am 070e1ecf: am a137cf2a: am 4b18ced6: Merge "Fix 2578016." into froyo
|
30f775b12ac7d0ff39eef201f997fe54ac60465a |
06-Apr-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Fix 2578016. Add some checks before moving package. Checkin test code. Regenerate test apks Change-Id: I769ece128fefd3429ce93208a77d887c7759d2e1
pks/install_loc_auto/Android.mk
pks/install_loc_auto/AndroidManifest.xml
pks/install_loc_auto/res/values/strings.xml
pks/install_loc_internal/Android.mk
pks/install_loc_internal/AndroidManifest.xml
pks/install_loc_internal/res/values/strings.xml
pks/install_loc_sdcard/Android.mk
pks/install_loc_sdcard/AndroidManifest.xml
pks/install_loc_sdcard/res/values/strings.xml
pks/install_loc_unspecified/Android.mk
pks/install_loc_unspecified/AndroidManifest.xml
pks/install_loc_unspecified/res/values/strings.xml
es/raw/install
es/raw/install_app1_cert1
es/raw/install_app1_cert1_cert2
es/raw/install_app1_cert2
es/raw/install_app1_cert3
es/raw/install_app1_cert3_cert4
es/raw/install_app1_unsigned
es/raw/install_app2_cert1
es/raw/install_app2_cert1_cert2
es/raw/install_app2_cert2
es/raw/install_app2_cert3
es/raw/install_app2_unsigned
es/raw/install_decl_perm
es/raw/install_loc_auto
es/raw/install_loc_internal
es/raw/install_loc_sdcard
es/raw/install_loc_unspecified
es/raw/install_shared1_cert1
es/raw/install_shared1_cert12
es/raw/install_shared1_cert1_cert2
es/raw/install_shared1_cert2
es/raw/install_shared1_unsigned
es/raw/install_shared2_cert1
es/raw/install_shared2_cert12
es/raw/install_shared2_cert1_cert2
es/raw/install_shared2_cert2
es/raw/install_shared2_unsigned
es/raw/install_use_perm_good
rc/android/content/pm/PackageManagerTests.java
|
ea08c40cba034174ad24e523a76df5be305ef2a3 |
07-Apr-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Add FLAG_REPRAIN_PHONE_NUMBER_FORMATTING. Bug: 2329952 Change-Id: I263f581c8146abc372a2cb287e6e61766fefd9b6
rc/android/pim/vcard/VCardExporterTests.java
|
ff28490f5cb9b8d0ed0f6328b496c65d3209962f |
07-Apr-2010 |
Gilles Debunne <debunne@google.com> |
Merge "ExpandableListView tests moved to CTS."
|
6c00fbe32e159443e05e04d085c5c5c0dbd1b0d8 |
07-Apr-2010 |
Brett Chabot <brettchabot@android.com> |
am 76194fd6: am 7f41a992: am f6d41580: am 0990511f: Merge "Add makefile so package manager test apks can get buitl from root." into froyo
|
50f79c95f16f3798d6b9a1e5d87d12f1d5a5e16e |
07-Apr-2010 |
Gilles Debunne <debunne@google.com> |
ExpandableListView tests moved to CTS. Tests were duplicates of those in CTS. Change-Id: I70d7cb46e58bdbca6958467b9b2e650e7546292b https://android-git.corp.google.com/g/#change,47984 http://b/issue?id=2541389
rc/android/util/ExpandableListScenario.java
rc/android/widget/expandablelistview/ExpandableListBasicTest.java
rc/android/widget/expandablelistview/ExpandableListSimple.java
rc/android/widget/expandablelistview/ExpandableListTester.java
rc/android/widget/expandablelistview/ExpandableListWithHeaders.java
rc/android/widget/expandablelistview/ExpandableListWithHeadersTest.java
rc/android/widget/expandablelistview/InflatedExpandableListView.java
rc/android/widget/expandablelistview/PositionTesterContextMenuListener.java
|
5a2190877c0cfb945f2e0cdf9b6c3c1ebbed7b87 |
07-Apr-2010 |
Brett Chabot <brettchabot@android.com> |
Add makefile so package manager test apks can get buitl from root. Change-Id: I89e3d50793a48a404c7d8e5699baea8b195b7684
pks/Android.mk
|
82b8b686521323948cd76946e9bd6d6be019797d |
06-Apr-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Let vCard importer/exporter select charset. There are some other bug where charset for import/export is used during vCard handling. Bug: 2572064 Change-Id: I0aef8a6eba0a7e9263e47368a43dbba05efa91b0
rc/android/pim/vcard/VCardJapanizationTests.java
rc/android/pim/vcard/VCardVerifier.java
rc/android/pim/vcard/VNodeBuilder.java
|
c2af3df89b5c8a6971ba536a5fb0cd55920c49c4 |
02-Apr-2010 |
Kenny Root <kroot@google.com> |
Merge "Fix 2566319, don't use package-protected members from Layout in test."
|
a87c3c0af13ce2ed8ebc07a91a9fb04eeb959882 |
02-Apr-2010 |
Doug Felt <dougfelt@google.com> |
Fix 2566319, don't use package-protected members from Layout in test. Change-Id: Ic3457e6857f03ba5550c5d82f22af2385a3c4b91
rc/android/text/StaticLayoutDirectionsTest.java
|
a0df17ae58bcc081210998a6d130ff34c569f598 |
02-Apr-2010 |
Brett Chabot <brettchabot@android.com> |
am fad2eca2: am 16d77b8d: am c162668e: Merge "More framework tests cleanup." into froyo
|
c162668e870cda9d336741f24c177cd925fef8e0 |
02-Apr-2010 |
Brett Chabot <brettchabot@android.com> |
Merge "More framework tests cleanup." into froyo
|
0dc59e78e18493aecd37427531d093e800846c3e |
02-Apr-2010 |
Brett Chabot <brettchabot@android.com> |
More framework tests cleanup. Move all tests for android.* classes from tests/AndroidTests and tests/CoreTests into framework/base/<core|graphics>/tests. Consolidate all tests for java.* classes to tests/CoreTests. Eventually hopefully these will be moved to dalvik/ somewhere. Remove tests/AndroidTests entirely. Change-Id: I86584d086ab7bd045bb38a10b699907805298a95
ndroid.mk
ndroidManifest.xml
isabledTestApp/Android.mk
isabledTestApp/AndroidManifest.xml
isabledTestApp/src/com/android/frameworks/coretests/disabled_app/EnabledActivity.java
nabledTestApp/Android.mk
nabledTestApp/AndroidManifest.xml
nabledTestApp/src/com/android/frameworks/coretests/enabled_app/DisabledActivity.java
nabledTestApp/src/com/android/frameworks/coretests/enabled_app/DisabledProvider.java
nabledTestApp/src/com/android/frameworks/coretests/enabled_app/DisabledReceiver.java
nabledTestApp/src/com/android/frameworks/coretests/enabled_app/DisabledService.java
nabledTestApp/src/com/android/frameworks/coretests/enabled_app/EnabledActivity.java
nabledTestApp/src/com/android/frameworks/coretests/enabled_app/EnabledProvider.java
nabledTestApp/src/com/android/frameworks/coretests/enabled_app/EnabledReceiver.java
nabledTestApp/src/com/android/frameworks/coretests/enabled_app/EnabledService.java
pks/install_decl_perm/Android.mk
pks/install_decl_perm/AndroidManifest.xml
pks/install_decl_perm/res/values/strings.xml
pks/install_use_perm_good/Android.mk
pks/install_use_perm_good/AndroidManifest.xml
pks/install_use_perm_good/res/values/strings.xml
es/raw/alt_ip_only.crt
es/raw/subject_alt_only.crt
es/raw/subject_only.crt
es/raw/subject_with_alt_names.crt
es/raw/subject_with_wild_alt_name.crt
es/raw/wild_alt_name_only.crt
rc/android/content/BrickDeniedTest.java
rc/android/content/SyncQueueTest.java
rc/android/content/pm/AppCacheTest.java
rc/android/content/pm/ComponentTest.java
rc/android/content/pm/PackageManagerTests.java
rc/android/database/NewDatabasePerformanceTestSuite.java
rc/android/database/NewDatabasePerformanceTests.java
rc/android/text/HtmlTest.java
rc/android/text/util/LinkifyTest.java
rc/android/util/PatternsTest.java
rc/com/android/internal/net/DNParserTest.java
rc/com/android/internal/net/DomainNameValidatorTest.java
rc/com/android/internal/util/HanziToPinyinTest.java
|
13c9a1f4901d921f84501893bf5f0b637297132f |
26-Mar-2010 |
Gilles Debunne <debunne@google.com> |
Refactor in PositionTesterContextMenuListener. The asserts were removed from that class and replaced by a status String object. This allows ExpandableListTester to do the asserts instead. These tests passed on a sapphire and passion devices as well as in the emulator. The asserts in the main thread are expected to make these tests pass during the continuous build too. This is 7fbddb1db1beeac7c6762fb7a11612e348f6ff90 cherrypicked to froyo. http://b/issue?id=2525846
rc/android/widget/expandablelistview/ExpandableListTester.java
rc/android/widget/expandablelistview/PositionTesterContextMenuListener.java
|
081e7a2716e2f3dcba328b1832380cba3b399dd1 |
01-Apr-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
am 392be3fa: am 1aa64b53: am ae18171a: Change certificate policy.
|
ae18171acd3c70fc6d27fc6bbe85828e0f928fad |
30-Mar-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Change certificate policy. The certificates of the package and its shared user certificates are initialized only when installing the package. When scanning the packages, the certificates are collected from the apk if the time stamp changes. If not the one's from PackageSetting(read from packages.xml) are reused. Removed mergeSignatures and updateSignatures since we don't support this any more. Also fix some bugs related to reinstalling failed upgrades. Some unit tests. Change-Id: Ibdeff170bd386d723f774136b18e0ad59d9cdabb
ndroidManifest.xml
es/raw/install_app1_cert1
es/raw/install_app1_cert1_cert2
es/raw/install_app1_cert2
es/raw/install_app1_cert3
es/raw/install_app1_cert3_cert4
es/raw/install_app1_unsigned
es/raw/install_app2_cert1
es/raw/install_app2_cert1_cert2
es/raw/install_app2_cert2
es/raw/install_app2_cert3
es/raw/install_app2_unsigned
es/raw/install_shared1_cert1
es/raw/install_shared1_cert12
es/raw/install_shared1_cert1_cert2
es/raw/install_shared1_cert2
es/raw/install_shared1_unsigned
es/raw/install_shared2_cert1
es/raw/install_shared2_cert12
es/raw/install_shared2_cert1_cert2
es/raw/install_shared2_cert2
es/raw/install_shared2_unsigned
rc/android/content/pm/PackageManagerTests.java
|
9f7a4442b89cc06cb8cae6992484e7ae795323ab |
01-Mar-2010 |
Doug Felt <dougfelt@google.com> |
Enable nested bidi levels in a paragraph. Changes the internal representation of direction information in the Directions object to be a visually-ordered list of start/length+direction pairs instead of a list of directionality inversion offsets. Rewrite Layout.getOffsetToLeft/RightOf to use run information instead of width metrics. Remove java Bidi, use native. Switch bidi tests to test native, expect levels instead of dirs. Add test of directionality. Leave in switch to turn new code off and restore previous behavior for now. Change-Id: Iea8bb46c678a18820e237c90f76007a084c83051
rc/android/text/StaticLayoutBidiTest.java
rc/android/text/StaticLayoutDirectionsTest.java
rc/android/text/StaticLayoutTest.java
|
5025b7b6464f594f888519f89464705c5caab15d |
31-Mar-2010 |
Fred Quintana <fredq@google.com> |
am 6669a7b4: am 4a2f285d: am 77c560f3: - changed periodic sync scheduling to just creating pending and changed the "get next operation to sync" logic just look at pending syncs, rather than them and periodic syncs - made syncoperation dup-detection ignore the init
|
018495191f385aaa8b0223d3a87f89d1aa6c8832 |
31-Mar-2010 |
Fred Quintana <fredq@google.com> |
am 010fbfc9: am 344ba661: am d5e4fdc8: some changes due to an API review - make EntityIterator extend Iterator and thus not throw a RemoteException, instead converting it into a RuntimeException. - rename ActiveSyncInfo to SyncInfo - change getActiveSync to getC
|
77c560f3d7891d9ae1ad714b5f65a22ff4f4c06b |
30-Mar-2010 |
Fred Quintana <fredq@google.com> |
- changed periodic sync scheduling to just creating pending and changed the "get next operation to sync" logic just look at pending syncs, rather than them and periodic syncs - made syncoperation dup-detection ignore the initialization sync extra - made the sync dispatcher treat initialization syncs as just a regular sync request and also made it explicitly set or clear the initialization extra based on whether the sync adapter was in the syncable or unknown state - change the getNextSync logic to prioritize syncable "unknown" syncs above everything else (since they should be fast and are important) - make it reschedule completed initialization syncs if the sync adapter is now marked syncable - fix some logging in SyncStorageEngine - change SyncStorageEngine to not reuse authority ids when one is removed http://b/issue?id=2531359 http://b/issue?id=2429638 Change-Id: I79805b582da74f4f0b6193eafaff24c2371d51e8
rc/android/content/SyncStorageEngineTest.java
|
d5e4fdc8a4743abc0d9fe3cb952a78f9ad078c6b |
31-Mar-2010 |
Fred Quintana <fredq@google.com> |
some changes due to an API review - make EntityIterator extend Iterator and thus not throw a RemoteException, instead converting it into a RuntimeException. - rename ActiveSyncInfo to SyncInfo - change getActiveSync to getCurrentSync - remove the accessors in SyncInfo and instead make the final fields publicly accessible - made AbstractThreadedSyncAdapter.cancelSync not take a thread Change-Id: I99fde5585bc5f1e95f4873ffbba189074a8d6372 http://b/issue?id=2553539 http://b/issue?id=2553541 http://b/issue?id=2553550
rc/android/pim/vcard/ExportTestResolver.java
|
18867a93e83eb2e3bb98854e78ae218334e8d38b |
29-Mar-2010 |
Doug Zongker <dougz@android.com> |
am e1599d86: am 0d531f5b: am ab69e29c: relocate android.util.base64.* -> android.util.*
|
ab69e29c1927bdc6143324eba5ccd78f7c43128d |
29-Mar-2010 |
Doug Zongker <dougz@android.com> |
relocate android.util.base64.* -> android.util.* b/2553469 - API REVIEW: android.util.base64 Change-Id: I6a514032152a8b1899db52d020aca8e8b19e74e9
rc/android/util/Base64Test.java
rc/android/util/base64/Base64Test.java
|
cad51acb5b25e40efda7abb22dbaff2c47f90c12 |
26-Mar-2010 |
Brett Chabot <brettchabot@android.com> |
am 9c14c7c5: am a3de7455: Move PackageManagerTests and AsecTests.
|
a3de74555120cc4dc205a3f93ef44c843b8d64a8 |
25-Mar-2010 |
Brett Chabot <brettchabot@android.com> |
Move PackageManagerTests and AsecTests. Remove PackageManagerTests test's from continuous due to flakiness. merged from abandoned master. Change-Id: I0a542df9df572c37bd1aa987cdc9fb2f95001a7c
ndroidManifest.xml
es/raw/install
es/raw/install_decl_perm
es/raw/install_loc_auto
es/raw/install_loc_internal
es/raw/install_loc_sdcard
es/raw/install_loc_unspecified
es/raw/install_use_perm_good
rc/android/content/pm/PackageManagerTests.java
rc/android/os/storage/AsecTests.java
rc/android/os/storage/StorageListener.java
|
7fbddb1db1beeac7c6762fb7a11612e348f6ff90 |
26-Mar-2010 |
Gilles Debunne <debunne@google.com> |
Refactor in PositionTesterContextMenuListener. The asserts were removed from that class and replaced by a status String object. This allows ExpandableListTester to do the asserts instead. These tests passed on a sapphire and passion devices as well as in the emulator. The asserts in the main thread are expected to make these tests pass during the continuous build too. Change-Id: Ic6d23e1d3a151f25249eed553113666f47b40dc3 http://b/issue?id=2525846
rc/android/widget/expandablelistview/ExpandableListTester.java
rc/android/widget/expandablelistview/PositionTesterContextMenuListener.java
|
1f343ebed1859c2033759983391278572d97e5ba |
24-Mar-2010 |
Fred Quintana <fredq@google.com> |
Merge "fix bug where sync settings set lost upon upgrade from donut and eclair to froyo"
|
fb084400d6afa6443a421117fbcaee0265d38fb6 |
24-Mar-2010 |
Fred Quintana <fredq@google.com> |
fix bug where sync settings set lost upon upgrade from donut and eclair to froyo - intepret a missing syncavble attribute from donut as "unsynced" rather than the traditional "true" - copy the sync settings from the authorities "contacts" and "calendar" to "com.android.contacts" and "com.android.calendar" if the latter don't already have settings - delay the database cleanup until after boot completed, which will give the GoogleLoginService accounts migration code a chance to run; this was causing all the settings to get removed upon a donut to froyo upgrade Change-Id: I8795e97ba0c9b930d1a50784229ca9ab15dff9d2 http://b/issue?id=2531359
rc/android/content/SyncStorageEngineTest.java
|
b4882ca26fbf55c385fbc2b37e1bab6a13ee963a |
23-Mar-2010 |
Kenny Root <kroot@google.com> |
Merge "Advance encodedKeySearchIndex if encodedKey matches a suffix of a parameter."
|
e41c317348cfe23a78bfd97609c3489c6cc4a786 |
21-Mar-2010 |
Keith Ito <kito@google.com> |
Advance encodedKeySearchIndex if encodedKey matches a suffix of a parameter. Bug: 2524610 Change-Id: I51bbf8248133b61825d2ae14afe175cb4d0413b8
rc/android/net/UriTest.java
|
e5bdecea289a09070f0ea2a1067ae2a8f498098a |
19-Mar-2010 |
Wink Saville <wink@google.com> |
Merge "Allow transitionTo in enter/exit."
|
e7be6a85da5be32348f4e83ede195477a7ec1790 |
19-Mar-2010 |
Wink Saville <wink@google.com> |
Allow transitionTo in enter/exit. bug: 2435366 Change-Id: Id15c5e2cca49ced5ebbda24887f8c490e717f101
rc/android/os/HierarchicalStateMachineTest.java
|
7e25f5cbfbe433c6ffe06a17ef42c471baf07c93 |
18-Mar-2010 |
Daniel Lehmann <lehmannd@google.com> |
Make the VCardEntry more robust against badly behaving resolvers. Additionally make the ImportTestResolver return the right result Bug:2521447 Change-Id: I39e3e686b1fd75f5e633a467f6ccb736751355ed
rc/android/pim/vcard/ImportTestResolver.java
|
91fbd56757751a7aca8ef2b4d936e587509e6eef |
18-Mar-2010 |
Wink Saville <wink@google.com> |
Add additional sendMessage methods. To simplify sending messages add sendMessage methods that take what and obj as parameters. Change-Id: Ib22d752eb3cb32fe3dfa8dd2e65915acec3e5db6
rc/android/os/HierarchicalStateMachineTest.java
|
beb0c1b3eca6e185c5a9dc71eff3c93686e1b836 |
16-Mar-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Merge "Make JNI function for setLocale() call register_localized_collators() with the current locale, not previous one, every time it is possible."
|
e1e37c632c2deb68f13c92f402c62daaca21afb1 |
16-Mar-2010 |
Brett Chabot <brettchabot@android.com> |
Remove flaky test MemoryFileTest:testPurge from large suite. Bug 2203775 Change-Id: I4709c0910384f1f2313dc67bfe6e163beaa990e6
rc/android/os/MemoryFileTest.java
|
c2e4691d788088b22eadc9b2d35e9bdf0b6a0ffc |
16-Mar-2010 |
Fred Quintana <fredq@google.com> |
- make the SyncManager add periodic syncs when it upgrades from a version of the accounts.xml file that pre-dated periodic syncs, e.g. eclair or early froyo. http://b/2515823 - make the AccountManagerService dump() use a getAccounts call that doesn't check the GET_ACCOUNTS permission to make it useful in "adb bugreport" - add some logging to SyncManager to help track down a problem Change-Id: Icb646909074e2d327d71f6bb39cf06b6fac29e77
rc/android/content/SyncStorageEngineTest.java
|
b945639d0c3fa1850c07a2b80f476c8d242a8bde |
15-Mar-2010 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Make JNI function for setLocale() call register_localized_collators() with the current locale, not previous one, every time it is possible. Add a unit test verifying this fix. BUG: 2514026 Change-Id: I4dd1b047e1ab4bf399e2c3ebc0304c0cfa3a0928
rc/android/database/DatabaseGeneralTest.java
|
1a5a3217595b183deee7a31b25e77eeed707e381 |
12-Mar-2010 |
Kenny Root <kroot@google.com> |
Add missing licensing headers for test classes Commit and file info: 33817-p9 frameworks/base/core/tests/coretests/src/android/util/LogTest.java 39945-p9 frameworks/base/core/tests/coretests/src/android/text/SpannableTest.java 39945-p9 frameworks/base/core/tests/coretests/src/android/text/SpannableStringBuilderTest.java 39945-p9 frameworks/base/core/tests/coretests/src/android/text/SpannableStringTest.java Change-Id: I1aac616069b7c26a00153d00118ced289d802e44
rc/android/text/SpannableStringBuilderTest.java
rc/android/text/SpannableStringTest.java
rc/android/text/SpannableTest.java
rc/android/util/LogTest.java
|
15a4d2ffd04dc6c70f2cd17dae12ac6bc14c69ab |
12-Mar-2010 |
Kenny Root <kroot@google.com> |
Add correct copyright headers to multiple files Format for the list of changes shows the origin commit reference followed by the file name. 33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java 33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java 133776-p9 core/java/android/app/IntentService.java 127013-p9 core/java/android/appwidget/AppWidgetHost.java 27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java 60765-p9 core/java/android/content/SyncResult.java 43920-p9 core/java/android/content/pm/ActivityInfo.java 43920-p9 core/java/android/content/pm/ApplicationInfo.java 43920-p9 core/java/android/content/pm/InstrumentationInfo.java 43920-p9 core/java/android/content/pm/PackageInfo.java 44103-p9 core/java/android/content/pm/PackageItemInfo.java 68960-p9 core/java/android/content/pm/PackageStats.java 43920-p9 core/java/android/content/pm/ResolveInfo.java 43920-p9 core/java/android/content/pm/ServiceInfo.java 60641-p9 core/java/android/content/res/Configuration.java 60734-p9 core/java/android/content/res/TypedArray.java 137672-p9 core/java/android/inputmethodservice/ExtractButton.java 123112-p9 core/java/android/inputmethodservice/ExtractEditText.java 119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java 112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java 115078-p9 core/java/android/os/BatteryStats.java 124790-p9 core/java/android/text/style/UpdateAppearance.java 45083-p9 core/java/android/view/RawInputEvent.java 101491-p9 core/java/android/view/inputmethod/EditorInfo.java 114701-p9 core/java/android/view/inputmethod/ExtractedText.java 123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java 119291-p9 core/java/com/android/internal/os/HandlerCaller.java 129279-p9 core/java/com/android/internal/os/PkgUsageStats.java 114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java 114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java 84364-p9 opengl/java/android/opengl/EGLLogWrapper.java 11355-p9 opengl/tools/glgen/src/CFunc.java 11355-p9 opengl/tools/glgen/src/CType.java 11355-p9 opengl/tools/glgen/src/CodeEmitter.java 11355-p9 opengl/tools/glgen/src/GenerateGL.java 11355-p9 opengl/tools/glgen/src/JFunc.java 11355-p9 opengl/tools/glgen/src/JType.java 11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java 11355-p9 opengl/tools/glgen/src/ParameterChecker.java 57236-p9 services/java/com/android/server/status/AnimatedImageView.java 66754-p9 services/java/com/android/server/status/CloseDragHandle.java 57188-p9 services/java/com/android/server/status/DateView.java 46928-p9 services/java/com/android/server/status/ExpandedView.java 70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java 45968-p9 services/java/com/android/server/status/IconData.java 57470-p9 services/java/com/android/server/status/IconMerger.java 82719-p9 services/java/com/android/server/status/LatestItemView.java 45968-p9 services/java/com/android/server/status/NotificationData.java 66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java 57458-p9 services/java/com/android/server/status/NotificationViewList.java 45968-p9 services/java/com/android/server/status/StatusBarException.java 45968-p9 services/java/com/android/server/status/StatusBarIcon.java 46130-p9 services/java/com/android/server/status/StatusBarNotification.java 45968-p9 services/java/com/android/server/status/StatusBarView.java 46199-p9 services/java/com/android/server/status/Ticker.java 62286-p9 services/java/com/android/server/status/TickerView.java 57188-p9 services/java/com/android/server/status/TrackingView.java 86041-p9 telephony/java/android/telephony/PhoneStateListener.java 87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java 136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java 34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java 55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java 127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java 129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java 25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java 46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java 77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java 9788976b1465ce982b5ae7c741345edd0ecd9322 core/java/android/accounts/AuthenticatorDescription.java 53332883543868fb83e111a07306368b7772b340 core/java/android/app/UiModeManager.java 93e7e22ec91dbc641d10ca6d70423e1357a95bba core/java/android/app/FullBackupAgent.java 328c0e7986aa6bb7752ec6de3da9c999920bb55f core/java/android/content/CursorEntityIterator.java 307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncQueue.java 307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncOperation.java eb034652c2037a47ebfd99779e8383bb8bb528af core/java/android/content/pm/LabeledIntent.java 49237345d83e62fdb9eb8d50b13ad086636a04fa core/java/android/content/pm/FeatureInfo.java a2b6c3775ed6b8924232d6a01bae4a19740a15f8 core/java/android/content/pm/PackageInfoLite.java 3ecd5f437580e49d80beecd29489d5fb1f7a7db0 core/java/android/content/pm/RegisteredServicesCacheListener.java 5ebbb4a6b3e16f711735ae0615b9a9ea64faad38 core/java/android/content/pm/XmlSerializerAndParser.java c4516a7b62de525e3d6d5e76851bdfaf12c11f05 core/java/android/database/sqlite/SQLiteTransactionListener.java 9bbc21a773cbdfbef2876a75c32bda5839647751 core/java/com/android/internal/backup/LocalTransport.java 21f1bd17b2dfe361acbb28453b3f3b1a110932fa core/java/com/android/internal/content/PackageMonitor.java 4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseSurfaceHolder.java 4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseIWindow.java e540833fdff4d58e37c9ba859388e24e2945ed45 core/java/com/android/internal/os/SamplingProfilerIntegration.java 192ab903887bbb8e7c7b6da5c581573850e30f46 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java 1619367ab823150fa8856d419abe02ceb75886f1 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java 27f8002e591b5c579f75b2580183b5d1c4219cd4 opengl/tools/glgen/stubs/gles11/glGetString.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glShaderSource.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GenerateGLES.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/Jsr239CodeEmitter.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GLESCodeEmitter.java 69e21f5f6e0d04539cd92848ea009dd615d88c2c opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java c028be4f3b8c7476b46859f66c3f33d528adf181 packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java df8a3f31d871db25e952972c2eb346a71186e9e3 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java Copyright header moved to top in following file: core/tests/coretests/src/android/widget/ListViewTest.java Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
rc/android/widget/ListViewTest.java
rc/android/widget/expandablelistview/PositionTesterContextMenuListener.java
|
f0f566ec4607376583e59964a6a8a6dcb0265c20 |
11-Mar-2010 |
Wink Saville <wink@google.com> |
Ignore instead of throw errors in QuittingState and reorder some parameters. Since there could be an arbitrary number of messages in the queue but Handler/Looper/MessageQueue do not provide any mechanism for removing "all" messages the best we can do is ignore. Throwing an error is probably too heavy. Change-Id: I13c81ac5786484f5b3218885b010de596d943975
rc/android/os/HierarchicalStateMachineTest.java
|
1b8b98b3db5dcf0b01d1a632aafea076cc91f5a4 |
11-Mar-2010 |
Wink Saville <wink@google.com> |
Add quit and fix HSM EBNF. Add support for quiting the looper and stopping a thread. Allow enter/exit at top or bottom of a STATE EBNF. Fix missing brace in MSG_LIST. Change-Id: Iddf5ce908008933bf8f0646e844254183da3d1f3
rc/android/os/HierarchicalStateMachineTest.java
|
49274c72395cff9dfe9da40e0abe1b8794f98c0f |
11-Mar-2010 |
Svetoslav Ganov <svetoslavganov@google.com> |
Fixing bug 2411394 - Monkey crash due to incorrect test service manifest Change-Id: I81f7b29f98d22f9d587cd056bc3ce4a86a41a18a
ndroidManifest.xml
|
d0ca3379c2dd0f987af328baa3fdad69d0a8d70a |
08-Mar-2010 |
Amith Yamasani <yamasani@google.com> |
Fix a SettingsProvider test : 2377540
rc/android/provider/SettingsProviderTest.java
|
8cb068a1220d4bd440aed628729891a282d4ef88 |
04-Mar-2010 |
Doug Felt <dougfelt@google.com> |
Remove test annotations from tests requiring package-private access.
rc/android/text/StaticLayoutBidiTest.java
|
08209a767b7d960f5396df3aa45913b2194c46be |
02-Mar-2010 |
Doug Felt <dougfelt@google.com> |
Disable tests that require package-private access to code under test.
rc/android/text/StaticLayoutTest.java
|
db204c2383ccf2e4e5e8776e93c20b376aa6934e |
02-Mar-2010 |
Fred Quintana <fredq@google.com> |
Merge "change ObserverNode.binderDied() to lock the root node before manipulating the observers tree by calling removeObserverLocked()"
|
002ffad599964653186c01f8e07fadc82dc0acee |
02-Mar-2010 |
Fred Quintana <fredq@google.com> |
change ObserverNode.binderDied() to lock the root node before manipulating the observers tree by calling removeObserverLocked() http://b/issue?id=2457485
rc/android/content/ObserverNodeTest.java
|
3c5d27ab1b34548baae6b395ca33ce869aad254d |
02-Mar-2010 |
Gilles Debunne <debunne@google.com> |
Cleaning in ListWithEditTextHeaderTest. Switched to ActivityInstrumentationTestCase2. As far as http://b/issue?id=2446911 is concerned, I was unable to reproduce a test fail. This was not the case a week ago. A fix has probably been submitted in the meantime. Change-Id: Id6e95218a2c9d29b0b4eb051a7a1288f9a9809fd
rc/android/widget/listview/focus/ListWithEditTextHeaderTest.java
|
7628fbe0311f02be443411b4682e929d1ae7c850 |
27-Feb-2010 |
Gilles Debunne <debunne@google.com> |
Merge "Fixes for ExpandableListView with headers/footers"
|
47ccdf3760635a695b7c417a0df02f7e86ce6262 |
26-Feb-2010 |
Gilles Debunne <debunne@google.com> |
Fixes for ExpandableListView with headers/footers Patches in ExpandableListView to correctly handle header/footer shifter flat positions. Make tests added in https://android-git.corp.google.com/g/#change,42312 pass. Change-Id: I0d7823f5ae290e855bfdfb8d33c18bd34661077c
rc/android/widget/expandablelistview/ExpandableListBasicTest.java
rc/android/widget/expandablelistview/ExpandableListTester.java
rc/android/widget/expandablelistview/ExpandableListWithHeadersTest.java
|
d20958551c453c30d2caa32ac05a4f0c83776a5f |
26-Feb-2010 |
Vasu Nori <vnori@google.com> |
Merge "in finalize() methods, log warnings if db lock is going to be held."
|
d606b4bf2c1a2308b40785860853cfb95a77bf58 |
24-Feb-2010 |
Vasu Nori <vnori@google.com> |
in finalize() methods, log warnings if db lock is going to be held. this is to track bug:2463988 and bug:2457342
rc/android/database/DatabaseGeneralTest.java
|
e26bad0aecc6526d8a4d9e3b80cbdc9505f1c33d |
26-Feb-2010 |
Gilles Debunne <debunne@google.com> |
New tests for ExpandableListView to exercice packed position with headers/footers. New tests for - the different conversions between flat and packed positions. - selectedPosition - contextMenuInfo. All these tests currently fail when list contains headers and/or footers. Change-Id: Ifb8fcc5de4980221e2ff4ebd2b24bc4fa03c6aae
rc/android/widget/expandablelistview/ExpandableListBasicTest.java
rc/android/widget/expandablelistview/ExpandableListTester.java
rc/android/widget/expandablelistview/ExpandableListWithHeadersTest.java
rc/android/widget/expandablelistview/PositionTesterContextMenuListener.java
|
aa635db5c65351a43ce17ceaed5909018383d88d |
25-Feb-2010 |
Gilles Debunne <debunne@google.com> |
Merge "New test on ContextMenuInfo packed positions."
|
192ab903887bbb8e7c7b6da5c581573850e30f46 |
25-Feb-2010 |
Gilles Debunne <debunne@google.com> |
New test on ContextMenuInfo packed positions. With and without headers. Non regression test for bug http://b/issue?id=1778239 Change-Id: I0235528ac6f8394292bac35f2350f3d5be1e4df7
rc/android/widget/expandablelistview/ExpandableListBasicTest.java
rc/android/widget/expandablelistview/ExpandableListWithHeaders.java
rc/android/widget/expandablelistview/ExpandableListWithHeadersTest.java
rc/android/widget/expandablelistview/InflatedExpandableListView.java
rc/android/widget/expandablelistview/PositionTesterContextMenuListener.java
|
277903f8d853297a1d22ea07e27e04d6534bc430 |
25-Feb-2010 |
Eric Fischer <enf@google.com> |
Merge "Add support for accessing native bidi implementation via jni."
|
2269d1572e5fcfb725ea55f5764d8c3280d69f6d |
25-Feb-2010 |
Dianne Hackborn <hackbod@google.com> |
Re-arrange android-common so framework no longer links with it. This is the framework part, moving classes around so the framework no longer needs to link to android-common. Makes some APIs public, others that didn't need to be public are private in the framework, some small things are copied.
ndroid.mk
|
dae8e94cce0881f3e10ef5e34b881f512bb52a75 |
24-Feb-2010 |
Doug Felt <dougfelt@google.com> |
Add support for accessing native bidi implementation via jni. Include a simple test to verify that the bidi code works.
rc/android/text/StaticLayoutBidiTest.java
|
20178d62cf669af18467a16d3c4c4237ed42151c |
22-Feb-2010 |
Doug Felt <dougfelt@google.com> |
Factor bidi algorithm into separate method. Add rudimentary support for overriding default base line direction heuristic. Add some simple tests of the bidi implementation.
rc/android/text/StaticLayoutBidiTest.java
|
8ca1228168d05533b4810be337bb400356b2379e |
24-Feb-2010 |
Eric Fischer <enf@google.com> |
Merge "Fix rounding of extra spacing when it is negative."
|
6cf7a325e6e9e70d9858e21fbb438341332ed254 |
23-Feb-2010 |
Bjorn Bringert <bringert@android.com> |
Clean up global search and web search activity finding This removes the '*' value for android.app.searchable and android.app.default_searchable that was previously used by apps to say that they want global search as their search. I think the only activity that this will affect is the wallpaper chooser in the launcher, which doesn't seem like it matters. It could mean that some third party code will stop invoking global search, but all they would need to do is call startSearch() with globalSearch=true instead. Fixes http://b/issue?id=2377433 and http://b/issue?id=2377429 Change-Id: I0252952b44ae85dab31221b598ed79cc24e2b580
rc/android/app/SearchablesTest.java
|
1065758a0f8966a8597a61492112f7859a7050a4 |
22-Feb-2010 |
Doug Felt <dougfelt@google.com> |
Fix rounding of extra spacing when it is negative.
rc/android/text/StaticLayoutTest.java
|
6ad5a7a7c78799ecb306cb97d979bdb98cc52d15 |
20-Feb-2010 |
Doug Felt <dougfelt@google.com> |
Add a few simple tests of StaticLayout.
rc/android/text/StaticLayoutTest.java
|
e8de28415b4362824a52c180adf10dd882d12eaf |
18-Feb-2010 |
Vasu Nori <vnori@google.com> |
bug fix for 2419869. also included 2 unittests. bug fix for 2419869 is the following 1. only one object can use the prepared statement object (SQLiteCompiledSql in SQLIteProgram) 2. if two objects are requesting to use it, then create a new prepared statement object for exclusive use by the newcomer and let it be be finalized by the newcomer. 3. add mInUse flag to SQLiteCompiledSql - to be set when SQLiteProgram requests it and to be released when that SQLiteProgram is done with it a couple more changes included are 1. unitests to simulate bug # 2419869 (and the fix's repair to it) 2. better logging in SQLiteCloseable when it prints log messages
rc/android/database/DatabaseGeneralTest.java
rc/android/database/sqlite/SQLiteGeneralTest.java
|
d651629478ea4615e3a493aa63ae455d6fefb38f |
18-Feb-2010 |
Gilles Debunne <debunne@google.com> |
Merge "List.GetCheckItemIds no longer includes unchecked items."
|
fd3ddfa6f0559eb29eea179690144a7357c34b3d |
18-Feb-2010 |
Gilles Debunne <debunne@google.com> |
List.GetCheckItemIds no longer includes unchecked items. Unchecked items remain in the mCheckStates with an associated false value. Now filtered out. Added a unit test to ensure non regression. Change-Id: If0b1a38aa06881055c87a97b3afb2c7fb48656f1 http://b/issue?id=2440815
rc/android/widget/listview/ListGetCheckItemIdsTest.java
|
479ae0a28099eb77299fe0f44d4dfabce3115fb6 |
04-Feb-2010 |
Amith Yamasani <yamasani@google.com> |
Cleanup of global search references in SearchDialog and SearchManager.
rc/android/app/SearchManagerTest.java
|
1017a134c19b3d296c7c05cf640db4b08816d090 |
17-Feb-2010 |
Bjorn Bringert <bringert@android.com> |
Clean up after failed MemoryFileTest.testPurge() MemoryFileTest.testPurge() can fail if the process runs out of file descriptors before the kernel starts purging ashmem areas. Before, there was no finally block to close the open ashmem file descriptions, which caused random other tests to fail. I also changed the size of the memory areas to 10MB, which should cause it to run out of memory before it runs out of file descriptors. It now fails with this instead: java.io.IOException at android.os.MemoryFile.native_pin(Native Method) at android.os.MemoryFile.allowPurging(MemoryFile.java:189) at android.os.MemoryFileTest.testPurge(MemoryFileTest.java:53) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:430) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447) I'm not sure why, but it could be that the kernel is purging the just allocated area instead of an old one. That seems like bug. See http://b/issue?id=2203775 Change-Id: Ia7930a714378474dd4c2c6709da40c08e715ab6f
rc/android/os/MemoryFileTest.java
|
bb50863c07c763ad50f723954cfc4401759e448a |
16-Feb-2010 |
Bjorn Bringert <bringert@android.com> |
Merge "Remove flaky and broken search tests from continous"
|
052e88bb60d43d82a94985d655d7dfaa6244fc69 |
16-Feb-2010 |
Bjorn Bringert <bringert@android.com> |
Remove flaky and broken search tests from continous See: http://b/issue?id=2403672 Change-Id: Ie901a746b28a08f0cd6306c515c5fb5cddae4c41
rc/android/app/SearchManagerTest.java
|
c694aa75971baf33b4960b29988db80e7adbe817 |
16-Feb-2010 |
Doug Zongker <dougz@android.com> |
Merge "tweak the Base64 implementation"
|
9df2ffd4205115a68c4fe0651b2072e3e4573dd2 |
14-Feb-2010 |
Doug Zongker <dougz@android.com> |
tweak the Base64 implementation - move the encodeInternal/decodeInternal methods into the inner "state" classes - tighten up the inner loop of the encoder and decoder a bit, saving about 5% of time in both cases - improve javadoc - other little fixes Change-Id: I72e0ce8502c664a32418cea04636ccdbf4fec17c
rc/android/util/base64/Base64Test.java
|
1c9131c91f27c8258dfad0a92cee105275f5422a |
13-Feb-2010 |
Dan Egnor <egnor@google.com> |
Remove all traces of the old checkin service (and its associated parental control interfaces) from the framework.
rc/com/google/android/net/ParentalControlTest.java
|
d2affae13dfdb116adaee1bb10aaaac80a885481 |
13-Feb-2010 |
Doug Zongker <dougz@android.com> |
add a Base64 implementation to the API b/1413917 - RFE: Base64 utility class Change-Id: I11697859e1f78f596b92d2e03a49ed1be04ae42d
rc/android/util/base64/Base64Test.java
|
787372568affc7d87aaa3c112ff561d7e9540fc7 |
09-Feb-2010 |
Vasu Nori <vnori@google.com> |
Merge "suppress broken tests(http://b/2431671)"
|
5793a17366997060b34d1877380980683bacb965 |
09-Feb-2010 |
Vasu Nori <vnori@google.com> |
suppress broken tests(http://b/2431671) should have debugged the broken test. added transactions to speed up tests wherver possible
rc/android/database/DatabaseCursorTest.java
|
b56ae20b22fd7283df32072a431ab6d4965f3c1b |
05-Feb-2010 |
Suchi Amalapurapu <asuchitra@google.com> |
Rename media resource broadcasts Add checks for fwdlocked and updated system apps add more tests remove duplicate adds
ndroidManifest.xml
|
3ef94e25b4c896ecaa85aa2c12b8863ecdf98df0 |
05-Feb-2010 |
Vasu Nori <vnori@google.com> |
use sqlite 3.6.22 to print and profile the sql statetements instead of rolling our own trace/profile code in java, lets use sqlite 3.6.22 features. turns out sqlite does a good job of printing the sql statements - including the ones from the triggers.
rc/android/database/sqlite/SQLiteDebugTest.java
|
c5d1c6db61f208b206b260f897bb5bbc64be4d97 |
27-Jan-2010 |
Fred Quintana <fredq@google.com> |
add sync polling - added the ability to specify that a sync (of account/authority/extras) should occur at a given frequency - the existing daily poll code was replaced with seeding each account/authority with a 24 hour periodic sync - enhanced the "adb shell dumpsys content" output to show the periodic syncs and when they will next run
rc/android/content/SyncStorageEngineTest.java
|
8fccf67fa5395232660ffd65e8062b0ee621d160 |
02-Feb-2010 |
Vasu Nori <vnori@google.com> |
Merge "add instrumentation to log the sql statement + bindargs + databasename"
|
4dd4ab4cc322e82401f380aeb877daa4a20d7069 |
30-Jan-2010 |
Vasu Nori <vnori@google.com> |
add instrumentation to log the sql statement + bindargs + databasename capture the sql statement along with the bindargs passed in. this will help one to see the sql statements being executed and hopefully will help debug incorrect-sql bugs.
rc/android/database/sqlite/SQLiteDebugTest.java
|
1a44d5dcabc18cd5ef111f732ccff91683a1a093 |
13-Jan-2010 |
Neal Nguyen <tommyn@google.com> |
Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources. Most of these are file moves; a couple notable exceptions are the changes due to the move, and fixing up test code: - database/DatabaseCursorTest.java - database/DatabaseStatementTest.java - net/UriTest.java
ndroid.mk
ndroidManifest.xml
ssets/text.txt
es/layout/layout_five.xml
es/layout/layout_four.xml
es/layout/layout_one.xml
es/layout/layout_six.xml
es/layout/layout_tag.xml
es/layout/layout_three.xml
es/layout/layout_two.xml
es/raw/medium.xml
es/raw/small.xml
es/raw/text.txt
es/raw/v21_backslash.vcf
es/raw/v21_complicated.vcf
es/raw/v21_invalid_comment_line.vcf
es/raw/v21_japanese_1.vcf
es/raw/v21_japanese_2.vcf
es/raw/v21_multiple_entry.vcf
es/raw/v21_org_before_title.vcf
es/raw/v21_pref_handling.vcf
es/raw/v21_simple_1.vcf
es/raw/v21_simple_2.vcf
es/raw/v21_simple_3.vcf
es/raw/v21_title_before_org.vcf
es/raw/v21_winmo_65.vcf
es/raw/v30_comma_separated.vcf
es/raw/v30_simple.vcf
es/values/strings.xml
es/xml/metadata.xml
es/xml/metadata_app.xml
es/xml/searchable.xml
rc/android/accounts/AccountManagerServiceTest.java
rc/android/app/SearchManagerTest.java
rc/android/app/SearchablesTest.java
rc/android/app/SuggestionProvider.java
rc/android/app/activity/AbortReceiver.java
rc/android/app/activity/ActivityManagerTest.java
rc/android/app/activity/ActivityTests.java
rc/android/app/activity/ActivityTestsBase.java
rc/android/app/activity/BroadcastTest.java
rc/android/app/activity/ClearTop.java
rc/android/app/activity/IntentSenderTest.java
rc/android/app/activity/LaunchTest.java
rc/android/app/activity/LaunchpadActivity.java
rc/android/app/activity/LaunchpadTabActivity.java
rc/android/app/activity/LifecycleTest.java
rc/android/app/activity/LocalActivity.java
rc/android/app/activity/LocalDeniedReceiver.java
rc/android/app/activity/LocalDeniedService.java
rc/android/app/activity/LocalDialog.java
rc/android/app/activity/LocalGrantedReceiver.java
rc/android/app/activity/LocalGrantedService.java
rc/android/app/activity/LocalProvider.java
rc/android/app/activity/LocalReceiver.java
rc/android/app/activity/LocalScreen.java
rc/android/app/activity/LocalService.java
rc/android/app/activity/MetaDataTest.java
rc/android/app/activity/RemoteDeniedReceiver.java
rc/android/app/activity/RemoteGrantedReceiver.java
rc/android/app/activity/RemoteReceiver.java
rc/android/app/activity/RemoteSubActivityScreen.java
rc/android/app/activity/ResultReceiver.java
rc/android/app/activity/SearchableActivity.java
rc/android/app/activity/ServiceTest.java
rc/android/app/activity/SetTimeZonePermissionsTest.java
rc/android/app/activity/SubActivityScreen.java
rc/android/app/activity/SubActivityTest.java
rc/android/app/activity/TestedActivity.java
rc/android/app/activity/TestedScreen.java
rc/android/content/AssetTest.java
rc/android/content/ContentQueryMapTest.java
rc/android/content/ContentTests.java
rc/android/content/MemoryFileProvider.java
rc/android/content/MemoryFileProviderTest.java
rc/android/database/CursorWindowTest.java
rc/android/database/DatabaseCursorTest.java
rc/android/database/DatabaseGeneralTest.java
rc/android/database/DatabaseLocaleTest.java
rc/android/database/DatabaseLockTest.java
rc/android/database/DatabasePerformanceTests.java
rc/android/database/DatabaseStatementTest.java
rc/android/database/DatabaseStressTest.java
rc/android/net/LocalSocketTest.java
rc/android/net/SSLTest.java
rc/android/net/UriMatcherTest.java
rc/android/net/UriTest.java
rc/android/os/AidlTest.aidl
rc/android/os/AidlTest.java
rc/android/os/BroadcasterTest.java
rc/android/os/BuildTest.java
rc/android/os/FileObserverTest.java
rc/android/os/FileUtilsTest.java
rc/android/os/HandlerTester.java
rc/android/os/HandlerThreadTest.java
rc/android/os/HierarchicalStateMachineTest.java
rc/android/os/IAidlTest.aidl
rc/android/os/IdleHandlerTest.java
rc/android/os/MemoryFileTest.java
rc/android/os/MessageQueueTest.java
rc/android/os/MessengerService.java
rc/android/os/MessengerTest.java
rc/android/os/OsTests.java
rc/android/os/PerformanceCollectorTest.java
rc/android/os/PowerManagerTest.java
rc/android/os/SystemPropertiesTest.java
rc/android/os/TestHandlerThread.java
rc/android/os/TraceTest.java
rc/android/pim/vcard/ContentValuesBuilder.java
rc/android/pim/vcard/ContentValuesVerifier.java
rc/android/pim/vcard/ContentValuesVerifierElem.java
rc/android/pim/vcard/ExportTestResolver.java
rc/android/pim/vcard/ImportTestResolver.java
rc/android/pim/vcard/LineVerifier.java
rc/android/pim/vcard/LineVerifierElem.java
rc/android/pim/vcard/PropertyNode.java
rc/android/pim/vcard/PropertyNodesVerifier.java
rc/android/pim/vcard/VCardExporterTests.java
rc/android/pim/vcard/VCardImporterTests.java
rc/android/pim/vcard/VCardJapanizationTests.java
rc/android/pim/vcard/VCardTestsBase.java
rc/android/pim/vcard/VCardUtilsTests.java
rc/android/pim/vcard/VCardVerifier.java
rc/android/pim/vcard/VNode.java
rc/android/pim/vcard/VNodeBuilder.java
rc/android/provider/SettingsProviderTest.java
rc/android/provider/SmsProviderTest.java
rc/android/text/SpannedTest.java
rc/android/text/TextLayoutTest.java
rc/android/text/TextUtilsTest.java
rc/android/text/format/TimeTest.java
rc/android/util/LogTest.java
rc/android/util/TimeUtilsTest.java
rc/android/view/CreateViewTest.java
rc/android/view/InflateTest.java
rc/android/view/MenuTest.java
rc/android/webkit/WebkitTest.java
rc/android/widget/LabelView.java
rc/android/widget/TextViewPerformanceTest.java
rc/android/widget/TextViewTest.java
rc/com/android/internal/util/BitwiseStreamsTest.java
rc/com/android/internal/util/CharSequencesTest.java
rc/com/google/android/net/ParentalControlTest.java
|
6505122dfe96322bdeac4210d313b3f043c6a29a |
27-Jan-2010 |
Brian Carlstrom <bdc@google.com> |
Issue 1597: browser crash possibly related to invalid SSL certificate
rc/android/net/http/SslCertificateTest.java
|
1d3165f10b12165f02b7015ac1a817c5f60e6399 |
12-Jan-2010 |
Neal Nguyen <tommyn@google.com> |
Phase 2 of test file cleanup: relocating test files from FrameworkTest closer to their sources in core. In addition to the file moves, the package names of the tests have been updated and adjusted to match their new locations.
ndroidManifest.xml
es/drawable-hdpi/big_drawable_background.9.png
es/drawable-hdpi/black_square.png
es/drawable-hdpi/black_square_stretchable.9.png
es/drawable-hdpi/drawable_background.9.png
es/drawable-hdpi/sym_now_playing_pause_1.png
es/drawable-hdpi/sym_now_playing_skip_backward_1.png
es/drawable-hdpi/sym_now_playing_skip_forward_1.png
es/drawable-mdpi/big_drawable_background.9.png
es/drawable-mdpi/black_square.png
es/drawable-mdpi/black_square_stretchable.9.png
es/drawable-mdpi/drawable_background.9.png
es/drawable-mdpi/sym_now_playing_pause_1.png
es/drawable-mdpi/sym_now_playing_skip_backward_1.png
es/drawable-mdpi/sym_now_playing_skip_forward_1.png
es/drawable/bitmap_drawable.xml
es/drawable/box.xml
es/layout/add_column_in_table.xml
es/layout/autocompletetextview_simple.xml
es/layout/baseline_0width_and_weight.xml
es/layout/baseline_buttons.xml
es/layout/baseline_center_gravity.xml
es/layout/brightness_limit.xml
es/layout/descendant_focusability.xml
es/layout/disabled.xml
es/layout/drawable_background_minimum_size.xml
es/layout/fill_in_wrap.xml
es/layout/focus_after_removal.xml
es/layout/focus_listener.xml
es/layout/framelayout_gravity.xml
es/layout/framelayout_margin.xml
es/layout/grid_in_horizontal.xml
es/layout/grid_in_vertical.xml
es/layout/grid_padding.xml
es/layout/grid_scroll_listener.xml
es/layout/grid_thrasher.xml
es/layout/include_button.xml
es/layout/include_button_with_size.xml
es/layout/include_tag.xml
es/layout/inflated_expandablelistview.xml
es/layout/linear_layout_buttons.xml
es/layout/linear_layout_edittext_then_button.xml
es/layout/linear_layout_grid.xml
es/layout/linear_layout_listview_height.xml
es/layout/linear_layout_spinner_then_button.xml
es/layout/linear_layout_textviews.xml
es/layout/linear_layout_weight.xml
es/layout/list_dividers.xml
es/layout/list_filter.xml
es/layout/list_in_horizontal.xml
es/layout/list_in_vertical.xml
es/layout/list_recycler_profiling.xml
es/layout/list_scroll_listener.xml
es/layout/list_take_focus_from_side.xml
es/layout/list_thrasher.xml
es/layout/list_with_button_above.xml
es/layout/list_with_disappearing_item_bug_item.xml
es/layout/list_with_empty_view.xml
es/layout/longpress.xml
es/layout/mail_message.xml
es/layout/merge_child.xml
es/layout/merge_tag.xml
es/layout/popup_window_visibility.xml
es/layout/pre_draw_listener.xml
es/layout/radiogroup_checkedchild.xml
es/layout/remote_view_host.xml
es/layout/remote_view_test_bad_1.xml
es/layout/remote_view_test_bad_2.xml
es/layout/remote_view_test_good.xml
es/layout/scroll_to_rect_with_internal_scroll.xml
es/layout/scroll_to_rectangle.xml
es/layout/scrollview_linear_layout.xml
es/layout/scrollview_with_webviews.xml
es/layout/table_layout_cell_span.xml
es/layout/table_layout_fixed_width.xml
es/layout/table_layout_horizontal_gravity.xml
es/layout/table_layout_vertical_gravity.xml
es/layout/table_layout_weight.xml
es/layout/translucent_background.xml
es/layout/viewgroupchildren.xml
es/layout/viewstub.xml
es/layout/visibility.xml
es/layout/visibility_callback.xml
es/layout/weight_sum.xml
es/layout/with_bitmap_background.xml
es/layout/zero_sized.xml
es/values/arrays.xml
es/values/attrs.xml
es/values/colors.xml
es/values/strings.xml
es/values/styles.xml
rc/android/accessibilityservice/AccessibilityTestService.java
rc/android/app/TranslucentFancyActivity.java
rc/android/content/ContentProviderOperationTest.java
rc/android/content/SearchRecentSuggestionsProviderTest.java
rc/android/database/sqlite/AbstractJDBCDriverTest.java
rc/android/database/sqlite/SQLiteJDBCDriverTest.java
rc/android/os/BrightnessLimit.java
rc/android/text/HtmlTest.java
rc/android/text/SpannableStringBuilderTest.java
rc/android/text/SpannableStringTest.java
rc/android/text/SpannableTest.java
rc/android/util/ExpandableListScenario.java
rc/android/util/GridScenario.java
rc/android/util/InternalSelectionView.java
rc/android/util/KeyUtils.java
rc/android/util/ListItemFactory.java
rc/android/util/ListScenario.java
rc/android/util/ListUtil.java
rc/android/util/ScrollViewScenario.java
rc/android/util/TouchModeFlexibleAsserts.java
rc/android/view/BigCache.java
rc/android/view/BigCacheTest.java
rc/android/view/BitmapDrawable.java
rc/android/view/Disabled.java
rc/android/view/DisabledLongpressTest.java
rc/android/view/DisabledTest.java
rc/android/view/DrawableBgMinSize.java
rc/android/view/DrawableBgMinSizeTest.java
rc/android/view/FocusFinderTest.java
rc/android/view/GlobalFocusChange.java
rc/android/view/GlobalFocusChangeTest.java
rc/android/view/Include.java
rc/android/view/IncludeTest.java
rc/android/view/ListContextMenu.java
rc/android/view/Longpress.java
rc/android/view/LongpressTest.java
rc/android/view/Merge.java
rc/android/view/MergeTest.java
rc/android/view/MutateDrawable.java
rc/android/view/MutateDrawableTest.java
rc/android/view/PopupWindowVisibility.java
rc/android/view/PreDrawListener.java
rc/android/view/RemoteViewsActivity.java
rc/android/view/RunQueue.java
rc/android/view/RunQueueTest.java
rc/android/view/SetTagsTest.java
rc/android/view/StubbedView.java
rc/android/view/ViewGroupChildren.java
rc/android/view/ViewGroupChildrenTest.java
rc/android/view/ViewStubTest.java
rc/android/view/Visibility.java
rc/android/view/VisibilityCallback.java
rc/android/view/VisibilityCallbackTest.java
rc/android/view/VisibilityTest.java
rc/android/view/ZeroSized.java
rc/android/view/ZeroSizedTest.java
rc/android/view/accessibility/RecycleAccessibilityEventTest.java
rc/android/view/menu/MenuLayout.java
rc/android/view/menu/MenuLayoutLandscape.java
rc/android/view/menu/MenuLayoutLandscapeTest.java
rc/android/view/menu/MenuLayoutPortrait.java
rc/android/view/menu/MenuLayoutPortraitTest.java
rc/android/view/menu/MenuScenario.java
rc/android/view/menu/MenuWith1Item.java
rc/android/view/menu/MenuWith1ItemTest.java
rc/android/widget/AutoCompleteTextViewCallbacks.java
rc/android/widget/AutoCompleteTextViewPopup.java
rc/android/widget/AutoCompleteTextViewSimple.java
rc/android/widget/ListViewTest.java
rc/android/widget/RadioGroupActivity.java
rc/android/widget/RadioGroupPreCheckedTest.java
rc/android/widget/SimpleCursorAdapterTest.java
rc/android/widget/expandablelistview/ExpandableListBasicTest.java
rc/android/widget/expandablelistview/ExpandableListSimple.java
rc/android/widget/expandablelistview/ExpandableListWithHeaders.java
rc/android/widget/expandablelistview/ExpandableListWithHeadersTest.java
rc/android/widget/expandablelistview/InflatedExpandableListView.java
rc/android/widget/focus/AdjacentVerticalRectLists.java
rc/android/widget/focus/DescendantFocusability.java
rc/android/widget/focus/DescendantFocusabilityTest.java
rc/android/widget/focus/FocusAfterRemoval.java
rc/android/widget/focus/FocusAfterRemovalTest.java
rc/android/widget/focus/FocusChangeWithInterestingRectHintTest.java
rc/android/widget/focus/GoneParentFocusedChild.java
rc/android/widget/focus/GoneParentFocusedChildTest.java
rc/android/widget/focus/HorizontalFocusSearch.java
rc/android/widget/focus/HorizontalFocusSearchTest.java
rc/android/widget/focus/LinearLayoutGrid.java
rc/android/widget/focus/LinearLayoutGridTest.java
rc/android/widget/focus/ListOfButtons.java
rc/android/widget/focus/ListOfButtonsTest.java
rc/android/widget/focus/ListOfEditTexts.java
rc/android/widget/focus/ListOfInternalSelectionViews.java
rc/android/widget/focus/ListWithFooterViewAndNewLabels.java
rc/android/widget/focus/ListWithFooterViewAndNewLabelsTest.java
rc/android/widget/focus/ListWithMailMessages.java
rc/android/widget/focus/RequestFocus.java
rc/android/widget/focus/RequestFocusTest.java
rc/android/widget/focus/ScrollingThroughListOfFocusablesTest.java
rc/android/widget/focus/VerticalFocusSearch.java
rc/android/widget/focus/VerticalFocusSearchTest.java
rc/android/widget/gridview/GridDelete.java
rc/android/widget/gridview/GridInHorizontal.java
rc/android/widget/gridview/GridInHorizontalTest.java
rc/android/widget/gridview/GridInVertical.java
rc/android/widget/gridview/GridInVerticalTest.java
rc/android/widget/gridview/GridPadding.java
rc/android/widget/gridview/GridPaddingTest.java
rc/android/widget/gridview/GridScrollListener.java
rc/android/widget/gridview/GridScrollListenerTest.java
rc/android/widget/gridview/GridSetSelection.java
rc/android/widget/gridview/GridSetSelectionBaseTest.java
rc/android/widget/gridview/GridSetSelectionMany.java
rc/android/widget/gridview/GridSetSelectionManyTest.java
rc/android/widget/gridview/GridSetSelectionStackFromBottom.java
rc/android/widget/gridview/GridSetSelectionStackFromBottomMany.java
rc/android/widget/gridview/GridSetSelectionStackFromBottomManyTest.java
rc/android/widget/gridview/GridSetSelectionStackFromBottomTest.java
rc/android/widget/gridview/GridSetSelectionTest.java
rc/android/widget/gridview/GridSimple.java
rc/android/widget/gridview/GridSingleColumn.java
rc/android/widget/gridview/GridSingleColumnTest.java
rc/android/widget/gridview/GridStackFromBottom.java
rc/android/widget/gridview/GridStackFromBottomMany.java
rc/android/widget/gridview/GridStackFromBottomManyTest.java
rc/android/widget/gridview/GridStackFromBottomTest.java
rc/android/widget/gridview/GridThrasher.java
rc/android/widget/gridview/GridVerticalSpacing.java
rc/android/widget/gridview/GridVerticalSpacingStackFromBottom.java
rc/android/widget/gridview/touch/GridTouchSetSelectionTest.java
rc/android/widget/gridview/touch/GridTouchStackFromBottomManyTest.java
rc/android/widget/gridview/touch/GridTouchStackFromBottomTest.java
rc/android/widget/gridview/touch/GridTouchVerticalSpacingStackFromBottomTest.java
rc/android/widget/gridview/touch/GridTouchVerticalSpacingTest.java
rc/android/widget/layout/frame/FrameLayoutGravity.java
rc/android/widget/layout/frame/FrameLayoutGravityTest.java
rc/android/widget/layout/frame/FrameLayoutMargin.java
rc/android/widget/layout/frame/FrameLayoutMarginTest.java
rc/android/widget/layout/linear/BaselineAlignmentCenterGravity.java
rc/android/widget/layout/linear/BaselineAlignmentCenterGravityTest.java
rc/android/widget/layout/linear/BaselineAlignmentSpinnerButton.java
rc/android/widget/layout/linear/BaselineAlignmentZeroWidthAndWeight.java
rc/android/widget/layout/linear/BaselineAlignmentZeroWidthAndWeightTest.java
rc/android/widget/layout/linear/BaselineButtons.java
rc/android/widget/layout/linear/BaselineButtonsTest.java
rc/android/widget/layout/linear/ExceptionTextView.java
rc/android/widget/layout/linear/FillInWrap.java
rc/android/widget/layout/linear/FillInWrapTest.java
rc/android/widget/layout/linear/HorizontalOrientationVerticalAlignment.java
rc/android/widget/layout/linear/LLEditTextThenButton.java
rc/android/widget/layout/linear/LLOfButtons1.java
rc/android/widget/layout/linear/LLOfButtons2.java
rc/android/widget/layout/linear/LLOfTwoFocusableInTouchMode.java
rc/android/widget/layout/linear/LinearLayoutEditTexts.java
rc/android/widget/layout/linear/LinearLayoutEditTextsTest.java
rc/android/widget/layout/linear/Weight.java
rc/android/widget/layout/linear/WeightSum.java
rc/android/widget/layout/linear/WeightSumTest.java
rc/android/widget/layout/linear/WeightTest.java
rc/android/widget/layout/table/AddColumn.java
rc/android/widget/layout/table/AddColumnTest.java
rc/android/widget/layout/table/CellSpan.java
rc/android/widget/layout/table/CellSpanTest.java
rc/android/widget/layout/table/FixedWidth.java
rc/android/widget/layout/table/FixedWidthTest.java
rc/android/widget/layout/table/HorizontalGravity.java
rc/android/widget/layout/table/HorizontalGravityTest.java
rc/android/widget/layout/table/VerticalGravity.java
rc/android/widget/layout/table/VerticalGravityTest.java
rc/android/widget/layout/table/Weight.java
rc/android/widget/layout/table/WeightTest.java
rc/android/widget/listview/AdjacentListsWithAdjacentISVsInside.java
rc/android/widget/listview/ListBottomGravity.java
rc/android/widget/listview/ListBottomGravityMany.java
rc/android/widget/listview/ListBottomGravityManyTest.java
rc/android/widget/listview/ListBottomGravityTest.java
rc/android/widget/listview/ListButtonsDiagonalAcrossItems.java
rc/android/widget/listview/ListDividers.java
rc/android/widget/listview/ListEmptyViewTest.java
rc/android/widget/listview/ListEndingWithMultipleSeparators.java
rc/android/widget/listview/ListFilter.java
rc/android/widget/listview/ListFocusableTest.java
rc/android/widget/listview/ListGetSelectedView.java
rc/android/widget/listview/ListHeterogeneous.java
rc/android/widget/listview/ListHeterogeneousTest.java
rc/android/widget/listview/ListHorizontalFocusWithinItemWins.java
rc/android/widget/listview/ListInHorizontal.java
rc/android/widget/listview/ListInHorizontalTest.java
rc/android/widget/listview/ListInVertical.java
rc/android/widget/listview/ListInVerticalTest.java
rc/android/widget/listview/ListInterleaveFocusables.java
rc/android/widget/listview/ListItemFocusableAboveUnfocusable.java
rc/android/widget/listview/ListItemFocusablesClose.java
rc/android/widget/listview/ListItemFocusablesFarApart.java
rc/android/widget/listview/ListItemISVAndButton.java
rc/android/widget/listview/ListItemRequestRectAboveThinFirstItemTest.java
rc/android/widget/listview/ListItemsExpandOnSelection.java
rc/android/widget/listview/ListLastItemPartiallyVisible.java
rc/android/widget/listview/ListManagedCursor.java
rc/android/widget/listview/ListManagedCursorTest.java
rc/android/widget/listview/ListOfItemsShorterThanScreen.java
rc/android/widget/listview/ListOfItemsTallerThanScreen.java
rc/android/widget/listview/ListOfShortShortTallShortShort.java
rc/android/widget/listview/ListOfShortTallShort.java
rc/android/widget/listview/ListOfThinItems.java
rc/android/widget/listview/ListOfTouchables.java
rc/android/widget/listview/ListRecyclerProfiling.java
rc/android/widget/listview/ListRetainsFocusAcrossLayoutsTest.java
rc/android/widget/listview/ListScrollListener.java
rc/android/widget/listview/ListScrollListenerTest.java
rc/android/widget/listview/ListSetSelection.java
rc/android/widget/listview/ListSetSelectionTest.java
rc/android/widget/listview/ListSimple.java
rc/android/widget/listview/ListTakeFocusFromSide.java
rc/android/widget/listview/ListThrasher.java
rc/android/widget/listview/ListTopGravity.java
rc/android/widget/listview/ListTopGravityMany.java
rc/android/widget/listview/ListUnspecifiedMeasure.java
rc/android/widget/listview/ListViewHeight.java
rc/android/widget/listview/ListViewHeightTest.java
rc/android/widget/listview/ListWithDisappearingItemBug.java
rc/android/widget/listview/ListWithEditTextHeader.java
rc/android/widget/listview/ListWithEmptyView.java
rc/android/widget/listview/ListWithFirstScreenUnSelectable.java
rc/android/widget/listview/ListWithHeaders.java
rc/android/widget/listview/ListWithNoFadingEdge.java
rc/android/widget/listview/ListWithOffScreenNextSelectable.java
rc/android/widget/listview/ListWithOnItemSelectedAction.java
rc/android/widget/listview/ListWithScreenOfNoSelectables.java
rc/android/widget/listview/ListWithSeparators.java
rc/android/widget/listview/arrowscroll/ListInterleaveFocusablesTest.java
rc/android/widget/listview/arrowscroll/ListItemFocusableAboveUnfocusableTest.java
rc/android/widget/listview/arrowscroll/ListItemFocusablesCloseTest.java
rc/android/widget/listview/arrowscroll/ListItemFocusablesFarApartTest.java
rc/android/widget/listview/arrowscroll/ListItemsExpandOnSelectionTest.java
rc/android/widget/listview/arrowscroll/ListLastItemPartiallyVisibleTest.java
rc/android/widget/listview/arrowscroll/ListOfItemsShorterThanScreenTest.java
rc/android/widget/listview/arrowscroll/ListOfItemsTallerThanScreenTest.java
rc/android/widget/listview/arrowscroll/ListOfShortShortTallShortShortTest.java
rc/android/widget/listview/arrowscroll/ListOfShortTallShortTest.java
rc/android/widget/listview/arrowscroll/ListOfThinItemsTest.java
rc/android/widget/listview/arrowscroll/ListWithFirstScreenUnSelectableTest.java
rc/android/widget/listview/arrowscroll/ListWithNoFadingEdgeTest.java
rc/android/widget/listview/arrowscroll/ListWithOffScreenNextSelectableTest.java
rc/android/widget/listview/arrowscroll/ListWithOnItemSelectedActionTest.java
rc/android/widget/listview/arrowscroll/ListWithScreenOfNoSelectablesTest.java
rc/android/widget/listview/arrowscroll/ListWithSeparatorsTest.java
rc/android/widget/listview/focus/AdjacentListsWithAdjacentISVsInsideTest.java
rc/android/widget/listview/focus/ListButtonsDiagonalAcrossItemsTest.java
rc/android/widget/listview/focus/ListHorizontalFocusWithinItemWinsTest.java
rc/android/widget/listview/focus/ListWithEditTextHeaderTest.java
rc/android/widget/listview/touch/ListGetSelectedViewTest.java
rc/android/widget/listview/touch/ListOfTouchablesTest.java
rc/android/widget/listview/touch/ListSetSelectionTest.java
rc/android/widget/listview/touch/ListTouchBottomGravityManyTest.java
rc/android/widget/listview/touch/ListTouchBottomGravityTest.java
rc/android/widget/listview/touch/ListTouchManyTest.java
rc/android/widget/listview/touch/ListTouchTest.java
rc/android/widget/scroll/ButtonAboveTallInternalSelectionView.java
rc/android/widget/scroll/ButtonAboveTallInternalSelectionViewTest.java
rc/android/widget/scroll/ButtonsWithTallTextViewInBetween.java
rc/android/widget/scroll/RequestRectangleVisible.java
rc/android/widget/scroll/RequestRectangleVisibleTest.java
rc/android/widget/scroll/RequestRectangleVisibleWithInternalScroll.java
rc/android/widget/scroll/RequestRectangleVisibleWithInternalScrollTest.java
rc/android/widget/scroll/ScrollViewButtonsAndLabels.java
rc/android/widget/scroll/ScrollViewButtonsAndLabelsTest.java
rc/android/widget/scroll/ShortButtons.java
rc/android/widget/scroll/TallTextAboveButton.java
rc/android/widget/scroll/arrowscroll/ButtonsWithTallTextViewInBetweenTest.java
rc/android/widget/scroll/arrowscroll/ShortButtonsTest.java
rc/android/widget/scroll/arrowscroll/TallTextAboveButtonTest.java
rc/android/widget/touchmode/ChangeTouchModeTest.java
rc/android/widget/touchmode/FocusableInTouchModeClickTest.java
rc/android/widget/touchmode/StartInTouchWithViewInFocusTest.java
rc/android/widget/touchmode/TouchModeFocusChangeTest.java
rc/android/widget/touchmode/TouchModeFocusableTest.java
|
22e31e5b609136d5bf7d77b1dccd6b042b83ebdf |
07-Jan-2010 |
Neal Nguyen <tommyn@google.com> |
Moving framework core tests closer to their source files. Phase 2 of test case cleanup; distributing CoreTests files closer to their respective sources under frameworks.
ndroid.mk
ndroidManifest.xml
rc/android/bluetooth/AtParserTest.java
rc/android/content/ObserverNodeTest.java
rc/android/content/SyncStorageEngineTest.java
rc/android/database/MatrixCursorTest.java
rc/android/database/sqlite/AbstractJDBCDriverTest.java
rc/android/database/sqlite/SQLiteJDBCDriverTest.java
rc/android/pim/RecurrenceSetTest.java
rc/android/util/DayOfMonthCursorTest.java
rc/android/util/FloatMathTest.java
rc/android/util/MonthDisplayHelperTest.java
rc/android/util/StateSetTest.java
rc/android/view/FocusFinderTest.java
rc/android/view/ViewGroupAttributesTest.java
rc/android/webkit/UrlInterceptRegistryTest.java
rc/com/android/internal/util/PredicatesTest.java
|