| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Id4c19401ad0aa238219aaf5d9a20d2889d0a4b18
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit 'c9ecd445b86552265b4adb90e5df2fbe5f71cb8e'
* commit 'c9ecd445b86552265b4adb90e5df2fbe5f71cb8e':
Added method getPreferredHttpHost
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added method for returning preferred proxy which takes both
localhost and Wi-Fi into account. This is a convenient method
to clients which only wants to set a correct proxy and don't
want to build in dependency to if Wi-Fi is active or not.
Currently no Wi-Fi proxy is supported by the system, but once
added, this method could return a suitable proxy for Wi-Fi.
Change-Id: I8c9c2879351fd25a20ea82a2cb000f226248c357
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '3b97e5a6270f40111117c4d3f1e964154ddea0fe'
* commit '3b97e5a6270f40111117c4d3f1e964154ddea0fe':
Make HTTP Header class handle multiple cache-control fields.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The HTTP specification states the following about the fields:
Multiple message-header fields with the same field-name MAY be present
in a message if and only if the entire field-value for that header field
is defined as a comma-separated list [i.e., #(values)]. It MUST be
possible to combine the multiple header fields into one "field-name:
field-value" pair, without changing the semantics of the message, by
appending each subsequent field-value to the first, each separated by a
comma. The order in which header fields with the same field-name are
received is therefore significant to the interpretation of the combined
field value, and thus a proxy MUST NOT change the order of these field
values when a message is forwarded.
Change-Id: I1a6fe5cc8f541f8e80d559641d270d09eac9d85c
|
|/
|
|
|
|
|
|
|
| |
- frameworks and CoreTests modules now depend on bouncycastle
- update preloades classes for NativeBN package change
- moved CryptoTest to libcore
- updated api
Change-Id: I47363a463f074af205b5bd128cd98faab70ac849
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ActivityThread should try to set the value for Java
Thread.getContextClassLoader to the PathClassLoader that loaded the
APK's classes so that Java frameworks that use the Java context class
loader, which is not to be confused with the
android.content.Context.getClassLoader which serves a similar purpose
in the Android framework.
However, we avoid setting the Java context ClassLoader to the APK's
PathClassLoader if there is a static indication that multiple packages
may share the VM, since they could load in an unpredictable order
leading to different values for the thread local Java context
ClassLoader. In this case, we instead use a specially created
WarningContextClassLoader that warns the user the first time the Java
context ClassLoader.
Currently the static indications that a package might share a VM with
other packages are the presence in the AndroidManifest of a
sharedUserId or requesting a non-default application process name.
|
|
|
|
|
| |
This time change the frameworks makefile so it only includes test-runner/src
in the public API.
|
|
|
|
| |
This reverts commit 12093976a4842a795491cfd2b1d3b71e18503f2d.
|
|
|
|
|
| |
Move the test-runner source into a separate src folder to accommodate the test
move.
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
This only tests stuff that's already better tested in dalvik/libcore, plus
private ICU API (RuleBasedNumberFormat) we'd like to remove, and that this
is the only caller of.
|
| |
|
|
|
|
| |
Phase 2 of test case cleanup; distributing CoreTests files closer to their respective sources under frameworks.
|
|
|
|
|
|
|
| |
moved SyncQueue and SyncOperation into their own top-level classes
to ease maintainability and testing6
removed some dead code
|
|\ |
|
| |
| |
| |
| | |
CookieTest.java is already included in CTS, so removing this one under frameworks.
|
|/
|
|
| |
Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
|
|
|
|
|
|
|
| |
but can also be used by unbundled apps. Move android.text.util.Regex there as
a starting example, renamed to a more sensible (?) com.android.common.Patterns.
Set up a corresponding test package, and move RegexTest (to PatternsTest).
Update clients.
|
|
|
|
|
|
|
| |
PhoneNumberUtils.compare().
- when comparing two numbers whose dialable char length is less than the MIN_MATCH (7), treat them as equal if the dialable portion of the numbers match.
- update unit test.
|
|
|
|
|
|
|
|
|
|
|
| |
Create a new extractNetworkPortion() function, since the old one is
public, that does effectively the same thing but is more flexible as
just mentioned.
Addresses issue:
http://buganizer/issue?id=2013998
Change-Id: Ie5df08ef9c871881e8728a44abf0385908000823
|
| |
|
|\
| |
| |
| |
| | |
* changes:
Setting the default HTTP user agent at runtime init.
|
| |
| |
| |
| |
| | |
I can't do this in HttpURLConnection directly, since that would
cause a forbidden dependency from Dalvik on Android.
|
|/
|
|
| |
Change-Id: I28c4e69775c7ce20983c052b8b77ba2df6d5c63b
|
| |
|
|
|
|
|
|
|
| |
Addresses issues:
http://buganizer/issue?id=2056263
Change-Id: I80e2412bd53b9045ae3cdc95cdf132da0946c2ea
|
|
|
|
| |
Tests only cover populateContentValues. See bug 1594638
|
|
|
|
|
|
|
|
| |
This patch includes the plus code conversion clean up.
1. change the plus code conversion based on the current and default
number systems retrieved from MCC.
2. for format such as +NANP, replace the '+' with the current IDP (011).
3. comments changes.
|
|\
| |
| |
| |
| | |
* changes:
Allow max_retires to be set to infinite.
|
| |
| |
| |
| |
| |
| | |
Setting max_retires to infinite sets mRetryForever to true and therefore
isRetryNeeded will always be true. This is better than an alternative
which is to set max_retires to a large value such as 2147483647.
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
The issue is that the plus sign in a dial string is always converted
to the IDP (International Dial Prefix).
This fix implements a plus sign conversion mechanism based on the default
telephone numbering system that the phone is activated and the current telephone
number system that the phone is camped on. Currently, we only support the cases
where the default and current telephone numbering system are NANP.
|
|
|
|
|
|
|
| |
Add RetryManager and change GsmDataConnectionTracker and
CdmaDataConnectionTracker to use it.
Add TelephonyUtilsTest which tests RetryManager.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit 'ad346278fe129a341543d4a75bf9cc08c50742f8'
* commit 'ad346278fe129a341543d4a75bf9cc08c50742f8':
Removing MD2
|
| |\
| | |
| | |
| | |
| | | |
* changes:
Removing MD2
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit 'ae1ba650074ab7b9a73f4430c1fc3576a8199383'
* commit 'ae1ba650074ab7b9a73f4430c1fc3576a8199383':
Handle null in MatrixCursor.get*()
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Before, if a column contained null, MatrixCursor.getString()
returned the string "null", and the get<Number>() methods
threw exceptions.
Now, getString() returns null, and get<Number>() return 0.
Fixes http://b/issue?id=1996628
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '113eaa59c1dfafd548a13919e48c0346c0c925ac'
* commit '113eaa59c1dfafd548a13919e48c0346c0c925ac':
Fix android.core.FileTest#testFile: add sdcard write permission to test.
|
| |/ |
|
| |
| |
| |
| | |
Also removed an unused variable in RequestQueue.java.
|
| |
| |
| |
| |
| | |
As registerPhoneStateChange was actually notifying CallStateChange,
rename appropriately.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '8aadf7ae278961926de5452a46863503303735cf'
* commit '8aadf7ae278961926de5452a46863503303735cf':
fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
|
| |
| |
| |
| |
| |
| | |
PhoneNumberUtils.numberToCalledPartyBCDHelper
addresses http://buganizer/issue?id=1489784
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '6190fe6e7d7c8a917472637f5ab2fb21fc8a6eea'
* commit '6190fe6e7d7c8a917472637f5ab2fb21fc8a6eea':
Fix concat SMS for GSM.
|
| |
| |
| |
| |
| |
| | |
Bug 1883998: We only support sending 8-bit references for now.
Bug 1885080: Also fix the GsmAlphabetTest, which started failing when SmsHeader
was re-worked.
|