Commit Graph

19421 Commits

Author SHA1 Message Date
Svet Ganov
47b37aa034 Minor autofill changes to support compat mode CTS tests.
Bug: 72811561
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest

Change-Id: I6ec2563cea75afc77a1598805988d8e6c433c574
2018-02-16 18:01:17 -08:00
TreeHugger Robot
961b465ac4 Merge "Allowing Typeface as a param in TypefaceSpan." 2018-02-16 19:06:53 +00:00
TreeHugger Robot
1d84b1734d Merge "Adding maximum input size checks" 2018-02-16 18:46:50 +00:00
Oscar Shu
e7a379cdd9 Merge "Deprecate supplicant related stuff in WifiManager" 2018-02-16 18:09:01 +00:00
Oscar Shu
4d012a6b77 Merge "Deprecate WpsInfo" 2018-02-16 18:08:29 +00:00
Tim Volodine
bfd30802f7 Merge "WebView Tracing API: address comments from the API council." 2018-02-16 15:00:27 +00:00
TreeHugger Robot
a6a0d1304d Merge "New Autofill API: notifyViewClicked()" 2018-02-16 05:52:06 +00:00
Brian Young
a83d333843 Merge "Add "Unlocked device required" parameter to keys" 2018-02-16 01:18:53 +00:00
Hall Liu
4e0f11c65f Merge "RTT bugfixes, part 5" 2018-02-15 23:31:18 +00:00
Felipe Leme
67e6209f32 New Autofill API: notifyViewClicked()
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityTest#testSave_submitButtonClicked
Test: atest CtsAutoFillServiceTestCases

Bug: 72982765

Change-Id: I60ea67fce94f324c2a79031f8fe9596d45088bcb
2018-02-15 15:05:29 -08:00
Gil O'Neil
97685b49f3 Merge "Move from an alert dialog to a full screen dialog for SIM app install" 2018-02-15 18:58:41 +00:00
Etan Cohen
ee3a2ba972 Merge "[RTT] Unhide error status code for non-support of IEEE 802.11mc" 2018-02-15 14:49:07 +00:00
Chalard Jean
243a087568 Merge changes I3d68dbf8,I6ea524bb,I978d9119 am: edab226d0e am: 6fe110fa36
am: 3d3fa22698

Change-Id: Ic6d639358c3310820bd925df93d4843d7edffc57
2018-02-15 14:23:57 +00:00
Tim Volodine
88604f2f8a WebView Tracing API: address comments from the API council.
Address comments from the API council regarding the WebView Tracing API.

android.webkit.TracingController:
 * start() throws IllegalStateException if the system is already tracing
   (this is instead of returning false)
 * stop uses Executor instead of Handler
 * removed stop() (the method w/o arguments)
 * renamed stopAndFlush to stop
 * use OutputStream instead of a custom callback interface TracingOutputStream
 * dropped requirement for UI threading
 * updated documentation

android.webkit.TracingFileOutputStream:
 * removed the TracingFileOutputStream file completely (functionality
   replaced by the existing FileOutputStream)

android.webkit.TracingConfig:
 * removed example with CATEGORIES_NONE and “-input,-gpu”.
 * customCategories are List<String> instead of String
 * updated documentation
 * added two more predefined categories: CATEGORIES_ALL,
   CATEGORIES_ANDROID_WEBVIEW
 * some refactoring, added a Builder class
 * ensure that only include category patterns can be specified
 * uniform addCategories interface for construction
 * predefined category sets are a bitmask now

BUG: 71584598,71584599,63750258
Test: CTS
Change-Id: I615ef5f43d26968329182b09e7c26178f1f85ecc
2018-02-15 13:26:39 +00:00
Chalard Jean
edab226d0e Merge changes I3d68dbf8,I6ea524bb,I978d9119
* changes:
  Deprecate CONNECTIVITY_ACTION.
  Publish FOREGROUND and add NOT_SUSPENDED capabilities.
  Send null UIDs to apps instead of single-uid lists.
2018-02-15 11:25:36 +00:00
TreeHugger Robot
e9aa338817 Merge "Autofill Field Classification improvements." 2018-02-15 08:06:45 +00:00
TreeHugger Robot
d1da52edb9 Merge "Uses ICU DateFormat on new Autofill APIs." 2018-02-15 06:03:38 +00:00
Felipe Leme
febb733c1b Autofill Field Classification improvements.
* Changed the remoteId -> userValue API to userValue -> categoryId so the
  category could map to multiple values (for example,
  "email" -> "email1", "email2")
* Added method and settings for maximum number of category ids.
* Tuned the default value of some settings.

Bug: 70407264

Test: atest CtsAutoFillServiceTestCases:UserDataTest \
            CtsAutoFillServiceTestCases:FieldsClassificationTest \
	    SettingsBackupTest

