History log of /frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
be45b8c5a53a8f11a09cbe457d929a102fcf6891 09-Nov-2016 Jordan Liu <jminjie@google.com> Treat the mdn as an additional voicemail number

Use carrier config to specify whether the carrier treats the mdn as an
additonal voicemail number.

Change-Id: I7192a3505da87d6b50a100e041d2b502cf37e113
Fix: 29145323
Test: build and flash on device
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
4c01910cb0dfc6a5980a903eabfd767cad7f2e50 06-Oct-2016 Hall Liu <hallliu@google.com> Add logging to CallerInfoAsyncQuery

Add logging to CallerInfoAsyncQuery to help diagnose timeout errors

Bug: 31755827
Change-Id: If7cf34baf084ca8916952842585a32b3e93eba73
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
7ea3e8bf8954343d7b243b6a23bcb8339921f3c8 25-Jan-2016 Shishir Agrawal <shishir@google.com> Unhiding MSIM APIs.

1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
63f03dd94c43c22f2c77306059b5748e5e1e0e3c 23-Oct-2014 Wink Saville <wink@google.com> Change subId to int from long

Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
5692dcced506cebf2bdb214fb27159cef9f7de2c 17-Jul-2014 Makoto Onuki <omakoto@google.com> Use "current" cp2 from telephony

Now "always send to voicemail" and missed call notifications respect the
current user's contacts.

Bug 16236656

Change-Id: Iae48b4ac95550970ecae59bdd32c436efef90200
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
a2295e65dc0735beee32180ab51b9c0b198287e1 11-Jul-2014 Makoto Onuki <omakoto@google.com> Enterprise caller-id: framework/base/Telephony

It's basically equivalent to http://ag/500455 and http://ag/499160.

Now "Send to voicemail" and the missed call notification uses the enterprise
lookup; they now work with a corp contact too.

Bug 15779911

Change-Id: I8a87f45ba7299cfbc516eb44326e02258e38cf63
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
fb40dd4d00bd3361b2535bc866e6c21eadc52558 13-Jun-2014 Wink Saville <wink@google.com> Merge kwd to master

Add initial IMS and MSIM support from klp-wireless-dev-mirror

Change-Id: Idb607c0aa32f80fe4fe1539aedea7a221e9e7f04
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
282129fd3f789739c47fe5506bcf29c1a2712b3e 05-Jun-2014 Yorke Lee <yorkelee@google.com> API changes to Telephony per API review

* Make context the first argument for isLocalEmergencyNumber and
isPotentialLocalEmergencyNumber

Bug: 15432083

Change-Id: I88b5ace925e3704bd032dc9694b0c2dd871b9cf9
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
8c2d8c0c27ebd155e9e9d2c066df0297f265b5a6 06-Jun-2014 Yorke Lee <yorkelee@google.com> Revert "API changes to Telephony per API review"

The original change was submitted into lmp-preview-dev and should
not have been auto-merged to master.

This reverts commit 80327f7a31b19213ec48e1ab66e6bdc8e76cb0fe.

Change-Id: I9ff8a868ffa3135583c52ef97b15311107716899
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
d8819baf858b294bab16ea811da4acf39dc4552c 05-Jun-2014 Yorke Lee <yorkelee@google.com> API changes to Telephony per API review

* Make context the first argument for isLocalEmergencyNumber and
isPotentialLocalEmergencyNumber

* Hide DisconnectCause
Bug: 15432083

Change-Id: I88b5ace925e3704bd032dc9694b0c2dd871b9cf9
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
a2c93480e35ec06e44f4ccfa8657eacf3353be46 21-Oct-2013 Jay Shrauner <shrauner@google.com> Fix CountryDetector NPE

Fix CountryDetector NPE by calling CallerInfo.getCurrentCountryIso() which
checks for potential nulls.

Bug:11291034
Change-Id: I0a4412c432551c64ec30652d69636442653ee337
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
599a90c2a02645a5f2d189b9065b863397a4076e 27-Nov-2012 Wink Saville <wink@google.com> Use Rlog instead of Log

Change-Id: I2332f4210ead8a6d751fc9c0505db25033641da2
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
6b7c3f8a1cd8b638defc28a3249746e99b8039ae 14-Sep-2011 Shaopeng Jia <shaopengjia@google.com> Update code to use location aware isEmergencyNumber.

Bug: 5247602
Change-Id: Ieeda4a17464795b3591db754bc991759609f88c2
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
9683f990a282776ac8a588a9d5e1a73b61f43dcf 07-Sep-2011 Shaopeng Jia <shaopengjia@google.com> Adding isEmergencyNumber which also takes in a defaultCountryIso.

Also update CallerInfo and CallerInfoAsyncQuery to use the new method.

