HomeSort by relevance Sort by last modified time
    Searched refs:telephonyManager (Results 1 - 5 of 5) sorted by null

  /cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java 30 import android.telephony.TelephonyManager;
65 TelephonyManager telephonyManager = (TelephonyManager) getContext().getSystemService(
69 telephonyManager.listen(phoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION);
70 fail("TelephonyManager.listen(LISTEN_CELL_LOCATION) did not" +
77 telephonyManager.getCellLocation();
78 fail("TelephonyManager.getCellLocation did not throw SecurityException as expected");
  /frameworks/base/policy/src/com/android/internal/policy/impl/
GlobalActions.java 34 import android.telephony.TelephonyManager;
93 TelephonyManager telephonyManager =
94 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
95 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE);
  /packages/apps/Contacts/src/com/android/contacts/
TwelveKeyDialer.java 48 import android.telephony.TelephonyManager;
150 if ((state == TelephonyManager.CALL_STATE_IDLE) && dialpadChooserVisible()) {
460 TelephonyManager telephonyManager = (TelephonyManager) getSystemService(TELEPHONY_SERVICE);
461 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
504 TelephonyManager telephonyManager = (TelephonyManager) getSystemService(TELEPHONY_SERVICE);
505 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE)
    [all...]
  /frameworks/base/core/java/android/accounts/
AccountManagerService.java 51 import android.telephony.TelephonyManager;
    [all...]
  /packages/apps/Phone/src/com/android/phone/
CallNotifier.java 47 import android.telephony.TelephonyManager;
204 TelephonyManager telephonyManager = (TelephonyManager)app.getSystemService(
206 telephonyManager.listen(mPhoneStateListener,
    [all...]

Completed in 114 milliseconds