Commit Graph

21415 Commits

Author SHA1 Message Date
Rhed Jao
e222fd9063 Merge "Update a11y recommended timeout api." 2018-11-09 05:28:18 +00:00
TreeHugger Robot
c578d38eb7 Merge "Deprecate Drawable#getOpacity" 2018-11-09 03:55:04 +00:00
Jimmy Chen
53f58bc1c7 Merge "p2p: support factory reset for P2P group" 2018-11-09 02:47:08 +00:00
Rhed Jao
41118f33b1 Update a11y recommended timeout api.
Update api name to getRecommendedTimeoutMillis.
Api returns timeout for interactive or non-interactive controls.
Also provide the options for a11y service to specify two kinds of
timeout.

Bug: 111210981
Test: atest SettingsBackupTest
Test: atest AccessibilityManagerTest
Test: atest AccessibilityServiceInfoTest
Change-Id: I37d35796fd72bb4d6628a6bb33b111987f321552
2018-11-09 10:24:07 +08:00
Nader Jawad
3d5c03df79 Deprecate Drawable#getOpacity
Deprecated getOpacity method on Drawable as the graphics optimization
is no longer utilized in the framework

Bug: 118841703
Test: Build and boots
Change-Id: Ie21c9379a5e9737ed68c09c2e518732c1578b3cb
2018-11-08 15:33:31 -08:00
TreeHugger Robot
dc7b7cc257 Merge "Revert "Revert "Adds new atomic install API""" 2018-11-08 22:03:05 +00:00
Pengquan Meng
d5c7fb6cdf Merge "Add 5G NR cellInfo" 2018-11-08 21:31:10 +00:00
Tony Zhu
6aceee0b7c Merge "[Call Screening]Logging of calls blocked by call blocking feature, call screening app." am: b5e8d45245 am: 20b0ca7ef8
am: f922fb1375

Change-Id: I4c7270d0ae8ea1fd42488e0e3efe2ca1b6d33d94
2018-11-08 10:22:41 -08:00
Tony Zhu
f922fb1375 Merge "[Call Screening]Logging of calls blocked by call blocking feature, call screening app." am: b5e8d45245
am: 20b0ca7ef8

Change-Id: Id2794379c6dd94bd5616ef0c86e6186324c33799
2018-11-08 10:07:13 -08:00
Tony Zhu
b5e8d45245 Merge "[Call Screening]Logging of calls blocked by call blocking feature, call screening app." 2018-11-08 17:22:43 +00:00
Patrick Baumann
0aff9b1d08 Revert "Revert "Adds new atomic install API""
This reverts commit 7e1c9d75bc.

This change adds the new atomic install system API to
PackageInstaller and plumbs it through to PackageManager. It also
adds support for committing multiple sessions via command line.

Bug: 109941548
Test: Manually install 2 apps from command line
Reason for revert: Forward fix build breakage

Change-Id: I1e518f7b8998599c849fb0e8c040be974e4ac821
2018-11-08 06:41:50 -08:00
Adam Vartanian
3401e9fef2 Merge "Update API file for libcore additions" am: 07160ff7e5 am: 2d67c19860
am: e8e035aaaa

Change-Id: I7a22c36c3b1f9238cfe89f95b4e0d148030c8dc1
2018-11-08 06:17:57 -08:00
Adam Vartanian
e8e035aaaa Merge "Update API file for libcore additions" am: 07160ff7e5
am: 2d67c19860

Change-Id: I5bdce324be694615712d872eb95b09bd79176b9c
2018-11-08 06:04:57 -08:00
Adam Vartanian
07160ff7e5 Merge "Update API file for libcore additions" 2018-11-08 13:39:31 +00:00
tonyzhu
9e1d4f86ba [Call Screening]Logging of calls blocked by call blocking feature, call screening app.
Add three call log entries, ALL_SCREENING_COMPONENT_NAME, CALL_SCREENING_APP_NAME,
BLOCK_REASON, and call block reasons. Add new parameter to get the
package name and component name of the implementation of CallScreenService.java.

