OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Update documentation for KEY_CARRIER_NAME_STRING" am: fa6187510a
nharold [Wed, 17 Jan 2018 06:59:39 +0000 (06:59 +0000)]
Merge "Update documentation for KEY_CARRIER_NAME_STRING" am: fa6187510a
am: 03dafac495

Change-Id: I3c0e13153a347e6ef79cfee9f00a6ee6694425d9

6 years agoMerge "Update documentation for KEY_CARRIER_NAME_STRING"
nharold [Wed, 17 Jan 2018 06:51:38 +0000 (06:51 +0000)]
Merge "Update documentation for KEY_CARRIER_NAME_STRING"
am: fa6187510a

Change-Id: I50fe5f4ea30b6923e7ca5c0fe3eb62fa9db3dabf

6 years agoMerge "Update documentation for KEY_CARRIER_NAME_STRING"
nharold [Wed, 17 Jan 2018 03:39:44 +0000 (03:39 +0000)]
Merge "Update documentation for KEY_CARRIER_NAME_STRING"

6 years agoMerge "Handle onBindingDied in notification manager" am: a13201a99b
Ryan Lothian [Wed, 17 Jan 2018 01:59:09 +0000 (01:59 +0000)]
Merge "Handle onBindingDied in notification manager" am: a13201a99b
am: d69921cc9a

Change-Id: I91f5642cb8f2d740e8acbbb739fc42f6a2f1bc63

6 years agoMerge "Handle onBindingDied in notification manager"
Ryan Lothian [Wed, 17 Jan 2018 01:51:02 +0000 (01:51 +0000)]
Merge "Handle onBindingDied in notification manager"
am: a13201a99b

Change-Id: I01d3d65fcc6032d5de17f84cdc8eb5119aaeeadf

