Commit Graph

77593 Commits

Author SHA1 Message Date
TreeHugger Robot
391073c998 Merge "Update documentation for DIRTY in VoicemailContract" 2017-12-15 22:11:47 +00:00
TreeHugger Robot
e165e35fb9 Merge "Update documentation for preferred phone account columns" 2017-12-15 22:02:17 +00:00
TreeHugger Robot
f7d20e9b7d Merge "Turn on connected device by default" 2017-12-15 21:02:01 +00:00
Ricardo Loo Foronda
ccd5d32295 docs: Added code tag to meta-data name and fixed some @see tags am: f2a8aea735
am: 0d69f1b342

Change-Id: Ib0e6d759d002cf5418755312c42e32e07ece0576
2017-12-15 20:38:54 +00:00
Ricardo Loo Foronda
0d69f1b342 docs: Added code tag to meta-data name and fixed some @see tags
am: f2a8aea735

Change-Id: If5601165a816e0dadc672008f8d5049563ee577f
2017-12-15 20:31:18 +00:00
Ta-wei Yen
3ec3d5bbba Update documentation for preferred phone account columns
Fixes: 70299454
Test: N/A
Change-Id: Ib8af85b5c618c1a2c62bc6c09daae057521de5d6
2017-12-15 12:14:46 -08:00
Ta-wei Yen
2fc8983250 Update documentation for DIRTY in VoicemailContract
Change-Id: I1196e5043b1c30a14d7463bd0a5ba1db485c1f57
Fixes: 70639523
Test: N/A
2017-12-15 12:03:51 -08:00
Jason Monk
1d521a54bf Merge "Add APIs for slice pinning" 2017-12-15 19:49:02 +00:00
Hansong Zhang
e67de60fc0 Merge "Publish Bluetooth HID Device Profile Service API" 2017-12-15 19:26:11 +00:00
jackqdyulei
65fe45522f Turn on connected device by default
Bug: 69926683
Test: Build
Change-Id: Ia3389f459e7c9c6de3f549c60470bf12660d7a87
2017-12-15 10:59:15 -08:00
Jeff Hamilton
50a716b03e Merge "Minor LoadedApk refactoring." 2017-12-15 17:53:03 +00:00
TreeHugger Robot
37924ca6ee Merge changes I5a26c853,Ie4ec660a
* changes:
  Implements disableNanoApp
  Implements enableNanoApp
2017-12-15 16:23:23 +00:00
TreeHugger Robot
4bb2d57bf1 Merge "Fix security bug: collect certs for non-systemDir apks." 2017-12-15 16:12:51 +00:00
Peter Visontay
f5ba933e9c Merge "Log an App Op when an accessibility action is performed." 2017-12-15 15:58:12 +00:00
Ricardo Loo Foronda
f2a8aea735 docs: Added code tag to meta-data name and fixed some @see tags
Status: Ready for review.

Changes:
* Surrounded android.service.carrier.LONG_LIVED_BINDING with code tags
  in CarrierService class.
* Prefixed @see tags with # in CarrierConfigManager#KEY_FORCE_HOME_NETWORK_BOOL.
* Prefixed @see tag with class name in
  CarrierConfigManager#notifyConfigChangedForSubId.

Test: make ds-docs

Staged content:
*
https://android-dot-devsite.googleplex.com/reference/android/service/carrier/CarrierService.html
*
https://android-dot-devsite.googleplex.com/reference/android/telephony/CarrierConfigManager.html#KEY_FORCE_HOME_NETWORK_BOOL
*
https://android-dot-devsite.googleplex.com/reference/android/telephony/CarrierConfigManager.html#notifyConfigChangedForSubId(int)

Bug: 23289716
Change-Id: I3b5be3ecc45bfb83e3fe0ae9bc76dc7761557e08
2017-12-15 15:49:01 +00:00
Tobias Thierer
14886ae27b Merge "Move Mutable{Int,Long} from libcore to framework." am: ba9db527ec
am: cac71f08e4

Change-Id: Iea66238ac89df2f7b8e71f6df8dc7cadb2396d24
2017-12-15 14:12:41 +00:00
Pavel Grafov
d1319bb059 Merge "Introduce DISALLOW_UNIFIED_PASSWORD." 2017-12-15 13:47:55 +00:00
Tobias Thierer
ba9db527ec Merge "Move Mutable{Int,Long} from libcore to framework." 2017-12-15 13:46:52 +00:00
Peter Visontay
19eb58959b Log an App Op when an accessibility action is performed.
Bug: 63907873
Test: manually tested that the app op is being logged for TalkBack and a 3rd party accessibility service. Ran UIAutomator-based tests to check that they work as expected.
Change-Id: I1a40d4ead52ba2258cc7ddc8be594a13895d8340
2017-12-15 12:05:32 +00:00
Peter Visontay
47197c8870 Merge "Log when an app shows a UI overlay." 2017-12-15 11:20:38 +00:00
TreeHugger Robot
793fdca682 Merge "Improve testibility of applicatin switches." 2017-12-15 10:00:26 +00:00
Hansong Zhang
7bb587d72b Publish Bluetooth HID Device Profile Service API
Enable the BluetoothHidDevice API in framework.

