Home
last modified time | relevance | path

Searched refs:EventHandler (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/net/http/
DErrorStrings.java46 case EventHandler.OK: in getResource()
49 case EventHandler.ERROR: in getResource()
52 case EventHandler.ERROR_LOOKUP: in getResource()
55 case EventHandler.ERROR_UNSUPPORTED_AUTH_SCHEME: in getResource()
58 case EventHandler.ERROR_AUTH: in getResource()
61 case EventHandler.ERROR_PROXYAUTH: in getResource()
64 case EventHandler.ERROR_CONNECT: in getResource()
67 case EventHandler.ERROR_IO: in getResource()
70 case EventHandler.ERROR_TIMEOUT: in getResource()
73 case EventHandler.ERROR_REDIRECT_LOOP: in getResource()
[all …]
DConnection.java161 int error = EventHandler.OK; in processRequests()
238 error = EventHandler.ERROR; in processRequests()
241 error = EventHandler.ERROR_IO; in processRequests()
244 error = EventHandler.ERROR_IO; in processRequests()
286 error = EventHandler.ERROR_IO; in processRequests()
289 error = EventHandler.ERROR_IO; in processRequests()
292 error = EventHandler.ERROR_IO; in processRequests()
352 int error = EventHandler.OK; in openHttpConnection()
372 error = EventHandler.ERROR_LOOKUP; in openHttpConnection()
376 error = EventHandler.ERROR_CONNECT; in openHttpConnection()
[all …]
DEventHandler.java30 public interface EventHandler { interface
DRequest.java55 EventHandler mEventHandler;
113 EventHandler eventHandler, in Request()
162 /* package */ EventHandler getEventHandler() { in getEventHandler()
DLoggingEventHandler.java28 public class LoggingEventHandler implements EventHandler {
DHttpConnection.java52 EventHandler eventHandler = req.getEventHandler(); in openConnection()
DRequestQueue.java298 Map<String, String> headers, EventHandler eventHandler, in queueRequest()
318 EventHandler eventHandler, in queueRequest()
372 EventHandler eventHandler, InputStream bodyProvider, in queueSynchronousRequest()
/frameworks/base/core/java/android/webkit/
DWebIconDatabase.java44 private final EventHandler mEventHandler = new EventHandler();
47 private static class EventHandler extends Handler { class in WebIconDatabase
207 Message.obtain(null, EventHandler.OPEN, db.getAbsolutePath())); in open()
216 Message.obtain(null, EventHandler.CLOSE)); in close()
224 Message.obtain(null, EventHandler.REMOVE_ALL)); in removeAllIcons()
237 Message msg = Message.obtain(null, EventHandler.REQUEST_ICON, listener); in requestIconForPageUrl()
261 Message.obtain(null, EventHandler.BULK_REQUEST_ICON, map); in bulkRequestIconForPageUrl()
273 Message.obtain(null, EventHandler.RETAIN_ICON, url)); in retainIconForPageUrl()
284 Message.obtain(null, EventHandler.RELEASE_ICON, url)); in releaseIconForPageUrl()
DFileLoader.java22 import android.net.http.EventHandler;
112 mLoadListener.error(EventHandler.FILE_ERROR, mContext in setupStreamAndSendStatus()
121 mLoadListener.error(EventHandler.FILE_ERROR, mContext in setupStreamAndSendStatus()
158 mLoadListener.error(EventHandler.FILE_ERROR, mContext in setupStreamAndSendStatus()
164 mLoadListener.error(EventHandler.FILE_ERROR, in setupStreamAndSendStatus()
175 mLoadListener.error(EventHandler.FILE_NOT_FOUND_ERROR, errString(ex)); in setupStreamAndSendStatus()
179 mLoadListener.error(EventHandler.FILE_ERROR, errString(ex)); in setupStreamAndSendStatus()
DContentLoader.java19 import android.net.http.EventHandler;
68 EventHandler.FILE_NOT_FOUND_ERROR, in setupStreamAndSendStatus()
79 mLoadListener.error(EventHandler.FILE_NOT_FOUND_ERROR, errString(ex)); in setupStreamAndSendStatus()
84 mLoadListener.error(EventHandler.FILE_ERROR, errString(ex)); in setupStreamAndSendStatus()
DFrameLoader.java20 import android.net.http.EventHandler;
120 mListener.error(EventHandler.ERROR_BAD_URL, in executeLoad()
128 mListener.error(EventHandler.ERROR_BAD_URL, in executeLoad()
147 mListener.error(EventHandler.ERROR_UNSUPPORTED_SCHEME, in executeLoad()
163 loadListener.error(EventHandler.ERROR_BAD_URL, in handleLocalFile()
255 int error = EventHandler.ERROR_UNSUPPORTED_SCHEME; in handleHTTPLoad()
261 error = EventHandler.ERROR_BAD_URL; in handleHTTPLoad()
265 error = EventHandler.ERROR_BAD_URL; in handleHTTPLoad()
322 int err = EventHandler.FILE_NOT_FOUND_ERROR; in handleCache()
DDataLoader.java19 import android.net.http.EventHandler;
68 mLoadListener.error(EventHandler.ERROR, in setupStreamAndSendStatus()
DStreamLoader.java20 import android.net.http.EventHandler;
185 mLoadListener.error(EventHandler.FILE_ERROR, ex.getMessage()); in sendData()
DWebSettings.java152 private final EventHandler mEventHandler;
289 private class EventHandler { class in WebSettings
381 mEventHandler = new EventHandler(); in WebSettings()
1670 EventHandler.PRIORITY)); in setRenderPriority()
1824 EventHandler.SET_DOUBLE_TAP_TOAST_COUNT)); in setDoubleTapToastCount()
1888 Message.obtain(null, EventHandler.SYNC)); in postSync()
DLoadListener.java27 import android.net.http.EventHandler;
50 class LoadListener extends Handler implements EventHandler {
1272 handleError(EventHandler.ERROR_REDIRECT_LOOP, mContext.getString( in doRedirect()
1346 handleError(EventHandler.ERROR_BAD_URL, in doRedirect()
1359 handleError(EventHandler.ERROR_BAD_URL, in doRedirect()
1569 handleError(EventHandler.ERROR_BAD_URL, text); in guessMimeType()
DHTML5VideoViewProxy.java24 import android.net.http.EventHandler;
376 private static final class PosterDownloader implements EventHandler {
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java64 private EventHandler mEventHandler;
113 mEventHandler = new EventHandler(looper); in SurfaceTexture()
115 mEventHandler = new EventHandler(looper); in SurfaceTexture()
219 private class EventHandler extends Handler { class in SurfaceTexture
220 public EventHandler(Looper looper) { in EventHandler() method in SurfaceTexture.EventHandler
/frameworks/base/media/java/android/media/
DSoundPool.java114 private EventHandler mEventHandler;
423 mEventHandler = new EventHandler(this, looper); in setOnLoadCompleteListener()
425 mEventHandler = new EventHandler(this, looper); in setOnLoadCompleteListener()
436 private class EventHandler extends Handler class in SoundPool
440 public EventHandler(SoundPool soundPool, Looper looper) { in EventHandler() method in SoundPool.EventHandler
DMediaRecorder.java90 private EventHandler mEventHandler;
101 mEventHandler = new EventHandler(this, looper); in MediaRecorder()
103 mEventHandler = new EventHandler(this, looper); in MediaRecorder()
853 private class EventHandler extends Handler class in MediaRecorder
857 public EventHandler(MediaRecorder mr, Looper looper) { in EventHandler() method in MediaRecorder.EventHandler
DRemoteControlClient.java240 mEventHandler = new EventHandler(this, looper); in RemoteControlClient()
242 mEventHandler = new EventHandler(this, looper); in RemoteControlClient()
267 mEventHandler = new EventHandler(this, looper); in RemoteControlClient()
677 private EventHandler mEventHandler;
687 private class EventHandler extends Handler { class in RemoteControlClient
688 public EventHandler(RemoteControlClient rcc, Looper looper) { in EventHandler() method in RemoteControlClient.EventHandler
DMediaPlayer.java539 private EventHandler mEventHandler;
555 mEventHandler = new EventHandler(this, looper); in MediaPlayer()
557 mEventHandler = new EventHandler(this, looper); in MediaPlayer()
1499 private class EventHandler extends Handler class in MediaPlayer
1503 public EventHandler(MediaPlayer mp, Looper looper) { in EventHandler() method in MediaPlayer.EventHandler
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java110 private EventHandler mEventHandler;
115 private class EventHandler extends Handler { class in DrmManagerClient
117 public EventHandler(Looper looper) { in EventHandler() method in DrmManagerClient.EventHandler
248 mEventHandler = new EventHandler(eventThread.getLooper()); in DrmManagerClient()
/frameworks/base/core/java/android/hardware/
DCamera.java144 private EventHandler mEventHandler;
295 mEventHandler = new EventHandler(this, looper); in Camera()
297 mEventHandler = new EventHandler(this, looper); in Camera()
661 private class EventHandler extends Handler class in Camera
665 public EventHandler(Camera c, Looper looper) { in EventHandler() method in Camera.EventHandler
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
DVideoEditorPreviewTest.java78 private class EventHandler extends Handler { class in VideoEditorPreviewTest
79 public EventHandler( Looper lp) in EventHandler() method in VideoEditorPreviewTest.EventHandler
92 private EventHandler mEventHandler;
109 mEventHandler = new EventHandler(looper); in VideoEditorPreviewTest()
/frameworks/base/media/libstagefright/omx/
DOMXComponentBase.cpp42 (*mCallbacks->EventHandler)( in postEvent()

12