Bug: 113243596
Test: Build pass
Change-Id: I63debd80d7f4a92278fdbb84b64ff1199591349c
2018-11-08 17:28:34 +08:00
Chen Xu
123559814a Merge "separate URL for WFC settings" am: 9d4ebdf379
am: 5e5e921d22

Change-Id: Ia2ac301a7c66359593c5793821b4282d5fc8c251
2018-11-07 19:52:48 -08:00
Chen Xu
9d4ebdf379 Merge "separate URL for WFC settings" 2018-11-08 03:23:20 +00:00
TreeHugger Robot
157edce8a7 Merge "Deprecated scoped directory access." 2018-11-08 02:14:24 +00:00
Shuo Qian
2764aaee13 Merge "Introduce Emergency number functions APIs" am: 24cddced04
am: 1bc7e852ef

Change-Id: I7748108ebaa6a22702b7d59c67aa9623438bcffc
2018-11-07 17:58:54 -08:00
Chen Xu
059810b73e Merge "separate URL for WFC settings" 2018-11-08 01:35:46 +00:00
Evan Rosky
38e1cb73f5 Merge changes from topic "wm_move_disp_to_hier_2"
* changes:
  Move some display logic into hierarchy [2/2]
  Move some display logic into hierarchy [1/2]
2018-11-08 01:15:27 +00:00
Jie Song
ccf59d6f21 Merge "Revert "Adds new atomic install API"" 2018-11-07 23:14:45 +00:00
Jie Song
7e1c9d75bc Revert "Adds new atomic install API"
This reverts commit 44da627fd5.

Reason for revert: <fix build>

Change-Id: I6f9ae2fc7606547e6bf6f9d8d6c2fc309b5a4538
2018-11-07 22:59:18 +00:00
sqian
5ac293f040 Introduce Emergency number functions APIs
- getCurrentEmergencyNumberList
- getCurrentEmergencyNumberList (per categories)
- isCurrentEmergencyNumber

Note: the implementaion from PhoneInterfaceManager is empty, but the names
of the APIs need to be finalized so that the usages and test plan are not
blocked.

Bug: 112657134
Test: Treehugger
Change-Id: I1e310941aea6d5288fd6c99071be6b46a8d98197
Merged-In: I854db34f4378f35f99c3d8133bf35f3d0b3aad2b
Merged-In: Ic0a22dd9c2023362bbb65b80cb78990ace7caac4
2018-11-07 14:57:44 -08:00
Shuzhen Wang
89d277a982 Merge "Camera: Add support for recommended stream configurations" 2018-11-07 22:54:02 +00:00
Pengquan Meng
50b8cd0e84 Add 5G NR cellInfo
- Add CellInfoNr
- Add CellIdentityNr
- Add CellSignalStrengthNr

Bug:111453000
Test: atest FrameworksTelephonyTests:
Change-Id: I45a8042fcbeb9faa7f8cc8db45eeb2c85125397e
2018-11-07 14:11:05 -08:00
TreeHugger Robot
0f60a8defc Merge "Adds new atomic install API" 2018-11-07 21:23:08 +00:00
chen xu
bf38b068d4 separate URL for WFC settings
we have @SystemAPI exposed in ImsMMTelManager#getVoWiFiModeSetting
and ImsMMTelManager#getVoWiFiRoamingModeSetting and vtEnabled.
We should expose @System URI allowing listeners to be notified
on settings changes.

Bug: 118631333
Test: telephony unit test
Change-Id: Idc8a6a71ed69135644371c122c93916ef4db0b51
Merged-in: Idc8a6a71ed69135644371c122c93916ef4db0b51
2018-11-07 11:58:52 -08:00
chen xu
4eec415f5f separate URL for WFC settings
we have @SystemAPI exposed in ImsMMTelManager#getVoWiFiModeSetting
and ImsMMTelManager#getVoWiFiRoamingModeSetting and vtEnabled.
We should expose @System URI allowing listeners to be notified
on settings changes.

