283671 Commits

Author SHA1 Message Date
Calvin On
f17c1d4888 Replace WearWifi/Cell services with WearConnectivityService am: 5555bccc70
am: abfd5bccb9

Change-Id: If051c765d3ea81cce2bedc2dfa02d64744088054
2017-02-22 22:48:23 +00:00
Calvin On
abfd5bccb9 Replace WearWifi/Cell services with WearConnectivityService
am: 5555bccc70

Change-Id: I5d8c97b8d5c394aeae99b7ddbe0dfdd5706a4293
2017-02-22 22:41:41 +00:00
Hall Liu
ba6c607728 Merge "Introduce APIs for RTT calls (part 1)" am: 27ad05169e
am: d83b06cd31

Change-Id: Id3608cf918d829ed785d7b75dffa6b6ce6990f34
2017-02-22 19:00:55 +00:00
Hall Liu
d83b06cd31 Merge "Introduce APIs for RTT calls (part 1)"
am: 27ad05169e

Change-Id: I3fb3cb89b467e5df808967dcd478964a84e2e61f
2017-02-22 18:56:48 +00:00
Hall Liu
27ad05169e Merge "Introduce APIs for RTT calls (part 1)" 2017-02-22 18:48:53 +00:00
Paul Duffin
da4597769b Merge "Remove conflicting package information for junit.runner and junit.textui" am: f3f4775a35
am: 9b5522f8c4

Change-Id: I4925285c1ea3027d46ac396b8ea29ac44c075e0d
2017-02-22 15:27:51 +00:00
Paul Duffin
9b5522f8c4 Merge "Remove conflicting package information for junit.runner and junit.textui"
am: f3f4775a35

Change-Id: Ie0ca0b2b6b5f06e90f55996625f758521c9039cb
2017-02-22 15:24:27 +00:00
Treehugger Robot
f3f4775a35 Merge "Remove conflicting package information for junit.runner and junit.textui" 2017-02-22 15:15:34 +00:00
Paul Duffin
f845fec30c Remove conflicting package information for junit.runner and junit.textui
Removes package.html files and update package-info.java files to
use same wording as previous releases.

Bug: 35653948
Test: make docs
Change-Id: Idbede2eb4f57818f152834fad7e75dd181fe25d6
2017-02-22 12:43:57 +00:00
Daniel Nishi
e13bfbde1a Don't crash when primary volume is null in AppCollector.
am: d54f3a487b

Change-Id: I77e27f4a7e901e98995039bcfd68453bec83a6cd
2017-02-22 04:04:38 +00:00
Hugo Benichi
0f99e5367b Merge "ConnectivityManager: allow custom Handlers" am: ef69246260
am: cb47118af1

Change-Id: I04171173890b161c053c41a2a5c7e1602e510b8c
2017-02-22 03:51:08 +00:00
Hugo Benichi
cb47118af1 Merge "ConnectivityManager: allow custom Handlers"
am: ef69246260

Change-Id: I8da5540f6561cdef4adc91bbeeb9c21a91c08d49
2017-02-22 03:48:10 +00:00
Hugo Benichi
ef69246260 Merge "ConnectivityManager: allow custom Handlers" 2017-02-22 03:42:15 +00:00
Jack Yu
c2543c5357 Merge "Added telephony manager set sim power state API" am: cbffe38631
am: d1f5b4245f

Change-Id: I0db1ff82aa80b3719efa9c0bdc2ca0a6f39347a5
2017-02-22 02:56:44 +00:00
Jack Yu
d1f5b4245f Merge "Added telephony manager set sim power state API"
am: cbffe38631

Change-Id: I9fbe161505905c3d3c1c431d1589248324fb3e4f
2017-02-22 02:50:29 +00:00
Treehugger Robot
cbffe38631 Merge "Added telephony manager set sim power state API" 2017-02-22 02:45:18 +00:00
Jack Yu
e25a4dfb6a Added telephony manager set sim power state API
The new API can be used to power up/down the SIM. This is equivalent
to inserting and removing the card.

Test: Telephony sanity tests
bug: 32224755

Change-Id: Ib82ab1eff613946e7c31c9b2131183a40d09af80
2017-02-21 17:36:45 -08:00
Daniel Nishi
d54f3a487b Don't crash when primary volume is null in AppCollector.
getPrimaryStorageCurrentVolume() may return a null value. I did
not plan for this case in the AppCollector. This case occurs when
the primary storage is not mounted when the function is called.

By adding in a null check after getPrimaryStorageCurrentVolume()
and adding in preconditions to verify the non-nullness of the
volume as it propagates through the AppCollector, we ensure that
there should be no more NPE crashes for this reason.

