Commit Graph

301953 Commits

Author SHA1 Message Date
Lenka Trochtova
f15cf38311 Introduce a new user restriction for disallowing Bluetooth.
Only the device owner will be able to set the restriction
and the restriction will prevent usage of Bluetooth on the
entire device - i.e. in all the users.

Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.UserRestrictionsTest
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testBluetoothRestriction

Bug: 32895300

Merged-In: I2875cf178cb16eca1965d0ba965d1cd3d8db2ad5

Change-Id: I2875cf178cb16eca1965d0ba965d1cd3d8db2ad5
2016-12-05 10:46:58 +01:00
Tobias Thierer
589ff8395d Merge "Migrate StrictJarVerifier and ShortcutPackageInfo to java.util.Base64" am: 1e498a96c1 am: 6e2d3fa82f
am: 386ba42ec5

Change-Id: I0b0e8139cc084fbdf9918dd700d9be337e0c47df
2016-12-05 09:46:21 +00:00
Tobias Thierer
386ba42ec5 Merge "Migrate StrictJarVerifier and ShortcutPackageInfo to java.util.Base64" am: 1e498a96c1
am: 6e2d3fa82f

Change-Id: I925b0ca87bbd0f3be3f03865f70cafaaa1ef25ba
2016-12-05 09:39:55 +00:00
Tobias Thierer
6e2d3fa82f Merge "Migrate StrictJarVerifier and ShortcutPackageInfo to java.util.Base64"
am: 1e498a96c1

Change-Id: I28b8deadc9386b8772bd94870809213fdddad7e6
2016-12-05 09:35:10 +00:00
Tobias Thierer
1e498a96c1 Merge "Migrate StrictJarVerifier and ShortcutPackageInfo to java.util.Base64" 2016-12-05 09:28:47 +00:00
Sungsoo
e5da16d7dd resolve merge conflicts of a0f3e64 to master
Change-Id: I777a4410f89a8cc35db76ae0c98e54aee68703ad
2016-12-05 15:18:38 +09:00
Sungsoo Lim
a0f3e642a4 Merge "ExifInterface: fix NegativeArraySizeException" am: c57b472d67 am: 582e612fdc
am: 52dd278eb3

Change-Id: I511eb25ec5124d989889fcf9da33a167eed63bcd
2016-12-05 04:54:35 +00:00
Sungsoo Lim
52dd278eb3 Merge "ExifInterface: fix NegativeArraySizeException" am: c57b472d67
am: 582e612fdc

Change-Id: I671ef98f05431e7c4baa2a7b84f6cb04a82c5d9d
2016-12-05 04:47:33 +00:00
Sungsoo Lim
582e612fdc Merge "ExifInterface: fix NegativeArraySizeException"
am: c57b472d67

Change-Id: Ifbe9af9b62837923e6e56159759da6c59795b3aa
2016-12-05 04:41:30 +00:00
Sungsoo Lim
c57b472d67 Merge "ExifInterface: fix NegativeArraySizeException" 2016-12-05 04:35:19 +00:00
Tomasz Mikolajewski
e4ba777a18 Merge "Add CATEGORY_TYPED_OPENABLE for ACTION_SEND[_MULTIPLE]." 2016-12-05 03:20:29 +00:00
TreeHugger Robot
9593f04fb2 Merge "ExifInterface: fix NegativeArraySizeException" 2016-12-05 02:22:46 +00:00
NIEJuhu
dbe99b56ec ExifInterface: fix NegativeArraySizeException
The IFD entry has a 4-byte field COUNT. It is read as int type
and is used as array size by ExifInterface. If a crafted JPEG
file contains a negative value, a NegativeArraySizeException
occurs.

Test: passed ExifInterface CTS
Change-Id: Ief29936400f04636928df09e7f357cbf25345383
Signed-off-by: NIEJuhu <niejuhu@xiaomi.com>
2016-12-05 09:18:58 +09:00
Yifan Hong
a0291419e1 Merge "Use IBase instead of IBinder for IServiceManager." am: 8ead2f0c9a am: dab9e7bfc7 am: bc9c711513
am: ae68a5cb29

Change-Id: I29e0b6276239da96c0ab0f57c8b0841d079f2316
2016-12-03 23:28:31 +00:00
Yifan Hong
ae68a5cb29 Merge "Use IBase instead of IBinder for IServiceManager." am: 8ead2f0c9a am: dab9e7bfc7
am: bc9c711513

Change-Id: I6047e1d936ef515d531a8ad4b875ab443ff2f50d
2016-12-03 23:22:40 +00:00
Yifan Hong
bc9c711513 Merge "Use IBase instead of IBinder for IServiceManager." am: 8ead2f0c9a
am: dab9e7bfc7

Change-Id: I8c39d01e0670d200c18ba02dbd3d09cea5a503c7
2016-12-03 23:15:52 +00:00
Yifan Hong
dab9e7bfc7 Merge "Use IBase instead of IBinder for IServiceManager."
am: 8ead2f0c9a

Change-Id: Ia18426c336f1ba9c9bceb57db0222ba6c59667a9
2016-12-03 23:10:08 +00:00
Treehugger Robot
8ead2f0c9a Merge "Use IBase instead of IBinder for IServiceManager." 2016-12-03 23:04:26 +00:00
TreeHugger Robot
c770b052ad Merge changes I71ed6927,If5687e31
* changes:
  NetworkMonitor: send one DNS probe per web probe
  NetworkMonitor metrics: add first validation information
2016-12-03 20:08:47 +00:00
TreeHugger Robot
0f0e424329 Merge "Use IBase instead of IBinder for IServiceManager." 2016-12-03 19:58:53 +00:00
Michael Kwan
ac9443ef9c Revert "Change activity dismiss animation to move left to right."
This reverts commit 6d969ea4d8.

