Home
last modified time | relevance | path

Searched refs:Handler (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/frameworks/base/telephony/java/com/android/internal/telephony/
DCommandsInterface.java22 import android.os.Handler;
165 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged()
166 void unregisterForRadioStateChanged(Handler h); in unregisterForRadioStateChanged()
174 void registerForOn(Handler h, int what, Object obj); in registerForOn()
175 void unregisterForOn(Handler h); in unregisterForOn()
183 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable()
184 void unregisterForAvailable(Handler h); in unregisterForAvailable()
192 void registerForNotAvailable(Handler h, int what, Object obj); in registerForNotAvailable()
193 void unregisterForNotAvailable(Handler h); in unregisterForNotAvailable()
201 void registerForOffOrNotAvailable(Handler h, int what, Object obj); in registerForOffOrNotAvailable()
[all …]
DBaseCommands.java23 import android.os.Handler;
106 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged()
115 public void unregisterForRadioStateChanged(Handler h) { in unregisterForRadioStateChanged()
121 public void registerForOn(Handler h, int what, Object obj) { in registerForOn()
132 public void unregisterForOn(Handler h) { in unregisterForOn()
139 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable()
151 public void unregisterForAvailable(Handler h) { in unregisterForAvailable()
157 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable()
169 public void unregisterForNotAvailable(Handler h) { in unregisterForNotAvailable()
175 public void registerForOffOrNotAvailable(Handler h, int what, Object obj) { in registerForOffOrNotAvailable()
[all …]
DPhone.java21 import android.os.Handler;
331 void registerForUnknownConnection(Handler h, int what, Object obj); in registerForUnknownConnection()
336 void unregisterForUnknownConnection(Handler h); in unregisterForUnknownConnection()
347 void registerForPreciseCallStateChanged(Handler h, int what, Object obj); in registerForPreciseCallStateChanged()
353 void unregisterForPreciseCallStateChanged(Handler h); in unregisterForPreciseCallStateChanged()
368 void registerForNewRingingConnection(Handler h, int what, Object obj); in registerForNewRingingConnection()
375 void unregisterForNewRingingConnection(Handler h); in unregisterForNewRingingConnection()
385 void registerForIncomingRing(Handler h, int what, Object obj); in registerForIncomingRing()
392 void unregisterForIncomingRing(Handler h); in unregisterForIncomingRing()
403 void registerForRingbackTone(Handler h, int what, Object obj); in registerForRingbackTone()
[all …]
DPhoneBase.java26 import android.os.Handler;
57 public abstract class PhoneBase extends Handler implements Phone {
300 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged()
307 public void unregisterForPreciseCallStateChanged(Handler h) { in unregisterForPreciseCallStateChanged()
321 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection()
328 public void unregisterForUnknownConnection(Handler h) { in unregisterForUnknownConnection()
334 Handler h, int what, Object obj) { in registerForNewRingingConnection()
341 public void unregisterForNewRingingConnection(Handler h) { in unregisterForNewRingingConnection()
346 public void registerForInCallVoicePrivacyOn(Handler h, int what, Object obj){ in registerForInCallVoicePrivacyOn()
351 public void unregisterForInCallVoicePrivacyOn(Handler h){ in unregisterForInCallVoicePrivacyOn()
[all …]
DPhoneProxy.java24 import android.os.Handler;
42 public class PhoneProxy extends Handler implements Phone {
218 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection()
222 public void unregisterForUnknownConnection(Handler h) { in unregisterForUnknownConnection()
226 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged()
230 public void unregisterForPreciseCallStateChanged(Handler h) { in unregisterForPreciseCallStateChanged()
234 public void registerForNewRingingConnection(Handler h, int what, Object obj) { in registerForNewRingingConnection()
238 public void unregisterForNewRingingConnection(Handler h) { in unregisterForNewRingingConnection()
242 public void registerForIncomingRing(Handler h, int what, Object obj) { in registerForIncomingRing()
246 public void unregisterForIncomingRing(Handler h) { in unregisterForIncomingRing()
[all …]
DCallManager.java24 import android.os.Handler;
1031 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect()
1039 public void unregisterForDisconnect(Handler h){ in unregisterForDisconnect()
1052 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged()
1060 public void unregisterForPreciseCallStateChanged(Handler h){ in unregisterForPreciseCallStateChanged()
1068 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection()
1075 public void unregisterForUnknownConnection(Handler h){ in unregisterForUnknownConnection()
1092 public void registerForNewRingingConnection(Handler h, int what, Object obj){ in registerForNewRingingConnection()
1101 public void unregisterForNewRingingConnection(Handler h){ in unregisterForNewRingingConnection()
1113 public void registerForIncomingRing(Handler h, int what, Object obj){ in registerForIncomingRing()
[all …]
DServiceStateTracker.java20 import android.os.Handler;
30 public abstract class ServiceStateTracker extends Handler {
175 public void registerForRoamingOn(Handler h, int what, Object obj) { in registerForRoamingOn()
184 public void unregisterForRoamingOn(Handler h) { in unregisterForRoamingOn()
196 public void registerForRoamingOff(Handler h, int what, Object obj) { in registerForRoamingOff()
205 public void unregisterForRoamingOff(Handler h) { in unregisterForRoamingOff()
/frameworks/base/core/java/android/os/
DBroadcaster.java32 public void request(int senderWhat, Handler target, int targetWhat) in request()
39 r.targets = new Handler[1]; in request()
62 reg.targets = new Handler[1]; in request()
77 Handler[] oldTargets = r.targets; in request()
85 r.targets = new Handler[n+1]; in request()
99 public void cancelRequest(int senderWhat, Handler target, int targetWhat) in cancelRequest()
117 Handler[] targets = r.targets; in cancelRequest()
122 r.targets = new Handler[oldLen-1]; in cancelRequest()
188 Handler[] targets = r.targets; in broadcast()
192 Handler target = targets[i]; in broadcast()
[all …]
DRegistrant.java19 import android.os.Handler;
29 Registrant(Handler h, int what, Object obj) in Registrant()
73 Handler h = getHandler(); in internalNotifyRegistrant()
95 Handler h = getHandler(); in messageForRegistrant()
111 public Handler
117 return (Handler) refH.get(); in getHandler()
DRegistrantList.java19 import android.os.Handler;
31 add(Handler h, int what, Object obj) in add()
37 addUnique(Handler h, int what, Object obj) in addUnique()
110 remove(Handler h) in remove()
114 Handler rh; in remove()
DMessage.java81 /*package*/ Handler target;
137 public static Message obtain(Handler h) { in obtain()
151 public static Message obtain(Handler h, Runnable callback) { in obtain()
166 public static Message obtain(Handler h, int what) { in obtain()
182 public static Message obtain(Handler h, int what, Object obj) { in obtain()
201 public static Message obtain(Handler h, int what, int arg1, int arg2) { in obtain()
222 public static Message obtain(Handler h, int what, in obtain()
276 public void setTarget(Handler target) { in setTarget()
288 public Handler getTarget() { in getTarget()
DHandler.java64 public class Handler { class
109 public Handler() { in Handler() method in Handler
111 final Class<? extends Handler> klass = getClass(); in Handler()
133 public Handler(Callback callback) { in Handler() method in Handler
135 final Class<? extends Handler> klass = getClass(); in Handler()
155 public Handler(Looper looper) { in Handler() method in Handler
165 public Handler(Looper looper, Callback callback) { in Handler() method in Handler
569 Handler.this.sendMessage(msg); in send()
/frameworks/base/core/tests/coretests/src/android/os/
DBroadcasterTest.java20 import android.os.Handler;
38 Handler h; in test1()
69 Handler mHandlers[];
74 mHandlers = new Handler[N]; in go()
134 Handler h1; in test4()
135 Handler h2; in test4()
169 Handler h1; in test5()
170 Handler h2; in test5()
204 Handler h1; in test6()
205 Handler h2; in test6()
DMessengerService.java23 import android.os.Handler;
28 private final Handler mHandler = new Handler() {
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DRequestFocus.java23 import android.os.Handler;
32 protected final Handler mHandler = new Handler();
44 public Handler getHandler() { in getHandler()
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java25 import android.os.Handler;
44 private HashMap<Handler, Integer> mHandlers = new HashMap<Handler, Integer>();
98 Iterator<Handler> it = mHandlers.keySet().iterator(); in onReceive()
100 Handler target = it.next(); in onReceive()
169 public void registerHandler(Handler target, int what) { in registerHandler()
177 public void unregisterHandler(Handler target) { in unregisterHandler()
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMTestHandler.java21 import android.os.Handler;
34 public class GSMTestHandler extends HandlerThread implements Handler.Callback {
36 private Handler mHandler;
56 mHandler = new Handler(getLooper(), this); in onLooperPrepared()
83 public Handler getHandler() { in getHandler()
/frameworks/base/core/java/android/accounts/
DAccountManager.java26 import android.os.Handler;
218 private final Handler mMainHandler;
236 mMainHandler = new Handler(mContext.getMainLooper()); in AccountManager()
242 public AccountManager(Context context, IAccountManager service, Handler handler) { in AccountManager()
423 AccountManagerCallback<Boolean> callback, Handler handler) { in hasFeatures()
468 AccountManagerCallback<Account[]> callback, Handler handler) {
536 AccountManagerCallback<Boolean> callback, Handler handler) {
808 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
890 AccountManagerCallback<Bundle> callback, Handler handler) {
952 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) {
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DRemoteSubActivityScreen.java22 import android.os.Handler;
27 Handler mHandler = new Handler();
DTestedActivity.java20 import android.os.Handler;
58 private Handler mHandler = new Handler() {
/frameworks/base/services/java/com/android/server/am/
DFactoryErrorDialog.java20 import android.os.Handler;
37 private final Handler mHandler = new Handler() {
/frameworks/base/services/java/com/android/server/
DShutdownActivity.java23 import android.os.Handler;
39 Handler h = new Handler(); in onCreate()
/frameworks/base/core/java/android/bluetooth/
DBluetoothServerSocket.java19 import android.os.Handler;
63 private Handler mHandler;
124 /*package*/ synchronized void setCloseHandler(Handler handler, int message) { in setCloseHandler()
/frameworks/base/core/java/android/widget/
DDigitalClock.java22 import android.os.Handler;
45 private Handler mHandler;
79 mHandler = new Handler(); in onAttachedToWindow()
121 super(new Handler()); in FormatChangeObserver()
/frameworks/base/core/java/android/webkit/
DStreamLoader.java22 import android.os.Handler;
46 abstract class StreamLoader implements Handler.Callback {
60 private Handler mHandler;
100 mHandler = new Handler(this); in load()

12345678910>>...13