Bug: 35636901
Test: FrameworkServicesTests
Change-Id: I4009e55502f71b8f14dd917ddd00caef3551aafd
2017-02-22 01:14:35 +00:00
Calvin On
5555bccc70 Replace WearWifi/Cell services with WearConnectivityService
go/wear-connectivity-service

Change-Id: I2a8214e2965ad63a23dc8c174db256a263102a6f
2017-02-21 16:41:43 -08:00
Hugo Benichi
2583ef0239 ConnectivityManager: allow custom Handlers
This patch adds overloaded version of registerDefaultNetworkCallback
registerNetworkCallback, and requestNetwork with an additional Handler
argument that is used for running the caller provided NetworkCallback.

It also clarifies the documentation of the existing methods that
implicitly uses the internal singleton ConnectivityThread about which
internal Handler is used for running NetworkCallbacks.

Test: build, flashed, booted device
Bug: 32130437
Change-Id: Iae15f81e47e2dc0355baf2f2c1679b77e56af299
2017-02-22 09:24:01 +09:00
Colin Cross
cfbf226165 Merge "Revert "Remove outdated emulator check which causes BT to not start"" am: 375ea2ae71
am: ebc05de919

Change-Id: Id61ee53f3147d90d8fbca053633e3115b69d3065
2017-02-21 23:37:01 +00:00
Colin Cross
ebc05de919 Merge "Revert "Remove outdated emulator check which causes BT to not start""
am: 375ea2ae71

Change-Id: I3d5abc52abf3f7c01ba4fbee47d7e487e99f5dda
2017-02-21 23:32:32 +00:00
Hall Liu
95d5587d0a Introduce APIs for RTT calls (part 1)
Add signaling methods and data pipes for handling real-time text during
a call.

Change-Id: I876827c448252c5f786d7a4919c47891acb03877
Test: manual, through telecom testapps
2017-02-21 15:27:25 -08:00
Colin Cross
375ea2ae71 Merge "Revert "Remove outdated emulator check which causes BT to not start"" 2017-02-21 23:25:07 +00:00
Brad Ebinger
8e8c26e25a Merge "Remove Session ID from ImsService APIs that do not need it." am: 975be6c065
am: 50bc658e20

Change-Id: I2b2e4b0cbfcee5dd19f6d79ce5a949ca61140ffb
2017-02-21 20:28:09 +00:00
Brad Ebinger
50bc658e20 Merge "Remove Session ID from ImsService APIs that do not need it."
am: 975be6c065

Change-Id: I09469d99bc68133a4de594507854c269e905c40e
2017-02-21 20:24:21 +00:00
Treehugger Robot
975be6c065 Merge "Remove Session ID from ImsService APIs that do not need it." 2017-02-21 20:19:22 +00:00
Svetoslav Ganov
3b119f7822 Merge "[DO NOT MERGE] The system can post notifications for any package" into nyc-mr2-dev
am: 1ddddee33f

Change-Id: Iaf9aacd39ea328f3a22f26987eb65df682ddccc5
2017-02-21 19:54:06 +00:00
TreeHugger Robot
1ddddee33f Merge "[DO NOT MERGE] The system can post notifications for any package" into nyc-mr2-dev 2017-02-21 19:46:55 +00:00
Peter Qiu
763d6ab49b Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks" am: b13de64a11
am: bedf92ed24

Change-Id: Ibcbc93be7e0294e6a06976a6222adc8fe95582e7
2017-02-21 18:43:11 +00:00
Peter Qiu
bedf92ed24 Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks"
am: b13de64a11

Change-Id: I0e45cb17f11e8991d0d2c58cf7630f1e33296d97
2017-02-21 18:39:01 +00:00
Treehugger Robot
b13de64a11 Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks" 2017-02-21 18:22:39 +00:00
Glen Kuhne
f231c62802 Merge "Move wifi.proto to shared service .jar" am: 9ca5ddff4c
am: d0dcf559c5

Change-Id: I7c0095922c87073732f29b623aee2d99608511cf
2017-02-21 18:06:31 +00:00
Robin Lee
4d00a13c35 Merge "Reinstate USER_PRESENT for ConnectivityService" am: 2c8229456a
am: 433631edfe

Change-Id: I2c5b9061435e17d8319a3109e28fa2a1b6f75154
2017-02-21 18:05:37 +00:00
Erik Kline
507feec43a Merge "Don't request information on unregistered callbacks" am: 14e3db3de5
am: 042be0bd84