Change-Id: I39ab1bc00d20b6a719ac0930e5596e14fd8345b7
2016-12-03 11:33:27 -08:00
Jean-Michel Trivi
ce8617c0df Merge "Volume dialog controller: make loading of stream names more robust" 2016-12-03 19:29:17 +00:00
Hugo Benichi
ab61e7c324 NetworkMonitor: send one DNS probe per web probe
This patch changes sligthly the two web probes mechanism for captive
portal detection and network validation so that DNS resolution is always
done for both probes.

In general the target web servers of the two parallel HTTP and HTTPS probes
are now different. This introduces a bias in the latency measurement of
th HTTPS probe since this latency will also include DNS resolution in
general.

Test: manual verification + $ runtest frameworks-net
Bug: 32198726
Change-Id: I71ed6927f5d9cdab0d0236cc147fe1c5735a1245
2016-12-04 03:39:16 +09:00
Hugo Benichi
147aa6d53b NetworkMonitor metrics: add first validation information
This patch adds first validation information to:
  - ValidationProbeEvent, by extending the probe_type int field of to
    also include a bit indicating if the probe was part of a first
    validation attempt or not.
  - NetworkMonitorEvent, by defining new contants for the event_type
    field.

Test: $ runtest frameworks-net
      + manually generating events and inspecting the
        output of $ adb shell dumpsys connmetrics list
Bug: b/32198726
Change-Id: If5687e310ddd18ed3096f8ecbdfc2ef866519234
2016-12-04 03:38:54 +09:00
Yifan Hong
95c1cd53d9 Use IBase instead of IBinder for IServiceManager.
Test: compiles with mma
Change-Id: I5805df48aa358dcef555125f6467d659f095b0c2
2016-12-03 15:15:35 +00:00
TreeHugger Robot
1d31ab693e Merge "Import translations. DO NOT MERGE" 2016-12-03 10:16:16 +00:00
Bill Yi
1b16871ea7 Import translations. DO NOT MERGE am: 52ae3289fb -s ours
am: b344ba69e6  -s ours

Change-Id: I55feaa7bef40a53abc0493199cce24e8e66106ab
2016-12-03 10:04:23 +00:00
Bill Yi
b344ba69e6 Import translations. DO NOT MERGE
am: 52ae3289fb  -s ours

Change-Id: I77c441b5116ab1dc8d9236cdb38bf776afaa88e4
2016-12-03 09:59:20 +00:00
TreeHugger Robot
0e1f49908c Merge "Import translations. DO NOT MERGE" 2016-12-03 09:48:48 +00:00
TreeHugger Robot
b9bbd433ae Merge "Import translations. DO NOT MERGE" 2016-12-03 09:18:09 +00:00
TreeHugger Robot
4e01cdb7cd Merge "Import translations. DO NOT MERGE" 2016-12-03 09:17:37 +00:00
TreeHugger Robot
784f8534cb Merge "Import translations. DO NOT MERGE" 2016-12-03 09:17:10 +00:00
TreeHugger Robot
dcee02a384 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:16:47 +00:00
TreeHugger Robot
db1dc7c646 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:16:27 +00:00
TreeHugger Robot
e7d3413ec7 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:15:56 +00:00
TreeHugger Robot
a7e5278f80 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:15:33 +00:00
TreeHugger Robot
9030c65502 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:15:09 +00:00
TreeHugger Robot
408c3e5901 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:14:47 +00:00
TreeHugger Robot
488b600356 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:13:52 +00:00
TreeHugger Robot
ab084fb896 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:13:30 +00:00
TreeHugger Robot
4a1e1d0441 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:12:12 +00:00
TreeHugger Robot
195db4123f Merge "Import translations. DO NOT MERGE" 2016-12-03 09:11:29 +00:00
Bill Yi
52ae3289fb Import translations. DO NOT MERGE
Change-Id: Ifb7cde4b8e869f98f49a2fb0270bc9cd30ed7b0d
Auto-generated-cl: translation import
2016-12-03 00:20:58 -08:00
Bill Yi
6561ccdb99 Import translations. DO NOT MERGE
Change-Id: I20348078648afcf2a154494348d2b55cd3fb2f62
Auto-generated-cl: translation import
2016-12-03 00:17:44 -08:00
Bill Yi
e16ad05887 Import translations. DO NOT MERGE
Change-Id: Icd4e321f703bc7d994152dd5f29bb692f1529b83
Auto-generated-cl: translation import
2016-12-03 00:11:42 -08:00
TreeHugger Robot
3fdcd78a29 Merge "APF: also drop any ICMPv6 RSs" 2016-12-03 07:21:08 +00:00
Hugo Benichi
f98182ef5e APF: also drop any ICMPv6 RSs
Test: new unit test + $ runtest franeworks-net
Bug: 32833400
Change-Id: Ibd7ce2e3565eab74043fe9604fe2b23abd53a2eb
2016-12-03 14:38:58 +09:00
Bill Yi
43eacdf6c4 Import translations. DO NOT MERGE
Change-Id: I96c2791d1d4faf793c7cebd56ae671d9787cb747
Auto-generated-cl: translation import
2016-12-02 21:34:55 -08:00
Bill Yi
78eec3c16c Import translations. DO NOT MERGE
Change-Id: Icfa72328868f0261156d4a234e4eddbeb29428b9
Auto-generated-cl: translation import
2016-12-02 21:31:57 -08:00
Bill Yi
d3d688a295 Import translations. DO NOT MERGE
Change-Id: I7dbe0388d0e3deedd0d214a55361d30335b56502
Auto-generated-cl: translation import
2016-12-02 21:01:26 -08:00