/frameworks/base/core/java/android/webkit/ |
D | UrlInterceptRegistry.java | 84 UrlInterceptHandler handler) { in registerHandler() argument 85 if (!getHandlers().contains(handler)) { in registerHandler() 86 getHandlers().addFirst(handler); in registerHandler() 104 UrlInterceptHandler handler) { in unregisterHandler() argument 105 return getHandlers().remove(handler); in unregisterHandler() 125 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next(); in getSurrogate() local 126 CacheResult result = handler.service(url, headers); in getSurrogate() 152 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next(); in getPluginData() local 153 PluginData data = handler.getPluginData(url, headers); in getPluginData()
|
D | WebViewClient.java | 179 public void onReceivedSslError(WebView view, SslErrorHandler handler, in onReceivedSslError() argument 181 handler.cancel(); in onReceivedSslError() 195 HttpAuthHandler handler, String host, String realm) { in onReceivedHttpAuthRequest() argument 196 handler.cancel(); in onReceivedHttpAuthRequest()
|
D | Plugin.java | 147 public void setClickHandler(PreferencesClickHandler handler) { in setClickHandler() argument 148 mHandler = handler; in setClickHandler()
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManager.java | 129 public AccountManager(Context context, IAccountManager service, Handler handler) { in AccountManager() argument 132 mMainHandler = handler; in AccountManager() 277 AccountManagerCallback<Boolean> callback, Handler handler) { in removeAccount() argument 278 return new Future2Task<Boolean>(handler, callback) { in removeAccount() 501 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) { 504 return new AmsTask(activity, handler, callback) { 557 AccountManagerCallback<Bundle> callback, Handler handler) { 560 return new AmsTask(null, handler, callback) { 609 final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) { 610 return new AmsTask(activity, handler, callback) { [all …]
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
D | ReliabilityTestActivity.java | 55 private Handler handler; field in ReliabilityTestActivity 91 handler = new Handler() { in onCreate() 134 handler.sendMessageDelayed(handler.obtainMessage(MSG_TIMEOUT), in navigate() 165 handler.postDelayed(pageDoneRunner, manualDelay); in handleTimeout() 183 return handler; in getHandler() 208 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { in onReceivedSslError() argument 211 handler.proceed(); in onReceivedSslError() 215 public void onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, in onReceivedHttpAuthRequest() argument 218 handler.cancel(); in onReceivedHttpAuthRequest() 232 handler.postDelayed(new WebViewStatusChecker(), 500); in onPageFinished() [all …]
|
D | ReliabilityTest.java | 71 Handler handler = null; in runReliabilityTest() local 91 handler = activity.getHandler(); in runReliabilityTest() 92 Message msg = handler.obtainMessage( in runReliabilityTest() 98 handler.sendMessage(msg); in runReliabilityTest()
|
/frameworks/base/tools/localize/ |
D | XMLHandler.cpp | 471 list_contains(const vector<XMLHandler*>& stack, XMLHandler* handler) in list_contains() argument 475 if (stack[i] == handler) { in list_contains() 487 XMLHandler* handler = data->stack[data->stack.size()-1]; in start_element_handler() local 492 XMLHandler* next = handler; in start_element_handler() 498 handler->OnStartElement(pos, nsString, nameString, attributes, &next); in start_element_handler() 501 next = handler; in start_element_handler() 504 if (next != handler) { in start_element_handler() 519 XMLHandler* handler = data->stack[data->stack.size()-1]; in end_element_handler() local 524 if (!list_contains(data->stack, handler)) { in end_element_handler() 525 handler->OnDone(pos); in end_element_handler() [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | AtParser.java | 119 public void register(Character command, AtCommandHandler handler) { in register() argument 120 mBasicHandlers.put(command, handler); in register() 135 public void register(String command, AtCommandHandler handler) { in register() argument 136 mExtHandlers.put(command, handler); in register() 310 AtCommandHandler handler = mExtHandlers.get(commandName); in process() local 342 result.addResult(handler.handleActionCommand()); in process() 345 result.addResult(handler.handleReadCommand()); in process() 348 result.addResult(handler.handleTestCommand()); in process() 353 result.addResult(handler.handleSetCommand(args)); in process()
|
D | HeadsetBase.java | 94 int socketFd, int rfcommChannel, Handler handler) { in HeadsetBase() argument 101 mEventThreadHandler = handler; in HeadsetBase() 198 public boolean connect(Handler handler) { in connect() argument 201 mEventThreadHandler = handler; in connect() 228 public int waitForAsyncConnect(int timeout_ms, Handler handler) { in waitForAsyncConnect() argument 231 mEventThreadHandler = handler; in waitForAsyncConnect()
|
D | BluetoothServerSocket.java | 124 /*package*/ synchronized void setCloseHandler(Handler handler, int message) { in setCloseHandler() argument 125 mHandler = handler; in setCloseHandler()
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
D | PowerTestActivity.java | 32 private Handler handler; field in PowerTestActivity 71 handler = new Handler() { in onCreate() 114 handler.sendMessageDelayed(handler.obtainMessage(MSG_TIMEOUT), in navigate() 145 handler.postDelayed(pageDoneRunner, manualDelay); in handleTimeout() 163 return handler; in getHandler() 205 handler.postDelayed(new WebViewStatusChecker(), 500); in onPageFinished() 238 handler.removeMessages(MSG_TIMEOUT); in run() 240 handler.postDelayed(pageDoneRunner, manualDelay); in run()
|
D | PowerMeasurement.java | 35 Handler handler = activity.getHandler(); in testPageLoadStaticNYTimes() local 36 Message msg = handler.obtainMessage( in testPageLoadStaticNYTimes() 41 handler.sendMessage(msg); in testPageLoadStaticNYTimes()
|
/frameworks/base/cmds/runtime/ |
D | SignalHandler.cpp | 83 if (ch.handler) { in processCommand() 84 ch.handler(entry.info.si_pid, ch.userData); in processCommand() 102 child_callback_t handler, in setChildHandler() argument 123 if (handler) { in setChildHandler() 124 handler(childPid, userData); in setChildHandler() 134 entry.handler = handler; in setChildHandler() 140 childPid, tag, handler, userData); in setChildHandler()
|
D | SignalHandler.h | 48 child_callback_t handler = NULL, 78 child_callback_t handler; member
|
/frameworks/base/obex/javax/obex/ |
D | SessionNotifier.java | 87 ObexSession acceptAndOpen(ServerRequestHandler handler) throws IOException; in acceptAndOpen() argument 127 ObexSession acceptAndOpen(ServerRequestHandler handler, Authenticator auth) throws IOException; in acceptAndOpen() argument
|
/frameworks/base/tools/preload/ |
D | sorttable.js | 375 function dean_addEvent(element, type, handler) { argument 377 element.addEventListener(type, handler, false); 380 if (!handler.$$guid) handler.$$guid = dean_addEvent.guid++; 393 handlers[handler.$$guid] = handler; 401 function removeEvent(element, type, handler) { argument 403 element.removeEventListener(type, handler, false); 407 delete element.events[type][handler.$$guid];
|
/frameworks/base/core/java/android/view/ |
D | GestureDetector.java | 245 GestureHandler(Handler handler) { in GestureHandler() argument 246 super(handler.getLooper()); in GestureHandler() 289 public GestureDetector(OnGestureListener listener, Handler handler) { in GestureDetector() argument 290 this(null, listener, handler); in GestureDetector() 338 public GestureDetector(Context context, OnGestureListener listener, Handler handler) { in GestureDetector() argument 339 if (handler != null) { in GestureDetector() 340 mHandler = new GestureHandler(handler); in GestureDetector()
|
/frameworks/base/core/java/android/content/ |
D | AsyncQueryHandler.java | 51 public Handler handler; field in AsyncQueryHandler.WorkerArgs 124 Message reply = args.handler.obtainMessage(token); in handleMessage() 185 args.handler = this; in startQuery() 225 args.handler = this; in startQueryEntities() 266 args.handler = this; in startInsert() 292 args.handler = this; in startUpdate() 320 args.handler = this; in startDelete()
|
D | IntentSender.java | 110 FinishedDispatcher(IntentSender pi, OnFinished who, Handler handler) { in FinishedDispatcher() argument 113 mHandler = handler; in FinishedDispatcher() 155 OnFinished onFinished, Handler handler) throws SendIntentException { in sendIntent() argument 162 ? new FinishedDispatcher(this, onFinished, handler) in sendIntent()
|
/frameworks/base/core/java/android/app/ |
D | PendingIntent.java | 144 FinishedDispatcher(PendingIntent pi, OnFinished who, Handler handler) { in FinishedDispatcher() argument 147 mHandler = handler; in FinishedDispatcher() 359 public void send(int code, OnFinished onFinished, Handler handler) in send() argument 361 send(null, code, null, onFinished, handler); in send() 395 OnFinished onFinished, Handler handler) throws CanceledException { in send() argument 402 ? new FinishedDispatcher(this, onFinished, handler) in send()
|
/frameworks/base/core/java/android/os/ |
D | MessageQueue.java | 66 public final void addIdleHandler(IdleHandler handler) { in addIdleHandler() argument 67 if (handler == null) { in addIdleHandler() 71 mIdleHandlers.add(handler); in addIdleHandler() 82 public final void removeIdleHandler(IdleHandler handler) { in removeIdleHandler() argument 84 mIdleHandlers.remove(handler); in removeIdleHandler()
|
D | ResultReceiver.java | 62 public ResultReceiver(Handler handler) { in ResultReceiver() argument 64 mHandler = handler; in ResultReceiver()
|
/frameworks/base/core/java/android/database/ |
D | ContentObserver.java | 79 public ContentObserver(Handler handler) { in ContentObserver() argument 80 mHandler = handler; in ContentObserver()
|
/frameworks/base/media/java/android/media/ |
D | AudioService.java | 920 private static void sendMsg(Handler handler, int baseMsg, int streamType, in sendMsg() argument 925 handler.removeMessages(msg); in sendMsg() 926 } else if (existingMsgPolicy == SENDMSG_NOOP && handler.hasMessages(msg)) { in sendMsg() 930 handler in sendMsg() 931 .sendMessageDelayed(handler.obtainMessage(msg, arg1, arg2, obj), delay); in sendMsg() 1018 VolumeDeathHandler handler = getDeathHandler(cb, state); in mute() local 1019 if (handler == null) { in mute() 1023 handler.mute(state); in mute() 1114 VolumeDeathHandler handler; in getDeathHandler() local 1117 handler = mDeathHandlers.get(i); in getDeathHandler() [all …]
|
/frameworks/policies/base/mid/com/android/internal/policy/impl/ |
D | ShortcutManager.java | 51 public ShortcutManager(Context context, Handler handler) { in ShortcutManager() argument 52 super(handler); in ShortcutManager()
|