Change-Id: Idd102961c422be5c94e4bf92c3aaae7f660f4313
2017-02-21 18:04:38 +00:00
Isaac Chen
d60d606eba Merge "Turned ENABLE_CPUSETS into runtime decision." am: d95aa50b18
am: 7eca8f7073

Change-Id: I96e38dc38e372a27990b9cd1bda9f04676f13eb8
2017-02-21 18:02:59 +00:00
Glen Kuhne
d0dcf559c5 Merge "Move wifi.proto to shared service .jar"
am: 9ca5ddff4c

Change-Id: I3c10728fdbcd2882723a1bd519a47a63aeba0ac0
2017-02-21 17:56:13 +00:00
Robin Lee
433631edfe Merge "Reinstate USER_PRESENT for ConnectivityService"
am: 2c8229456a

Change-Id: If8b7239cdabdd79d9ea24baf99e95c6ec1a9acf3
2017-02-21 17:55:07 +00:00
Erik Kline
042be0bd84 Merge "Don't request information on unregistered callbacks"
am: 14e3db3de5

Change-Id: I99bf9b6a092318cf5183b18d25bda36f9977ce4e
2017-02-21 17:54:13 +00:00
Isaac Chen
7eca8f7073 Merge "Turned ENABLE_CPUSETS into runtime decision."
am: d95aa50b18

Change-Id: Ie31a736b2edd33c1cebbc08fbc39b555d501a349
2017-02-21 17:52:22 +00:00
Glen Kuhne
9ca5ddff4c Merge "Move wifi.proto to shared service .jar" 2017-02-21 17:27:04 +00:00
Peter Qiu
6ee49f2245 SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks
Previously, we were using provider name as the "SSID" for
Passpoint networks, and use it to compare against real SSIDs,
which obvious doesn't match.  So fix it.

Also removed the Passpoint specific logics in WifiTracker for
tracking Passpoint networks, since there shouldn't any
difference in tracking Passpoint APs and normal APs.

Additional work is still needed for managing installed
Passpoint configurations in the "Saved networks" page,
and it is being tracked by b/34207710. The Passpoint configuration
is not an "Access Point" per se, it is a network profile.

Bug: 34455883
Test: Install a Globla Reach Passpoint profile on a bullhead,
      verify device auto connects to a Global Reach AP and UI
      (QS, QS+, and Settings) correctly reflects it.

Change-Id: I63e66f683f8cb96e664516b130f5e7bc02358a10
Merged-In: I63e66f683f8cb96e664516b130f5e7bc02358a10
2017-02-21 17:20:42 +00:00
Treehugger Robot
2c8229456a Merge "Reinstate USER_PRESENT for ConnectivityService" 2017-02-21 13:23:41 +00:00
Erik Kline
14e3db3de5 Merge "Don't request information on unregistered callbacks" 2017-02-21 09:54:05 +00:00
Erik Kline
32858e14ca Don't request information on unregistered callbacks
Test: as follows
    - build (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131
Bug: 35608572
Change-Id: I489e510ac131a7a624a652b12165104202a49f85
2017-02-21 17:22:14 +09:00
Isaac Chen
d95aa50b18 Merge "Turned ENABLE_CPUSETS into runtime decision." 2017-02-21 02:05:24 +00:00
Paul Duffin
dec65547e2 Merge "Use Utils.assertTrue() in code that used junit.framework.Assert.assertTrue()" am: 372b6b2c45
am: 3fbcd8cf38

Change-Id: Ie2bb70bea07f8642804cd6dc2e987e95e69ef633
2017-02-20 16:06:03 +00:00
Paul Duffin
3fbcd8cf38 Merge "Use Utils.assertTrue() in code that used junit.framework.Assert.assertTrue()"
am: 372b6b2c45

Change-Id: Iafa345df241f4f713451aa42a7169eddb57eb1ea
2017-02-20 15:59:06 +00:00
Treehugger Robot
372b6b2c45 Merge "Use Utils.assertTrue() in code that used junit.framework.Assert.assertTrue()" 2017-02-20 15:47:53 +00:00
Paul Duffin
0589d8287e Use Utils.assertTrue() in code that used junit.framework.Assert.assertTrue()
The previous changes to these files, which inlined the behavior
of Assert.assertTrue() were done in a hurry to fix the build.
This change makes use of the existing Utils.assertTrue() method
that was created for this purpose.

Bug: 30188076
Test: make checkbuild
Change-Id: Iacd505f8c3f7cefe6de94d30b56e39600bb9b0af
2017-02-20 13:27:38 +00:00