Bug: 5247602
Change-Id: I2bbb0806ad2787d53b19bc1e9bdfb0ee8be26980
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
cec25c4e8afdc56451f7405f8605c1d67433e2ff 23-Jun-2011 David Brown <dab@google.com> CallerInfo query: Turn on "geo description" lookup for unknown numbers

With the latest version of the external/libphonenumber library
<https://android-git.corp.google.com/g/117190> we now have real data for
the PhoneNumberOfflineGeocoder.getDescriptionForNumber() feature.

So enable it in the CallerInfo query. This means that the incoming call
UI will now show a geo description like "California" or "Maryland" (along
with the number) for unknown incoming numbers.

I also needed to work around an issue with the latest phonenumber library:
The new library apparently requires countryIso to be uppercase (e.g. "US")
but the CountryDetector.detectCountry().getCountryIso() call currently
returns "us", which causes PhoneNumberUtil.parse() to fail. (This also
broke some ContactsProvider tests too.) So force the countryIso to
uppercase for now.

TESTED (on Crespo):
- Incoming calls from an unknown number:
==> State name is now displayed.
- Incoming calls from a number that matches a contact:
==> no change in behavior

Bug: 4595580
Change-Id: I03126e1eee99d428e76bbbad5b3856be3874f549
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
2ef46c65877a7188868cec440fbe93086e011f5b 20-Jun-2011 David Brown <dab@google.com> Use a static flag to enable/disable CallerInfo "geoDescription" lookup

...and disable the lookup for now, since we don't have the latest
PhoneNumberOfflineGeocoder (from the libphonenumber library) integrated
into our tree yet.

Bug: 4595580
Change-Id: I7391cbf1558b5a23eebfff6c4ad1f6363213c9a3
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
94202fe1217b9f63e1f5c314379a9f0021e96ea8 11-Jun-2011 David Brown <dab@google.com> Add "geoDescription" to CallerInfo

As of change https://android-git.corp.google.com/g/111296 the
libphonenumber library now provides an API ("PhoneNumberOfflineGeocoder")
to look up a geographical description string for a given number.

This change adds a new CallerInfo field called "geoDescription", and
uses the PhoneNumberOfflineGeocoder to look it up (if the contact lookup
fails) during the CallerInfoAsyncQuery sequence.

See https://android-git.corp.google.com/g/114715 for the corresponding
change under apps/Phone, to display this string (along with the raw
number) in the incoming-call UI.

Also some other minor cleanup:
- fixed spelling of the "normalizedNumber" field
- tiny javadoc and code style cleanup
- slight CallManager and CallerInfo debug output cleanup

Bug: 4595580
Change-Id: I900d8f48e953d1b24983602cb5467a5c6a6c518a
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
6967f0960449ac531880cc3e1a7312d45d774b62 21-Oct-2010 Jeff Hamilton <jham@android.com> am e55806a5: am 23392a84: Fix the build.

Merge commit 'e55806a55561c992086ddff717aca27206fa0c5d'

* commit 'e55806a55561c992086ddff717aca27206fa0c5d':
Fix the build.
fbd21b5875285725c434fc7d0145e919d0133946 21-Oct-2010 Hung-ying Tyan <tyanh@google.com> am d691b36c: am 6fe795ec: Do another contact lookup if the first one fails and...

Merge commit 'd691b36cdea314585b6aa17556ed4c35bb65a69e'

* commit 'd691b36cdea314585b6aa17556ed4c35bb65a69e':
Do another contact lookup if the first one fails and...
385a753dead6ef15f2e30eae47f73e642b3ef7ed 21-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of 368fdba4 to master

Change-Id: I42b7b433c86a71a5da5db67109f056a280077c9d
23392a84bcb961d3fd50142ec40ce6ac6db89018 20-Oct-2010 Jeff Hamilton <jham@android.com> Fix the build.

Change-Id: Id5bfa0f91e6ec687201a320a1eb4d8a46050875e
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
6fe795ecd35c4d49822d349424fc71b660577dfc 20-Oct-2010 Hung-ying Tyan <tyanh@google.com> Do another contact lookup if the first one fails and...

it's a SIP call and the peer's username is all numeric. The all-numeric username
could be a PSTN number.

