/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()
|
D | MessengerTest.java | 11 import android.os.Handler; 22 Handler handler = new Handler(); in testMessengerSend()
|
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
D | AbstractHandlerContainer.java | 24 import org.eclipse.jetty.server.Handler; 43 public Handler[] getChildHandlers() in getChildHandlers() 46 return (Handler[])LazyList.toArray(list, Handler.class); in getChildHandlers() 50 public Handler[] getChildHandlersByClass(Class<?> byclass) in getChildHandlersByClass() 53 return (Handler[])LazyList.toArray(list, byclass); in getChildHandlersByClass() 57 public <T extends Handler> T getChildHandlerByClass(Class<T> byclass) in getChildHandlerByClass() 73 protected Object expandHandler(Handler handler, Object list, Class<Handler> byClass) in expandHandler() 86 …Handler[] handlers=byClass==null?container.getChildHandlers():container.getChildHandlersByClass(by… in expandHandler() 94 …<T extends HandlerContainer> T findContainerOf(HandlerContainer root,Class<T>type, Handler handler) in findContainerOf() 99 Handler[] branches=root.getChildHandlersByClass(type); in findContainerOf() [all …]
|
D | HandlerWrapper.java | 27 import org.eclipse.jetty.server.Handler; 39 protected Handler _handler; 53 public Handler getHandler() in getHandler() 62 public Handler[] getHandlers() in getHandlers() 65 return new Handler[0]; in getHandlers() 66 return new Handler[] {_handler}; in getHandlers() 73 public void setHandler(Handler handler) in setHandler() 78 Handler old_handler = _handler; in setHandler() 134 Handler h=getHandler(); in setServer() 151 public <H extends Handler> H getNestedHandlerByClass(Class<H> byclass) in getNestedHandlerByClass() [all …]
|
D | HandlerCollection.java | 28 import org.eclipse.jetty.server.Handler; 48 private volatile Handler[] _handlers; 67 public Handler[] getHandlers() in getHandlers() 77 public void setHandlers(Handler[] handlers) in setHandlers() 82 Handler [] old_handlers = _handlers==null?null:_handlers.clone(); in setHandlers() 266 Handler[] h=getHandlers(); in setServer() 280 public void addHandler(Handler handler) in addHandler() 282 setHandlers((Handler[])LazyList.addToArray(getHandlers(), handler, Handler.class)); in addHandler() 286 public void removeHandler(Handler handler) in removeHandler() 288 Handler[] handlers = getHandlers(); in removeHandler() [all …]
|
D | HotSwapHandler.java | 27 import org.eclipse.jetty.server.Handler; 38 private volatile Handler _handler; 52 public Handler getHandler() in getHandler() 61 public Handler[] getHandlers() in getHandlers() 63 return new Handler[] in getHandlers() 72 public void setHandler(Handler handler) in setHandler() 78 Handler old_handler = _handler; in setHandler() 145 Handler h = getHandler(); in setServer() 168 Handler child = getHandler(); in destroy()
|
D | ContextHandlerCollection.java | 31 import org.eclipse.jetty.server.Handler; 71 Handler[] branches = getHandlers(); in mapContexts() 76 Handler[] handlers=null; in mapContexts() 80 handlers = new Handler[]{ branches[b] }; in mapContexts() 159 public void setHandlers(Handler[] handlers) in setHandlers() 183 Handler[] handlers = getHandlers(); in handle() 223 Handler handler = (Handler)LazyList.get(list,j); in handle() 233 Handler handler = (Handler)LazyList.get(list,j); in handle() 244 Handler handler = (Handler)LazyList.get(list,j); in handle() 254 Handler handler = (Handler)LazyList.get(list,j); in handle()
|
D | ProxyHandler.java | 21 import org.eclipse.jetty.server.Handler; 37 public ProxyHandler(Handler handler, String[] white, String[] black) in ProxyHandler() 42 public ProxyHandler(Handler handler) in ProxyHandler()
|
/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/vogar/src/vogar/ |
D | OptionParser.java | 144 private static final HashMap<Class<?>, Handler> handlers = new HashMap<Class<?>, Handler>(); 166 Handler getHandler(Type type) { in getHandler() 299 final Handler handler = getHandler(field.getGenericType()); in parseLongOption() 319 final Handler handler = getHandler(field.getGenericType()); in parseGroupedShortOptions() 337 private void setValue(Field field, String arg, Handler handler, String valueText) { in setValue() 407 static abstract class Handler { class in OptionParser 420 static class BooleanHandler extends Handler { 435 static class ByteHandler extends Handler { 445 static class ShortHandler extends Handler { 455 static class IntegerHandler extends Handler { [all …]
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | Handler.java | 38 public interface Handler<T> { interface 43 public static final Handler<Object> DO_NOTHING = new Handler<Object>() { 53 public static final Handler<Throwable> PROPAGATE = new Handler<Throwable>() {
|
D | HtmlStreamRenderer.java | 54 private final Handler<? super IOException> ioExHandler; 55 private final Handler<? super String> badHtmlHandler; 71 Handler<? super IOException> ioExHandler, in create() 72 Handler<? super String> badHtmlHandler) { in create() 90 StringBuilder output, Handler<? super String> badHtmlHandler) { in create() 92 return create(output, Handler.PROPAGATE, badHtmlHandler); in create() 96 Appendable output, Handler<? super IOException> ioExHandler, in HtmlStreamRenderer() 97 Handler<? super String> badHtmlHandler) { in HtmlStreamRenderer() 112 if (badHtmlHandler != Handler.DO_NOTHING) { // Avoid string append. in error() 396 Appendable output, Handler<? super IOException> errorHandler, in CloseableHtmlStreamRenderer() [all …]
|
/external/jetty/src/java/org/eclipse/jetty/server/ |
D | HandlerContainer.java | 36 public Handler[] getHandlers(); in getHandlers() 42 public Handler[] getChildHandlers(); in getChildHandlers() 49 public Handler[] getChildHandlersByClass(Class<?> byclass); in getChildHandlersByClass() 56 public <T extends Handler> T getChildHandlerByClass(Class<T> byclass); in getChildHandlerByClass()
|
/external/google-breakpad/src/processor/ |
D | cfi_frame_info.h | 145 class Handler { 147 Handler() { } in Handler() function 148 virtual ~Handler() { } in ~Handler() 159 CFIRuleParser(Handler *handler) : handler_(handler) { } in CFIRuleParser() 172 Handler *handler_; 180 class CFIFrameInfoParseHandler: public CFIRuleParser::Handler {
|
/external/llvm/include/llvm/IR/ |
D | Metadata.def | 22 // Handler for all types of metadata. 27 // Handler for leaf nodes in the class hierarchy. 32 // Handler for non-leaf nodes in the class hierarchy. 37 // Handler for leaf nodes under MDNode. 42 // Handler for non-leaf nodes under MDNode. 47 // Handler for specialized leaf nodes under MDNode. 52 // Handler for specialized non-leaf nodes under MDNode.
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
D | ResourceRecycler.java | 3 import android.os.Handler; 13 private final Handler handler = new Handler(new ResourceRecyclerCallback()); 29 private static class ResourceRecyclerCallback implements Handler.Callback {
|
/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/clang/lib/CodeGen/ |
D | CGObjCRuntime.cpp | 197 CatchHandler &Handler = Handlers.back(); in EmitTryCatchStmt() local 198 Handler.Variable = CatchDecl; in EmitTryCatchStmt() 199 Handler.Body = CatchStmt->getCatchBody(); in EmitTryCatchStmt() 200 Handler.Block = CGF.createBasicBlock("catch"); in EmitTryCatchStmt() 204 Handler.TypeInfo = nullptr; // catch-all in EmitTryCatchStmt() 209 Handler.TypeInfo = GetEHType(CatchDecl->getType()); in EmitTryCatchStmt() 229 CatchHandler &Handler = Handlers[I]; in EmitTryCatchStmt() local 231 CGF.EmitBlock(Handler.Block); in EmitTryCatchStmt() 241 CodeGenFunction::LexicalScope cleanups(CGF, Handler.Body->getSourceRange()); in EmitTryCatchStmt() 245 bool EndCatchMightThrow = (Handler.Variable == nullptr); in EmitTryCatchStmt() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatTests.java | 1015 public static class RelativeDateFormatHandler implements SerializableTest.Handler 1036 public static class BasicDurationFormatHandler implements SerializableTest.Handler 1060 public static class NumberFormatHandler implements SerializableTest.Handler 1669 public static class DecimalFormatSymbolsHandler implements SerializableTest.Handler 1701 public static class CurrencyPluralInfoHandler implements SerializableTest.Handler 1729 public static class MessageFormatHandler implements SerializableTest.Handler 1748 public static class MessageFormatFieldHandler implements SerializableTest.Handler 1761 public static class DateFormatHandler implements SerializableTest.Handler 1848 public static class DateFormatFieldHandler implements SerializableTest.Handler 1884 public static class DateFormatSymbolsHandler implements SerializableTest.Handler [all …]
|
D | SerializableTest.java | 50 public interface Handler interface in SerializableTest 57 public static Handler getHandler(String className) in getHandler() 59 return (Handler) map.get(className); in getHandler() 62 private static class TimeZoneHandler implements Handler 250 private static class DateTimeRuleHandler implements Handler { 307 private static class AnnualTimeZoneRuleHandler implements Handler { 324 private static class InitialTimeZoneRuleHandler implements Handler { 337 private static class TimeArrayTimeZoneRuleHandler implements Handler { 372 private static class ULocaleHandler implements Handler 394 public static class DateIntervalHandler implements Handler [all …]
|
/external/llvm/lib/Support/ |
D | CommandLine.cpp | 326 static bool CommaSeparateAndAddOccurrence(Option *Handler, unsigned pos, in CommaSeparateAndAddOccurrence() argument 331 if (Handler->getMiscFlags() & CommaSeparated) { in CommaSeparateAndAddOccurrence() 337 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) in CommaSeparateAndAddOccurrence() 349 if (Handler->addOccurrence(pos, ArgName, Value, MultiArg)) in CommaSeparateAndAddOccurrence() 358 static inline bool ProvideOption(Option *Handler, StringRef ArgName, in ProvideOption() argument 362 unsigned NumAdditionalVals = Handler->getNumAdditionalVals(); in ProvideOption() 365 switch (Handler->getValueExpectedFlag()) { in ProvideOption() 369 return Handler->error("requires a value!"); in ProvideOption() 377 return Handler->error("multi-valued option specified" in ProvideOption() 381 return Handler->error("does not allow a value! '" + Twine(Value) + in ProvideOption() [all …]
|
/external/clang/lib/Analysis/ |
D | ThreadSafety.cpp | 59 static void warnInvalidLock(ThreadSafetyHandler &Handler, in warnInvalidLock() argument 68 Handler.handleInvalidLockExp(Kind, Loc); in warnInvalidLock() 122 ThreadSafetyHandler &Handler) const = 0; 125 bool FullyRemove, ThreadSafetyHandler &Handler, 823 ThreadSafetyHandler &Handler) const override { in handleRemovalFromIntersection() 825 Handler.handleMutexHeldEndOfScope("mutex", toString(), loc(), JoinLoc, in handleRemovalFromIntersection() 832 bool FullyRemove, ThreadSafetyHandler &Handler, in handleUnlock() argument 859 ThreadSafetyHandler &Handler) const override { in handleRemovalFromIntersection() 864 Handler.handleMutexHeldEndOfScope( in handleRemovalFromIntersection() 872 bool FullyRemove, ThreadSafetyHandler &Handler, in handleUnlock() argument [all …]
|