Bug: 118631333
Test: telephony unit test
Change-Id: Idc8a6a71ed69135644371c122c93916ef4db0b51
2018-11-07 11:53:55 -08:00
Jiuyu Sun
151046ad9f Merge "Catch SecurityException in EuiccCardController and trigger callback." 2018-11-07 19:29:11 +00:00
Hai Shalom
7212090a3e Merge changes from topic "SAE-OWE support"
* changes:
  [WPA3] Fix WifiConfigurtionTest to support OWE as open network
  [WPA3] Add new types for WPA3/OWE and device capabilities API
2018-11-07 18:28:13 +00:00
Jorim Jaggi
05ac00c630 Merge changes from topic "windowinsets-api"
* changes:
  WindowInsets: Annotate nullability
  WindowInsets: Add Builder
  WindowInsets: reimplement WindowInsets on top of Insets
  WindowInsets: make WindowInsets.inset() public
2018-11-07 16:35:06 +00:00
TreeHugger Robot
a5b5f30996 Merge "WifiManager: Mark isScanAlwaysAvailable() deprecated" 2018-11-07 06:20:10 +00:00
Shuzhen Wang
68e8199c64 Merge "Camera: Unhide and update Y8 format spec" 2018-11-07 05:54:39 +00:00
Seigo Nonaka
11d5f41618 Merge "Introduce new API for specifying user font fallback" 2018-11-07 03:45:07 +00:00
TreeHugger Robot
ea87b1fa7c Merge "Add AppOpsManager.opToDefaultMode() as system API." 2018-11-07 02:43:27 +00:00
Evan Rosky
e747c3e4e1 Move some display logic into hierarchy [2/2]
Move display update logic from WM into ATM hierarchy by letting
ActivityStack watch for relevant changes and calculate bounds
accordingly and removing configuration updates from WM side
outside of calls from the display-level controller (like how
the other levels work).

One of the main display-changes to account for is rotation. To
make this work without drastically modifying things was to leave
display freeze/startSeamless in WM but move the actual rotation
to ATM while handling SEND_NEW_CONFIGURATION. This prevents
changes to the wm-side hierarchy outside of ATMS's control.

To facilitate this extra communication between ATMS and WM,
this adds rotation into WindowConfiguration. This makes rotation
available to the hierarchy update for policies that care about it
(things like split). It will also replace TaskStack's mRotation
in an upcoming CL and should also let us remove the one-off
variable for landscape->seascape orientation changes (needs
some more research though).

Bug: 113900640
Test: go/wm-smoke + relevant am/wm servicestests
Change-Id: I12c79cc5eb94d48d846f1cf27765c9f9f6741435
2018-11-06 18:39:37 -08:00
Jimmy Chen
c4240a7ce8 p2p: support factory reset for P2P group
provide system API for Settings

Bug: 109866998
Test: Manual tests
      * manual trigger network reset in below conditions:
        * trigger network reset with P2P on
        * trigger network reset with WiFi on, P2P off
        * trigger network reset with WiFi off
        * trigger network reset with WiFi off then do reboot
      * check groups shown in WiFi Direct page
      * use wpa_cli -i p2p0 list_network
Test: CtsVerifier - WiFi Direct category
Test: Unit tests - atest frameworks/opt/net/wifi/tests/wifitests
Test: Permission check
      * call factoryReset as Guest
      * call factoryReset from 3rd-party application

Change-Id: Id487ebf4564b78b613b550c0f0266effb0ae793e
2018-11-07 09:57:23 +08:00
Brad Ebinger
e1219c73ef Merge "Expose mRestrictCause as a @SystemApi" am: 37d8de2b2a am: f40eeb4a18
am: 5671e61407