6 years ago[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables...
Android Build Merger (Role) [Tue, 16 Jan 2018 23:54:53 +0000 (23:54 +0000)]
[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables skipped: cee125012a am: 9b90490d1d
am: 17ef28c5e2

Change-Id: I7e2e495eb815655db3ea365e44d069dfb6227a5a

6 years ago[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables...
Android Build Merger (Role) [Tue, 16 Jan 2018 23:42:30 +0000 (23:42 +0000)]
[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables skipped: cee125012a am: 9b90490d1d

Change-Id: If121edaf0d2edac5688ff2aa4ed48da1d5e1c1c7

6 years ago[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables...
Android Build Merger (Role) [Tue, 16 Jan 2018 23:42:24 +0000 (23:42 +0000)]
[automerger skipped] RESTRICT AUTOMERGE Preventing recursive referrence in drawables skipped: cee125012a

Change-Id: Ie180da5d659b106e1c5299b0a46b6cbf24548ae0

6 years agoRESTRICT AUTOMERGE Preventing recursive referrence in drawables
Sunny Goyal [Wed, 1 Nov 2017 18:58:13 +0000 (11:58 -0700)]
RESTRICT AUTOMERGE Preventing recursive referrence in drawables

Bug: 68706673
Bug: 66498711
Test: Added CTS tests

Change-Id: I8034f49d16f9a7bc1749714fd6d6231bba5088d0
(cherry picked from commit I8034f49d16f9a7bc1749714fd6d6231bba5088d0)
Merged-In: I8034f49d16f9a7bc1749714fd6d6231bba5088d0

6 years agoMerge "Handle onBindingDied in notification manager"
Ryan Lothian [Tue, 16 Jan 2018 23:31:41 +0000 (23:31 +0000)]
Merge "Handle onBindingDied in notification manager"

6 years agoHandle onBindingDied in notification manager
Ryan Lothian [Mon, 4 Dec 2017 16:56:58 +0000 (11:56 -0500)]
Handle onBindingDied in notification manager

On Android, if the process containing the service being bound to
crashes before the bind succeeds, the app doing the binding won't
get a success or failure callback.

When that happens in this code, this leaves notif. manager thinking
that a binding is in progress, so it never attempts to rebind until
the device is rebooted.

Bug: 69064494
Test: original CL was manually tested --
      crashed listener on proc start, verified not unbound forever
Change-Id: Id2082744208e21a709d9453365f282449a2e9407
(cherry picked from commit 4a86a51b672617b02994fc812e4f96342daf424e)

6 years agoMerge "Fix doFadingAnimationLocked in sanitized builds." am: 05284b6c6a
Ivan Lozano [Tue, 16 Jan 2018 21:49:36 +0000 (21:49 +0000)]
Merge "Fix doFadingAnimationLocked in sanitized builds." am: 05284b6c6a
am: b327eb682e

Change-Id: I109a08b8ae94cbeca28044f2c64c885a586f680a

6 years agoMerge "Fix doFadingAnimationLocked in sanitized builds."
Ivan Lozano [Tue, 16 Jan 2018 21:42:07 +0000 (21:42 +0000)]
Merge "Fix doFadingAnimationLocked in sanitized builds."
am: 05284b6c6a

Change-Id: I5822b920fe1dec72f0f49af35256bfbf6d9474fa

6 years agoMerge "Fix doFadingAnimationLocked in sanitized builds."
Ivan Lozano [Tue, 16 Jan 2018 20:27:36 +0000 (20:27 +0000)]
Merge "Fix doFadingAnimationLocked in sanitized builds."

6 years agoMerge "ActivityThread: Attempt to attach agent with app's classloader" am: f779d7e3be
Andreas Gampe [Tue, 16 Jan 2018 19:59:02 +0000 (19:59 +0000)]
Merge "ActivityThread: Attempt to attach agent with app's classloader" am: f779d7e3be
am: 9f1f950c31

Change-Id: I0df113aff5a54c5a1dbc5f968679bb9d4f8ea158

6 years agoMerge "ActivityThread: Attempt to attach agent with app's classloader"
Andreas Gampe [Tue, 16 Jan 2018 19:46:36 +0000 (19:46 +0000)]
Merge "ActivityThread: Attempt to attach agent with app's classloader"
am: f779d7e3be

Change-Id: Id5ae3b90ca4b75046419fb1a6c02ef556d225f77

6 years agoMerge changes I0d0c0fac,Ifb9b00b6 am: c3a209382c
Lorenzo Colitti [Tue, 16 Jan 2018 18:41:46 +0000 (18:41 +0000)]
Merge changes I0d0c0fac,Ifb9b00b6 am: c3a209382c
am: bfaf963337

Change-Id: Ie943428132fbcfcc565d54b46830ed297227ef35

6 years agoMerge changes I0d0c0fac,Ifb9b00b6
Lorenzo Colitti [Tue, 16 Jan 2018 18:32:39 +0000 (18:32 +0000)]
Merge changes I0d0c0fac,Ifb9b00b6
am: c3a209382c

Change-Id: If8f81cc1906668c82c2393e37600a7697cba2a05

6 years agoMerge "ActivityThread: Attempt to attach agent with app's classloader"
Treehugger Robot [Tue, 16 Jan 2018 18:25:32 +0000 (18:25 +0000)]
Merge "ActivityThread: Attempt to attach agent with app's classloader"

6 years agoMerge changes I0d0c0fac,Ifb9b00b6
Treehugger Robot [Tue, 16 Jan 2018 14:25:13 +0000 (14:25 +0000)]
Merge changes I0d0c0fac,Ifb9b00b6

* changes:
  Split updateCapabilities into two methods.
  More strictly check NetworkCapabilities callbacks.

6 years agoMerge "Update netId to nethandle mapping in NetworkTest." am: a04d0cc72f
Lorenzo Colitti [Tue, 16 Jan 2018 13:34:46 +0000 (13:34 +0000)]
Merge "Update netId to nethandle mapping in NetworkTest." am: a04d0cc72f
am: 503135596b

Change-Id: I5e8e57f38580742eae38f63f43e37cc647412212

6 years agoMerge "Update netId to nethandle mapping in NetworkTest."
Lorenzo Colitti [Tue, 16 Jan 2018 13:23:05 +0000 (13:23 +0000)]
Merge "Update netId to nethandle mapping in NetworkTest."
am: a04d0cc72f

Change-Id: Ie4524e17f1839bae832d03248a2208693b1b1e95

6 years agoSplit updateCapabilities into two methods.
Lorenzo Colitti [Mon, 15 Jan 2018 15:52:07 +0000 (00:52 +0900)]
Split updateCapabilities into two methods.

This makes the code a bit easier to follow.

Test: ConnectivityServiceTest continues to pass
Change-Id: I0d0c0facc1e3ba07b53542b35da40ddc096ff92e

6 years agoMerge "Update netId to nethandle mapping in NetworkTest."
Treehugger Robot [Tue, 16 Jan 2018 12:23:02 +0000 (12:23 +0000)]
Merge "Update netId to nethandle mapping in NetworkTest."

6 years agoMerge "Replace legacy-test with android.test.base in bp files" am: 2285630e4b
Paul Duffin [Tue, 16 Jan 2018 11:40:57 +0000 (11:40 +0000)]
Merge "Replace legacy-test with android.test.base in bp files" am: 2285630e4b
am: caacf3e7c4

Change-Id: I0fa822af057afc2f4efb6285404653fe57bcd742

6 years agoMerge "Replace legacy-test with android.test.base in bp files"
Paul Duffin [Tue, 16 Jan 2018 11:29:21 +0000 (11:29 +0000)]
Merge "Replace legacy-test with android.test.base in bp files"
am: 2285630e4b

Change-Id: If956b45e21b7d576daf5dcece9c1acea35d952a0

6 years agoMerge "Replace legacy-test with android.test.base in bp files"
Paul Duffin [Tue, 16 Jan 2018 10:47:47 +0000 (10:47 +0000)]
Merge "Replace legacy-test with android.test.base in bp files"

6 years agoMerge "MacAddress: add @NonNull annotations" am: e65a016d76
Hugo Benichi [Tue, 16 Jan 2018 10:30:20 +0000 (10:30 +0000)]
Merge "MacAddress: add @NonNull annotations" am: e65a016d76
am: a7c125e5b2

Change-Id: Icaa08c082797c6dbc3382e0662e24e1c84114175

6 years agoMerge "MacAddress: add @NonNull annotations"
Hugo Benichi [Tue, 16 Jan 2018 10:18:55 +0000 (10:18 +0000)]
Merge "MacAddress: add @NonNull annotations"
am: e65a016d76

Change-Id: Ia1ea828cfd33b5287639e4fd3ab248a58650168b

6 years agoUpdate netId to nethandle mapping in NetworkTest.
Lorenzo Colitti [Tue, 16 Jan 2018 08:18:17 +0000 (17:18 +0900)]
Update netId to nethandle mapping in NetworkTest.

Bug: 63052780
Test: NetworkTest now passes
Change-Id: I5f1cb3055b7042a19afb5dd62f082912157612ba

6 years agoMerge "MacAddress: add @NonNull annotations"
Hugo Benichi [Tue, 16 Jan 2018 07:10:50 +0000 (07:10 +0000)]
Merge "MacAddress: add @NonNull annotations"

6 years agoMerge "Change the netId to nethandle mapping." am: 9456c020d8
Lorenzo Colitti [Tue, 16 Jan 2018 05:16:34 +0000 (05:16 +0000)]
Merge "Change the netId to nethandle mapping." am: 9456c020d8
am: feaf412e19

Change-Id: Idd1b2f462c1c78bdb68b43a4aa77bf2358f7cb52

6 years agoMerge "Change the netId to nethandle mapping."
Lorenzo Colitti [Tue, 16 Jan 2018 05:06:50 +0000 (05:06 +0000)]
Merge "Change the netId to nethandle mapping."
am: 9456c020d8

Change-Id: I605ea54ff9e8e32e4fad6f0346b37849fadbc81a

6 years agoMacAddress: add @NonNull annotations
Hugo Benichi [Fri, 12 Jan 2018 00:46:29 +0000 (09:46 +0900)]
MacAddress: add @NonNull annotations

This patch adds to the MacAddress class:
  - getAddressType() method which replaces addressType(), for naming
  consistency
  - @NonNull annotations on all input and output reference values for
  all public methods (@hide and public).

TYPE_UNKNOWN, which currently cannot be observed with a non @hide
method, is also removed from the public api.

Bug: 71866627
Test: $ runtest frameworks-net
Change-Id: I2af70408d46f431b7b32183e6b48ddae9a261a2c

6 years agoMerge "Change the netId to nethandle mapping."
Treehugger Robot [Tue, 16 Jan 2018 02:58:56 +0000 (02:58 +0000)]
Merge "Change the netId to nethandle mapping."

6 years agoMerge "ConnectivityService: synchronize access on mLockdownEnabled" am: 46e9e35835
Hugo Benichi [Tue, 16 Jan 2018 02:31:48 +0000 (02:31 +0000)]
Merge "ConnectivityService: synchronize access on mLockdownEnabled" am: 46e9e35835
am: 2d59e3cab0

Change-Id: Icadee616fc95e1c126285524dfe49331fcf87462

6 years agoMerge "ConnectivityService: synchronize access on mLockdownEnabled"
Hugo Benichi [Tue, 16 Jan 2018 02:18:29 +0000 (02:18 +0000)]
Merge "ConnectivityService: synchronize access on mLockdownEnabled"
am: 46e9e35835

Change-Id: I2abc857093879955eae62802f152c96c1ee942f3

6 years agoMerge "ConnectivityService: synchronize access on mLockdownEnabled"
Hugo Benichi [Tue, 16 Jan 2018 00:20:52 +0000 (00:20 +0000)]
Merge "ConnectivityService: synchronize access on mLockdownEnabled"

6 years agoActivityThread: Attempt to attach agent with app's classloader
Andreas Gampe [Fri, 5 Jan 2018 21:55:15 +0000 (13:55 -0800)]
ActivityThread: Attempt to attach agent with app's classloader

Try to use the app's (main) classloader when an attach-agent request
is handled. If that fails, retry without a classloader.

Add bind-application-time flag to ProfilerInfo. Use the flag to have
a second attach-agent point on app startup. Add --attach-agent-bind
to cmd activity start to expose the difference between pre-bind and
bind-time attaching.

Bug: 70901841
Test: m
Test: cts-tradefed run commandAndExit cts-dev -m CtsJvmtiAttachingHostTestCases
Change-Id: I21698ec3be43a6d095d577100b2adfb22daca7d5

6 years agoUpdate documentation for KEY_CARRIER_NAME_STRING
Nathan Harold [Mon, 15 Jan 2018 18:48:00 +0000 (10:48 -0800)]
Update documentation for KEY_CARRIER_NAME_STRING

The documentation for KEY_CARRIER_NAME_STRING was out
of date; documentation updated to support the additional
use case of "fallback" carrier name when SPN is
unavailable.

Bug: 71882065
Test: compilation (docstring-only change)
Change-Id: I8e6a44358f8b18384c3c6e3cc0964e94c2484a11

6 years agoChange the netId to nethandle mapping.
Lorenzo Colitti [Tue, 5 Sep 2017 02:15:37 +0000 (11:15 +0900)]
Change the netId to nethandle mapping.

Being able to update this handle is necessary to ensure that
system-only OTAs do not break vendor code that relies on
nethandles.

Bug: 63052780
Test: walleye builds, boots, networking works
Test: MultinetworkApiTest CTS tests passes
Change-Id: I049a4ad2610ca68b8f56377b63be7e5e8ce76039

6 years agoReplace legacy-test with android.test.base in bp files
Paul Duffin [Mon, 15 Jan 2018 15:47:47 +0000 (15:47 +0000)]
Replace legacy-test with android.test.base in bp files

The legacy-test target is deprecated and will be replaced by
android.test.base. This replaces a few usages of the legacy-test target
in Android.bp files with android.test.base.

Bug: 30188076
Test: make checkbuild
Change-Id: I3575f638114fe2a3b703e67837496346bde24472

6 years agoMerge "Add a new API android.icu.util.LocaleData" am: 9cb0b52011
vichang [Mon, 15 Jan 2018 15:40:02 +0000 (15:40 +0000)]
Merge "Add a new API android.icu.util.LocaleData" am: 9cb0b52011
am: 926407257d

Change-Id: I5c9449a9778a8a09df43ae779a3188969077e797

6 years agoMerge "Add a new API android.icu.util.LocaleData"
vichang [Mon, 15 Jan 2018 15:26:31 +0000 (15:26 +0000)]
Merge "Add a new API android.icu.util.LocaleData"
am: 9cb0b52011

Change-Id: I159748036ae2a59ea79cf191ec4cf19ba1f5bbad

6 years agoMore strictly check NetworkCapabilities callbacks.
Lorenzo Colitti [Fri, 12 Jan 2018 07:22:21 +0000 (16:22 +0900)]
More strictly check NetworkCapabilities callbacks.

This change more strictly accounts for onCapabilitiesChanged
callbaks and their values. It exposes several cases where we the
callbacks we send are spurious.

Test: ConnectivityServiceTest continues to pass
Change-Id: Ifb9b00b6f0cae48f8ed41a525100d1744b5f429b

6 years agoMerge "change NMS removeNetwork to netd binder variant" am: e61ee4198e
Erik Kline [Mon, 15 Jan 2018 14:38:08 +0000 (14:38 +0000)]
Merge "change NMS removeNetwork to netd binder variant" am: e61ee4198e
am: b73571b981

Change-Id: I6de7f38c7081e14d817cc7aad44cb5b6a978328b

6 years agoMerge "change NMS removeNetwork to netd binder variant"
Erik Kline [Mon, 15 Jan 2018 14:28:48 +0000 (14:28 +0000)]
Merge "change NMS removeNetwork to netd binder variant"
am: e61ee4198e

Change-Id: I789653740c8cb1bb879215eaa3101f56d5bf7096

6 years agoMerge "Add a new API android.icu.util.LocaleData"
vichang [Mon, 15 Jan 2018 13:55:54 +0000 (13:55 +0000)]
Merge "Add a new API android.icu.util.LocaleData"

6 years agoMerge "Expose API android.icu.util.IllformedLocaleException" am: a5fed7f526
vichang [Mon, 15 Jan 2018 13:37:49 +0000 (13:37 +0000)]
Merge "Expose API android.icu.util.IllformedLocaleException" am: a5fed7f526
am: 3c84896ced

Change-Id: Iea46598fce566f6075428cca9b10279dcb28eae4

6 years agoMerge "Expose API android.icu.util.IllformedLocaleException"
vichang [Mon, 15 Jan 2018 13:21:57 +0000 (13:21 +0000)]
Merge "Expose API android.icu.util.IllformedLocaleException"
am: a5fed7f526

Change-Id: I30faa7bfd7076f86abce9b31c546d1e49e34e7da

6 years agoMerge "change NMS removeNetwork to netd binder variant"
Treehugger Robot [Mon, 15 Jan 2018 12:39:09 +0000 (12:39 +0000)]
Merge "change NMS removeNetwork to netd binder variant"

6 years agoMerge "Expose API android.icu.util.IllformedLocaleException"
vichang [Mon, 15 Jan 2018 11:56:58 +0000 (11:56 +0000)]
Merge "Expose API android.icu.util.IllformedLocaleException"

6 years agochange NMS removeNetwork to netd binder variant
Erik Kline [Mon, 15 Jan 2018 08:05:07 +0000 (17:05 +0900)]
change NMS removeNetwork to netd binder variant

Also: require NETWORK_STACK instead of CONNECTIVITY_INTERNAL.

Bug: 34953048
Bug: 64133961
Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net
Change-Id: I26f07f51a8a2f4a8bb43a276da7c5e66c355c848

6 years agoMerge "Remove junit classes from legacy-android-test" am: 4418418adb
Paul Duffin [Sat, 13 Jan 2018 21:25:58 +0000 (21:25 +0000)]
Merge "Remove junit classes from legacy-android-test" am: 4418418adb
am: d724c112f3

Change-Id: I82688070910b342152f4076425ac2fedbf41be7c

6 years agoMerge "Remove junit classes from legacy-android-test"
Paul Duffin [Sat, 13 Jan 2018 21:13:12 +0000 (21:13 +0000)]
Merge "Remove junit classes from legacy-android-test"
am: 4418418adb

Change-Id: Id2966fd487ff95aa5a8e485756366df804765800

6 years agoMerge "Remove junit classes from legacy-android-test"
Paul Duffin [Sat, 13 Jan 2018 19:33:39 +0000 (19:33 +0000)]
Merge "Remove junit classes from legacy-android-test"

6 years agoMerge changes from topic "fix-legacy-android-test-spam" am: 22bd015cba
Paul Duffin [Sat, 13 Jan 2018 11:22:25 +0000 (11:22 +0000)]
Merge changes from topic "fix-legacy-android-test-spam" am: 22bd015cba
am: fdc58270ef

Change-Id: I2f6dca4843d6f61efee1577ba5e88d16844cfbfe

6 years agoMove legacy-test to test-base am: 2141827700
Paul Duffin [Sat, 13 Jan 2018 11:17:46 +0000 (11:17 +0000)]
Move legacy-test to test-base am: 2141827700
am: 3f200744ae

Change-Id: I50ea451e6f8c80e47b7ff28b128d713e24aeb5f0

6 years agoMerge changes from topic "fix-legacy-android-test-spam"
Paul Duffin [Sat, 13 Jan 2018 11:06:08 +0000 (11:06 +0000)]
Merge changes from topic "fix-legacy-android-test-spam"
am: 22bd015cba

Change-Id: Ib2be0591aba3b4a2f6b06becc9cd3f5de1a40532

6 years agoMove legacy-test to test-base
Paul Duffin [Sat, 13 Jan 2018 11:00:30 +0000 (11:00 +0000)]
Move legacy-test to test-base
am: 2141827700

Change-Id: I231aa9f47f0bb8d6985eedc4db6630772dcc8c27

6 years agoRemove junit classes from legacy-android-test
Paul Duffin [Fri, 12 Jan 2018 16:08:35 +0000 (16:08 +0000)]
Remove junit classes from legacy-android-test

A mistake during the conversion of the legacy-android-test target from
Android.mk to Android.bp caused some junit classes to be accidentally
included in the legacy-android-test target. That caused some warnings
about duplicate classes to be output during the build.

The junit classes are being included as part of the static library
android.test.runner. This fixes that by adding a new
android.test.runner-minus-junit which excludes the junit classes
and then using that instead.

Test: make checkbuild
Change-Id: Icd00b38c64d3416a55c1055f9716ddb78ec278f8

6 years agoMerge changes from topic "fix-legacy-android-test-spam"
Paul Duffin [Sat, 13 Jan 2018 09:33:05 +0000 (09:33 +0000)]
Merge changes from topic "fix-legacy-android-test-spam"

* changes:
  Added new android.test.base targets
  Move legacy-test to test-base

6 years agoMerge "Add the user mobile data state into PhoneStateListener so that applications...
zxuan [Sat, 13 Jan 2018 05:55:22 +0000 (05:55 +0000)]
Merge "Add the user mobile data state into PhoneStateListener so that applications can listen to the change of the user mobile data state." am: 895148087b
am: 5cea30c4ec

Change-Id: Ife2ac4b12d698f6db09bb3194eaea6994357828d

6 years agoMerge "Add the user mobile data state into PhoneStateListener so that applications...
zxuan [Sat, 13 Jan 2018 05:42:00 +0000 (05:42 +0000)]
Merge "Add the user mobile data state into PhoneStateListener so that applications can listen to the change of the user mobile data state."
am: 895148087b

Change-Id: I1c3e4b67c4ab3e21f955b5fffcc2e019c73d6140

6 years agoMerge "Add the user mobile data state into PhoneStateListener so that applications...
Treehugger Robot [Sat, 13 Jan 2018 04:09:42 +0000 (04:09 +0000)]
Merge "Add the user mobile data state into PhoneStateListener so that applications can listen to the change of the user mobile data state."

6 years agoMerge "Used LinkAddress insteaad of InterfaceAddress" am: 277c7d248c
Jack Yu [Sat, 13 Jan 2018 03:32:58 +0000 (03:32 +0000)]
Merge "Used LinkAddress insteaad of InterfaceAddress" am: 277c7d248c
am: bd681cab22

Change-Id: Ic683f7fcc854e0e44e145da1fafc58f76f580637

6 years agoMerge "Used LinkAddress insteaad of InterfaceAddress"
Jack Yu [Sat, 13 Jan 2018 03:18:58 +0000 (03:18 +0000)]
Merge "Used LinkAddress insteaad of InterfaceAddress"
am: 277c7d248c

Change-Id: Ib5f7151d0738e73067e734d7943cdc5b734a1039

6 years agoMerge "Add permission check for old call handover apis." am: e8fc3d2399
Sanket Padawe [Sat, 13 Jan 2018 02:39:06 +0000 (02:39 +0000)]
Merge "Add permission check for old call handover apis." am: e8fc3d2399
am: 7a97ee9acd

Change-Id: I864f2e645fd5ffd76ebd1e0d44a99c8f0b006504

6 years agoMerge "Add permission check for old call handover apis."
Sanket Padawe [Sat, 13 Jan 2018 02:22:21 +0000 (02:22 +0000)]
Merge "Add permission check for old call handover apis."
am: e8fc3d2399

Change-Id: I27f8d4eabbf979404ca5954161f0973012a4c484

6 years agoMerge "Used LinkAddress insteaad of InterfaceAddress"
Treehugger Robot [Sat, 13 Jan 2018 01:42:52 +0000 (01:42 +0000)]
Merge "Used LinkAddress insteaad of InterfaceAddress"

6 years agoFix doFadingAnimationLocked in sanitized builds.
Ivan Lozano [Thu, 14 Dec 2017 20:25:36 +0000 (12:25 -0800)]
Fix doFadingAnimationLocked in sanitized builds.

The loop as constructed causes i to overflow twice when i = 0 on integer
overflow sanitized builds.

 runtime error: unsigned integer overflow: 0 - 1 cannot be represented
 in type 'size_t' (aka 'unsigned long')

 runtime error: unsigned integer overflow: 18446744073709551615 + 1
 cannot be represented in type 'size_t' (aka 'unsigned long')

This refactors the loop to avoid the overflows.

Bug: 30969751
Test: Compiles, device boots, enabled pointer location overlay.
Change-Id: I844bb3b84b1f536c50d06fb489fcc22590d4aa98
Merged-In: I844bb3b84b1f536c50d06fb489fcc22590d4aa98
(cherry picked from commit 7ee0dba09550811040df4d7b494766f7d146e3de)

6 years agoMerge "Add permission check for old call handover apis."
Sanket Padawe [Fri, 12 Jan 2018 23:50:40 +0000 (23:50 +0000)]
Merge "Add permission check for old call handover apis."

6 years agoMerge "android.os.VintfObject: update for VNDK version format change." am: eac8c121fe
Yifan Hong [Fri, 12 Jan 2018 23:22:02 +0000 (23:22 +0000)]
Merge "android.os.VintfObject: update for VNDK version format change." am: eac8c121fe
am: d9b9d49a66

Change-Id: I69512885ec3372e45f775bb7f6a8b828f8be490e

6 years agoMerge "Bluetooth in band ring" am: c9082cecb3
Joseph Pirozzo [Fri, 12 Jan 2018 23:11:03 +0000 (23:11 +0000)]
Merge "Bluetooth in band ring" am: c9082cecb3
am: cb87262975

Change-Id: I7d2b7843fd74e4505085ef693e4dc47d791b115a

6 years agoMerge "android.os.VintfObject: update for VNDK version format change."
Yifan Hong [Fri, 12 Jan 2018 23:05:35 +0000 (23:05 +0000)]
Merge "android.os.VintfObject: update for VNDK version format change."
am: eac8c121fe

Change-Id: Ia32c4395546ef58dee88bfbae77ea52d506a1c63

6 years agoMerge "Use proper classloader when reading from parcel" am: d3cb6380a4
Hall Liu [Fri, 12 Jan 2018 23:01:16 +0000 (23:01 +0000)]
Merge "Use proper classloader when reading from parcel" am: d3cb6380a4
am: 03a515aed4

Change-Id: I65070de075e8d09512d771c805c82043f04b3275

6 years agoMerge "Bluetooth in band ring"
Joseph Pirozzo [Fri, 12 Jan 2018 22:58:42 +0000 (22:58 +0000)]
Merge "Bluetooth in band ring"
am: c9082cecb3

Change-Id: I819b5510c45612b25d4fc1101d358f6d77691f12

6 years agoMerge "Use proper classloader when reading from parcel"
Hall Liu [Fri, 12 Jan 2018 22:48:14 +0000 (22:48 +0000)]
Merge "Use proper classloader when reading from parcel"
am: d3cb6380a4

Change-Id: I79c21859aa657b7a61e5cc8e7d60f79f736f34be

6 years agoMerge "android.os.VintfObject: update for VNDK version format change."
Treehugger Robot [Fri, 12 Jan 2018 22:12:39 +0000 (22:12 +0000)]
Merge "android.os.VintfObject: update for VNDK version format change."

6 years agoMerge "Bluetooth in band ring"
Joseph Pirozzo [Fri, 12 Jan 2018 22:11:50 +0000 (22:11 +0000)]
Merge "Bluetooth in band ring"

6 years agoMerge "Minor LoadedApk refactoring." am: 6ca155f8c2
Jeff Hamilton [Fri, 12 Jan 2018 21:43:44 +0000 (21:43 +0000)]
Merge "Minor LoadedApk refactoring." am: 6ca155f8c2
am: e6fee297a2

Change-Id: I919f7e7e11b64f6155919f7ea631f3f6fd84ce03

6 years agoMerge "Minor LoadedApk refactoring."
Jeff Hamilton [Fri, 12 Jan 2018 21:30:13 +0000 (21:30 +0000)]
Merge "Minor LoadedApk refactoring."
am: 6ca155f8c2

Change-Id: I96fb0215bc09e2c190900be47dcca4de2c752d47

6 years agoMerge "Use proper classloader when reading from parcel"
Hall Liu [Fri, 12 Jan 2018 20:56:36 +0000 (20:56 +0000)]
Merge "Use proper classloader when reading from parcel"

6 years agoMerge "Minor LoadedApk refactoring."
Treehugger Robot [Fri, 12 Jan 2018 20:52:14 +0000 (20:52 +0000)]
Merge "Minor LoadedApk refactoring."

6 years agoMerge "Add dependencies of EuiccCard." am: 90b4e47d94
Holly Jiuyu Sun [Fri, 12 Jan 2018 19:42:42 +0000 (19:42 +0000)]
Merge "Add dependencies of EuiccCard." am: 90b4e47d94
am: 4f217d740a

Change-Id: I874b4244dd0c79c1bee34480c34d6ee6ac9e0855

6 years agoMerge "DO NOT MERGE: Add setScreenUnlockedFunctions method to UsbManager" am: 22f4a68...
Badhri Jagan Sridharan [Fri, 12 Jan 2018 19:36:56 +0000 (19:36 +0000)]
Merge "DO NOT MERGE: Add setScreenUnlockedFunctions method to UsbManager" am: 22f4a681f9  -s ours
am: 1ac5184053

Change-Id: I9dc40770783686b9b3db57275c8a1bbab97a7a9a

6 years agoMerge "Add dependencies of EuiccCard."
Holly Jiuyu Sun [Fri, 12 Jan 2018 19:27:22 +0000 (19:27 +0000)]
Merge "Add dependencies of EuiccCard."
am: 90b4e47d94

Change-Id: I68393a909c22a49a3905dd2b50577c4c88655ca1

6 years agoMerge "DO NOT MERGE: Add setScreenUnlockedFunctions method to UsbManager"
Badhri Jagan Sridharan [Fri, 12 Jan 2018 19:22:13 +0000 (19:22 +0000)]
Merge "DO NOT MERGE: Add setScreenUnlockedFunctions method to UsbManager"
am: 22f4a681f9  -s ours

Change-Id: I8fdb25956710600d75a0f2eb0bbf82a94fc78131

6 years agoUsed LinkAddress insteaad of InterfaceAddress
Jack Yu [Thu, 11 Jan 2018 20:44:07 +0000 (12:44 -0800)]
Used LinkAddress insteaad of InterfaceAddress

Also removed InterfaceAddress which was added
in aosp/561351 since LinkAddress is exactly same
as InterfaceAddress.

Test: Telephony sanity tests
bug: 64132030
Merged-In: Ib7965a44b307c4cff2581abf0b7c12fcb1b9526a
Change-Id: Ib7965a44b307c4cff2581abf0b7c12fcb1b9526a

6 years agoMinor LoadedApk refactoring.
Jeff Hamilton [Tue, 24 Oct 2017 19:20:43 +0000 (15:20 -0400)]
Minor LoadedApk refactoring.

- Rename varaibles holding LoadedApk to make the code easier to read.
- Move resource creation into LoadedApk, consolidating the logic.

(cherry picked from commit 7541ca4d1aa48e3110187a83a8dccbfa72084148)

Test: manual
Merged-In: I6bdc70482fbbb346ff694ada528ded18d3a63ef7
Change-Id: I6bdc70482fbbb346ff694ada528ded18d3a63ef7

6 years agoAdd permission check for old call handover apis.
Sanket Padawe [Fri, 5 Jan 2018 22:26:16 +0000 (14:26 -0800)]
Add permission check for old call handover apis.

Bug: 65415068
Test: manual
Change-Id: I4784debf1be255de24c341fe5474fc529bc1cebe

6 years agoMerge "Add dependencies of EuiccCard."
Holly Jiuyu Sun [Fri, 12 Jan 2018 17:18:03 +0000 (17:18 +0000)]
Merge "Add dependencies of EuiccCard."

6 years agoAdded new android.test.base targets
Paul Duffin [Thu, 16 Nov 2017 15:53:09 +0000 (15:53 +0000)]
Added new android.test.base targets

Renames ...-legacy-test-... targets related to stubs generation to
...-android-test-base-....

(cherry picked from commit 5c99382a1995723637814221cd5432c458c622ad)

Bug: 30188076
Test: make checkbuild
Change-Id: I40b39c5250b7d990a903052c0b1ebd694242b5b3
Merged-Id: I54204733612d6d3f14dd8023973e993a5ddab51d

6 years agoMove legacy-test to test-base
Paul Duffin [Thu, 16 Nov 2017 15:47:05 +0000 (15:47 +0000)]
Move legacy-test to test-base

Make it consistent with the test-mock and test-runner directories.
Also renames the files in api/ subdirectory.

(cherry picked from commit f779efd62cd579f67bd3b387d59fda11ee0cbe90)

Bug: 30188076
Test: make checkbuild
Change-Id: Ied3621e6201d8717223fe1ccd4ea77d458126b25
Merged-In: If4f99a65fcca416ede5b3e63481398f0b451bcb7

6 years agoMerge "DO NOT MERGE: Add setScreenUnlockedFunctions method to UsbManager"
Badhri Jagan Sridharan [Fri, 12 Jan 2018 15:36:08 +0000 (15:36 +0000)]
Merge "DO NOT MERGE: Add setScreenUnlockedFunctions method to UsbManager"

6 years agoDO NOT MERGE: Add setScreenUnlockedFunctions method to UsbManager
Jerry Zhang [Fri, 1 Dec 2017 03:10:55 +0000 (19:10 -0800)]
DO NOT MERGE: Add setScreenUnlockedFunctions method to UsbManager

Cherry-pick from 30b9adfad1c5055044f0b585782b10f764e0ddf9

The screen unlocked functions save effort on setting
the usb config during each connection. These
functions persist between connections and between
boots. When the screen is unlocked and these
functions are set, the current functions will
be automatically set to the screen unlocked functions.

Also added svc command for this so it can be
used and tested while the UI is worked on.

Bug: 62876645
Test: svc usb setScreenUnlockedFunctions mtp
Test: Test functions with locking, unlocking, and
disconnecting, with no lockscreen, swipe, and pattern

Change-Id: Ia05e095917166d25398c4d310b02971e3a1bb12a

6 years agoMerge "base: Convert libs/services/Android.mk into a blueprint" am: f0561142f3
Sami Kyostila [Fri, 12 Jan 2018 14:47:24 +0000 (14:47 +0000)]
Merge "base: Convert libs/services/Android.mk into a blueprint" am: f0561142f3
am: 8f919b8c5b

Change-Id: Ic8e741ec39fc83cdd64ce313d5d66fdbaa1e7ebc

6 years agoMerge "base: Convert libs/services/Android.mk into a blueprint"
Sami Kyostila [Fri, 12 Jan 2018 14:16:10 +0000 (14:16 +0000)]
Merge "base: Convert libs/services/Android.mk into a blueprint"
am: f0561142f3

Change-Id: I4c707c676f03048b9130b140c25b3b9c58ec06ce

6 years agoMerge "base: Convert libs/services/Android.mk into a blueprint"
Treehugger Robot [Fri, 12 Jan 2018 12:39:35 +0000 (12:39 +0000)]
Merge "base: Convert libs/services/Android.mk into a blueprint"

6 years agobase: Convert libs/services/Android.mk into a blueprint
Sami Kyostila [Thu, 11 Jan 2018 00:12:14 +0000 (00:12 +0000)]
base: Convert libs/services/Android.mk into a blueprint

Convert libs/services/Android.mk into a blueprint module so it can be
linked by other blueprint modules.

Test: mmm frameworks/base
Change-Id: I7acf9aa084d262a5aba5a58e45d9647e15c6dffb
Merged-In: I7acf9aa084d262a5aba5a58e45d9647e15c6dffb