Commit Graph

28858 Commits

Author SHA1 Message Date
Leon Scroggins
e98ae477cc Merge "Deprecate Path#isConvex" 2020-01-29 18:10:14 +00:00
Nathan Harold
f394f37854 Merge "Return the RPLMN from NetworkRegistrationInfo" 2020-01-29 17:59:06 +00:00
Sally Yuen
96b878aada Merge "Implement multi-finger multi-tap gesture matchers for accessibility" 2020-01-29 17:41:28 +00:00
Automerger Merge Worker
36a7559516 Merge "Tidy up module-lib API and locks" am: 98ab83c37d am: 779b5c6ee0 am: 1fc568f878
Change-Id: I4c7039b54aa185447108622b0608689ddf45bc2f
2020-01-29 14:33:36 +00:00
Neil Fuller
779b5c6ee0 Merge "Tidy up module-lib API and locks"
am: 98ab83c37d

Change-Id: I0c136617cef0d23e905757a0b6baf2b7e823212d
2020-01-29 06:19:05 -08:00
Neil Fuller
98ab83c37d Merge "Tidy up module-lib API and locks" 2020-01-29 14:10:18 +00:00
Automerger Merge Worker
3daccde526 Merge "Extract TimeDetector/TimeZoneDetector interfaces" am: 17ac92f460 am: a9e81b53a9 am: f751b9ec06
Change-Id: Ic029c262cc34f8c0232cda3558a57f2fcaceb797
2020-01-29 10:38:45 +00:00
Neil Fuller
a9e81b53a9 Merge "Extract TimeDetector/TimeZoneDetector interfaces"
am: 17ac92f460

Change-Id: I7e35f2eedbe57a8e77af8af70587a87dfa61bd26
2020-01-29 02:09:11 -08:00
Neil Fuller
17ac92f460 Merge "Extract TimeDetector/TimeZoneDetector interfaces" 2020-01-29 09:57:55 +00:00
Ryan Mitchell
1e80cd76ed Merge changes from topic "res-loader"
* changes:
  Refactor ResourcesLoader Tests
  Refactor ResourcesLoader APIs
2020-01-29 06:57:47 +00:00
Kyunglyul Hyun
b37b54cca9 Merge "MediaRouter: Address API review issues" 2020-01-29 06:34:33 +00:00
Jack Yu
728f207b23 Merge "Added data coding scheme and location check time support" 2020-01-29 04:03:57 +00:00
TreeHugger Robot
e0206059a1 Merge "Revert "Partial Revert of ag/10161061"" 2020-01-29 02:32:59 +00:00
Kyunglyul Hyun
2b4e926196 MediaRouter: Address API review issues
This CL adds javadoc to explain new APIs in detail and remove
an unnecessary method: MediaRoute2Info#hasAnyFeatures

Bug: 148379928
Test: atest mediaroutertest (w/ mediarouteprovider installed)
Change-Id: I6be0d66044c591525468153ad0122f082d7582aa
2020-01-29 11:32:49 +09:00
Roshan Pius
28b79072a9 Revert "Partial Revert of ag/10161061"
This reverts commit 81d7cece57.

Reason for revert: The telephony unit tests are fixed.
Bug: 148282682

Change-Id: Ib835f0abf4faf33ea3a54420c84c1f8383d663c3
2020-01-29 00:51:25 +00:00
Jack Yu
641db9a36a Added data coding scheme and location check time support
AT&T requires showing data coding scheme, location check
time, whether shown to the user or not in the test menu.
Expanded database to support this.

Bug: 144152683
Test: Manully sending fake messages and verified database
Change-Id: Ib5b78802e7548da9f92492aae4c94ed3488b5e3d
2020-01-28 16:46:30 -08:00
Xiao Ma
15e9305761 Merge "Make Information Elements (IE) of a scan result available as a public API."
am: 34a5bbda41

Change-Id: Ia0680401d2c670eb795027ebc3256ec314f41c45
2020-01-28 16:21:45 -08:00
Xiao Ma
34a5bbda41 Merge "Make Information Elements (IE) of a scan result available as a public API." 2020-01-29 00:12:20 +00:00
Ryan Mitchell
4579c0aea2 Refactor ResourcesLoader APIs
This changes refactors the ResourcesLoader APIs.
The main changes are:

Rather than pairing a ResourcesLoader with a ResourcesProvider, a
ResourcesProvider is paired with an AssetsProvider which is only
responsible for overriding the values of file-base resources and
assets. An AssetsProvider can be shared between multiple
ResourcesProviders.

ResourcesLoader now holds a list of ResourcesProviders.