Change-Id: Id06585c73f8423a5e2e21412f360cc9b4c3e0982
2018-11-06 15:37:37 -08:00
Brad Ebinger
5671e61407 Merge "Expose mRestrictCause as a @SystemApi" am: 37d8de2b2a
am: f40eeb4a18

Change-Id: I59adcd2b31bdf0f7258b424d55f6e96913c729dc
2018-11-06 15:22:43 -08:00
Brad Ebinger
37d8de2b2a Merge "Expose mRestrictCause as a @SystemApi" 2018-11-06 22:54:10 +00:00
Hai Zhang
c595f112db Add AppOpsManager.opToDefaultMode() as system API.
PermissionController needs to know the default mode of an app op and
adjust it in case a background permission is fixed to revoked while a
foreground permission is not for a pre-M app, because simply resetting
the app op to its default mode might break the fixed state of the
background permission.

This change also removes AppOpsManager.resetUidMode() since it was
introduced for the same use case in PermissionController but cannot
handle the above case cleanly.

Bug: 110557011
Test: build
Change-Id: I53b1b375381a46b7dbece3cddaac460352d0336d
2018-11-06 14:49:54 -08:00
Roshan Pius
4e415edecd WifiManager: Mark isScanAlwaysAvailable() deprecated
This API is useful for the apps to decide when they can issue a scan
request. Since WifiManager.startScan() is deprecated, this should be
too. There is no functionality change for now, just a warning
that this will go away along with startScan().

Bug: 74448981
Test: `make api-stubs-docs-update-current-api`
Change-Id: I5310dc53dae244d7a99319bbde111254e9097a14
2018-11-06 13:46:30 -08:00
Patrick
44da627fd5 Adds new atomic install API
This change adds the new atomic install system API to
PackageInstaller and plumbs it through to PackageManager. It also
adds support for committing multiple sessions via command line.

Bug: 109941548
Test: Manually install 2 apps from command line
Change-Id: I71d77026a55a40c76925e55e6956fb76efe16224
2018-11-06 21:16:11 +00:00
Seigo Nonaka
c1b6ab69c6 Introduce new API for specifying user font fallback
Bug: 111133573
Test: atest TypefaceCustomFallbackBuilderTest
Change-Id: I0345824ecd475e43dbb5e5451f647020c4b53a83
2018-11-06 10:56:30 -08:00
Hai Shalom
6adbc58858 [WPA3] Add new types for WPA3/OWE and device capabilities API
Add new types for WPA3: SAE and Suite-B-192, and Enhanced open: OWE.
Added a new API to get the device key management capabilities, because
not all devices using latest HAL have WPA3/OWE support. Updated
current.txt and system-current.txt accordingly.

Bug: 112195778
Test: atest com.android.server.wifi

Change-Id: Idceb28dd8663349013243f69b8f20c0c8606581c
2018-11-06 10:11:07 -08:00
Roshan Pius
d84d668d45 Merge changes from topic "network_request_match_callback"
* changes:
  WifiManager: Network request match callback registration
  wifi(API): NetworkSpecifier for Wifi NetworkAgent
  wifi(API): Mark old API's deprecated
  wifi(API): New API surface for network suggestion
  wifi(API): New API surface for connection via NetworkRequest
2018-11-06 17:42:58 +00:00
Shuo Qian
729518824d Merge "Revert "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)"" am: 1a517ba852 am: aea5d0afcc
am: c3e1c08d03

Change-Id: I4bee4db8615f8ad37d11331ad8b0b20b70abb8c9
2018-11-05 19:47:43 -08:00
Shuo Qian
c3e1c08d03 Merge "Revert "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)"" am: 1a517ba852
am: aea5d0afcc

Change-Id: Id631e020519573ee0bb280838684f390c8d26b75
2018-11-05 19:26:55 -08:00
Shuo Qian
1a517ba852 Merge "Revert "Make getRssi() API for LTE Received Signal Strength Indication (RSSI)"" 2018-11-06 03:06:20 +00:00