/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyCapabilities.java | 47 public static boolean supportsEcm(Phone phone) { in supportsEcm() argument 48 Rlog.d(LOG_TAG, "supportsEcm: Phone type = " + phone.getPhoneType() + in supportsEcm() 49 " Ims Phone = " + phone.getImsPhone()); in supportsEcm() 50 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA || in supportsEcm() 51 phone.getImsPhone() != null); in supportsEcm() 71 public static boolean supportsOtasp(Phone phone) { in supportsOtasp() argument 72 return (phone.getPhoneType() == PhoneConstants.PHONE_TYPE_CDMA); in supportsOtasp() 80 public static boolean supportsVoiceMessageCount(Phone phone) { in supportsVoiceMessageCount() argument 81 return (phone.getVoiceMessageCount() != -1); in supportsVoiceMessageCount() 92 public static boolean supportsNetworkSelection(Phone phone) { in supportsNetworkSelection() argument [all …]
|
D | PhoneSubInfoController.java | 52 public PhoneSubInfoController(Context context, Phone[] phone) { in PhoneSubInfoController() argument 53 mPhone = phone; in PhoneSubInfoController() 73 final Phone phone = mPhone[phoneId]; in getDeviceIdForPhone() local 74 if (phone != null) { in getDeviceIdForPhone() 75 return phone.getDeviceId(); in getDeviceIdForPhone() 83 Phone phone = getPhone(subId); in getNaiForSubscriber() local 84 if (phone != null) { in getNaiForSubscriber() 88 return phone.getNai(); in getNaiForSubscriber() 96 Phone phone = getPhone(subId); in getImeiForSubscriber() local 97 if (phone != null) { in getImeiForSubscriber() [all …]
|
D | CallManager.java | 219 for (Phone phone : mPhones) { in getPhone() 220 if (phone.getSubId() == subId && in getPhone() 221 phone.getPhoneType() != PhoneConstants.PHONE_TYPE_IMS) { in getPhone() 222 p = phone; in getPhone() 238 for (Phone phone : mPhones) { in getState() 239 if (phone.getState() == PhoneConstants.State.RINGING) { in getState() 241 } else if (phone.getState() == PhoneConstants.State.OFFHOOK) { in getState() 257 for (Phone phone : mPhones) { in getState() 258 if (phone.getSubId() == subId) { in getState() 259 if (phone.getState() == PhoneConstants.State.RINGING) { in getState() [all …]
|
D | TelephonyComponentFactory.java | 48 public GsmCdmaCallTracker makeGsmCdmaCallTracker(GsmCdmaPhone phone) { in makeGsmCdmaCallTracker() argument 49 return new GsmCdmaCallTracker(phone); in makeGsmCdmaCallTracker() 52 public SmsStorageMonitor makeSmsStorageMonitor(Phone phone) { in makeSmsStorageMonitor() argument 53 return new SmsStorageMonitor(phone); in makeSmsStorageMonitor() 60 public ServiceStateTracker makeServiceStateTracker(GsmCdmaPhone phone, CommandsInterface ci) { in makeServiceStateTracker() argument 61 return new ServiceStateTracker(phone, ci); in makeServiceStateTracker() 64 public SimActivationTracker makeSimActivationTracker(Phone phone) { in makeSimActivationTracker() argument 65 return new SimActivationTracker(phone); in makeSimActivationTracker() 68 public DcTracker makeDcTracker(Phone phone) { in makeDcTracker() argument 69 return new DcTracker(phone); in makeDcTracker() [all …]
|
D | ImsSMSDispatcher.java | 53 public ImsSMSDispatcher(Phone phone, SmsStorageMonitor storageMonitor, in ImsSMSDispatcher() argument 55 super(phone, usageMonitor, null); in ImsSMSDispatcher() 60 mCdmaDispatcher = new CdmaSMSDispatcher(phone, usageMonitor, this); in ImsSMSDispatcher() 61 mGsmInboundSmsHandler = GsmInboundSmsHandler.makeInboundSmsHandler(phone.getContext(), in ImsSMSDispatcher() 62 storageMonitor, phone); in ImsSMSDispatcher() 63 mCdmaInboundSmsHandler = CdmaInboundSmsHandler.makeInboundSmsHandler(phone.getContext(), in ImsSMSDispatcher() 64 storageMonitor, phone, (CdmaSMSDispatcher) mCdmaDispatcher); in ImsSMSDispatcher() 65 mGsmDispatcher = new GsmSMSDispatcher(phone, usageMonitor, this, mGsmInboundSmsHandler); in ImsSMSDispatcher() 66 SmsBroadcastUndelivered.initialize(phone.getContext(), in ImsSMSDispatcher() 68 InboundSmsHandler.registerNewMessageNotificationActionHandler(phone.getContext()); in ImsSMSDispatcher() [all …]
|
D | SmsNumberUtils.java | 533 public static String filterDestAddr(Phone phone, String destAddr) { in filterDestAddr() argument 542 final String networkOperator = TelephonyManager.from(phone.getContext()). in filterDestAddr() 543 getNetworkOperator(phone.getSubId()); in filterDestAddr() 546 if (needToConvert(phone)) { in filterDestAddr() 547 final int networkType = getNetworkType(phone); in filterDestAddr() 551 result = formatNumber(phone.getContext(), destAddr, networkMcc, networkType); in filterDestAddr() 567 private static int getNetworkType(Phone phone) { in getNetworkType() argument 569 int phoneType = phone.getPhoneType(); in getNetworkType() 574 if (isInternationalRoaming(phone)) { in getNetworkType() 586 private static boolean isInternationalRoaming(Phone phone) { in isInternationalRoaming() argument [all …]
|
D | CellBroadcastHandler.java | 40 private CellBroadcastHandler(Context context, Phone phone) { in CellBroadcastHandler() argument 41 this("CellBroadcastHandler", context, phone); in CellBroadcastHandler() 44 protected CellBroadcastHandler(String debugTag, Context context, Phone phone) { in CellBroadcastHandler() argument 45 super(debugTag, context, phone); in CellBroadcastHandler() 53 public static CellBroadcastHandler makeCellBroadcastHandler(Context context, Phone phone) { in makeCellBroadcastHandler() argument 54 CellBroadcastHandler handler = new CellBroadcastHandler(context, phone); in makeCellBroadcastHandler()
|
D | CarrierSmsUtils.java | 50 Context context, Phone phone, Intent intent) { in getCarrierImsPackageForIntent() argument 52 String carrierImsPackage = getCarrierImsPackage(context, phone); in getCarrierImsPackageForIntent() 74 private static String getCarrierImsPackage(Context context, Phone phone) { in getCarrierImsPackage() argument 84 PersistableBundle config = cm.getConfigForSubId(phone.getSubId()); in getCarrierImsPackage() 86 if (VDBG) Rlog.v(TAG, "No CarrierConfig for subId:" + phone.getSubId()); in getCarrierImsPackage()
|
D | GsmCdmaConnection.java | 121 public GsmCdmaConnection (GsmCdmaPhone phone, DriverCall dc, GsmCdmaCallTracker ct, int index) { in GsmCdmaConnection() argument 122 super(phone.getPhoneType()); in GsmCdmaConnection() 123 createWakeLock(phone.getContext()); in GsmCdmaConnection() 130 mIsEmergencyCall = PhoneNumberUtils.isLocalEmergencyNumber(phone.getContext(), mAddress); in GsmCdmaConnection() 143 fetchDtmfToneDelay(phone); in GsmCdmaConnection() 147 public GsmCdmaConnection (GsmCdmaPhone phone, String dialString, GsmCdmaCallTracker ct, in GsmCdmaConnection() argument 149 super(phone.getPhoneType()); in GsmCdmaConnection() 150 createWakeLock(phone.getContext()); in GsmCdmaConnection() 194 fetchDtmfToneDelay(phone); in GsmCdmaConnection() 502 GsmCdmaPhone phone = mOwner.getPhone(); in disconnectCauseFromCode() local [all …]
|
D | PhoneFactory.java | 179 Phone phone = null; in makeDefaultPhone() local 182 phone = new GsmCdmaPhone(context, in makeDefaultPhone() 187 phone = new GsmCdmaPhone(context, in makeDefaultPhone() 194 sPhones[i] = phone; in makeDefaultPhone() 268 Phone phone; in getPhone() local 277 phone = sPhone; in getPhone() 280 phone = (((phoneId >= 0) in getPhone() 286 " phone=" + phone); in getPhone() 288 return phone; in getPhone() 417 Phone phone = phones[i]; in dump() local [all …]
|
D | SmsStorageMonitor.java | 74 public SmsStorageMonitor(Phone phone) { in SmsStorageMonitor() argument 75 mPhone = phone; in SmsStorageMonitor() 76 mContext = phone.getContext(); in SmsStorageMonitor() 77 mCi = phone.mCi; in SmsStorageMonitor()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandler.java | 49 Phone phone) { in GsmInboundSmsHandler() argument 50 super("GsmInboundSmsHandler", context, storageMonitor, phone, in GsmInboundSmsHandler() 51 GsmCellBroadcastHandler.makeGsmCellBroadcastHandler(context, phone)); in GsmInboundSmsHandler() 52 phone.mCi.setOnNewGsmSms(getHandler(), EVENT_NEW_SMS, null); in GsmInboundSmsHandler() 53 mDataDownloadHandler = new UsimDataDownloadHandler(phone.mCi); in GsmInboundSmsHandler() 72 SmsStorageMonitor storageMonitor, Phone phone) { in makeInboundSmsHandler() argument 73 GsmInboundSmsHandler handler = new GsmInboundSmsHandler(context, storageMonitor, phone); in makeInboundSmsHandler() 187 protected void onUpdatePhoneObject(Phone phone) { in onUpdatePhoneObject() argument 188 super.onUpdatePhoneObject(phone); in onUpdatePhoneObject() 192 .makeGsmCellBroadcastHandler(mContext, phone); in onUpdatePhoneObject()
|
D | GsmCellBroadcastHandler.java | 44 protected GsmCellBroadcastHandler(Context context, Phone phone) { in GsmCellBroadcastHandler() argument 45 super("GsmCellBroadcastHandler", context, phone); in GsmCellBroadcastHandler() 46 phone.mCi.setOnNewGsmBroadcastSms(getHandler(), EVENT_NEW_SMS_MESSAGE, null); in GsmCellBroadcastHandler() 61 Phone phone) { in makeGsmCellBroadcastHandler() argument 62 GsmCellBroadcastHandler handler = new GsmCellBroadcastHandler(context, phone); in makeGsmCellBroadcastHandler()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUIFactory.java | 31 import com.android.systemui.statusbar.phone.KeyguardBouncer; 32 import com.android.systemui.statusbar.phone.LightBarController; 33 import com.android.systemui.statusbar.phone.LockIcon; 34 import com.android.systemui.statusbar.phone.LockscreenWallpaper; 35 import com.android.systemui.statusbar.phone.NotificationIconAreaController; 36 import com.android.systemui.statusbar.phone.StatusBar; 38 import com.android.systemui.statusbar.phone.ScrimController; 39 import com.android.systemui.statusbar.phone.StatusBarIconController; 40 import com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager;
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/ |
D | device_for_strategy_phone.pfw | 7 component: /Policy/policy/strategies/phone/selected_output_devices/mask 24 component: /Policy/policy/strategies/phone/selected_output_devices/mask 47 component: /Policy/policy/strategies/phone/selected_output_devices/mask 70 component: /Policy/policy/strategies/phone/selected_output_devices/mask 100 component: /Policy/policy/strategies/phone/selected_output_devices/mask 130 component: /Policy/policy/strategies/phone/selected_output_devices/mask 160 component: /Policy/policy/strategies/phone/selected_output_devices/mask 187 component: /Policy/policy/strategies/phone/selected_output_devices/mask 214 component: /Policy/policy/strategies/phone/selected_output_devices/mask 237 component: /Policy/policy/strategies/phone/selected_output_devices/mask [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | NavBarTuner.java | 17 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.KEY; 18 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.KEY_CODE_END; 19 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.KEY_CODE_START; 20 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.KEY_IMAGE_DELIM; 21 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.MENU_IME; 22 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.NAVSPACE; 23 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.NAV_BAR_LEFT; 24 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.NAV_BAR_RIGHT; 25 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.NAV_BAR_VIEWS; 26 import static com.android.systemui.statusbar.phone.NavigationBarInflaterView.extractButton; [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandler.java | 61 Phone phone, CdmaSMSDispatcher smsDispatcher) { in CdmaInboundSmsHandler() argument 62 super("CdmaInboundSmsHandler", context, storageMonitor, phone, in CdmaInboundSmsHandler() 63 CellBroadcastHandler.makeCellBroadcastHandler(context, phone)); in CdmaInboundSmsHandler() 66 phone.mCi); in CdmaInboundSmsHandler() 67 phone.mCi.setOnNewCdmaSms(getHandler(), EVENT_NEW_SMS, null); in CdmaInboundSmsHandler() 86 SmsStorageMonitor storageMonitor, Phone phone, CdmaSMSDispatcher smsDispatcher) { in makeInboundSmsHandler() argument 88 phone, smsDispatcher); in makeInboundSmsHandler() 205 protected void onUpdatePhoneObject(Phone phone) { in onUpdatePhoneObject() argument 206 super.onUpdatePhoneObject(phone); in onUpdatePhoneObject() 207 mCellBroadcastHandler.updatePhoneObject(phone); in onUpdatePhoneObject()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | AutoAddTracker.java | 17 import static com.android.systemui.statusbar.phone.AutoTileManager.HOTSPOT; 18 import static com.android.systemui.statusbar.phone.AutoTileManager.INVERSION; 19 import static com.android.systemui.statusbar.phone.AutoTileManager.NIGHT; 20 import static com.android.systemui.statusbar.phone.AutoTileManager.SAVER; 21 import static com.android.systemui.statusbar.phone.AutoTileManager.WORK;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneFactoryTest.java | 30 Phone phone = PhoneFactory.getDefaultPhone(); in testBeforeMakePhone() local 36 Phone phone = PhoneFactory.getPhone(0); in testBeforeMakePhone() local 42 Phone[] phone = PhoneFactory.getPhones(); in testBeforeMakePhone() local
|
/frameworks/base/telecomm/java/android/telecom/ |
D | InCallService.java | 231 public void onAudioStateChanged(Phone phone, AudioState audioState) { 235 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { 241 public void onBringToForeground(Phone phone, boolean showDialpad) { 247 public void onCallAdded(Phone phone, Call call) { 253 public void onCallRemoved(Phone phone, Call call) { 259 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { 265 public void onSilenceRinger(Phone phone) { 391 public void onPhoneCreated(Phone phone) { in onPhoneCreated() argument 406 public void onPhoneDestroyed(Phone phone) { in onPhoneDestroyed() argument
|
D | Phone.java | 49 public void onAudioStateChanged(Phone phone, AudioState audioState) { } in onAudioStateChanged() argument 57 public void onCallAudioStateChanged(Phone phone, CallAudioState callAudioState) { } in onCallAudioStateChanged() argument 67 public void onBringToForeground(Phone phone, boolean showDialpad) { } in onBringToForeground() argument 79 public void onCallAdded(Phone phone, Call call) { } in onCallAdded() argument 90 public void onCallRemoved(Phone phone, Call call) { } in onCallRemoved() argument 100 public void onCanAddCallChanged(Phone phone, boolean canAddCall) { } in onCanAddCallChanged() argument 107 public void onSilenceRinger(Phone phone) { } in onSilenceRinger() argument
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/text/ |
D | BidiFormatterSupport.java | 32 private static String phone = "+1 650 253 0000"; field in BidiFormatterSupport 40 String formattedText = String.format(text, phone); in onCreate() 46 String wrappedPhone = BidiFormatter.getInstance(true /* rtlContext */).unicodeWrap(phone); in onCreate()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellLocation.java | 40 ITelephony phone = ITelephony.Stub.asInterface(ServiceManager.getService("phone")); in requestLocationUpdate() local 41 if (phone != null) { in requestLocationUpdate() 42 phone.updateServiceLocation(); in requestLocationUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMenuActivity.java | 17 package com.android.systemui.pip.phone; 19 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_ACTIONS; 20 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_ALLOW_TIMEOUT; 21 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_CONTROLLER_MESSENGER; 22 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_WILL_RESIZE_MENU; 23 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_DISMISS_FRACTION; 24 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_MOVEMENT_BOUNDS; 25 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_MENU_STATE; 26 import static com.android.systemui.pip.phone.PipMenuActivityController.EXTRA_STACK_BOUNDS; 28 import static com.android.systemui.pip.phone.PipMenuActivityController.MENU_STATE_NONE; [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTesterDeactivateAll.java | 68 DcTesterDeactivateAll(Phone phone, DcController dcc, Handler handler) { in DcTesterDeactivateAll() argument 69 mPhone = phone; in DcTesterDeactivateAll() 81 phone.getContext().registerReceiver(sIntentReceiver, filter, null, handler); in DcTesterDeactivateAll()
|