/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardImporterTests.java | 25 import android.provider.ContactsContract.CommonDataKinds.Phone; 518 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary() 519 .put(Phone.NUMBER, "1") in testV21PrefToIsPrimary() 520 .put(Phone.TYPE, Phone.TYPE_HOME); in testV21PrefToIsPrimary() 521 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary() 522 .put(Phone.NUMBER, "2") in testV21PrefToIsPrimary() 523 .put(Phone.TYPE, Phone.TYPE_WORK) in testV21PrefToIsPrimary() 524 .put(Phone.IS_PRIMARY, 1); in testV21PrefToIsPrimary() 525 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary() 526 .put(Phone.NUMBER, "3") in testV21PrefToIsPrimary() [all …]
|
D | VCardExporterTests.java | 32 import android.provider.ContactsContract.CommonDataKinds.Phone; 408 mVerifier.addInputEntry().addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneBasicCommon() 409 .put(Phone.NUMBER, "1") in testPhoneBasicCommon() 410 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneBasicCommon() 434 mVerifier.addInputEntry().addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneRefrainFormatting() 435 .put(Phone.NUMBER, "1234567890(abcdefghijklmnopqrstuvwxyz)") in testPhoneRefrainFormatting() 436 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneRefrainFormatting() 448 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneVariousTypeSupport() 449 .put(Phone.NUMBER, "10") in testPhoneVariousTypeSupport() 450 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneVariousTypeSupport() [all …]
|
D | VCardJapanizationTests.java | 21 import android.provider.ContactsContract.CommonDataKinds.Phone; 365 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberCommon() 366 .put(Phone.NUMBER, "0312341234") in testJapanesePhoneNumberCommon() 367 .put(Phone.TYPE, Phone.TYPE_HOME); in testJapanesePhoneNumberCommon() 368 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberCommon() 369 .put(Phone.NUMBER, "09012341234") in testJapanesePhoneNumberCommon() 370 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberCommon() 387 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberDoCoMo() 388 .put(Phone.NUMBER, "0312341234") in testJapanesePhoneNumberDoCoMo() 389 .put(Phone.TYPE, Phone.TYPE_HOME); in testJapanesePhoneNumberDoCoMo() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneNotifier.java | 29 public void notifyPhoneState(Phone sender); in notifyPhoneState() 31 public void notifyServiceState(Phone sender); in notifyServiceState() 33 public void notifyCellLocation(Phone sender); in notifyCellLocation() 35 public void notifySignalStrength(Phone sender); in notifySignalStrength() 37 public void notifyMessageWaitingChanged(Phone sender); in notifyMessageWaitingChanged() 39 public void notifyCallForwardingChanged(Phone sender); in notifyCallForwardingChanged() 42 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() 45 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); in notifyDataConnectionFailed() 47 public void notifyDataActivity(Phone sender); in notifyDataActivity() 49 public void notifyOtaspChanged(Phone sender, int otaspMode); in notifyOtaspChanged() [all …]
|
D | TelephonyCapabilities.java | 21 import com.android.internal.telephony.Phone; 47 public static boolean supportsEcm(Phone phone) { in supportsEcm() 71 public static boolean supportsOtasp(Phone phone) { in supportsOtasp() 80 public static boolean supportsVoiceMessageCount(Phone phone) { in supportsVoiceMessageCount() 92 public static boolean supportsNetworkSelection(Phone phone) { in supportsNetworkSelection() 104 public static int getDeviceIdLabel(Phone phone) { in getDeviceIdLabel() 126 public static boolean supportsConferenceCallManagement(Phone phone) { in supportsConferenceCallManagement() 140 public static boolean supportsHoldAndUnhold(Phone phone) { in supportsHoldAndUnhold() 160 public static boolean supportsAnswerAndHold(Phone phone) { in supportsAnswerAndHold()
|
D | PhoneSubInfoController.java | 46 private final Phone[] mPhone; 50 public PhoneSubInfoController(Context context, Phone[] phone) { in PhoneSubInfoController() 71 final Phone phone = mPhone[phoneId]; in getDeviceIdForPhone() 84 Phone phone = getPhone(subId); in getNaiForSubscriber() 97 Phone phone = getPhone(subId); in getImeiForSubscriber() 114 Phone phone = getPhone(subId); in getDeviceSvnUsingSubId() 131 Phone phone = getPhone(subId); in getSubscriberIdForSubscriber() 151 Phone phone = getPhone(subId); in getIccSerialNumberForSubscriber() 168 Phone phone = getPhone(subId); in getLine1NumberForSubscriber() 186 Phone phone = getPhone(subId); in getLine1AlphaTagForSubscriber() [all …]
|
D | CallManager.java | 93 private final ArrayList<Phone> mPhones; 108 private final HashMap<Phone, CallManagerHandler> mHandlerMap = new HashMap<>(); 111 private Phone mDefaultPhone; 190 mPhones = new ArrayList<Phone>(); in CallManager() 209 public List<Phone> getAllPhones() { in getAllPhones() 217 private Phone getPhone(int subId) { in getPhone() 218 Phone p = null; in getPhone() 219 for (Phone phone : mPhones) { in getPhone() 238 for (Phone phone : mPhones) { in getState() 257 for (Phone phone : mPhones) { in getState() [all …]
|
D | DefaultPhoneNotifier.java | 35 import com.android.internal.telephony.Phone; 56 public void notifyPhoneState(Phone sender) { in notifyPhoneState() 75 public void notifyServiceState(Phone sender) { in notifyServiceState() 96 public void notifySignalStrength(Phone sender) { in notifySignalStrength() 115 public void notifyMessageWaitingChanged(Phone sender) { in notifyMessageWaitingChanged() 130 public void notifyCallForwardingChanged(Phone sender) { in notifyCallForwardingChanged() 143 public void notifyDataActivity(Phone sender) { in notifyDataActivity() 156 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() 161 private void doNotifyDataConnection(Phone sender, String reason, String apnType, in doNotifyDataConnection() 201 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() [all …]
|
D | PhoneFactory.java | 64 static private Phone[] sPhones = null; 65 static private Phone sPhone = null; 140 sPhones = new Phone[numPhones]; in makeDefaultPhone() 161 Phone phone = null; in makeDefaultPhone() 235 public static Phone getDefaultPhone() { in getDefaultPhone() 244 public static Phone getPhone(int phoneId) { in getPhone() 245 Phone phone; in getPhone() 269 public static Phone[] getPhones() { in getPhones() 328 public static Phone makeImsPhone(PhoneNotifier phoneNotifier, Phone defaultPhone) { in makeImsPhone() 377 Phone[] phones = (Phone[])PhoneFactory.getPhones(); in dump() [all …]
|
D | TelephonyComponentFactory.java | 55 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) { in makeSmsStorageMonitor() 67 public DcTracker makeDcTracker(Phone phone) { in makeDcTracker() 71 public IccPhoneBookInterfaceManager makeIccPhoneBookInterfaceManager(Phone phone) { in makeIccPhoneBookInterfaceManager() 75 public IccSmsInterfaceManager makeIccSmsInterfaceManager(Phone phone) { in makeIccSmsInterfaceManager() 83 public EriManager makeEriManager(Phone phone, Context context, int eriFileSource) { in makeEriManager()
|
D | GsmCdmaCallTracker.java | 348 if (Phone.DEBUG_PHONE) log("disableDataCallInEmergencyCall"); in disableDataCallInEmergencyCall() 693 Phone imsPhone = mPhone.getImsPhone(); in updatePhoneState() 707 if (Phone.DEBUG_PHONE) { in updatePhoneState() 794 if (Phone.DEBUG_PHONE) log( in handlePollCalls() 806 if (Phone.DEBUG_PHONE) { in handlePollCalls() 869 … if (Phone.DEBUG_PHONE) log("adding fgCall cn " + n + " to droppedDuringPoll"); in handlePollCalls() 877 … if (Phone.DEBUG_PHONE) log("adding rgCall cn " + n + " to droppedDuringPoll"); in handlePollCalls() 997 if (Phone.DEBUG_PHONE) { in handlePollCalls() 1119 if (Phone.DEBUG_PHONE) log("hangup: set hangupPendingMO to true"); in hangup() 1189 if (Phone.DEBUG_PHONE) log("(ringing) hangup waiting or background"); in hangup() [all …]
|
D | WakeLockStateMachine.java | 53 protected Phone mPhone; 64 protected WakeLockStateMachine(String debugTag, Context context, Phone phone) { in WakeLockStateMachine() 80 public void updatePhoneObject(Phone phone) { in updatePhoneObject() 116 mPhone = (Phone) msg.obj; in processMessage()
|
D | CellBroadcastHandler.java | 36 private CellBroadcastHandler(Context context, Phone phone) { in CellBroadcastHandler() 40 protected CellBroadcastHandler(String debugTag, Context context, Phone phone) { in CellBroadcastHandler() 49 public static CellBroadcastHandler makeCellBroadcastHandler(Context context, Phone phone) { in makeCellBroadcastHandler()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TestPhoneNotifier.java.broken | 19 import com.android.internal.telephony.Phone; 33 public void notifyPhoneState(Phone sender) { 36 public void notifyServiceState(Phone sender) { 39 public void notifyCellLocation(Phone sender) { 42 public void notifySignalStrength(Phone sender) { 45 public void notifyMessageWaitingChanged(Phone sender) { 48 public void notifyCallForwardingChanged(Phone sender) { 51 public void notifyDataConnection(Phone sender, String reason, String apnType) { 54 public void notifyDataConnection(Phone sender, String reason, String apnType, 58 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { [all …]
|
D | PhoneFactoryTest.java | 30 Phone phone = PhoneFactory.getDefaultPhone(); in testBeforeMakePhone() 36 Phone phone = PhoneFactory.getPhone(0); in testBeforeMakePhone() 42 Phone[] phone = PhoneFactory.getPhones(); in testBeforeMakePhone()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | Queries.java | 23 import android.provider.ContactsContract.CommonDataKinds.Phone; 33 Phone.NUMBER, // 1 34 Phone.TYPE, // 2 35 Phone.LABEL, // 3 36 Phone.CONTACT_ID, // 4 37 Phone._ID, // 5 42 }, Phone.CONTENT_FILTER_URI, Phone.CONTENT_URI) { 46 return Phone.getTypeLabel(res, type, label);
|
/frameworks/base/telecomm/java/android/telecom/ |
D | InCallService.java | 90 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj)); 202 private Phone.Listener mPhoneListener = new Phone.Listener() { 205 public void onAudioStateChanged(Phone phone, AudioState audioState) { 209 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { 215 public void onBringToForeground(Phone phone, boolean showDialpad) { 221 public void onCallAdded(Phone phone, Call call) { 227 public void onCallRemoved(Phone phone, Call call) { 233 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { 239 public void onSilenceRinger(Phone phone) { 245 private Phone mPhone; [all …]
|
D | Phone.java | 37 public final class Phone { class 49 public void onAudioStateChanged(Phone phone, AudioState audioState) { } in onAudioStateChanged() 57 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { } in onCallAudioStateChanged() 67 public void onBringToForeground(Phone phone, boolean showDialpad) { } in onBringToForeground() 79 public void onCallAdded(Phone phone, Call call) { } in onCallAdded() 90 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved() 100 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { } in onCanAddCallChanged() 107 public void onSilenceRinger(Phone phone) { } in onSilenceRinger() 128 Phone(InCallAdapter adapter) { in Phone() method in Phone
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardUtils.java | 19 import android.provider.ContactsContract.CommonDataKinds.Phone; 132 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_CAR, VCardConstants.PARAM_TYPE_CAR); in sKnownPhoneTypesMap_ItoS.put() 133 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CAR, Phone.TYPE_CAR); in sKnownPhoneTypeMap_StoI.put() 134 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_PAGER, VCardConstants.PARAM_TYPE_PAGER); in sKnownPhoneTypesMap_ItoS.put() 135 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_PAGER, Phone.TYPE_PAGER); in sKnownPhoneTypeMap_StoI.put() 136 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_ISDN, VCardConstants.PARAM_TYPE_ISDN); in sKnownPhoneTypesMap_ItoS.put() 137 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_ISDN, Phone.TYPE_ISDN); in sKnownPhoneTypeMap_StoI.put() 139 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_HOME, Phone.TYPE_HOME); in sKnownPhoneTypeMap_StoI.put() 140 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_WORK, Phone.TYPE_WORK); in sKnownPhoneTypeMap_StoI.put() 141 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE); in sKnownPhoneTypeMap_StoI.put() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsExternalCall.java | 22 import com.android.internal.telephony.Phone; 32 private Phone mPhone; 34 public ImsExternalCall(Phone phone, ImsExternalConnection connection) { in ImsExternalCall() 45 public Phone getPhone() { in getPhone()
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/ |
D | device_for_strategy_sonification_respectful.pfw | 56 # Follows Phone Strategy if call 157 # SonificationRespectful Follows Phone strategy if in call 184 # SonificationRespectful Follows Phone strategy if in call 211 # SonificationRespectful Follows Phone strategy if in call 240 # SonificationRespectful Follows Phone strategy if in call 276 # SonificationRespectful Follows Phone strategy if in call 318 # SonificationRespectful Follows Phone strategy if in call 355 # SonificationRespectful Follows Phone strategy if in call 391 # SonificationRespectful Follows Phone strategy if in call (widely speaking) 421 # SonificationRespectful Follows Phone strategy if in call (widely speaking) [all …]
|
D | device_for_strategy_accessibility.pfw | 165 # accessibility falls through Phone strategy if in call 194 # accessibility falls through Phone strategy if in call 223 # accessibility falls through Phone strategy if in call 253 # accessibility falls through Phone strategy if in call 290 # accessibility falls through Phone strategy if in call 326 # accessibility falls through Phone strategy if in call 363 # accessibility falls through Phone strategy if in call (widely speaking) 402 # accessibility falls through Phone strategy if in call (widely speaking) 433 # accessibility falls through Phone strategy if in call (widely speaking) 463 # accessibility falls through Phone strategy if in call (widely speaking) [all …]
|
D | device_for_strategy_dtmf.pfw | 158 # DTMF falls through Phone strategy if in call 187 # DTMF falls through Phone strategy if in call 217 # DTMF falls through Phone strategy if in call 254 # DTMF falls through Phone strategy if in call 293 # DTMF falls through Phone strategy if in call 330 # DTMF falls through Phone strategy if in call (widely speaking) 369 # DTMF falls through Phone strategy if in call (widely speaking) 400 # DTMF falls through Phone strategy if in call (widely speaking) 430 # DTMF falls through Phone strategy if in call (widely speaking) 460 # DTMF falls through Phone strategy if in call (widely speaking) [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTesterDeactivateAll.java | 27 import com.android.internal.telephony.Phone; 38 private Phone mPhone; 68 DcTesterDeactivateAll(Phone phone, DcController dcc, Handler handler) { in DcTesterDeactivateAll()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandler.java | 26 import com.android.internal.telephony.Phone; 47 Phone phone) { in GsmInboundSmsHandler() 70 SmsStorageMonitor storageMonitor, Phone phone) { in makeInboundSmsHandler() 175 protected void onUpdatePhoneObject(Phone phone) { in onUpdatePhoneObject()
|