Commit Graph

21326 Commits

Author SHA1 Message Date
Shuo Qian
f334d48a4e Merge "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)" am: f4a1945d87 am: e2c37b94d7
am: a3453996ca

Change-Id: Ic191e9e672c0ad56abfb97be288e9f80c0842a40
2018-11-02 11:44:48 -07:00
Shuo Qian
a3453996ca Merge "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)" am: f4a1945d87
am: e2c37b94d7

Change-Id: Ib9ff9b24030578568fff872dadf8abc446988c9c
2018-11-02 11:26:35 -07:00
Shuo Qian
f4a1945d87 Merge "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)" 2018-11-02 17:46:43 +00:00
Hall Liu
e3f689d924 Merge "Add TestApi to get RTT support status" am: f583bb525a am: c02e86d0bf
am: 80dc0e2676

Change-Id: I9a9c30bac258ae38c44b2d82fca1572e96eb1cf7
2018-11-01 18:49:41 -07:00
Hall Liu
80dc0e2676 Merge "Add TestApi to get RTT support status" am: f583bb525a
am: c02e86d0bf

Change-Id: I2dae10205691bc6e32be24f70bc786a1ec6f1a96
2018-11-01 18:24:42 -07:00
Hall Liu
f583bb525a Merge "Add TestApi to get RTT support status" 2018-11-02 00:43:27 +00:00
Kenny Root
8b0a22dbad Merge changes from topic "usb-adb-separation"
* changes:
  Update USB tests for ADB split
  Move AdbDebuggingManager to AdbService
  AdbService: move source of truth for enabled
  Add empty AdbHandler
  Add systemReady call for AdbService
  Add function to query ADB state
  Register USB as an ADB transport type
  Add ADB transport skeleton
  Add empty AdbManagerInternal for system server
  Add empty AdbService to SystemServer
  Move ADB debugging manager to core
  Rename to AdbDebuggingManager
  Move UsbDebuggingManager to new package
2018-11-02 00:43:05 +00:00
Tyler Gunn
ee72c438b7 Merge "Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call." am: cc690e9a48 am: f2dc5a204a
am: 3584c0a088

Change-Id: Ie20ead7404d1f200785104d896129212d126d9e7
2018-11-01 16:34:34 -07:00
TreeHugger Robot
1322fa1efe Merge "Allow apps to construct AudioPresentation object" 2018-11-01 23:24:56 +00:00
Tyler Gunn
3584c0a088 Merge "Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call." am: cc690e9a48
am: f2dc5a204a

Change-Id: I39dd19c1c09b15136460854fd0e5a2b8161766c3
2018-11-01 16:15:49 -07:00
Tyler Gunn
cc690e9a48 Merge "Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call." 2018-11-01 22:42:22 +00:00
TreeHugger Robot
eb651edabf Merge "Add controller APIs for RoleManager." 2018-11-01 22:22:45 +00:00
Chen Xu
35d377e27d Merge "refactor resetNv API to resetRadioConfig and rebootRadio" am: e459133141
am: d565e3168e

Change-Id: I8e41afef66a16cc89a7f306711343f56a8995c19
2018-11-01 15:03:51 -07:00
Chen Xu
e459133141 Merge "refactor resetNv API to resetRadioConfig and rebootRadio" 2018-11-01 21:29:39 +00:00
Chris Craik
ce58754645 Merge "Add 'profileable' application manifest tag" 2018-11-01 21:28:58 +00:00
Jeff Sharkey
e80ef951cb Merge "APIs for reviewing, listing volumes, hashes." 2018-11-01 20:25:21 +00:00
Shuo Qian
474bfa9ce0 Merge "Make SignalStrength#INVALID public" am: f5852d1500 am: f79f209b08
am: 1a909973a2

Change-Id: Ia028c1f9732f882ba85ae4fea8f9abf52ca75a8c
2018-11-01 11:59:02 -07:00
Shuo Qian
1a909973a2 Merge "Make SignalStrength#INVALID public" am: f5852d1500
am: f79f209b08

Change-Id: I765099d1bdf906eb7709b3d83a594ea1febcf599
2018-11-01 11:42:01 -07:00
Shuo Qian
f5852d1500 Merge "Make SignalStrength#INVALID public" 2018-11-01 18:06:25 +00:00
Jeff Sharkey
0fc74ab226 APIs for reviewing, listing volumes, hashes.
As part of creating a "default gallery" app in Q, we need to define
the expected contract of how recently captured media can be reviewed
by the user.  Mirrored off the existing CAPTURE intents.

The Q storage work will start calculating SHA-1 hashes for each
media item to identify them in a stable way.

API to list all available volume names on the device, which includes
all attached shared storage devices, like SD cards.

Clean up all Uri creation to use Uri.Builder to ensure that incoming
volumeName values are escaped correctly.

