HomeSort by relevance Sort by last modified time
    Searched full:phonestatelistener (Results 1 - 25 of 54) sorted by null

1 2 3

  /cts/tests/tests/telephony/src/android/telephony/cts/
PhoneStateListenerTest.java 22 import android.telephony.PhoneStateListener;
31 @TestTargetClass(PhoneStateListener.class)
45 private PhoneStateListener mListener;
64 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE);
71 notes = "Test constructor(s) of {@link PhoneStateListener}",
72 method = "PhoneStateListener",
77 new PhoneStateListener();
98 mListener = new PhoneStateListener() {
107 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SERVICE_STATE);
145 mListener = new PhoneStateListener() {
    [all...]
CellLocationTest.java 27 import android.telephony.PhoneStateListener;
38 private PhoneStateListener mListener;
54 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE);
86 mListener = new PhoneStateListener() {
95 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_CELL_LOCATION);
TelephonyManagerTest.java 32 import android.telephony.PhoneStateListener;
45 private PhoneStateListener mListener;
58 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE);
66 args = {PhoneStateListener.class, int.class}
80 mListener = new PhoneStateListener() {
89 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_CELL_LOCATION);
112 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE);
115 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE);
  /frameworks/base/services/java/com/android/server/
TelephonyRegistry.java 29 import android.telephony.PhoneStateListener;
111 PhoneStateListener.LISTEN_CALL_FORWARDING_INDICATOR |
112 PhoneStateListener.LISTEN_CALL_STATE |
113 PhoneStateListener.LISTEN_DATA_ACTIVITY |
114 PhoneStateListener.LISTEN_DATA_CONNECTION_STATE |
115 PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR;
166 if ((events & PhoneStateListener.LISTEN_SERVICE_STATE) != 0) {
173 if ((events & PhoneStateListener.LISTEN_SIGNAL_STRENGTH) != 0) {
182 if ((events & PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR) != 0) {
189 if ((events & PhoneStateListener.LISTEN_CALL_FORWARDING_INDICATOR) != 0)
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/7/changes/
android.telephony.PhoneStateListener.html 10 android.telephony.PhoneStateListener
74 Class android.telephony.<A HREF="../../../../reference/android/telephony/PhoneStateListener.html" target="_top"><font size="+2"><code>PhoneStateListener</code></font></A>
86 <A NAME="android.telephony.PhoneStateListener.onDataConnectionStateChanged_added(int, int)"></A>
87 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/telephony/PhoneStateListener.html#onDataConnectionStateChanged(int, int)" target="_top"><code>onDataConnectionStateChanged</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
93 <A NAME="android.telephony.PhoneStateListener.onSignalStrengthsChanged_added(android.telephony.SignalStrength)"></A>
94 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/telephony/PhoneStateListener.html#onSignalStrengthsChanged(android.telephony.SignalStrength)" target="_top"><code>onSignalStrengthsChanged</code></A>(<code>SignalStrength</code>)</nobr>
109 <A NAME="android.telephony.PhoneStateListener.LISTEN_SIGNAL_STRENGTHS"></A>
110 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/telephony/PhoneStateListener.html#LISTEN_SIGNAL_STRENGTHS" target="_top"><code>LISTEN_SIGNAL_STRENGTHS</code></A></nobr>
124 <A NAME="android.telephony.PhoneStateListener.LISTEN_SIGNAL_STRENGTH"></A
    [all...]
pkg_android.telephony.html 106 <A NAME="PhoneStateListener"></A>
107 <nobr><A HREF="android.telephony.PhoneStateListener.html">PhoneStateListener</A></nobr>
fields_index_changes.html 64 <nobr><A HREF="android.telephony.PhoneStateListener.html#android.telephony.PhoneStateListener.LISTEN_SIGNAL_STRENGTH" class="hiddenlink" target="rightframe">LISTEN_SIGNAL_STRENGTH</A>
fields_index_all.html 142 <nobr><A HREF="android.telephony.PhoneStateListener.html#android.telephony.PhoneStateListener.LISTEN_SIGNAL_STRENGTH" class="hiddenlink" target="rightframe">LISTEN_SIGNAL_STRENGTH</A>
144 <nobr><A HREF="android.telephony.PhoneStateListener.html#android.telephony.PhoneStateListener.LISTEN_SIGNAL_STRENGTHS" class="hiddenlink" target="rightframe">LISTEN_SIGNAL_STRENGTHS</A>
  /frameworks/base/telephony/java/android/telephony/
PhoneStateListener.java 36 * pass your PhoneStateListener object, along with bitwise-or of the LISTEN_
45 public class PhoneStateListener {
159 public PhoneStateListener() {
333 PhoneStateListener.this.onServiceStateChanged((ServiceState)msg.obj);
336 PhoneStateListener.this.onSignalStrengthChanged(msg.arg1);
339 PhoneStateListener.this.onMessageWaitingIndicatorChanged(msg.arg1 != 0);
342 PhoneStateListener.this.onCallForwardingIndicatorChanged(msg.arg1 != 0);
345 PhoneStateListener.this.onCellLocationChanged((CellLocation)msg.obj);
348 PhoneStateListener.this.onCallStateChanged(msg.arg1, (String)msg.obj);
351 PhoneStateListener.this.onDataConnectionStateChanged(msg.arg1, msg.arg2)
    [all...]
CellLocation.java 39 * PhoneStateListener#LISTEN_CELL_LOCATION}.
TelephonyManager.java 227 * Enables location update notifications. {@link PhoneStateListener#onCellLocationChanged
228 * PhoneStateListener.onCellLocationChanged} will be called on location updates.
244 * Disables location update notifications. {@link PhoneStateListener#onCellLocationChanged
245 * PhoneStateListener.onCellLocationChanged} will be called on location updates.
    [all...]
  /packages/apps/Phone/src/com/android/phone/
OtaStartupReceiver.java 28 import android.telephony.PhoneStateListener;
50 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
84 if (DBG) Log.d(TAG, "Register our PhoneStateListener");
87 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_OTASP_CHANGED);
90 if (DBG) Log.d(TAG, "PhoneStateListener already registered");
  /frameworks/base/docs/html/sdk/api_diff/5/changes/
android.telephony.PhoneStateListener.html 10 android.telephony.PhoneStateListener
74 Class android.telephony.<A HREF="../../../../reference/android/telephony/PhoneStateListener.html" target="_top"><font size="+2"><code>PhoneStateListener</code></font></A>
86 <A NAME="android.telephony.PhoneStateListener.onSignalStrengthChanged_changed(int)"></A>
87 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/telephony/PhoneStateListener.html#onSignalStrengthChanged(int)" target="_top"><code>onSignalStrengthChanged</code></A>(<code>int</code>) </nobr>
pkg_android.telephony.html 98 <A NAME="PhoneStateListener"></A>
99 <nobr><A HREF="android.telephony.PhoneStateListener.html">PhoneStateListener</A></nobr>
  /cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java 29 import android.telephony.PhoneStateListener;
67 PhoneStateListener phoneStateListener = new PhoneStateListener();
69 telephonyManager.listen(phoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION);
  /frameworks/base/services/java/com/android/server/location/
ComprehensiveCountryDetector.java 24 import android.telephony.PhoneStateListener;
76 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
361 mPhoneStateListener = new PhoneStateListener() {
375 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE);
381 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
Status.java 37 import android.telephony.PhoneStateListener;
166 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
274 PhoneStateListener.LISTEN_DATA_CONNECTION_STATE);
286 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
382 // TODO PhoneStateIntentReceiver is deprecated and PhoneStateListener
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmKlaxon.java 35 import android.telephony.PhoneStateListener;
72 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
94 mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerService.java 38 import android.telephony.PhoneStateListener;
147 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION);
162 PhoneStateListener.LISTEN_SIGNAL_STRENGTHS);
344 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
  /frameworks/base/docs/html/sdk/api_diff/7/
missingSinces.txt 37 NO DOC BLOCK: android.telephony.PhoneStateListener Method onDataConnectionStateChanged(int, int)
44 NO DOC BLOCK: android.telephony.PhoneStateListener Method onSignalStrengthsChanged(android.telephony.SignalStrength)
79 NO DOC BLOCK: android.telephony.PhoneStateListener Field LISTEN_SIGNAL_STRENGTHS
user_comments_for_6_to_7.xml 355 <identifier id="android.telephony.PhoneStateListener"/>
361 <identifier id="android.telephony.PhoneStateListener.LISTEN_SIGNAL_STRENGTH"/>
367 <identifier id="android.telephony.PhoneStateListener.LISTEN_SIGNAL_STRENGTHS"/>
373 <identifier id="android.telephony.PhoneStateListener.onDataConnectionStateChanged_added(int, int)"/>
379 <identifier id="android.telephony.PhoneStateListener.onSignalStrengthsChanged_added(android.telephony.SignalStrength)"/>
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertAudio.java 32 import android.telephony.PhoneStateListener;
129 private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
191 mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
  /packages/apps/Settings/src/com/android/settings/
RadioInfo.java 37 import android.telephony.PhoneStateListener;
143 private PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
349 PhoneStateListener.LISTEN_DATA_CONNECTION_STATE
350 | PhoneStateListener.LISTEN_DATA_ACTIVITY
351 | PhoneStateListener.LISTEN_CELL_LOCATION
352 | PhoneStateListener.LISTEN_MESSAGE_WAITING_INDICATOR
353 | PhoneStateListener.LISTEN_CALL_FORWARDING_INDICATOR);
363 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
425 // TODO PhoneStateIntentReceiver is deprecated and PhoneStateListener
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
GlobalActions.java 31 import android.telephony.PhoneStateListener;
92 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE);
534 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
NetworkController.java 42 import android.telephony.PhoneStateListener;
165 PhoneStateListener.LISTEN_SERVICE_STATE
166 | PhoneStateListener.LISTEN_SIGNAL_STRENGTHS
167 | PhoneStateListener.LISTEN_CALL_STATE
168 | PhoneStateListener.LISTEN_DATA_CONNECTION_STATE
169 | PhoneStateListener.LISTEN_DATA_ACTIVITY);
288 PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
    [all...]

Completed in 1290 milliseconds

1 2 3