History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierSignalAgent.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d97cb9753d2b17ae21c522d9a438b0e38c529121 24-May-2017 fionaxu <fionaxu@google.com> Notify carrier app of other default networks

When we need to disable data its common for the carrier to send the user
text messages explaining why with a URL. The Carrier App will
url-clicks in this case and reroute them to a private network. However,
it's possible for the user to get other sms's with links and if there is
another network to load them on we should not hijack them. This CL
adds a new carrier action for carrier apps to register/unregister
notifications of other networks from ConnectivityService instead of
notifying only when carrier apps has disabled cell data. in that way
framework has decoupled the logic of network status registration from
cell data status.

Bug: 62487488
Test: Manual
Change-Id: I0a7b87ad07a0cf2fdb14f939e8f2865eedf7b008
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierSignalAgent.java
e83e02b8bae701e1dfe6ebff20cd3af771eb3ccb 16-Jun-2017 fionaxu <fionaxu@google.com> handle carrier config change race conditions

In some rare cases, up-to-date config could be fetched with delay and
all signals have already been delivered the receivers from the default
carrier config. To handle this raciness, we should notify those
receivers (from old configs) and reset carrier actions. This should be done
before mCachedWakeSignalConfigs and mCachedNoWakeSignalConfig got purged
and written with the up-to-date value. Otherwise, those receivers from the old
config might lingers without properly clean-up.

Bug: 62070135
Test: runtest --path
frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierSignalAgentTest.java
Change-Id: Id9d599b277fa5c0c87cff14c580c0ce7f09a95d7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierSignalAgent.java
d2569726c9c5a93c852ec6ddd5ca80c760845061 03-May-2017 fionaxu <fionaxu@google.com> fix crash from carriersignalAgent under sip call

Bug: 37917990
Test: Manual test with sip call
Change-Id: Ia6d74928655d60d35062e6a8e920788759d99efd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierSignalAgent.java
4c9ca958d2ecb645d643d08c65f931e255138d71 27-Apr-2017 fionaxu <fionaxu@google.com> new carrier signal/action on carrier action reset

notify carrier apps on carrier action reset, usually when sim loaded
or sim absent. only sent those reset signals to configured carrier apps
carrier apps could reply on this new intent instead of sim_state_changed
to avoid unnecessary wake-ups, for example an VZW app might be awake
even under AT&T due to the general SIM_STATE_CHANGED broadcast.

Bug: 34626476
Test: Manual test on TMO and READY/ZIP SIM
Change-Id: Icc8bd843ddaccd3a96950831c45ff6825fb0cc9e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierSignalAgent.java
6a7fb078d1cacba7cf2e83b71242bb5c4c27c975 18-Nov-2016 fionaxu <fionaxu@google.com> Initial change on carrier signal filtering

- support new carrier configs with two signal list per carrier app
- support new broadcast mechanism to comply with background-check restriction on O.
- add carrier action agent for dispatching carrier actions

Bug: 30958215
Test: runtest --path
frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/CarrierSignalAgentTest

Change-Id: I4e9e2f56e991e9d6753f8d7e877add5ada595972
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierSignalAgent.java
c4ed983e8df098f4b3538e5114e8992f03cac095 06-Jun-2016 fionaxu <fionaxu@google.com> change to non-static cache in carrierSignalAgent

Bug: 29150383
Change-Id: I34f44aa8557af028b96fee41d2ab68daefebc29c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierSignalAgent.java
4c31e4c0d2db31fe84081aa6f1e2bcc08b31f9d3 24-May-2016 fionaxu <fionaxu@google.com> cold sim clean up

- add new api to control provisioning notification visibility through
network agent
- rework on the interaction between carrier app and framework
- code cleanup
- unit test support
- hook pco value into datacallcomplete, enabling test by set sysprop for
pco values

Bug: 28567303
Change-Id: Id6b9b2aff4c4f128103593aab0bcef1c3a365141
/frameworks/opt/telephony/src/java/com/android/internal/telephony/CarrierSignalAgent.java