Bug: 111268862
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: Ib7e5bf814b407f4d611767d2a5d26ccfe6d8d034
2018-11-01 11:07:55 -06:00
Sunny Goyal
2daf457f4b Merge "Adding shared element transitions support in AppWidgets" 2018-11-01 16:19:12 +00:00
TreeHugger Robot
bf4deb273b Merge "Make transitions Scene.getCurrentScene() public" 2018-11-01 14:34:08 +00:00
Risan
7c8506d6c7 Merge "Add a more flexible queryRecentDocuments" am: 627441218d am: a366edd78d
am: 729067376c

Change-Id: Ie1652bc9dfb413fe22962ee66024acd0d44ed127
2018-11-01 07:02:42 -07:00
Risan
729067376c Merge "Add a more flexible queryRecentDocuments" am: 627441218d
am: a366edd78d

Change-Id: Ib746205cd82634d0d7b821db94c8316e8260689c
2018-11-01 06:43:51 -07:00
Treehugger Robot
627441218d Merge "Add a more flexible queryRecentDocuments" 2018-11-01 13:11:09 +00:00
Andrey Kulikov
a4ae81857a Make transitions Scene.getCurrentScene() public
I pretty sure the getter method Scene.getCurrentScene() should be promoted to be public. This method is the only option for developers to understand is the sceneRoot already in the scene they need. Otherwise they have to introduce their own states and sync it with all scene changes which is more error-prone. To make it simpler to developers we can just make the method public. As an example of usage:

void displayMessages(List<Message> messages) {
    if (!messages.isEmpty()) {
        if (Scene.getCurrentScene(root) != messagesScene) {
            TransitionManager.go(messagesScene);
            MyAnalytics.trackDisplayMessages();
            (... more initialization ... )
        }
        messagesView.display(messages);
    }
}

Test: added a cts test for getCurrentScene
Change in AndroidX: aosp/807055
Bug: 118720709
Change-Id: Ic90e3576a82b5ab9a88e38e396efd49875968011
2018-11-01 12:33:53 +00:00
Sergey Vasilinets
1e5b5d0326 Merge "Revert "APIs for reviewing, listing volumes, hashes."" 2018-11-01 12:08:34 +00:00
Sergey Vasilinets
07dfd0a185 Revert "APIs for reviewing, listing volumes, hashes."
This reverts commit b7634f49ae.

Reason for revert: docs build was broken https://android-build.googleplex.com/builds/submitted/5104251/sdk_phone_armv7-sdk/latest/view/logs/build_error.log

Bug: 111268862
Change-Id: I95967186def8a3c81e7a2e0e2915d4280cd78af4
2018-11-01 12:06:56 +00:00
chen xu
dbff1bd8e4 refactor resetNv API to resetRadioConfig and rebootRadio
Bug: 116476729
Test: telephony unit test and Manual test
Change-Id: I420da20f2290d1fc3962f7c14a9ca4999eafbde8
Merged-in: I420da20f2290d1fc3962f7c14a9ca4999eafbde8
2018-10-31 22:51:13 -07:00
Chen Xu
cd5b6cfe3b Merge "refactor resetNv API to resetRadioConfig and rebootRadio" 2018-11-01 04:55:19 +00:00
Varun Shah
d7f381524d Merge "Exposes certain Settings fields as SystemApi for SUW." 2018-11-01 00:36:41 +00:00
Jeff Sharkey
cef5230240 Merge "APIs for reviewing, listing volumes, hashes." 2018-11-01 00:23:56 +00:00
Hall Liu
a7d0230572 Add TestApi to get RTT support status
Add a TestApi for CTS to be able to tell whether a device supports RTT
on the current carrier.

Bug: 113069001
Test: manual
Change-Id: I135338b7b83f888d454d09dddd30c72197fe0533
2018-10-31 17:05:07 -07:00
Risan
6a4a8f6046 Add a more flexible queryRecentDocuments
The existing queryRecentDocuments have a hard limit 64. However, case
like ARC++ wishes to have a more flexible limit that can be passed as an
extra parameter. This new API will gracefully degrade to the old API to
maintain backward compatibility with old providers.

Bug: 111288304
Test: manual test (patched the MediaDocumentsProvider, and test calling
the new API):
1. Test that passing Bundle with QUERY_ARG_LIMIT=5 is honored and
returned is limited to 5.
2. Test that passing null will release the limit to default 64.
3. Test that removing MediaProvider implementation for new method and
implement the old method will automatically redirect the call to old
method (backward compatible with old providers).

Change-Id: I37b1785b94f3e9cf09128fbf1e8779a4447fe7a9
2018-10-31 23:30:35 +00:00
Tyler Gunn
80a5e1e940 Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call.
This property is used to report the voip audio mode requested by the
underlying connection.  This is useful for ringing calls and held calls
where the current system audio mode will not necessarily match what the
Connection would use.

