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/policies/base/phone/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()) {
449 TelephonyManager telephonyManager = (TelephonyManager) getSystemService(TELEPHONY_SERVICE);
450 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
493 TelephonyManager telephonyManager = (TelephonyManager) getSystemService(TELEPHONY_SERVICE);
494 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 44 import android.telephony.TelephonyManager;
221 TelephonyManager telephonyManager = (TelephonyManager)app.getSystemService(
223 telephonyManager.listen(mPhoneStateListener,
    [all...]

Completed in 472 milliseconds