Bug: 63384609
Test: SL4A HID test; test with apps using BluetoothHidDevice
Change-Id: I52ca4674f11179f865bdff22e0289dfe893c40f5
2017-12-14 20:06:12 -08:00
Fyodor Kupolov
a629e4c393 Merge "Added compatibility WAL flags for Global.Settings" 2017-12-15 01:40:17 +00:00
Dianne Hackborn
5c3296af2d Improve testibility of applicatin switches.
Things can be flaky, because window focus changes are
dispatched to the window on a separate path from input events,
and the window will drop events if it gets them before it sees
the focus change.  I am trying to mitigate this some by noting
ASAP what the next upcoming focus state will be, so we can check
that and dispatch it before dispatching a key event if needed.

This definitely makes things better, but not perfect.  ctate
suggested that maybe we should be dispatching window focus events
through the input system, which at a glance sounds like a really
really good idea to me...  so maybe we can look at that later.

Also changed the wm command to just be a shell wrapper around
all of the implementation that is now in WindowManagerShellCommand.

And fixed a few places where we write debug info to streams that
would trigger strict mode violations that we really don't care
about.

Test: manual
Change-Id: I5235653bcec5522ab84c7f2e1de96d86f2f59326
2017-12-14 15:29:21 -08:00
Dmitry Dementyev
a233c95026 Merge "Add RecoverableKeyStoreLoader APIs." 2017-12-14 22:50:44 +00:00
Holly Jiuyu Sun
5ad2fbabf8 Merge "Confirmation code second try." am: df0f5e9791
am: cdc3c3ec77

Change-Id: I4c0de71e0c488551f6d0fa5e1f73ca2971e4a5f6
2017-12-14 22:46:29 +00:00
Holly Jiuyu Sun
df0f5e9791 Merge "Confirmation code second try." 2017-12-14 22:25:37 +00:00
Tomasz Wasilczyk
e4bdecc97d Merge changes from topic "radio-2.0"
* changes:
  Move HAL 1.x related service to its own directory.
  Initial implementation of HAL 2.0 counterpart for radio service.
2017-12-14 21:57:14 +00:00
Android Build Merger (Role)
b669be1dcc Merge "Merge "Use consistent naming for allocating SPI." am: bf48afea49 am: 4753ed4b1b am: f71c95dfe4" 2017-12-14 21:50:52 +00:00
Mady Mellor
414ad18358 Merge "Adds hint summary to slice" 2017-12-14 21:48:59 +00:00
nharold
ccb9365019 Merge "Use consistent naming for allocating SPI." am: bf48afea49 am: 4753ed4b1b
am: f71c95dfe4

Change-Id: Ib6845ab0d7f385fbd1d59c0179771542e12c8be0
2017-12-14 21:48:58 +00:00
Dan Cashman
63addbd363 Fix security bug: collect certs for non-systemDir apks.
ag/3340390 changed untrusted value to systemDir while going through
code review, flipping the meaning of the variable, but this was not
reflected in the call site.  As a result, systemDir apps are the
only ones being fully verified, which is the opposite of what we want.

Test: Builds, eventually CTS.

Change-Id: I585ac65c957f0d8db6c73f003d3a3eb2b79c8883
2017-12-14 13:37:17 -08:00
nharold
f71c95dfe4 Merge "Use consistent naming for allocating SPI." am: bf48afea49
am: 4753ed4b1b

Change-Id: Ib5d89044313341790b1ee9271642072ddce181af
2017-12-14 21:36:32 +00:00
TreeHugger Robot
33d9a341d5 Merge "Filter out position jitter in hover tooltip handling" 2017-12-14 21:36:28 +00:00
nharold
bf48afea49 Merge "Use consistent naming for allocating SPI." 2017-12-14 21:10:16 +00:00
Jason Monk
e2c645179f Add APIs for slice pinning
These APIs allow apps to know when they should be sending updates
to any given slice uri.

Test: update-api
Bug: 68378571
Change-Id: I4fa218c8d376692fa843f21777c87d592169a377
2017-12-14 16:02:23 -05:00
Tomasz Wasilczyk
d65b3ca029 Initial implementation of HAL 2.0 counterpart for radio service.
Test: KitchenSink
Bug: 69958777
Change-Id: I7c697af76114e8c5d158ca592d2711b980101d60
2017-12-14 13:01:11 -08:00
Pavel Grafov
c4f87e9ceb Introduce DISALLOW_UNIFIED_PASSWORD.
When DISALLOW_UNIFIED_PASSWORD is enforced by managed profile
owner, the user is disallowed to user single lock for both primary
user and the profile.

DMP.isUsingUnifiedPassword() can be called by DPC to check if
this restriction is obeyed.

