a00271533f639c8ed36429c663889ac9f654bc72 |
|
25-Jun-2013 |
Svetoslav Ganov <svetoslavganov@google.com> |
Refactoring of the print sub-system and API clean up. 1. Now a user state has ins own spooler since the spooler app is running per user. The user state registers an observer for the state of the spooler to get information needed to orchestrate unbinding from print serivces that have no work and eventually unbinding from the spooler when all no service has any work. 2. Abstracted a remote print service from the perspective of the system in a class that is transparently managing binding and unbinding to the remote instance. 3. Abstracted the remote print spooler to transparently manage binding and unbinding to the remote instance when there is work and when there is no work, respectively. 4. Cleaned up the print document adapter (ex-PrintAdapter) APIs to enable implementing the all callbacks on a thread of choice. If the document is really small, using the main thread makes sense. Now if an app that does not need the UI state to layout the printed content, it can schedule all the work for allocating resources, laying out, writing, and releasing resources on a dedicated thread. 5. Added info class for the printed document that is now propagated the the print services. A print service gets an instance of a new document class that encapsulates the document info and a method to access the document's data. 6. Added APIs for describing the type of a document to the new document info class. This allows a print service to do smarts based on the doc type. For now we have only photo and document types. 7. Renamed the systemReady method for system services that implement it with different semantics to systemRunning. Such methods assume the the service can run third-party code which is not the same as systemReady. 8. Cleaned up the print job configuration activity. 9. Sigh... code clean up here and there. Factoring out classes to improve readability. Change-Id: I637ba28412793166cbf519273fdf022241159a92
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
40e9f2922cae76ffcbc521481e5be8e80e8744ef |
|
28-Nov-2012 |
Dianne Hackborn <hackbod@google.com> |
Quiet down a lot of logging. Also fix a little problem where the USER_STARTED broadcasts were not being sent as ordered broadcasts(!). Change-Id: I3aa3e0a9b3900967cdd2d115ee103371b0a50c41
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
a12a7b3d3d8fc8678411295df4d001447b33a994 |
|
20-Sep-2012 |
Wink Saville <wink@google.com> |
Suppress location information for non-active users. Specifically, don't allow call backs for LISTEN_CELL_LOCATION and LISTEN_CELL_INFO. Bug: 7087342 Change-Id: Ida7f60b5bde3f28264dcb454b38fcfb1f1616d11
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
5ac72a29593ab9a20337a2225df52bdf4754be02 |
|
30-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Improve multi-user broadcasts. You can now use ALL and CURRENT when sending broadcasts, to specify where the broadcast goes. Sticky broadcasts are now correctly separated per user, and registered receivers are filtered based on the requested target user. New Context APIs for more kinds of sending broadcasts as users. Updating a bunch of system code that sends broadcasts to explicitly specify which user the broadcast goes to. Made a single version of the code for interpreting the requested target user ID that all entries to activity manager (start activity, send broadcast, start service) use. Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
b208a24cf521401912cfce16fce550a995cf1250 |
|
25-Jul-2012 |
Wink Saville <wink@google.com> |
Revise and update CellInfo API's Change-Id: I25a46076a244f50edb9da65816b3717e00820b34
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a |
|
10-Jul-2012 |
Wink Saville <wink@google.com> |
Create telephony-common and mms-common These have been created to reduce the size and complexity of frameworks/base. mms-common was created by moving all of frameworks/base/core/java/com/google/android/mms to: frameworks/opt/mms telephony-common was created by moving some of frameworks/base/telephony to: frameworks/opt/telephony Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
963db55d59a170f4b17ff907c96615a19ef6fe17 |
|
31-Mar-2012 |
John Wang <johnwang@google.com> |
Enhance Cell Location Api. To boost accurary and enhance capability of cell location api, two new APIs, TelephonyManager.getAllCellInfo() and TelephonyManager.listen(LISTEN_CELL_INFO), are added. Two new Class, CellInfo and CellIdentity, are created. This API change returns all information of one cell locaiton at the same time. It also provides additional LTE and timestamp information. Change-Id: I4d0f813107e625ec4ac88c8d980ffd171aa5fc30
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
c9acde9aa6cf21598640aeebb7d908f1926a48dd |
|
21-Sep-2011 |
Wink Saville <wink@google.com> |
Reduce connectivity logging Change-Id: I5d45b8fbcd01e42df7f2b1cf02fb5b226128abb8
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
a6d4248e21bd62a51ac4aaadaa67fdb55b666d98 |
|
03-Sep-2011 |
Robert Greenwalt <rgreenwalt@google.com> |
Pass roaming info to ConnectivityService. bug:5215657 Change-Id: I77024141a7bbaa47eae021009e16b283699be53e
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
e6fa120275d9f6715783cf608b4fed742fd7161b |
|
21-Aug-2011 |
yoonsung.nam <yoonsung.nam@samsung.com> |
Notify overall state instead of current changed state TelephonyRegistry notifies wrong state thourgh onDataConnectionStateChanged(). As a result, browser works even though there is no data icon in status bar. The issue is reproducible as following senario: 1. There are two connections. 2. Network type is changed and one of the connections is disconnected at the same time. 3. TelephonyRegisitry notifies disconnect state to apps which are listening PhoneStateLinstener. Change-Id: Iac1e2b14e41715a63ea0d842cb44d232447e814a Signed-off-by: yoonsung.nam <yoonsung.nam@samsung.com>
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
444889838ce46475f04956e8b6b027328917f3fe |
|
14-May-2011 |
Wink Saville <wink@google.com> |
am d0903e14: am 6e41b32d: Merge "TelephonyRegistry remove 4 uses of FLAG_RECEIVER_REPLACE_PENDING." into honeycomb-LTE * commit 'd0903e1478c7ba2fb8087f1bae1fba69791039ba': TelephonyRegistry remove 4 uses of FLAG_RECEIVER_REPLACE_PENDING.
|
71f6cb1324ecec9206c6bde1ab8abd31199b1927 |
|
14-May-2011 |
Wink Saville <wink@google.com> |
TelephonyRegistry remove 4 uses of FLAG_RECEIVER_REPLACE_PENDING. The use of FLAG_RECEIVER_REPLACE_PENDING is an optimization to reduce redundant messages. For some calls this is fine, such as broadcastSignalStrengthChanged. For others it can cause problems, such as broadcastDataConnectionStateChanged where the MobileDataStateTracker will not be able to properly track the state if messages are dropped. This changes removes the optimization from all methods in TelephonyRegistry except broadcastSignalStrengthChanged. bug: 4427303 Change-Id: Ia9c0dd0ce66b8b3dcda770f5ab2c63cf08f3ebfc
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
63ebffcb84f4e2fc55d576aed07c4559f66d97a8 |
|
06-Apr-2011 |
Joe Onorato <joeo@google.com> |
turn off log spew Change-Id: I7e5564e02460ff41829c9fd26d80032ea3104498
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
c9330ddcf407e7db17e50167d6820b4a34d57228 |
|
12-Jan-2011 |
Wink Saville <wink@google.com> |
Initialize mOtaspMode to OTASP_UNKNOWN. Without the explicit initialized the default value was 0 which is OTASP_UNINITIALIZED instead it should be OTASP_UNKNOWN. Change-Id: I44ffc60618c0b1d49e07ccbce408c4e9921d8130
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
26f5a384d81487cc6bb80a78fb40d5e7e7ffc81e |
|
25-Nov-2010 |
Wink Saville <wink@google.com> |
Use apn types instead of host when sending notifications. Previously we were passing the apn host not the type and this caused us to sometimes not send out network change notifications. Also rename of getActivceApn to getActiveApnHost to make the method clearer on what is being returned and add some debug. A future change will rename ApnSetting.apn to ApnSetting.host and getActiveApnString. bug: 2995554 Change-Id: I0c405b0f823f62c9596968c8516b820d9f8a94f2
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
8e7e0a9fd5c377294bfe2e09fca9b7551871f3c2 |
|
09-Nov-2010 |
Robert Greenwalt <rgreenwalt@google.com> |
Fix data state change callbacks Initial state should be unknown or we miss the first connected change. Don't send a disconnected msg when changing network types. Filter out redundent disconnects. Add some logging. bug:3060742 Change-Id: Idc797c1276b7417337a91ed60b12b1bf392d57c0
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
fd2d01302781af91d77557a99874111a4fee8365 |
|
28-Oct-2010 |
Wink Saville <wink@google.com> |
Add PhoneStateListener.onOtaspChanged. Bug: 3102320 Change-Id: I46e8d33a4ed80e5e074e92135653d57598d4c865
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
3fbc5600135323d5c0a3953cdc3ed48f6b8ff88e |
|
21-Oct-2010 |
Wink Saville <wink@google.com> |
Fix bug introduced in Change I856118d8. Change-Id: I9f1c2b2611396bb811b491b7e240b4913fa76fb4
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
163d8d972b8b78979310fd31dcb17fe237d27533 |
|
21-Oct-2010 |
Joe Onorato <joeo@google.com> |
Don't remove items from mRecords while iterating over it. This change also make removeList a member, because it's only actually used in an error case (when the client process has gone away). Bug: 3118244 Bug: 3083062 Bug: 2876696 Bug: 2778958 Change-Id: I856118d8de4309cd63287d7c57cd938e1c35dab0
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
749984798c64de1594ceb123d419711eed6e90a2 |
|
21-Oct-2010 |
Joe Onorato <joeo@google.com> |
fix bad merge Change-Id: I44b9265a7ef3accc5c794d2ef9308b050c961a81
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
385a753dead6ef15f2e30eae47f73e642b3ef7ed |
|
21-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
resolved conflicts for merge of 368fdba4 to master Change-Id: I42b7b433c86a71a5da5db67109f056a280077c9d
|
431bb2269532f2514861b908d5fafda8fa64da79 |
|
19-Oct-2010 |
Joe Onorato <joeo@google.com> |
Reduce logging. Remember, the system and main logs are - Shared resources - Primarily for recording problems - To be used only for large grained events during normal operation Bug: 3104855 Change-Id: I136fbd101917dcbc8ebc3f96f276426b48bde7b7
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
ed5d7d17c9e9837ce7a6a10698cce9f6e4101acd |
|
02-Oct-2010 |
Irfan Sheriff <isheriff@google.com> |
Add LinkAddress LinkAddress stores IP address + prefix for a network link Change-Id: Id3e74e9d0a62121d097ebdc9be064eeea257ba1f
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
f61101f6266be243c481d163b95e65d67b8d1669 |
|
17-Sep-2010 |
Wink Saville <wink@google.com> |
Add LinkCapabilities Change-Id: Ia1599ade936b79f12526252c0a2e6b453abb136e
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
37e65ebb7eb932e1a144b1cab262e11ca5fd109b |
|
30-Aug-2010 |
Robert Greenwalt <robdroid@android.com> |
Rename NetworkProperties to LinkProperties Also add copy constructors and use them when giving out data. Change-Id: Id320eb8fb91d0bd250305ce7bb4f628570215615
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
8afddad7e7ce7275e26dc1ebfb359fbdd1d5920b |
|
20-Aug-2010 |
Robert Greenwalt <robdroid@android.com> |
DO NOT MERGE Fixing Connectivity Passing Gateway addr info from telephony into ConnectivityService so it can add/remove the default route as needed. Fixed differently on master. bug:2927822 Change-Id: I9a3ee7cd23c4717e7c60098f0595aa3f77c44b15
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
74d99aabf254a4b736ab0da19dd0eec13013917e |
|
14-Jul-2010 |
Robert Greenwalt <robdroid@android.com> |
Don't cast CONNECTING msgs to CONNECTED. Fixed some logic in TelephonyRegistry so its notion of the state of our connection is preserved, but it still sends out proper CONNECTING msg on secondary APNS (ie, bringing up mms while the default connection was already up - it used to send out two CONNECTING msgs instead of one CONNECTING and one CONNECTED). Fixes mms while on mobile data. bug:2840564 Change-Id: I69159aa0f471396680615ce6b9785620d844968f
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
47f69fe2999e46004f2f2463b70d38de9ff7079a |
|
16-Jun-2010 |
Robert Greenwalt <robdroid@android.com> |
Pass network properties to ConnectivityService. Used as a bag to hold ipaddr, gateway, dns, proxy info. addr's are InetAddresses for v4/v6 use. Cleaning up some old v4-only code bug:2655015 Change-Id: I7ac886fe5c519e8bab42f49cd82a5189d9c9ab59
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
1d15dd7d273cbc4e8485af7fb02bc0564c6c0a8a |
|
21-Jun-2010 |
Robert Greenwalt <robdroid@android.com> |
Don't modify a list while iterating. Remember who we want to remove instead. Fixes concurrent modification exception. bug:2778958 Change-Id: If8827955e6a716fe39cc31fe5a092c613a6786d4
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
02648a4b8422733ed401f07edf8e426318bb2f8d |
|
18-May-2010 |
Robert Greenwalt <robdroid@android.com> |
Clean up APN notifications. Add APNType info to notifications so you can tell what's happening. Now, even if a new APN shares a connection with an already-connected-to- apn type, the new type will get all the connecting and connected messages on connect and disconnecting/disconnected on disconnect even though the shared connection remains connected. Cleaning out the hacks MobileDataStateTracker needed to deal with the old situation. bug:2226092 Change-Id: Iddd7421d6b91cda7c8405f9c3d5404ac04ef8e42
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
8a9b22056b13477f59df934928c00c58b5871c95 |
|
27-Feb-2010 |
Joe Onorato <joeo@android.com> |
Switch the services library to using the new Slog
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
1c633fc89bae9bf0af6fe643ac7ad2e744f27bed |
|
09-Dec-2009 |
Dianne Hackborn <hackbod@google.com> |
Implement API to have new broadcasts replace existing broadcasts. Use this in various places where it should serve no purpose to deliver both broadcasts. This is intended to reduce somewhat the flurry of broadcasts that we churn through during boot.
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
f37447bad3773b62176baa837908daf6edb44273 |
|
09-Oct-2009 |
Amith Yamasani <yamasani@google.com> |
Proper fix for zero signal strength and no_service. Fixes #2176141 Track phone service state changes and use a separate timer for out-of-service since the hunting can timeout on some devices. Store the timeout value in the config.xml, as it is device/network specific. Settings App will also change to use the hunting duration to compute the cost of zero signal.
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
98e0b146b80670b52805b4b210ef5582dad6bb68 |
|
09-Oct-2009 |
Robert Greenwalt <robdroid@android.com> |
Make PhoneStateListeners not call TelephonyManager Since the StatusBarPolicy is run in the System Process and shouldn't therefore call into the Telephony process we decided to make sure all the needed info was passed along with the original notifications. bug: 2173053
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
4ef8ec3a21da69091200aeebff80dbcde336709c |
|
25-Sep-2009 |
David 'Digit' Turner <digit@google.com> |
Fix generic build boot sequence. The TelephonyRegistry service crashed badly in the generic build, because there is no system property to tell if the phone is GSM or CDMA. Adding a simple null check solves the issue and allows the system to boot properly.
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
75e1d3137cdcdb88783795d3f1fe735098330fa8 |
|
19-Aug-2009 |
Robert Greenwalt <robdroid@android.com> |
Fix exception when reporting disconn cdma state. Array out of bounds when checking first element of a 0-length array.
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
42acef37339afe6ac608c842f1637870ee9c4f6c |
|
13-Aug-2009 |
Robert Greenwalt <robdroid@android.com> |
Add net type to mobile for mobile-required traffic This also refactors ConnectivityService a bit towards supporting multiple simultaneous connections by making each a seem like a seperate Network with it's own stateTracker, etc. Also adds tracking of process death to clean orphaned startUsingNetworkFeature features.
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
32dbefda71c50bf848da21fb5d1255273439f90d |
|
19-Jun-2009 |
Amith Yamasani <yamasani@google.com> |
Track native processes and airplane mode. Turn signal strengths on/off when toggling airplane mode.
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
45515659438964ec47f4feac247f0e9dce587c86 |
|
24-Apr-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Enforce permissions for PhoneStateListener events. PhoneStateListener events like LISTEN_CALL_STATE_CHANGED, have privacy information like phone numbers and hence, need to be protected with a permission. The permission READ_PHONE_STATE is used for this purpose. Use the permission trick to ensure backward compatability.
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
ac61f6bc2b24f7ab03cdb0089c67c4034ea8549c |
|
19-May-2009 |
Mike Lockwood <lockwood@android.com> |
Telephony: Allow getCellLocation() if client has permission ACCESS_FINE_LOCATION ACCESS_FINE_LOCATION should imply ACCESS_COARSE_LOCATION, so either of these permissions should be sufficient to allow TelephonyManager.getCellLocation(). Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
e9b06d754af03faf27012fbed1e7559ec1ba7c79 |
|
19-May-2009 |
Wink Saville <wink@google.com> |
Teleca 2b changes
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
627bba736d022c39696b7c582a6af5592d2b8c33 |
|
25-Mar-2009 |
Dianne Hackborn <> |
Automated import from //branches/donutburger/...@142347,142347
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 |
|
13-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@138607
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/services/java/com/android/server/TelephonyRegistry.java
|