Change-Id: I27f348c500077937c0f4bf65db6a899fa3c41cf6
2018-02-14 20:27:55 -08:00
Seigo Nonaka
f0b0a10de5 Merge "Revert "Reorganize MeasuredText API"" 2018-02-15 03:56:04 +00:00
Felipe Leme
27206d7940 Uses ICU DateFormat on new Autofill APIs.
Test: atest CtsAutoFillServiceTestCases:DateTransformationTest \
            CtsAutoFillServiceTestCases:DateValueSanitizerTest
Fixes: 73392044
Fixes: 73392214

Change-Id: I26d20691d8fd68c4c2837f27cc0eee939bb9bf0b
2018-02-14 18:18:22 -08:00
xshu
4e775ebf0d Deprecate supplicant related stuff in WifiManager
Bug: 71866976
Test: compile, run ./frameworks/base/wifi/tests/runtests.sh
Change-Id: I66d17cae7bb8c1942409d6cb5b5895ad1990defa
2018-02-14 17:38:42 -08:00
xshu
7bccf2f997 Deprecate WpsInfo
Bug: 73023945
Test: compile, run ./frameworks/base/wifi/tests/runtests.sh
Change-Id: Ib108ba98d743dbcd3887446aae23fe848ffe75cd
2018-02-14 16:15:53 -08:00
goneil
4291960c7d Move from an alert dialog to a full screen dialog for SIM app install
Bug: 70906683
Test: Local install and tests
Change-Id: Idafee66814ec3e7b8a4a1254ba5f3e55b7bf864a
2018-02-14 15:59:07 -08:00
Steven Moreland
461ce2aac1 Merge "HIDL: add APIs used by subclasses to SystemApi" 2018-02-14 23:12:28 +00:00
TreeHugger Robot
9c490c65d4 Merge "Expose AnimationUtils#lockAnimationClock for tests" 2018-02-14 23:09:47 +00:00
Hall Liu
a549fed518 RTT bugfixes, part 5
* Add a new API to allow Telecom to inform ConnectionServices when the
RTT text stream changes
* No longer set the RTT property from ConnectionService. Client apps
should be setting properties themselves.
* Add Dialer-side RTT property in order to remove the dependence on
checking the RTT streams, which have a complex lifecycle

Bug: 72951201
Bug: 72648661
Test: manual, with real RTT calls and Dialer's SimulatorConnection, also
cts
Change-Id: Ic4c7d883d2dc6baf8e8c0eaa4df58d7de8762b9e
2018-02-14 14:03:35 -08:00
Fyodor Kupolov
33fd6b59cc Merge "Added SQLiteOpenHelper.setOpenParams" 2018-02-14 21:09:49 +00:00
John Reck
4b8f283a50 Expose AnimationUtils#lockAnimationClock for tests
Bug: 38270821
Test: EdgeEffectTests CTS
Change-Id: I5a3568da5c845d5b3eb06624c7178c378768831a
2018-02-14 12:47:51 -08:00
TreeHugger Robot
4963ce8efc Merge "Add support for url_bar sanitization on autofill compat mode." 2018-02-14 20:22:31 +00:00
Brian C. Young
efc3f16be7 Add "Unlocked device required" parameter to keys
Add a keymaster parameter for keys that should be inaccessible when
the device screen is locked. "Locked" here is a state where the device
can be used or accessed without any further trust factor such as a
PIN, password, fingerprint, or trusted face or voice.

This parameter is added to the Java keystore interface for key
creation and import, as well as enums specified by and for the native
keystore process.

Test: CTS tests in I8a5affd1eaed176756175158e3057e44934fffed

Bug: 67752510

Change-Id: I314b848f6971d1849a7a6347d52e41d9604639ae
2018-02-14 12:19:13 -08:00
Felipe Leme
185de72695 Add support for url_bar sanitization on autofill compat mode.
Browsers typically use a standard class (like EditView) to hold the URL of the
page being loaded, and the content of that view is sanitized in the initial
autofill request. So, when running in compat mode, we need a mechanism to let
services tell which view contains the URL, so we can convert its contents to
a sanitized webScheme + webDomain pair or properties.

Test: manual verification
Fixes: 72994424

Change-Id: I8be5f3533d6c31f81f28036dc51d5de10a528079
2018-02-14 09:43:21 -08:00
Seigo Nonaka
4e90fa262d Revert "Reorganize MeasuredText API"
The last change needs more discussion and found some edge cases. Revert and make small step-by-step changes.

Bug: 73091756

This reverts commit 7fd36d19e3.

Change-Id: I89ff52a70cf6a5d6c553afa20f83719e1f9eb726
2018-02-14 17:03:16 +00:00
Wale Ogunwale
4357d119af Remove Activity#setDisablePreviewScreenshots from system API
Change-Id: Ie106fb77f4645cc0c9061f4b6f7a4546711e5cb3
Bug: 73250551
Test: N/A
2018-02-14 07:21:52 -08:00
Wale Ogunwale
427ef56c0f Merge "Deprecated onCreateThumbnail" 2018-02-14 14:28:18 +00:00
TreeHugger Robot
18869a30b6 Merge "NIAP: Log cert validation and key integrity failures." 2018-02-14 13:45:40 +00:00
fionaxu
58278bed65 add a current table in CarrierIdProvider
restructure CarrierIdProvider into two tables
1. All - a private table which stores a complete mapping of all carriers
2. Current - a public table only stores the carrier identification of the
current active subs. require no permission to query.
expose the content url to public so that apps could be
notified on carrier identity change either on background or foreground.

