HomeSort by relevance Sort by last modified time
    Searched refs:mPhoneStateListener (Results 1 - 25 of 27) sorted by null

1 2

  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetPhoneState.java 73 private PhoneStateListener mPhoneStateListener = null;
125 mPhoneStateListener = getPhoneStateListener(subId);
127 mTelephonyManager.listen(mPhoneStateListener,
138 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
234 PhoneStateListener mPhoneStateListener = new PhoneStateListener(subId) {
348 return mPhoneStateListener;
  /frameworks/base/services/core/java/com/android/server/location/
ComprehensiveCountryDetector.java 81 private PhoneStateListener mPhoneStateListener;
436 if (mPhoneStateListener == null) {
437 mPhoneStateListener = new PhoneStateListener() {
451 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE);
456 if (mPhoneStateListener != null) {
457 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
458 mPhoneStateListener = null;
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
NetworkControllerBaseTest.java 61 protected PhoneStateListener mPhoneStateListener;
116 mPhoneStateListener = mMobileSignalController.mPhoneStateListener;
236 mPhoneStateListener.onSignalStrengthsChanged(mSignalStrength);
241 mPhoneStateListener.onServiceStateChanged(mServiceState);
246 mPhoneStateListener.onCallStateChanged(state, "0123456789");
251 mPhoneStateListener.onDataConnectionStateChanged(dataState, dataNetType);
255 mPhoneStateListener.onDataActivity(dataActivity);
260 mPhoneStateListener.onCarrierNetworkChange(enable);
  /packages/services/Telephony/src/com/android/phone/settings/
AccessibilitySettingsFragment.java 49 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
110 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
118 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
  /packages/apps/Settings/src/com/android/settings/sim/
SimSettings.java 76 private PhoneStateListener[] mPhoneStateListener = new PhoneStateListener[mPhoneCount];
232 if (mPhoneStateListener[i] != null) {
233 tm.listen(mPhoneStateListener[i], PhoneStateListener.LISTEN_NONE);
234 mPhoneStateListener[i] = null;
245 mPhoneStateListener[phoneId] = new PhoneStateListener(subId) {
253 return mPhoneStateListener[phoneId];
  /frameworks/base/services/core/java/com/android/server/connectivity/
DataConnectionStats.java 56 phone.listen(mPhoneStateListener,
131 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
  /packages/services/Telephony/src/com/android/phone/
OtaStartupReceiver.java 53 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
124 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_OTASP_CHANGED);
CallFeaturesSetting.java 189 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
204 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
220 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
302 /* tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); */
MobileNetworkSettings.java 138 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
508 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
511 // NOTE: Buttons will be enabled/disabled in mPhoneStateListener
    [all...]
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerService.java 147 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION);
161 mTelephonyManager.listen(mPhoneStateListener,
252 mTelephonyManager.listen(mPhoneStateListener, 0);
344 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcController.java 75 private PhoneStateListener mPhoneStateListener;
100 mPhoneStateListener = new PhoneStateListener(handler.getLooper()) {
109 mTelephonyManager.listen(mPhoneStateListener,
122 if(mTelephonyManager != null) mTelephonyManager.listen(mPhoneStateListener, 0);
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmService.java 105 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
131 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
146 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
  /packages/apps/Messaging/src/com/android/messaging/util/
ConnectivityUtil.java 59 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
95 mTelephonyManager.listen(mPhoneStateListener,
108 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
137 // We use a separate instance than mPhoneStateListener because the lifetimes are different.
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
SimStatus.java 120 private PhoneStateListener mPhoneStateListener;
212 mTelephonyManager.listen(mPhoneStateListener,
233 mTelephonyManager.listen(mPhoneStateListener,
429 mPhoneStateListener = new PhoneStateListener(mSir.getSubscriptionId()) {
457 mTelephonyManager.listen(mPhoneStateListener,
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertAudio.java 172 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
257 mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
265 mTelephonyManager.listen(mPhoneStateListener, 0);
  /frameworks/base/location/java/com/android/internal/location/
GpsNetInitiatedHandler.java 98 private final PhoneStateListener mPhoneStateListener;
155 be set to false by mPhoneStateListener when the emergency call ends.
194 mPhoneStateListener = new PhoneStateListener() {
204 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
  /packages/apps/Settings/src/com/android/settings/
WifiCallingSettings.java 78 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
239 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
246 // NOTE: Buttons will be enabled/disabled in mPhoneStateListener
272 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
RadioInfo.java 220 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
468 mTelephonyManager.listen(mPhoneStateListener,
491 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
MobileSignalController.java 53 final PhoneStateListener mPhoneStateListener;
84 mPhoneStateListener = new MobilePhoneStateListener(info.getSubscriptionId(),
140 mPhone.listen(mPhoneStateListener,
153 mPhone.listen(mPhoneStateListener, 0);
UserSwitcherController.java 434 TelephonyManager.from(mContext).listen(mPhoneStateListener,
438 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
    [all...]
  /frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
SoundTriggerHelper.java 84 private final PhoneStateListener mPhoneStateListener;
116 mPhoneStateListener = new MyCallStateListener();
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
TelecomAccountRegistry.java 466 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
628 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE);
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/
InCallPresenter.java 176 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
353 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
374 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
    [all...]
  /frameworks/base/services/core/java/com/android/server/policy/
GlobalActions.java 153 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE);
    [all...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 

Completed in 1003 milliseconds

1 2