| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 13635952
Change-Id: I7a0f434172db4583f904e6817d94ca12d3b117bc
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Iab2427a8867a2a7a9a12e2557b2e970430fa6356
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 1284767ceb1affa6d5af77fd26ccf7322df48a6d.
Change-Id: Ibccea84e5dc44c1b8954779660e0721b27f762d4
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 7606609, Bug: 8687763
Change-Id: I736eb3c73a8ffc8f137a04a5ea66ee564dc2b530
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
during download before moving to next stage of the test.
Increase the timeout for waiting for download to complete.
Change-Id: I61820a9525256f4f2e16571e1ac075d2f5268cae
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
...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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit ab8a501f255b272af887acb0e66eb71cdf24c755.
Change-Id: I4ab4ae1a96efa2adf9d5a513793d8b84eef38b4e
|
|\ \ \
| |/ /
| | /
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
...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
|
|/
|
|
|
|
|
| |
This application is intended to be run by
SupportMultidexHostTest.
Change-Id: Icace956cd68e03735fd8c73f877d911f01098f54
|
|\
| |
| |
| |
| |
| |
| | |
exception in FileRotator.java"
* commit 'ac0f9ffda2a7e48d2d641654dafd11b8da39830a':
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When checking that the download is in progress, check the number number
of bytes downloaded as reported by download manager, rather than looking at the file size.
When waiting for the download to complete rely on the received broadcast.
Bug: 13326931
Change-Id: I4c2431dd71e17602e758bc482be185683040ea98
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When there is connectivity state change, the network states could be broadcasted multiple times.
The state transition should consider that.
Bug: 13277256
Change-Id: I3d400900a0e2454f9d198629f1c062cbb15bdcd8
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL introduces InputMethodSubtypeArray which compresses
multiple instances of InputMethodSubtype to reduce the risk
of TransactionTooLargeException during IPCs.
There are some IMEs which rapidly adding new subtypes into
their supported language list. One problem here is that each
instance of InputMethodInfo internally owns the list of
supported subtypes. Basically it requires additional
200 ~ 300 bytes for each subtype when InputMethodInfo is
transffered via IPCs. We should keep the size less than
100 KB in typical scenario.
With this CL, the list of InputMethodSubtype is marshalled
with GZIP compression. Approximately one InputMethodInfo is
marshalled within 10 KB even when it has 100 subtypes.
No negative performance impact is observed so far. The cost of
decompression seems to be compensated by another optimization
in this CL. Actually marshalling cost is reduced with this CL
by caching the compressed data on demand.
BUG: 12954290
Change-Id: Ibb2940fcc02f3b3b51ba6bbe127d646fd7de7c45
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
bug#: 13278052
Change-Id: Ic4dc847f3f3fe86750343ffabedb13dbeb4f61a7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This CL adds one more test to make sure InputMethodInfo
implements Parcelable correctly. This test makes sure that
one can marshall and unmarshall again from an unmarshalled
copy of InputMethodInfo.
BUG: 12954290
Change-Id: I5aa1552a8089fe0bac54513ba224e5bfc494be97
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
This CL adds a unit test to make sure that InputMethodInfo
implements Parcelable correctly.
BUG: 12954290
Change-Id: I0abe8c266b4b035bf8ef4688d11069b355fabe9f
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The failing scenario is
- install v1
- run
- update to v2
- update to v3
- run
last run was failing with initial multidex library versions because
it's still running on v1 extracted secondary dex files.
Change-Id: Id9811371fc70b0a4e9b49de913ee38d18699b21d
|
| | |
| | |
| | |
| | | |
Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
Json{Reader,Writer} test to cts."
* commit '94b7c749fd0bc5bbd80dbabfd412c2a212584343':
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
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
overlay, iteration 2, test cases"
* commit '32acb5e9d130ac858f34d83526e7460c624b41c7':
Runtime resource overlay, iteration 2, test cases
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add automated test cases for runtime resource overlay, iteration 2.
The test cases are a mixture of 'adb shell' commands and regular
instrumentation tests. The device is rebooted between tests to setup
different overlay scenarios for framework-res.apk.
To verify Runtime resoure overlay, iteration 2, run
$ frameworks/base/core/tests/overlaytests/testrunner.py
For a list of supported options, run
$ frameworks/base/core/tests/overlaytests/testrunner.py --help
Change-Id: I692aa1a7ad073efd116b24f9ec7f197dfd65dfef
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/|
| |
| |
| |
| |
| | |
This should decrease the chance of the file being downloaded too quickly and
confusing the test.
Change-Id: I8f4debbb51798162493d6a8005e1aa142738dbd4
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also rename existing secondary storage API to match naming
convention in rest of class.
Bug: 11536709
Change-Id: I2684c817de4982b414893d2d9927a21e3f171d53
|
|\ \
| |/
| |
| |
| |
| |
| | |
"XmlUtils#readThisMapXml should handle null keys."
* commit 'd2098682ab269d311dd482a38e8557df6717ee17':
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
|
|\ \
| |/
| |
| |
| |
| |
| | |
LinkAddress."
* commit '263c4788dcf45f104f8668fd6621d1a7c39689b9':
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
|
| |\ \
| | |/
| |/|
| | | |
Change-Id: I29374270c8e0c2f2859efaf1d55af9f73da0f8d7
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* commit '13d9dfb495db1431623c712b36cac1fe2f3c2fc0':
Minor changes to LinkAddress.
|
| |\ \ \
| | |/ /
| | | /
| | |/
| |/| |
* commit '453a5233086b216f2a95d0879954a2af39279095':
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
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
correct stats." into klp-dev
* commit '134b91469c2894477dda786c1572b80b596c62ac':
Fix BandwidthTest to report correct stats.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The test used to report report stats for a random uid. Fixed it to report
stats for the Instrumentation uid or download manager uid, depending on the test.
Change-Id: I089162c19e25cbf0dfb05645a9a1018dd7567423
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is a strict subset of android.text.cts.HtmlTest and
is currently completely broken (due to ltr changes).
Change-Id: If8d5c8a03f96ef3712cd398f297c8872d91403bb
|
|\ \ \ \
| |/ / /
|/| / /
| |/ /
| | |
| | |
| | |
| | | |
below the status bar." into klp-dev
* commit '759bc4f421e01460cff92522bf70d52c53b79e85':
Ensure the simple CAB appears below the status bar.
Add 'no system permission' test app.
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Used in PackageManagerOTATests to verify upgraded system apps
are granetd new permissions.
Bug 11271490
Change-Id: Idbc07bc043d06ea15dc41285ecbfb8186a7ecc95
|