/frameworks/base/media/java/android/media/ |
RemoteController.java | 30 import android.os.Handler; 458 * registered to receive the updates on the handler thread so it can call 505 private class EventHandler extends Handler { 535 Handler handler = null; local 537 handler = new Handler(Looper.getMainLooper()); 540 UserHandle.myUserId(), handler); 567 private static void sendMsg(Handler handler, int msg, int existingMsgPolicy [all...] |
/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/ |
NotificationTests.java | 30 import android.os.Handler; 189 private Handler handler; field in class:NotificationTests.ToastService 200 handler = new Handler(); 209 handler.post(new Runnable() {
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldFileHandlerTest.java | 32 import java.util.logging.Handler; 46 FileHandler handler; field in class:OldFileHandlerTest 76 handler = new FileHandler(); 81 if (null != handler) { 82 handler.close(); 96 "iso-8859-1", handler.getEncoding()); 97 assertNotNull("Filter is null", handler.getFilter()); 98 assertNotNull("Formatter is null", handler.getFormatter()); 99 assertEquals("is non equal to actual value", Level.FINE, handler 101 assertNotNull("ErrorManager is null", handler.getErrorManager()) [all...] |
/libcore/ojluni/src/main/java/java/net/ |
URL.java | 144 * for a protocol handler to load. The policy of this class is that 145 * all protocol handlers will be in a class called <protocolname>.Handler, 147 * handler. If none are found (or the property is not specified), the 152 private static final String protocolPathProp = "java.protocol.handler.pkgs"; 215 transient URLStreamHandler handler; field in class:URL 244 * protocol, a <i>stream protocol handler</i> object, an instance of 248 * <code>URLStreamHandlerFactory</code> as the stream handler factory, 251 * stream protocol handler. 257 * java.protocol.handler.pkgs 264 * <<i>package</i>>.<<i>protocol</i>>.Handler 1147 URLStreamHandler handler = (URLStreamHandler)handlers.get(protocol); local [all...] |
/packages/apps/Dialer/src/com/android/dialer/ |
SpecialCharSequenceMgr.java | 193 * This code works alongside the Asynchronous query handler {@link QueryHandler} 194 * and query cancel handler implemented in {@link SimContactQueryCookie}. 228 // create the async query handler 229 final QueryHandler handler = new QueryHandler(context.getContentResolver()); local 232 final SimContactQueryCookie sc = new SimContactQueryCookie(index - 1, handler, 258 handleAdnQuery(handler, sc, uri); 261 applicationContext, handler, sc); 277 private static void handleAdnQuery(QueryHandler handler, SimContactQueryCookie cookie, 279 if (handler == null || cookie == null || uri == null) { 288 handler.startQuery(ADN_QUERY_TOKEN, cookie, uri, new String[]{ADN_PHONE_NUMBER_COLUMN_NAME} [all...] |
/packages/apps/Nfc/src/com/android/nfc/echoserver/ |
EchoServer.java | 26 import android.os.Handler; 84 static class EchoMachine implements Handler.Callback { 105 final Handler handler; field in class:EchoServer.EchoMachine 116 handler = new Handler(this); 129 handler.sendMessageDelayed(handler.obtainMessage(), ECHO_DELAY_IN_MS);
|
/platform_testing/tests/androidbvt/src/com/android/androidbvt/ |
SysUINotificationShadeTests.java | 27 import android.os.Handler; 281 private Handler handler; field in class:SysUINotificationShadeTests.ToastService 293 handler = new Handler(); 301 handler.post(new Runnable() {
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
NotificationHelper.java | 33 import android.os.Handler; 343 private Handler handler; field in class:NotificationHelper.ToastService 355 handler = new Handler(); 363 handler.post(new Runnable() {
|
/art/test/044-proxy/src/ |
BasicTest.java | 99 InvocationHandler handler = new MyInvocationHandler(proxyMe); local 106 /* create a proxy object, passing the handler object in */ 113 proxy = cons.newInstance(new Object[] { handler }); 229 * Invocation handler, defining the implementation of the proxy functions.
|
WrappedThrow.java | 30 InvocationHandler handler = new WTInvocationHandler(mix); local 36 handler); 176 * Invocation handler for our proxy class.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
SignificantMotionTestActivity.java | 41 import android.os.Handler; 188 Handler handler = new Handler(Looper.getMainLooper()); local
|
/cts/tests/tests/database/src/android/database/cts/ |
ContentObserverTest.java | 22 import android.os.Handler; 31 // Test constructor with null handler, dispatchChange will directly invoke onChange. 51 Handler handler = new Handler(looper); local 54 contentObserver = new MyContentObserver(handler); 73 // Test constructor with null handler, dispatchChange will directly invoke onChange. 95 Handler handler = new Handler(looper) local [all...] |
/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);
|
/development/ndk/platforms/android-3/include/linux/ |
interrupt.h | 56 irqreturn_t (*handler)(int, void *, struct pt_regs *); member in struct:irqaction
|
personality.h | 64 handler_t handler; member in struct:exec_domain
|
/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/src/cpu/cortexm4f/ |
cpu.c | 180 SyscallFunc handler; local 187 else if (!(handler = syscallGetHandler(syscallNr))) 190 handler(excRegs, svcNo ? args_fast : args_long);
|
/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...] |