/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | HandlerTest.java | 3 import android.os.Handler; 30 private Handler.Callback callback = new Handler.Callback() { 49 Handler handler1 = new Handler(looper); in testInsertsRunnablesBasedOnLooper() 52 Handler handler2 = new Handler(looper); in testInsertsRunnablesBasedOnLooper() 62 Handler handler1 = new Handler(); in testDefaultConstructorUsesDefaultLooper() 65 Handler handler2 = new Handler(Looper.myLooper()); in testDefaultConstructorUsesDefaultLooper() 81 Handler handler1 = new Handler(looper1); in testDifferentLoopersGetDifferentQueues() 84 Handler handler2 = new Handler(looper2); in testDifferentLoopersGetDifferentQueues() 94 Handler handler = new Handler(callback); in shouldCallProvidedHandlerCallback() 101 new Handler().post(scratchRunnable); in testPostAndIdleMainLooper() [all …]
|
D | MessageTest.java | 11 import android.os.Handler; 44 Handler h = new Handler(); in testGetTarget() 58 m.setTarget(new Handler()); in testCopyFrom() 78 Handler h = new Handler(); in testObtainWithHandler() 85 Handler h = new Handler(); in testObtainWithHandlerAndWhat() 96 Handler h = new Handler(); in testObtainWithHandlerWhatAndObject() 109 Handler h = new Handler(); in testObtainWithHandlerWhatAndTwoArgs() 123 Handler h = new Handler(); in testObtainWithHandlerWhatTwoArgsAndObj() 146 m.setTarget(new Handler()); in testObtainWithMessage() 160 Handler h = new Handler(); in testSendToTarget()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowMessage.java | 10 import android.os.Handler; 16 private Handler target; 28 public void setTarget(Handler target) { in setTarget() 46 public Handler getTarget() { in getTarget() 65 public static Message obtain(Handler h) { in obtain() 72 public static Message obtain(Handler h, int what) { in obtain() 79 public static Message obtain(Handler h, int what, Object obj) { in obtain() 86 public static Message obtain(Handler h, int what, int arg1, int arg2) { in obtain() 94 public static Message obtain(Handler h, int what, int arg1, int arg2, Object obj) { in obtain()
|
D | ShadowMessenger.java | 8 import android.os.Handler; 16 private Handler handler; 18 public void __constructor__(Handler handler) { in __constructor__()
|
/external/chromium_org/remoting/host/linux/ |
D | x11_util.h | 25 typedef base::Callback<void(Display*, XErrorEvent*)> Handler; typedef 27 explicit ScopedXErrorHandler(const Handler& handler); 35 static Handler Ignore(); 40 Handler handler_;
|
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
D | TestThread.java | 7 import android.os.Handler; 48 private Handler mMainThreadHandler; 49 private Handler mTestThreadHandler; 52 mMainThreadHandler = new Handler(); in TestThread() 61 mTestThreadHandler = new Handler(); in run()
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
D | AccountManagerDelegate.java | 15 import android.os.Handler; 26 boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler); in getAuthToken() 29 Activity activity, AccountManagerCallback<Bundle> callback, Handler handler); in getAuthToken() 41 AccountManagerCallback<Boolean> callback, Handler handler); in removeAccount() 50 Activity activity, AccountManagerCallback<Bundle> callback, Handler handler); in confirmCredentials()
|
D | SystemAccountManagerDelegate.java | 17 import android.os.Handler; 40 boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) { in getAuthToken() 48 Handler handler) { in getAuthToken() 77 AccountManagerCallback<Boolean> callback, Handler handler) { in removeAccount() 98 Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) { in confirmCredentials()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
D | PreviewCallback.java | 21 import android.os.Handler; 30 private Handler previewHandler; 37 void setHandler(Handler previewHandler, int previewMessage) { in setHandler() 44 Handler thePreviewHandler = previewHandler; in onPreviewFrame()
|
D | AutoFocusCallback.java | 20 import android.os.Handler; 30 private Handler autoFocusHandler; 33 void setHandler(Handler autoFocusHandler, int autoFocusMessage) { in setHandler()
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | ScrollAccessibilityHelper.java | 7 import android.os.Handler; 23 private class HandlerCallback implements Handler.Callback { 47 private Handler mHandler; 51 mHandler = new Handler(new HandlerCallback(eventSender)); in ScrollAccessibilityHelper()
|
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/ |
D | NestedSystemMessageHandler.java | 7 import android.os.Handler; 31 private static final Handler mHandler = new Handler(); 98 Handler target = null; in runNestedLoopTillIdle() 100 target = (Handler) targetFiled.get(msg); in runNestedLoopTillIdle()
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.cpp | 196 CatchHandler &Handler = Handlers.back(); in EmitTryCatchStmt() local 197 Handler.Variable = CatchDecl; in EmitTryCatchStmt() 198 Handler.Body = CatchStmt->getCatchBody(); in EmitTryCatchStmt() 199 Handler.Block = CGF.createBasicBlock("catch"); in EmitTryCatchStmt() 203 Handler.TypeInfo = 0; // catch-all in EmitTryCatchStmt() 208 Handler.TypeInfo = GetEHType(CatchDecl->getType()); in EmitTryCatchStmt() 228 CatchHandler &Handler = Handlers[I]; in EmitTryCatchStmt() local 230 CGF.EmitBlock(Handler.Block); in EmitTryCatchStmt() 240 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt() 244 bool EndCatchMightThrow = (Handler.Variable == 0); in EmitTryCatchStmt() [all …]
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | integration_test.py | 23 from handler import Handler 67 response = Handler(Request.ForTest('/_cron')).Get() 78 lambda path: Handler(Request.ForTest(path)).Get(), 152 check_result(Handler(Request.ForTest(path)).Get()) 157 redirect_result = Handler( 164 redirect_result = Handler( 171 check_result(Handler(Request.ForTest( 199 response = Handler(Request.ForTest('/extensions/notfound.html')).Get()
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
D | SpdyReader.java | 89 public boolean nextFrame(Handler handler) throws IOException { in nextFrame() 162 private void readSynStream(Handler handler, int flags, int length) throws IOException { in readSynStream() 174 private void readSynReply(Handler handler, int flags, int length) throws IOException { in readSynReply() 181 private void readRstStream(Handler handler, int flags, int length) throws IOException { in readRstStream() 188 private void readHeaders(Handler handler, int flags, int length) throws IOException { in readHeaders() 195 private void readWindowUpdate(Handler handler, int flags, int length) throws IOException { in readWindowUpdate() 274 private void readPing(Handler handler, int flags, int length) throws IOException { in readPing() 280 private void readGoAway(Handler handler, int flags, int length) throws IOException { in readGoAway() 287 private void readSettings(Handler handler, int flags, int length) throws IOException { in readSettings() 311 public interface Handler { interface in SpdyReader
|
/external/chromium_org/content/browser/devtools/ |
D | devtools_protocol.cc | 160 DevToolsProtocol::Handler::~Handler() { in ~Handler() 164 DevToolsProtocol::Handler::HandleCommand( in HandleCommand() 172 void DevToolsProtocol::Handler::SetNotifier(const Notifier& notifier) { in SetNotifier() 176 DevToolsProtocol::Handler::Handler() { in Handler() function in content::DevToolsProtocol::Handler 179 void DevToolsProtocol::Handler::RegisterCommandHandler( in RegisterCommandHandler() 185 void DevToolsProtocol::Handler::SendNotification( in SendNotification() 193 void DevToolsProtocol::Handler::SendAsyncResponse( in SendAsyncResponse() 198 void DevToolsProtocol::Handler::SendRawMessage(const std::string& message) { in SendRawMessage()
|
D | devtools_browser_target.h | 43 DevToolsProtocol::Handler* handler, 55 DevToolsProtocol::Handler*, 59 std::vector<DevToolsProtocol::Handler*> handlers); 68 typedef std::map<std::string, DevToolsProtocol::Handler*> DomainHandlerMap;
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
D | ThreadUtils.java | 7 import android.os.Handler; 24 private static Handler sUiThreadHandler = null; 39 sUiThreadHandler = new Handler(looper); in setUiThread() 44 private static Handler getUiThreadHandler() { in getUiThreadHandler() 50 sUiThreadHandler = new Handler(Looper.getMainLooper()); in getUiThreadHandler()
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
D | TryListBuilder.java | 61 public LinkedList<Handler> handlers; 68 this.handlers = new LinkedList<Handler>(); in TryRange() 116 public void appendHandler(Handler handler) { in appendHandler() 120 public void prependHandler(Handler handler) { in prependHandler() 125 private class Handler class in TryListBuilder 130 public Handler(TypeIdItem type, int handlerAddress) { in Handler() method in TryListBuilder.Handler 154 for (Handler handler: tryRange.handlers) { in encodeTries() 324 Handler handler = new Handler(type, handlerAddress); in addHandler()
|
/external/chromium_org/chrome_frame/crash_reporting/ |
D | vectored_handler_unittest.cc | 53 return g_mock_veh->Handler(exptrs); in VEH() 79 veh.Handler(&ExceptionInfo(STATUS_ACCESS_VIOLATION, our_code))); in TEST() 87 veh.Handler(&ExceptionInfo(RPC_E_DISCONNECTED, our_code))); in TEST() 95 veh.Handler(&ExceptionInfo(STATUS_INTEGER_DIVIDE_BY_ZERO, not_our_code))); in TEST() 103 veh.Handler(&ExceptionInfo(STATUS_INTEGER_DIVIDE_BY_ZERO, in TEST() 112 veh.Handler(&ExceptionInfo(STATUS_PRIVILEGED_INSTRUCTION, our_code))); in TEST() 123 veh.Handler(&ExceptionInfo(STATUS_ACCESS_VIOLATION, is_bad_ptr))); in TEST() 131 veh.Handler(&ExceptionInfo(STATUS_ACCESS_VIOLATION, is_bad_ptr))); in TEST()
|
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/ |
D | write_batch.h | 46 class Handler { 48 virtual ~Handler(); 52 Status Iterate(Handler* handler) const;
|
/external/chromium_org/chrome/browser/extensions/ |
D | script_executor.cc | 30 class Handler : public content::WebContentsObserver { class 32 Handler(ObserverList<TabHelper::ScriptExecutionObserver>* script_observers, in Handler() function in extensions::__anonb3280acb0111::Handler 45 virtual ~Handler() {} in ~Handler() 60 IPC_BEGIN_MESSAGE_MAP(Handler, message) in OnMessageReceived() 135 new Handler(script_observers_, web_contents_, params, callback); in ExecuteScript()
|
/external/chromium_org/content/browser/android/in_process/ |
D | synchronous_input_event_filter.h | 35 virtual void SetBoundHandler(const Handler& handler) OVERRIDE; 43 void SetBoundHandlerOnUIThread(const Handler& handler); 45 Handler handler_;
|
/external/chromium_org/tools/python/google/ |
D | logging_utils.py | 11 class StdoutStderrHandler(logging.Handler): 25 logging.Handler.__init__(self) 32 logging.Handler.setLevel(self, lvl) 37 logging.Handler.setFormatter(self, formatter)
|
/external/chromium_org/ipc/ |
D | ipc_forwarding_message_filter.h | 31 typedef base::Callback<void(const Message&)> Handler; typedef 44 void AddRoute(int routing_id, const Handler& handler); 64 std::map<int, Handler> handlers_;
|