Bug: 72571475
Test: runtest --path CarrierIdProviderTest.java
Test: Manual
Change-Id: If2a20288e63d25343f5bb582b35564d769a4e13b
(cherry picked from commit 3d00d698d7)
Merged-in: If2a20288e63d25343f5bb582b35564d769a4e13b
2018-02-13 23:46:19 -08:00
Chalard Jean
054cd16781 Deprecate CONNECTIVITY_ACTION.
That was its destiny.
Use NetworkCallbacks instead.

Test: runtest frameworks-net, but this is only doc changes
Change-Id: I3d68dbf817de92c66d899a7cc4519c5639e4c049
2018-02-14 15:14:44 +09:00
Chalard Jean
804b8fb968 Publish FOREGROUND and add NOT_SUSPENDED capabilities.
NOT_SUSPENDED and FOREGROUND are capabilities that need to
be public so as to reach feature parity with what information
can be gotten through the use of CONNECTIVITY_ACTION and
synchronous calls to ConnectivityManager. This change makes
them public, and wires up the NOT_SUSPENDED capability.
This deprecates in effect the old onSuspended and onResumed
callbacks, but these have never been public.

This also converts the onAvailable path from a multiple
binder call design to a simpler, single binder call. This
is only for internal convenience

Test: runtest frameworks-net
Test: cts
Test: also manual testing
Change-Id: I6ea524bb361ecef0569ea2f9006c1e516378bc25
2018-02-14 15:14:41 +09:00
Rubin Xu
7b7b3b2090 Merge "Add System API for system update clients" 2018-02-14 02:14:59 +00:00
Tyler Gunn
0f9643190e Merge "Rename Conference#setConnectionElapsedTime to clarity." am: d1134525fc am: a0b41a82ce
am: 4c09901931

Change-Id: I493ade2029398983a76fd41fcf9f080ee2f06b95
2018-02-14 01:24:44 +00:00
Eric Laurent
92ab9f1c6b Merge "Add audioserver state callback" 2018-02-13 23:46:11 +00:00
Treehugger Robot
d1134525fc Merge "Rename Conference#setConnectionElapsedTime to clarity." 2018-02-13 23:27:33 +00:00
Holly Jiuyu Sun
42339c464f Merge "Public EuiccManager APIs." 2018-02-13 22:56:08 +00:00
Holly Jiuyu Sun
052fbabc35 Public EuiccManager APIs.
Public EuiccManager and other related necessary files.
Mark EuiccCardManager and other related necessary files as @SystemApi.
Solve lint errors and warnings.

Bug: 35851809
Test: test on phone
Change-Id: I8a2c78804cae56b679d311d613edca5be4bc2522
Merged-In: I68853e134e1e31fa9b91a83af6c491a2a8cca971
2018-02-13 12:53:45 -08:00
Qingxi Li
4d7025fc1d Add interfact to get phone ID from UiccSlotInfo
Bug: 72753162
Test: TreeHugger
Merged-In: I7733a5f60cf4535339fe9b44e99178304ccbb2c0
Change-Id: I7733a5f60cf4535339fe9b44e99178304ccbb2c0
2018-02-13 19:29:00 +00:00
Pavel Grafov
f8839eaaf7 NIAP: Log cert validation and key integrity failures.
Bug: 70886042
Test: manual, connect to EAP-TLS with self-signed cert.
Test: manual, create a key and damage it in /data/misc/keystore/user_0/
Change-Id: I61a8307da72bac38993f6588e9f184b360f6bf79
2018-02-13 19:22:04 +00:00
Wale Ogunwale
578b3bd59d Deprecated onCreateThumbnail
API hasn't done anything in the platform for ages and there is not plan
to make it do anything.

Change-Id: I7d433a0d45aed860659c311381bc9f356eb9f986
Fixes: 73249948
Test: builds
2018-02-13 10:59:18 -08:00
Rhiannon Malia
619e2c0d61 Merge "Adding suppressShowOverApps to TvExtender" 2018-02-13 18:14:31 +00:00
TreeHugger Robot
acc788a952 Merge "Reorganize MeasuredText API" 2018-02-13 17:51:13 +00:00
Etan Cohen
d4a4b1edd4 [RTT] Unhide error status code for non-support of IEEE 802.11mc
Bug: 72975604
Bug: 73088768
Test: builds
Change-Id: I3e07ee73221b280c69ace42481cad38d3abcbbea
2018-02-13 09:20:24 -08:00