| /cts/tests/tests/media/src/android/media/cts/ |
| MockMediaLibraryService2.java | 111 final SyncHandler handler = (SyncHandler) TestServiceRegistry.getInstance().getHandler(); local 112 final Executor executor = (runnable) -> handler.post(runnable);
|
| Utils.java | 27 import android.os.Handler; 139 final Handler handler = new Handler(handlerThread.getLooper()); local 141 am.registerAudioPlaybackCallback(callback, handler);
|
| /cts/tests/tests/os/src/android/os/cts/ |
| ParcelFileDescriptorPeer.java | 21 import android.os.Handler; 92 final Handler handler = new Handler(Looper.getMainLooper()); local 97 ParcelFileDescriptor.MODE_READ_WRITE, handler, mListener);
|
| /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
| ShortcutManagerLauncherCallbackTest.java | 26 import android.os.Handler; 135 final Handler handler = new Handler(Looper.getMainLooper()); local 136 getLauncherApps().registerCallback(c, handler); 145 final Handler handler = new Handler(Looper.getMainLooper()); local 156 getLauncherApps().registerCallback(c, handler);
|
| /cts/tests/tests/view/src/android/view/cts/ |
| FrameMetricsListenerTest.java | 24 import android.os.Handler; 73 final Handler handler = new Handler(Looper.getMainLooper()); local 83 addOnFrameMetricsAvailableListener(listener, handler)); 107 final Handler handler = new Handler(Looper.getMainLooper()); local 127 frameMetricsListener1, handler); 129 frameMetricsListener2, handler); [all...] |
| /development/samples/ControllerSample/src/com/example/inputmanagercompat/ |
| InputManagerV9.java | 19 import android.os.Handler; 43 private final Map<InputDeviceListener, Handler> mListeners; 44 private final Handler mDefaultHandler; 46 private static class PollingMessageHandler extends Handler { 90 mListeners = new HashMap<InputDeviceListener, Handler>(); 119 public void registerInputDeviceListener(InputDeviceListener listener, Handler handler) { 121 if (handler == null) { 122 handler = mDefaultHandler; 124 mListeners.put(listener, handler); 138 Handler handler = mListeners.get(listener); local [all...] |
| /development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
| NewsReaderActivity.java | 141 CompatActionBarNavHandler handler = new CompatActionBarNavHandler(this); local 146 actionBar.addTab(actionBar.newTab().setText(CATEGORIES[i]).setTabListener(handler)); 154 actionBar.setListNavigationCallbacks(adap, handler);
|
| /development/tools/apkcheck/src/com/android/apkcheck/ |
| ApkCheck.java | 185 ApiDescrHandler handler = new ApiDescrHandler(apiList); local 186 xmlReader.setContentHandler(handler); 187 xmlReader.setErrorHandler(handler);
|
| /device/google/contexthub/firmware/os/cpu/cortexm4/ |
| cpu.c | 244 SyscallFunc handler; local 251 else if (!(handler = syscallGetHandler(syscallNr))) 254 handler(excRegs, svcNo ? args_fast : args_long);
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_poplib.py | 109 handler = DummyPOP3Handler
variable in class:DummyPOP3Server 143 self.handler = self.handler(conn)
271 self.server.handler = DummyPOP3_SSLHandler
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
| AdamsBashforthIntegrator.java | 210 for (StepHandler handler : stepHandlers) { 211 handler.reset(); 286 // some events handler has triggered changes that
|
| AdamsMoultonIntegrator.java | 230 for (StepHandler handler : stepHandlers) { 231 handler.reset(); 304 // some events handler has triggered changes that
|
| EmbeddedRungeKuttaIntegrator.java | 226 for (StepHandler handler : stepHandlers) { 227 handler.reset();
|
| /external/apache-xml/src/main/java/org/apache/xalan/processor/ |
| StylesheetHandler.java | 95 * @param processor non-null reference to the transformer factory that owns this handler. 126 * @param processor non-null reference to the transformer factory that owns this handler. 132 // Set the initial content handler. 154 ErrorListener handler = m_stylesheetProcessor.getErrorListener(); local 155 XPath xpath = new XPath(str, owningTemplate, this, XPath.SELECT, handler, 175 ErrorListener handler = m_stylesheetProcessor.getErrorListener(); local 176 XPath xpath = new XPath(str, owningTemplate, this, XPath.MATCH, handler, 856 ErrorListener handler = m_stylesheetProcessor.getErrorListener(); local 860 if (null != handler) 861 handler.warning(new TransformerException(formattedMsg, locator)) 902 ErrorListener handler = m_stylesheetProcessor.getErrorListener(); local 969 ErrorListener handler = m_stylesheetProcessor.getErrorListener(); local 997 ErrorListener handler = m_stylesheetProcessor.getErrorListener(); local 1025 ErrorListener handler = m_stylesheetProcessor.getErrorListener(); local 1665 ErrorListener handler = m_stylesheetProcessor.getErrorListener(); local [all...] |
| TransformerFactoryImpl.java | 281 StylesheetPIHandler handler = new StylesheetPIHandler(baseID, media, local 287 handler.setURIResolver(m_uriResolver); 294 TreeWalker walker = new TreeWalker(handler, new org.apache.xml.utils.DOM2Helper(), baseID); 343 reader.setContentHandler(handler); 363 return handler.getAssociatedStylesheet(); [all...] |
| XSLTElementProcessor.java | 83 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 92 StylesheetHandler handler, String publicId, String systemId) 102 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 109 public void notationDecl(StylesheetHandler handler, String name, 120 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 128 public void unparsedEntityDecl(StylesheetHandler handler, String name, 140 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 142 public void startNonText(StylesheetHandler handler) throws org.xml.sax.SAXException 151 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 158 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes [all...] |
| /external/apache-xml/src/main/java/org/apache/xalan/templates/ |
| AVT.java | 154 * @param handler non-null reference to StylesheetHandler that is constructing. 162 public AVT(StylesheetHandler handler, String uri, String name, 309 handler.createXPath(exprBuffer.toString(), owner); 369 handler.warn(XSLTErrorResources.WG_FOUND_CURLYBRACE, null); //"Found \"}\" but no attribute template open!"); 402 handler.warn(XSLTErrorResources.WG_ATTR_TEMPLATE,
|
| ElemCopyOf.java | 133 SerializationHandler handler = transformer.getSerializationHandler(); local 147 handler.characters(s.toCharArray(), 0, s.length()); 155 DTMTreeWalker tw = new TreeWalker2Result(transformer, handler); 175 SerializerUtils.addAttribute(handler, pos); 186 handler, value, transformer.getXPathContext()); 192 handler.characters(s.toCharArray(), 0, s.length());
|
| /external/autotest/client/common_lib/cros/ |
| autoupdater.py | 178 logging.debug('exception in update handler: %s', e) 189 """Examines exceptions and returns True if the update handler 202 # call). Some exceptions may be caught by the retry handler. 216 def handler(e): function in function:BaseUpdater._wait_for_update_service 217 """Retry exception handler. 232 status = retry_util.GenericRetry(handler, 3,
|
| /external/autotest/client/cros/networking/ |
| shill_xmlrpc_server.py | 28 an XMLRPC server. This is not a stateless handler object, which means that 634 handler = logging.handlers.SysLogHandler(address = '/dev/log') variable 637 handler.setFormatter(formatter) 638 logging.getLogger().addHandler(handler)
|
| /external/clang/test/Sema/ |
| init.c | 41 int (*handler)(); member in struct:cdiff_cmd
|
| /external/doclava/src/com/google/doclava/apicheck/ |
| XmlApiFile.java | 53 XmlApiFile handler = new XmlApiFile(); local 54 xmlreader.setContentHandler(handler); 55 xmlreader.setErrorHandler(handler); 57 ApiInfo apiInfo = handler.getApi();
|
| /external/google-breakpad/src/client/windows/tests/crash_generation_app/ |
| crash_generation_app.cc | 40 #include "client/windows/handler/exception_handler.h" 82 static ExceptionHandler* handler = NULL; member in namespace:google_breakpad 331 if (!handler->WriteMinidump()) { 343 if (handler) { 344 delete handler; 445 // Message handler for about box. 486 handler = new ExceptionHandler(L"C:\\dumps\\",
|
| /external/google-breakpad/src/common/dwarf/ |
| dwarf2reader_cfi_unittest.cc | 99 class MockCallFrameInfoHandler: public CallFrameInfo::Handler { 140 enum { kCFARegister = CallFrameInfo::Handler::kCFARegister }; 143 // Default expectations for the data handler. 154 EXPECT_CALL(handler, UndefinedRule(_, _)).Times(0); 155 EXPECT_CALL(handler, SameValueRule(_, _)).Times(0); 156 EXPECT_CALL(handler, OffsetRule(_, _, _, _)).Times(0); 157 EXPECT_CALL(handler, ValOffsetRule(_, _, _, _)).Times(0); 158 EXPECT_CALL(handler, RegisterRule(_, _, _)).Times(0); 159 EXPECT_CALL(handler, ExpressionRule(_, _, _)).Times(0); 160 EXPECT_CALL(handler, ValExpressionRule(_, _, _)).Times(0) 180 MockCallFrameInfoHandler handler; member in struct:CFIFixture [all...] |
| /external/google-breakpad/src/processor/ |
| cfi_frame_info_unittest.cc | 293 class MockCFIRuleParserHandler: public CFIRuleParser::Handler { 420 ParseHandlerFixture() : CFIFixture(), handler(&cfi) { } 421 CFIFrameInfoParseHandler handler; member in class:ParseHandlerFixture 427 handler.CFARule("reg-for-cfa"); 428 handler.RARule("reg-for-ra"); 438 handler.CFARule("reg-for-cfa"); 439 handler.RARule("reg-for-ra"); 440 handler.RegisterRule("reg1", "reg-for-reg1"); 441 handler.RegisterRule("reg2", "reg-for-reg2");
|