ResourcesLoaders are part of ResourcesKeys and requests for resources
with the same loaders will use the same underlying ResourcesImpl. This
allows the loader specific code in RM to be cleaned up.

ResourcesLoaders and Resources objects use callbacks to notify RM
of changes to the Resources instance that may require a new
ResourcesImpl.

When a context is created from another context, the new context will
include the loaders of the original context. Change to list of either
context's loaders will not change the loaders of the other context,
but changes to the providers a loaders uses will update all Resources
objects that use that loader.

Activity resources will include the loaders of the application context
at the time of the Activity's creation.

Bug: 147359613
Test: atest ResourceLoaderTests
Change-Id: I2957c803d3f0c1280abfd3c723d76b18df2c3789
2020-01-28 15:35:14 -08:00
Nathan Harold
2b14af22da Return the RPLMN from NetworkRegistrationInfo
Add an API to get the RPLMN in network registration info.

This PLMN-ID is the one chosen from the PLMN IDs broadcast
by the cell for registration purposes.

Bug: 135921133
Test: make update-api && make offline-sdk-docs && make
      && atest FrameworksTelephonyTests
Change-Id: I82f9150e185d9809572d246b57ea42f14ad64f15
2020-01-28 14:58:52 -08:00
yingleiw
4a72a74b2a modify quick settings to adopt the accessibility state api
Seperated out the state part from contentDescription. Also changed the
tile on/off states from mocking switch to unavailable/on/off state
description based on State.state. During testing, I removed event
merging (including source node merging) for state and content change
events. Use event text for state description changed part will be in a
seperate CL.

Test: tested on the quick settings tiles for focusing and state change
evnets. With the event merging removed, the state change is announced
when the focus keeps on the tile. Before my change, content change is
not announced when the focus keeps on the tile due to source node change
in event merging.

Fix: 148473520

Change-Id: I5b6aee6f0982cf4e0a3962fbe15239314f3a2de4
2020-01-28 13:31:13 -08:00
Dieter Hsu
3cbd098e7a Implement multi-finger multi-tap gesture matchers for accessibility
This matcher would detect following gestures when accessibility flag
flagRequestMultiFingerGestures enabled:

- 2-finger single tap
- 2-finger double tap
- 2-finger triple tap
- 3-finger single tap
- 3-finger double tap
- 3-finger triple tap

Bug: 142277684
Bug: 142276516
Bug: 136131815
Test: atest AccessibilityGestureDetectorTest TouchExplorerTest GestureManifoldTest

Change-Id: I0aa6e858520d0b36c81df6fe08fd86d7d0803d5a
2020-01-28 13:24:12 -08:00
TreeHugger Robot
e428a2cc04 Merge "Deprecate Canvas.EdgeType" 2020-01-28 18:13:01 +00:00
Sarah Chin
effc79cd29 Merge changes from topics "phone_cap", "tdscdma"
am: b739deddc6

Change-Id: Ie31648ef065783dcf02e0a1c36e16b54d1c17c17
2020-01-28 09:35:10 -08:00
Jack Yu
414d5806a0 Added TD-SCDMA bands for network scanning
am: 51598fab09

Change-Id: I87915b0a397b1c2ba201ce2e7589c220a5966492
2020-01-28 09:34:36 -08:00
Sarah Chin
b739deddc6 Merge changes from topics "phone_cap", "tdscdma"
* changes:
  Modify PhoneCapabilities for device capabilities
  Added TD-SCDMA bands for network scanning
2020-01-28 17:26:11 +00:00
Jordan Liu
950f73800c Merge "Fix ordered background broadcast API"
am: dd6d0b26af

Change-Id: I45a57ea9d6b7981a6f2a93aab84f204f21b18582
2020-01-28 09:09:15 -08:00
Jordan Liu
dd6d0b26af Merge "Fix ordered background broadcast API" 2020-01-28 16:33:18 +00:00
Neil Fuller
6a0664d702 Tidy up module-lib API and locks
Fixing various nits.

Test: treehugger
Change-Id: I636d1b9ef084be58ea07caa0a04ba70de18a030b
2020-01-28 15:24:15 +00:00
Neil Fuller
ad6eb2b2d5 Extract TimeDetector/TimeZoneDetector interfaces
Extract TimeDetector/TimeZoneDetectors interfaces due to API council
feedback.

Bug: 148402378
Test: treehugger
Change-Id: I22b12c8c5cc1cca9e3a788ef76c38b77198a3bce
2020-01-28 12:18:46 +00:00
TreeHugger Robot
f335551b69 Merge "Add haptic composition API." 2020-01-28 12:17:28 +00:00
Automerger Merge Worker
6100cdb620 Merge "Add @RequiresPermission annotation to reboot APIs" am: 147863d9fc am: dab92d5611 am: f613e166f2
Change-Id: I4c9e098636584896625e31fb2ee5099aaef12278
2020-01-28 11:18:55 +00:00
Nikita Ioffe
dab92d5611 Merge "Add @RequiresPermission annotation to reboot APIs"
am: 147863d9fc