Test: Added and ran new CTS tests.
Bug: 110540796
Change-Id: I8c26db4b35de4d40d7b76b3c1adc93223afa104b
2018-10-31 15:09:17 -07:00
TreeHugger Robot
09128036f4 Merge "Introduce Emergency number functions APIs" 2018-10-31 21:37:28 +00:00
Jeff Sharkey
b7634f49ae APIs for reviewing, listing volumes, hashes.
As part of creating a "default gallery" app in Q, we need to define
the expected contract of how recently captured media can be reviewed
by the user.  Mirrored off the existing CAPTURE intents.

The Q storage work will start calculating SHA-1 hashes for each
media item to identify them in a stable way.

API to list all available volume names on the device, which includes
all attached shared storage devices, like SD cards.

Clean up all Uri creation to use Uri.Builder to ensure that incoming
volumeName values are escaped correctly.

Bug: 111268862
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I460593466d85ff052fd157d8fd784e7ac5b25d78
2018-10-31 21:27:04 +00:00
chen xu
13841a8d83 resolve merge conflicts of 461aef854d to pi-dev-plus-aosp
Bug: 118351153
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ib804121f94f2fec404b39b90700092783b6ba58c
Merged-in: I4a71c61929d9df8ec13c157e0452c6f30d8e4b9c
2018-10-31 13:07:11 -07:00
TreeHugger Robot
2c87f2ead8 Merge "Add an intent to launch the app permission usage screen." 2018-10-31 19:28:03 +00:00
Chen Xu
3ad3478213 Merge "new system API getRadioAccessFamily" 2018-10-31 17:12:23 +00:00
chen xu
c2389322f5 refactor resetNv API to resetRadioConfig and rebootRadio
Bug: 116476729
Test: telephony unit test and Manual test
Change-Id: I420da20f2290d1fc3962f7c14a9ca4999eafbde8
2018-10-31 09:42:20 -07:00
TreeHugger Robot
316902da9b Merge "Add get/setExtras to TextClassification" 2018-10-31 12:24:30 +00:00
Tony Mak
1bae53ccc7 Merge "Introduce TextClassifier.suggestConversationActions" 2018-10-31 11:46:36 +00:00
Kenny Root
a5964c08bc Move AdbDebuggingManager to AdbService
Also remove the "Usb" from the AIDL function since it's not really
related to USB.

Test: make
Bug: 63820489
Change-Id: Ibf23964665a115a5bc835820dcff98aaf7ba610f
2018-10-31 16:11:02 +09:00
Youming Ye
409b7fd693 Merge "Add CarrierConfig to hide "Network default" option in Caller ID setting" am: e3a989f7d3 am: 22b595e5bd
am: d07819d5cc

Change-Id: Ie07d14e12ef078f2dd87af697229b6c052a3d712
2018-10-30 19:02:26 -07:00
Youming Ye
d07819d5cc Merge "Add CarrierConfig to hide "Network default" option in Caller ID setting" am: e3a989f7d3
am: 22b595e5bd

Change-Id: If14fb8996f5cb829fdc0f41ecc7868656195265f
2018-10-30 18:37:59 -07:00
Youming Ye
e3a989f7d3 Merge "Add CarrierConfig to hide "Network default" option in Caller ID setting" 2018-10-31 00:44:04 +00:00
Michael Wachenschwanz
6b5d06fe4d Merge changes from topic "UsageSessionTimers"
* changes:
  Add SystemApi for registering Usage Session Observers in UsageStats
  Refactor AppTimeLimitController for Session Observers
2018-10-31 00:35:39 +00:00
Varun Shah
76c8e68e74 Exposes certain Settings fields as SystemApi for SUW.
User Setup related fields in Settings indicating the setup
personalization state are now exposed.

Global Settings fields indicating whether the device is in demo mode,
a password is required to decrypt the device, and if mobile data is
enabled for provisioning are now exposed.

Various Secure Settings fields are also now exposed. They indicate
information about  doze, user setup information, lock screen
notification settings, assist gesture setup, and whether a suggested
action was completed.

All of the exposed fields require the WRITE_SECURE_SETTINGS permission.

Bug: 116689780
Test: manual (run setup wizard)
Change-Id: If8a96cca216b1d3e3b9329a3f4695caf9f3f248a
2018-10-30 17:18:44 -07:00
Hai Zhang
87ed09ae42 Add controller APIs for RoleManager.
This change adds addRoleHolderFromController() and
removeRoleHolderFromController() to RoleManager. These APIs are
guarded by permission and intended to be called only by the controller
service, which will only modify records inside RoleManager and won't
affect the holder packages.

Bug: 110557011
Test: build
Change-Id: I15c6cde0b8c1c8c519ea521bc7bb6f97c7144ec4
2018-10-30 17:12:09 -07:00