Home
last modified time | relevance | path

Searched refs:Phone (Results 1 – 25 of 244) sorted by relevance

12345678910

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneNotifier.java49 void notifyPhoneState(Phone sender); in notifyPhoneState()
54 void notifyServiceState(Phone sender); in notifyServiceState()
62 void notifyServiceStateForSubId(Phone sender, ServiceState ss, int subId); in notifyServiceStateForSubId()
69 void notifyCellLocation(Phone sender, CellIdentity cellIdentity); in notifyCellLocation()
72 void notifySignalStrength(Phone sender); in notifySignalStrength()
75 void notifyMessageWaitingChanged(Phone sender); in notifyMessageWaitingChanged()
77 void notifyCallForwardingChanged(Phone sender); in notifyCallForwardingChanged()
80 void notifyDataConnection(Phone sender, PreciseDataConnectionState preciseState); in notifyDataConnection()
82 void notifyDataActivity(Phone sender); in notifyDataActivity()
84 void notifyCellInfo(Phone sender, List<CellInfo> cellInfo); in notifyCellInfo()
[all …]
DSimultaneousCallingTracker.java55 private Map<Phone, Set<Phone>> mVoiceCapablePhoneMap = new HashMap<>();
67 private Map<Integer, Set<Phone>> mSimultaneousCallPhoneSupportMap = new HashMap<>();
255 for (Phone phone : mSimultaneousCallPhoneSupportMap.get(phoneId)) { in getSubIdsSupportingSimultaneousCalling()
322 private void registerForImsRegistrationChanges(Map<Phone, Set<Phone>> phoneMap) { in registerForImsRegistrationChanges() argument
323 for (Phone phone : phoneMap.keySet()) { in registerForImsRegistrationChanges()
344 private void unregisterForImsRegistrationChanges(Map<Phone, Set<Phone>> phoneMap) { in unregisterForImsRegistrationChanges() argument
345 for (Phone phone : phoneMap.keySet()) { in unregisterForImsRegistrationChanges()
359 private Map<Phone, Set<Phone>> generateVoiceCapablePhoneMapBasedOnUserAssociation() { in generateVoiceCapablePhoneMapBasedOnUserAssociation()
360 Map<Phone, Set<Phone>> voiceCapablePhoneMap = new HashMap<>(3); in generateVoiceCapablePhoneMapBasedOnUserAssociation()
363 Phone[] allPhones = PhoneFactory.getPhones(); in generateVoiceCapablePhoneMapBasedOnUserAssociation()
[all …]
DDefaultPhoneNotifier.java72 public void notifyPhoneState(Phone sender) { in notifyPhoneState()
85 public void notifyServiceState(Phone sender) { in notifyServiceState()
90 public void notifyServiceStateForSubId(Phone sender, ServiceState ss, int subId) { in notifyServiceStateForSubId()
103 public void notifySignalStrength(Phone sender) { in notifySignalStrength()
116 public void notifyMessageWaitingChanged(Phone sender) { in notifyMessageWaitingChanged()
124 public void notifyCallForwardingChanged(Phone sender) { in notifyCallForwardingChanged()
134 public void notifyDataActivity(Phone sender) { in notifyDataActivity()
148 public void notifyDataConnection(Phone sender, PreciseDataConnectionState preciseState) { in notifyDataConnection()
154 public void notifyCellLocation(Phone sender, CellIdentity cellIdentity) { in notifyCellLocation()
160 public void notifyCellInfo(Phone sender, List<CellInfo> cellInfo) { in notifyCellInfo()
[all …]
DTelephonyCapabilities.java51 public static boolean supportsEcm(Phone phone) { in supportsEcm()
75 public static boolean supportsOtasp(Phone phone) { in supportsOtasp()
84 public static boolean supportsVoiceMessageCount(Phone phone) { in supportsVoiceMessageCount()
96 public static boolean supportsNetworkSelection(Phone phone) { in supportsNetworkSelection()
108 public static int getDeviceIdLabel(Phone phone) { in getDeviceIdLabel()
130 public static boolean supportsConferenceCallManagement(Phone phone) { in supportsConferenceCallManagement()
144 public static boolean supportsHoldAndUnhold(Phone phone) { in supportsHoldAndUnhold()
164 public static boolean supportsAnswerAndHold(Phone phone) { in supportsAnswerAndHold()
DCallManager.java93 private final ArrayList<Phone> mPhones;
112 private final HashMap<Phone, CallManagerHandler> mHandlerMap = new HashMap<>();
115 private Phone mDefaultPhone;
194 mPhones = new ArrayList<Phone>(); in CallManager()
214 private Phone getPhone(int subId) { in getPhone()
215 Phone p = null; in getPhone()
216 for (Phone phone : mPhones) { in getPhone()
236 for (Phone phone : mPhones) { in getState()
256 for (Phone phone : mPhones) { in getState()
281 for (Phone phone : mPhones) { in getServiceState()
[all …]
DTelephonyComponentFactory.java292 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) {
308 public EmergencyNumberTracker makeEmergencyNumberTracker(Phone phone, CommandsInterface ci,
322 public SimActivationTracker makeSimActivationTracker(Phone phone) {
326 public CarrierSignalAgent makeCarrierSignalAgent(Phone phone) {
330 public CarrierActionAgent makeCarrierActionAgent(Phone phone) {
334 public CarrierResolver makeCarrierResolver(Phone phone) {
338 public IccPhoneBookInterfaceManager makeIccPhoneBookInterfaceManager(Phone phone) {
345 public IccSmsInterfaceManager makeIccSmsInterfaceManager(Phone phone,
359 public EriManager makeEriManager(Phone phone, int eriFileSource) {
444 public DeviceStateMonitor makeDeviceStateMonitor(Phone phone,
[all …]
DPhoneConfigurationManager.java112 private Phone[] mPhones;
176 for (Phone phone : mPhones) { in PhoneConfigurationManager()
218 private void registerForRadioState(Phone phone) { in registerForRadioState()
219 phone.mCi.registerForAvailable(mHandler, Phone.EVENT_RADIO_AVAILABLE, phone); in registerForRadioState()
271 for (Phone p : mPhones) { in maybeEnableCellularDSDASupport()
309 Phone phone = null; in handleMessage()
311 case Phone.EVENT_RADIO_AVAILABLE: in handleMessage()
312 case Phone.EVENT_RADIO_ON: in handleMessage()
315 if (ar.userObj != null && ar.userObj instanceof Phone) { in handleMessage()
316 phone = (Phone) ar.userObj; in handleMessage()
[all …]
DPhoneFactory.java82 static private Phone[] sPhones = null;
83 static private Phone sPhone = null;
178 sPhones = new Phone[numPhones]; in makeDefaultPhone()
327 private static Phone createPhone(Context context, int phoneId) { in createPhone()
342 public static Phone getDefaultPhone() { in getDefaultPhone()
352 public static Phone getPhone(int phoneId) { in getPhone()
353 Phone phone; in getPhone()
381 public static Phone[] getPhones() { in getPhones()
465 public static Phone makeImsPhone(PhoneNotifier phoneNotifier, Phone defaultPhone) { in makeImsPhone()
561 Phone[] phones = (Phone[])PhoneFactory.getPhones(); in dump()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardImporterTests.java25 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 …]
DVCardExporterTests.java33 import android.provider.ContactsContract.CommonDataKinds.Phone;
409 mVerifier.addInputEntry().addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneBasicCommon()
410 .put(Phone.NUMBER, "1") in testPhoneBasicCommon()
411 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneBasicCommon()
435 mVerifier.addInputEntry().addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneRefrainFormatting()
436 .put(Phone.NUMBER, "1234567890(abcdefghijklmnopqrstuvwxyz)") in testPhoneRefrainFormatting()
437 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneRefrainFormatting()
449 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testPhoneVariousTypeSupport()
450 .put(Phone.NUMBER, "10") in testPhoneVariousTypeSupport()
451 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneVariousTypeSupport()
[all …]
DVCardJapanizationTests.java21 import android.provider.ContactsContract.CommonDataKinds.Phone;
368 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberCommon()
369 .put(Phone.NUMBER, "0312341234") in testJapanesePhoneNumberCommon()
370 .put(Phone.TYPE, Phone.TYPE_HOME); in testJapanesePhoneNumberCommon()
371 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberCommon()
372 .put(Phone.NUMBER, "09012341234") in testJapanesePhoneNumberCommon()
373 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberCommon()
390 entry.addContentValues(Phone.CONTENT_ITEM_TYPE) in testJapanesePhoneNumberDoCoMo()
391 .put(Phone.NUMBER, "0312341234") in testJapanesePhoneNumberDoCoMo()
392 .put(Phone.TYPE, Phone.TYPE_HOME); in testJapanesePhoneNumberDoCoMo()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DQueries.java23 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/opt/vcard/java/com/android/vcard/
DVCardUtils.java19 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/emergency/
DRadioOnHelper.java26 import com.android.internal.telephony.Phone;
87 boolean forEmergencyCall, Phone phoneForEmergencyCall, boolean isTestEmergencyNumber, in triggerRadioOnAndListen()
94 Phone phone = PhoneFactory.getPhone(i); in triggerRadioOnAndListen()
115 private void powerOnRadio(boolean forEmergencyCall, Phone phoneForEmergencyCall, in powerOnRadio()
120 for (Phone phone : PhoneFactory.getPhones()) { in powerOnRadio()
153 private void powerOffSatellite(Phone phoneForEmergencyCall) { in powerOffSatellite()
179 public boolean isOkToCall(Phone phone, int serviceState, boolean imsVoiceCapable) { in isOkToCall()
185 public boolean onTimeout(Phone phone, int serviceState, boolean imsVoiceCapable) { in onTimeout()
DEmergencyStateTracker.java63 import com.android.internal.telephony.Phone;
154 private Phone mPhone;
170 private Phone mSmsPhone;
212 Phone[] getPhones(); in getPhones()
321 Phone phone = mPhone; in handleMessage()
411 final Phone smsPhone = mSmsPhone; in handleMessage()
416 Phone phone = mPhone; in handleMessage()
562 public CompletableFuture<Integer> startEmergencyCall(@NonNull Phone phone, in startEmergencyCall()
716 private void switchDdsAndSetEmergencyMode(Phone phone, @EmergencyType int emergencyType) { in switchDdsAndSetEmergencyMode()
753 private void setEmergencyMode(Phone phone, @EmergencyType int emergencyType, in setEmergencyMode()
[all …]
/frameworks/base/tests/InputScreenshotTest/src/android/input/screenshot/
DDefaultDeviceEmulationSpec.kt32 DeviceEmulationSpec.forDisplays(Displays.Phone, Displays.Tablet)
47 DeviceEmulationSpec.forDisplays(Displays.Phone, isDarkTheme = false) +
57 DeviceEmulationSpec.forDisplays(Displays.Phone, isDarkTheme = false, isLandscape = false)
60 val Phone = constant
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalCall.java25 import com.android.internal.telephony.Phone;
33 private Phone mPhone;
36 public ImsExternalCall(Phone phone, ImsExternalConnection connection) { in ImsExternalCall()
42 public Phone getPhone() { in getPhone()
/frameworks/base/telecomm/java/android/telecom/
DInCallService.java298 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj), callingPackage,
487 private Phone.Listener mPhoneListener = new Phone.Listener() {
490 public void onAudioStateChanged(Phone phone, AudioState audioState) {
494 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) {
500 public void onBringToForeground(Phone phone, boolean showDialpad) {
506 public void onCallAdded(Phone phone, Call call) {
512 public void onCallRemoved(Phone phone, Call call) {
518 public void onCanAddCallChanged(Phone phone, boolean canAddCall) {
524 public void onSilenceRinger(Phone phone) {
530 private Phone mPhone;
[all …]
DPhone.java46 public final class Phone { class
58 public void onAudioStateChanged(Phone phone, AudioState audioState) { } in onAudioStateChanged()
66 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { } in onCallAudioStateChanged()
76 public void onBringToForeground(Phone phone, boolean showDialpad) { } in onBringToForeground()
88 public void onCallAdded(Phone phone, Call call) { } in onCallAdded()
99 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved()
109 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { } in onCanAddCallChanged()
116 public void onSilenceRinger(Phone phone) { } in onSilenceRinger()
151 Phone(InCallAdapter adapter, String callingPackage, int targetSdkVersion) { in Phone() method in Phone
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java78 import com.android.internal.telephony.Phone;
163 Phone testPhone = setupTestPhoneForEmergencyCall(false /* isRoaming */, in startEmergencyCall_radioOff_turnOnRadioSwitchDdsAndSetEmergencyMode()
222 Phone testPhone = setupTestPhoneForEmergencyCall(false /* isRoaming */, in startEmergencyCall_radioOff_turnOnRadioTimeoutSwitchDdsAndSetEmergencyMode()
272 Phone testPhone = setupTestPhoneForEmergencyCall(false /* isRoaming */, in startEmergencyCall_radioOff_turnOnRadioHangupCallTurnOffRadio()
316 Phone testPhone = setupTestPhoneForEmergencyCall(false /* isRoaming */, in startEmergencyCall_radioOnFails_returnsDisconnectCausePowerOff()
345 Phone testPhone = setupTestPhoneForEmergencyCall(false /* isRoaming */, in startEmergencyCall_satelliteEnabled_turnOnRadioSwitchDdsAndSetEmergencyMode()
391 Phone testPhone = setupTestPhoneForEmergencyCall(false /* isRoaming */, in startEmergencyCall_satelliteOffFails_returnsDisconnectCauseSatelliteEnabled()
421 Phone testPhone = setupTestPhoneForEmergencyCall(false /* isRoaming */, in startEmergencyCall_cpFallback_noDdsSwitch()
446 Phone testPhone = setupTestPhoneForEmergencyCall(false /* isRoaming */, in startEmergencyCall_supportsSuplOnNonDds_noDdsSwitch()
468 Phone testPhone = setupTestPhoneForEmergencyCall(true /* isRoaming */, in startEmergencyCall_roaming_noDdsSwitch()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DSmsDomainSelectionConnection.java26 import com.android.internal.telephony.Phone;
36 public SmsDomainSelectionConnection(Phone phone, DomainSelectionController controller) { in SmsDomainSelectionConnection()
41 protected SmsDomainSelectionConnection(Phone phone, DomainSelectionController controller, in SmsDomainSelectionConnection()
DDomainSelectionController.java46 import com.android.internal.telephony.Phone;
224 updateServiceState((Phone) ar.userObj, (ServiceState) ar.result); in handleMessage()
228 updateBarringInfo((Phone) ar.userObj, (BarringInfo) ar.result); in handleMessage()
293 @NonNull Phone phone, in getDomainSelectionConnection()
362 private void updateServiceState(Phone phone, ServiceState serviceState) { in updateServiceState()
384 private void updateBarringInfo(Phone phone, BarringInfo info) { in updateBarringInfo()
406 Phone phone = c.getPhone(); in registerForStateChange()
426 Phone phone = c.getPhone(); in unregisterForStateChange()
444 Phone phone = c.getPhone(); in notifyServiceConnected()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DPerSimStatus.java44 import com.android.internal.telephony.Phone;
90 public static PerSimStatus getCurrentState(Phone phone) { in getCurrentState()
174 private static ImsMmTelManager getImsMmTelManager(Phone phone) { in getImsMmTelManager()
199 private static int[] getNumberIds(Phone phone) { in getNumberIds()
244 private static boolean is2gDisabled(Phone phone) { in is2gDisabled()
266 private static int getMinimumVoltageClass(Phone phone) { in getMinimumVoltageClass()
284 private static int getUserModifiedApnTypes(Phone phone) { in getUserModifiedApnTypes()
306 static boolean isVonrEnabled(Phone phone) { in isVonrEnabled()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/
Ddevice_for_product_strategy_sonification_respectful.pfw56 # 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 …]
Ddevice_for_product_strategy_accessibility.pfw168 # accessibility falls through Phone strategy if in call
197 # accessibility falls through Phone strategy if in call
226 # accessibility falls through Phone strategy if in call
256 # accessibility falls through Phone strategy if in call
293 # accessibility falls through Phone strategy if in call
329 # accessibility falls through Phone strategy if in call
366 # accessibility falls through Phone strategy if in call (widely speaking)
405 # accessibility falls through Phone strategy if in call (widely speaking)
436 # accessibility falls through Phone strategy if in call (widely speaking)
466 # accessibility falls through Phone strategy if in call (widely speaking)
[all …]

12345678910