Test: make cts-verifier
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases -t
  com.android.cts.devicepolicy.ManagedProfileTest#testIsUsingUnifiedPassword
Test: cts-tradefed run cts -m CtsAdminTestCases -t
  android.admin.cts.DevicePolicyManagerTest#testIsUsingUnifiedPassword_failIfNotProfileOwner
Bug: 63909482
Change-Id: Ib758e32d4bf4012d805185bce874f481e17576ba
2017-12-14 20:53:27 +00:00
Dmitry Dementyev
8eaf607f22 Add RecoverableKeyStoreLoader APIs.
Includes parcelables for
1) KeyDerivation
2) User Secret together with its type.
3) Application key entry
4) KeystoreRecoveryData block with all data  necessary to recover
keys later.

Test: none
Bug: 65979689
Change-Id: If59842a92ebbc0e77f95d6a2e5503943e2835062
2017-12-14 12:35:25 -08:00
Fyodor Kupolov
ee90c03fe7 Added compatibility WAL flags for Global.Settings
Added Settings.Global.SQLITE_COMPATIBILITY_WAL_FLAGS -
configuration flags for SQLite Compatibility WAL. Encoded as a key-value
list, separated by commas. E.g.:
compatibility_wal_supported=true, wal_syncmode=OFF

SQLiteCompatibilityWalFlags caches the value of
SQLITE_COMPATIBILITY_WAL_FLAGS on first access and keeps it through
the lifetime of the process for consistent behavior across all
connections.

Test: SQLiteCompatibilityWalFlagsTest
Test: setting put global ... + verify that dumpsys dbinfo has the new flag
Bug: 70226732
Bug: 70517616
Change-Id: Ifacbf5908c83351ebe5dea676eeb716af039fb14
2017-12-14 12:21:27 -08:00
Eran Messeri
f50d4dc1d1 Merge "DevicePolicyManager: Support attestation for generated keys." 2017-12-14 20:04:42 +00:00
Arthur Ishiguro
54e1a89cd8 Implements disableNanoApp
Bug: 67734082
Test: Run a test app to issue an disable request, verify HAL code is
executed via logs and client receives an error response.
Change-Id: I5a26c85372bd10a0224bf2a696982dccbca0c275
2017-12-14 11:52:39 -08:00
Arthur Ishiguro
0ed545c7e5 Implements enableNanoApp
Bug: 67734082
Test: Run a test app to issue an enable request, verify HAL code is
executed via logs and client receives an error response.
Change-Id: Ie4ec660a094082887eaefbdfc2e1fd8d1ee7c0e3
2017-12-14 11:52:39 -08:00
James Wallace-Lee
10adc35582 Merge "WebView: Clarify documentation about mimeTypes" 2017-12-14 18:40:12 +00:00
Peter Visontay
96449f61e6 Log when an app shows a UI overlay.
Bug: 63907873
Test: manually checked that the op is logged when an app shows an overlay.
Change-Id: I932a394a6d829a6a48d17e9d8c00e3e66623bd43
2017-12-14 18:28:17 +00:00
Eran Messeri
a173064047 DevicePolicyManager: Support attestation for generated keys.
If the KeyGenParameterSpec passed into
DevicePolicyManager.generateKeyPair contains an attestation challenge,
request an attestation record for the newly-generated key with the
challenge provided.

This particular implementation was chosen, rather than letting the
attestation record be generated at the same time as key generation, to
avoid having the attestation chain stored in Keystore and associated
with the generated alias.

The rationale is that this is a key that is potentially accessible by
multiple applications and the attestation chain may end up being sent
as a TLS client certificate chain, for example.

As the attestation challenge should be unique per device, to avoid
the potential of sending / sharing unique device information, by
explicitly requesting an attestation record after key generation, the
attestation record is only returned to the generateKeyPair client and
not persistend in Keystore.

Bug: 63388672
Test: New CTS test to be run with: 'cts-tradefed run commandAndExit cts-dev -a armeabi-v7a -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testKeyManagement -l DEBUG'
Change-Id: I95a9aef179173b571b533301ac438c675e8fe702
2017-12-14 18:09:05 +00:00
Antoan Angelov
ce0fe9b674 Merge "Add profile owner transfer functionality." 2017-12-14 15:09:05 +00:00
Peter Visontay
5607d0b72b Merge "Log an App Op when an accessibility service is registered." 2017-12-14 15:07:58 +00:00
TreeHugger Robot
ccb2aa8b26 Merge "Add WebView Tracing API." 2017-12-14 15:07:24 +00:00
Jeff Hamilton
7541ca4d1a Minor LoadedApk refactoring.
- Rename varaibles holding LoadedApk to make the code easier to read.
- Move resource creation into LoadedApk, consolidating the logic.

Test: manual
Change-Id: I6bdc70482fbbb346ff694ada528ded18d3a63ef7
2017-12-14 10:02:37 -05:00