Change-Id: I5ca246de4d4f8912271d222c3e82e96d3d47fa6d
2020-01-28 02:57:56 -08:00
Lorenzo Colitti
b6081962ee Merge changes I34842acd,Icc6c4d6b
am: fb3dccd961

Change-Id: I38f5452905216ebf9e0b28311d34ad0667243274
2020-01-28 02:53:38 -08:00
Nikita Ioffe
147863d9fc Merge "Add @RequiresPermission annotation to reboot APIs" 2020-01-28 10:45:34 +00:00
Remi NGUYEN VAN
f2f3f3e345 Add support for Ethernet tethering
Ethernet tethering can be started via
startTethering(TETHERING_ETHERNET).

Test: flashed, enabled ethernet tethering, verified internet access on
      downstream.
Bug: 130840861

Merged-In: I34842acd94b972e440c3622f7617df10c18acf65
Change-Id: I34842acd94b972e440c3622f7617df10c18acf65
(cherry-pick with conflicts in test-current.txt)
2020-01-28 17:52:06 +09:00
Milim Lee
58527ba974 Local Tethering with ncm interface
Bug: 130840842
Test: build, boot
      atest TetheringTest
      manual test (call startTethering(TETHERING_NCM))

Merged-In: Icc6c4d6be39e787503cecf3a5835b40d4be12a57
Change-Id: Icc6c4d6be39e787503cecf3a5835b40d4be12a57
(clean cherry-pick)
2020-01-28 17:52:06 +09:00
TreeHugger Robot
1df5bd7630 Merge "TIF: DVR API customization" 2020-01-28 07:57:33 +00:00
Xiao Ma
ac16b8ae3e Make Information Elements (IE) of a scan result available as a public API.
Bug: 137835398
Test: atest FrameworksWifiTests
Test: attach to upstream hotspot device by selecting the sanned
      ssid from wifi settings, then check the OUI, vendor specific
      type fileds of IEs from the logcat.

Merged-In: If3b9906c75033f51bd35fcf054154125719ea958
Change-Id: If3b9906c75033f51bd35fcf054154125719ea958
2020-01-28 06:23:36 +00:00
Kyeongkab.Nam
7f3f8c1f8c TIF: DVR API customization
Add Bundle param to TvRecordingClient.startRecording() and
TvInputService.RecordingSession.onStartRecording().

Bug: 139425279
Test: run cts -m CtsTvTestCases
Change-Id: I2a66e5e48617b593c14700ddf1bf207e6ada8b6d
2020-01-27 19:49:51 -08:00
Suprabh Shukla
d59963593a Merge "Added a meta-data key in MediaStore" 2020-01-28 02:11:14 +00:00
TreeHugger Robot
86c1458a70 Merge "API for Inline Presentation Renderer in ExtServices." 2020-01-28 01:59:58 +00:00
Shuo Qian
a7186caa2f Merge "Make ModemActivityInfo isValid system"
am: fb9adf0d1e

Change-Id: I85de0bf05b669bbab0ad5381f4e2259cfbfc3f57
2020-01-27 17:34:53 -08:00
Shuo Qian
fb9adf0d1e Merge "Make ModemActivityInfo isValid system" 2020-01-28 01:28:15 +00:00
Shuo Qian
0aa382e588 Merge "Support always reporting signal strength phone state listener"
am: 260a0aac29

Change-Id: I65f599b2b4edc775433e850e775a42b98b4fa127
2020-01-27 16:10:10 -08:00
Meng Wang
493c54fb6b Merge "Expose system API ACTION_SERVICE_PROVIDERS_UPDATED"
am: d44b5d9ec5

Change-Id: Iaebba12ce5b378bba6eec3dd187218ca2c9f3bfe
2020-01-27 16:07:35 -08:00
Peter Wang
f3ad937082 Merge "[Telephony Mainline] Make ServiceRegisterer static" 2020-01-28 00:02:14 +00:00
Shuo Qian
260a0aac29 Merge "Support always reporting signal strength phone state listener" 2020-01-27 23:42:28 +00:00
Treehugger Robot
d44b5d9ec5 Merge "Expose system API ACTION_SERVICE_PROVIDERS_UPDATED" 2020-01-27 23:42:12 +00:00
David Su
1e7f8e906d Merge "WifiManager/WifiScanner: Misc API cleanup" 2020-01-27 23:40:38 +00:00