Bug: 3105116 (case #2)

Change-Id: I1de9cfac3aab1c4c89935176264d07693adb5e7d
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
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/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
97d88927f28226403ff7e5befe1a5486b5fc8725 15-Oct-2010 David Brown <dab@google.com> am e3c50a54: am cebe5b2e: Merge "Reduce CallerInfoAsyncQuery logging in user builds (STOPSHIP cleanup)" into gingerbread

Merge commit 'e3c50a5470f64fd99438d6fd985f88d9fe20919a'

* commit 'e3c50a5470f64fd99438d6fd985f88d9fe20919a':
Reduce CallerInfoAsyncQuery logging in user builds (STOPSHIP cleanup)
1b422d8cd8ed83b79e977a3afb99969cea4a6700 14-Oct-2010 Wink Saville <wink@google.com> am 090ac9f7: am a3100314: Merge "Remove some PII." into gingerbread

Merge commit '090ac9f7dd883aa75c899745182471d409a2b762'

* commit '090ac9f7dd883aa75c899745182471d409a2b762':
Remove some PII.
d34d30ac2e5d7fc0ee0592187492acd3d52a2545 12-Oct-2010 David Brown <dab@google.com> Reduce CallerInfoAsyncQuery logging in user builds (STOPSHIP cleanup)

Bug: 3095005

Change-Id: Ide96756282d17252fac16a27cc184ea314a8b31a
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
a42880749b368e60caee77dd682d434e48ca96bd 12-Oct-2010 Wink Saville <wink@google.com> Remove some PII.

Change-Id: I4df27119b6bbd28bf950516fd6f44676a8e04f06
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
648e1aeb8ac3df60e5fbcdfe42976cb2dc241047 30-Sep-2010 David Brown <dab@google.com> am 5cf44f69: am 87fbcc2b: Merge "Implement contacts lookup (caller-id) for incoming SIP calls." into gingerbread

Merge commit '5cf44f6907cde1126dd982af2d4dfd5c35da9eb9'

* commit '5cf44f6907cde1126dd982af2d4dfd5c35da9eb9':
Implement contacts lookup (caller-id) for incoming SIP calls.
158d390f533f927175c5a5a3e5a1a8bc07ca1fac 28-Sep-2010 David Brown <dab@google.com> Implement contacts lookup (caller-id) for incoming SIP calls.

CallerInfoAsyncQuery can now handle SIP addresses in addition to regular
phone numbers: if the number passed in to startQuery() is actually a "URI
number", we now treat it as a SIP address and look it up directly in the
Data table.

If it's a regular phone number, the behavior is unchanged: we use the
PhoneLookup table as before.

This piece of the fix covers only the contact lookup for incoming calls;
we still need some more cleanup of the CallerInfo class in order to get
the call log working.

Bug: 3004127

Change-Id: I0fcb80f9de5b8ecf99d31ee92e0889ddb07216fd
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
6a3d188f18b5ae278c802c8bbd1e0a44da555cdf 31-Aug-2010 Bai Tao <michaelbai@google.com> Format the phone number with the number country's convention.

If the phone number doesn't have country code, the current country's convention will be used.

Change-Id: I3f6ea0104d1a67071bd3beadb667c7159e915eef
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
390de220248d05ccb9dc10a197700ad3c1595937 11-May-2010 Jake Hamby <jhamby@google.com> Fix some typos and other cosmetic cleanups in telephony framework.

- Fix typos in Javadoc and comments.
- Fix Javadoc @link references to other classes/methods.
- Rename MISSING_UKNOWN_APN to MISSING_UNKNOWN_APN in DataConnection.
- Remove unused (and misspelled) RETRYIES_* consts in RetryManager.

Change-Id: I3b44ac8320d6c1e4c350be600c7ef266aaf735e4
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
60d45f0f0320801a16db2ad038453c098e98966c 16-Sep-2009 Nicolas Catania <niko@google.com> Added a field to track if the call is to a voicemail instance.

Refactored common code between CallerInfo and CallerInfoAsyncQuery that deal
with voicemail number comparison.

In CallerInfo.java added a new field mIsVoiceMail to indicate this is a
voicemail call.
Added a new method to convert the CallerInfo into a VM instance.
Added a new method to generate a debug string from an instance.

PhoneNumberUtils has a new method "isVoiceMailNumber" to check if a number
is a VM one. I left the method as hidden. Previously any security exception
failure was cached in a static variable. I removed that and
privilege the optmistic scenario. I am not sure if the security exception
is only for the 'regular' telephony layer and if it applies if a 3rd party
VM app is installed (e.g googlevoice), hence i removed the cashing to make
sure we can pick up new voicemail providers when installed/enabled/disabled.

Bug:2112640
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
e22415817febc8d3229d1774f3b0dfda0fda8f46 15-Sep-2009 Nicolas Catania <niko@google.com> New field in CallerInfo to cache if the call is an emergency one.

Fixed a bug in the sync call, the photo resource was not set to picture_emergency.

Added tests to check the correct emergency fields are set in the caller info instance.

Bug 2112640
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
84b4d37dd1e9269f73c2a9cacadcd88ec4256e3f 10-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2099206] Encoding phone number prior to sending it to the phone lookup filter

Change-Id: I80327febe7134ac1bdef958251943a9777879d53
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
3c513ed95cee2e0bcd7208cb7e46307f09c907c9 20-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Converting CallerInfo to new Contacts API.
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
2563a3ac05dd3cf8a07203ae682c243f2e793137 09-Jun-2009 Wink Saville <wink@google.com> Cleanup whitespace.
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/telephony/java/com/android/internal/telephony/CallerInfoAsyncQuery.java