Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/IM/libwbxml/test/
Dimps_encoder_test.cpp387 DataHandler handler; in testSimpleCsp12() local
388 encoder.setWbxmlHandler(&handler); in testSimpleCsp12()
391 ASSERT_EQUAL_BINARY_CPPSTRING(simple_csp12_wbxml, handler.wbxml); in testSimpleCsp12()
398 ASSERT_EQUAL_BINARY_CPPSTRING(simple_csp12_wbxml, handler.wbxml); in testSimpleCsp12()
404 DataHandler handler; in testSimpleCsp11Level2() local
405 encoder.setWbxmlHandler(&handler); in testSimpleCsp11Level2()
408 ASSERT_EQUAL_BINARY_CPPSTRING(simple2_csp11_wbxml, handler.wbxml); in testSimpleCsp11Level2()
414 DataHandler handler; in testSimpleContent() local
415 encoder.setWbxmlHandler(&handler); in testSimpleContent()
418 ASSERT_EQUAL_BINARY_CPPSTRING(simple_content_wbxml, handler.wbxml); in testSimpleContent()
[all …]
Dimps_parser_test.cpp452 DefaultWbxmlContentHandler handler; in testSimpleCspPublicId() local
453 parser.setContentHandler(&handler); in testSimpleCspPublicId()
456 TEST_ASSERT_EQUAL_INT(0x10 /* WV CSP 1.1 */, handler.getPublicId()); in testSimpleCspPublicId()
462 SimpleTestHandler handler; in testSimpleCspStartElement() local
463 parser.setContentHandler(&handler); in testSimpleCspStartElement()
466 TEST_ASSERT_EQUAL_STRING("WV-CSP-Message", handler.startElemName.c_str()); in testSimpleCspStartElement()
472 SimpleTestHandler handler; in testSimpleCspStartElementAttr() local
473 parser.setContentHandler(&handler); in testSimpleCspStartElementAttr()
476 TEST_ASSERT_EQUAL_STRING("WV-CSP-Message", handler.startElemName.c_str()); in testSimpleCspStartElementAttr()
477 TEST_ASSERT_EQUAL_INT(1, handler.attribs.size()); in testSimpleCspStartElementAttr()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/
DMimeStreamParser.java59 private ContentHandler handler = null; field in MimeStreamParser
143 handler.startMultipart(bd); in parseEntity()
147 handler.preamble(new CloseShieldInputStream(tempIs)); in parseEntity()
165 handler.epilogue(new CloseShieldInputStream(is)); in parseEntity()
167 handler.endMultipart(); in parseEntity()
185 handler.body(bd, new CloseShieldInputStream(is)); in parseEntity()
197 handler.raw(new CloseShieldInputStream(is)); in parseMessage()
199 handler.startMessage(); in parseMessage()
201 handler.endMessage(); in parseMessage()
207 handler.raw(new CloseShieldInputStream(is)); in parseBodyPart()
[all …]
/packages/apps/IM/libwbxml/src/
Dwbxml_jni.cpp60 JniWbxmlDataHandler * handler; member
220 JniWbxmlContentHandler * handler = NULL; in parserCreate() local
232 handler = new JniWbxmlContentHandler(context); in parserCreate()
233 if (!handler) { in parserCreate()
237 parser->setContentHandler(handler); in parserCreate()
239 context->contentHandler = handler; in parserCreate()
264 JniWbxmlContentHandler * handler = context->contentHandler; in parserReset() local
267 handler->reset(); in parserReset()
268 parser->setContentHandler(handler); in parserReset()
354 JniWbxmlDataHandler * handler = NULL; in encoderCreate() local
[all …]
Dxml2wbxml.cpp78 void Xml2WbxmlEncoder::setWbxmlHandler(WbxmlHandler * handler) in setWbxmlHandler() argument
80 mWbxmlHandler = handler; in setWbxmlHandler()
/packages/apps/IM/src/com/android/im/app/
DImApp.java545 public void registerForConnEvents(Handler handler) { in registerForConnEvents() argument
546 mBroadcaster.request(EVENT_CONNECTION_CREATED, handler, in registerForConnEvents()
548 mBroadcaster.request(EVENT_CONNECTION_LOGGING_IN, handler, in registerForConnEvents()
550 mBroadcaster.request(EVENT_CONNECTION_LOGGED_IN, handler, in registerForConnEvents()
552 mBroadcaster.request(EVENT_CONNECTION_LOGGING_OUT, handler, in registerForConnEvents()
554 mBroadcaster.request(EVENT_CONNECTION_SUSPENDED, handler, in registerForConnEvents()
556 mBroadcaster.request(EVENT_CONNECTION_DISCONNECTED, handler, in registerForConnEvents()
558 mBroadcaster.request(EVENT_USER_PRESENCE_UPDATED, handler, in registerForConnEvents()
560 mBroadcaster.request(EVENT_UPDATE_USER_PRESENCE_ERROR, handler, in registerForConnEvents()
564 public void unregisterForConnEvents(Handler handler) { in unregisterForConnEvents() argument
[all …]
/packages/apps/IM/libwbxml/include/
Dexpat_parser.h30 void setContentHandler(XmlContentHandler *handler) in setContentHandler() argument
32 mHandler = handler; in setContentHandler()
Dwbxml_encoder.h48 void setWbxmlHandler(WbxmlHandler * handler) in setWbxmlHandler() argument
50 mHandler = handler; in setWbxmlHandler()
Dxml2wbxml.h32 void setWbxmlHandler(WbxmlHandler * handler);
Dwbxml_parser.h89 void setContentHandler(WbxmlContentHandler * handler);
/packages/apps/Contacts/src/com/android/contacts/
DSpecialCharSequenceMgr.java133 QueryHandler handler = new QueryHandler (context.getContentResolver()); in handleAdnEntry() local
136 SimContactQueryCookie sc = new SimContactQueryCookie(index - 1, handler, in handleAdnEntry()
157 handler.startQuery(ADN_QUERY_TOKEN, sc, Uri.parse("content://icc/adn"), in handleAdnEntry()
236 public SimContactQueryCookie(int number, QueryHandler handler, int token) { in SimContactQueryCookie() argument
238 mHandler = handler; in SimContactQueryCookie()
/packages/apps/IM/src/com/android/im/app/adapter/
DConnectionListenerAdapter.java33 public ConnectionListenerAdapter(Handler handler) { in ConnectionListenerAdapter() argument
34 mHandler = handler; in ConnectionListenerAdapter()
DContactListListenerAdapter.java35 public ContactListListenerAdapter(SimpleAlertHandler handler) { in ContactListListenerAdapter() argument
36 mHandler = handler; in ContactListListenerAdapter()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DSessionManager.java63 Executor refreshExecutor, Handler handler) { in refreshSessionmanager() argument
67 queryExecutor, refreshExecutor, handler); in refreshSessionmanager()
73 PerTagExecutor queryExecutor, Executor refreshExecutor, Handler handler) { in SessionManager() argument
79 mHandler = handler; in SessionManager()
/packages/apps/Calculator/src/com/android/calculator2/
DEventListener.java32 void setHandler(Logic handler, PanelSwitcher panelSwitcher) { in setHandler() argument
33 mHandler = handler; in setHandler()
/packages/apps/Browser/src/com/android/browser/
DGearsPermissionsDialog.java41 Handler handler, in GearsPermissionsDialog() argument
43 super (activity, handler, arguments); in GearsPermissionsDialog()
DBrowserActivity.java3259 final WebView view, final SslErrorHandler handler, final SslError error) {
3308 handler.proceed();
3314 showSSLCertificateOnError(view, handler, error);
3320 handler.cancel();
3327 handler.cancel();
3333 handler.proceed();
3346 final HttpAuthHandler handler, final String host, final String realm) {
3351 handler.useHttpAuthUsernamePassword();
3365 handler.proceed(username, password);
3367 showHttpAuthentication(handler, host, realm, null, null, null, 0);
[all …]
/packages/apps/Camera/src/com/android/camera/
DWallpaper.java84 public SetWallpaperThread(Bitmap bitmap, Handler handler, in SetWallpaperThread() argument
87 mHandler = handler; in SetWallpaperThread()
DUtil.java454 ProgressDialog dialog, Handler handler) { in BackgroundJob() argument
459 mHandler = handler; in BackgroundJob()
491 String title, String message, Runnable job, Handler handler) { in startBackgroundJob() argument
496 new Thread(new BackgroundJob(activity, job, dialog, handler)).start(); in startBackgroundJob()
DImageGetter.java263 IImageList imageList, GetterHandler handler) {
271 mHandler = handler;
DMenuHelper.java242 final Handler handler, in onShowMapClicked() argument
251 handler.post(new Runnable() { in onShowMapClicked()
316 final Handler handler, in onDetailsClicked() argument
507 handler.post( in onDetailsClicked()
631 final Handler handler, in addImageMenuItems() argument
737 return onDetailsClicked(onInvoke, handler, activity); in addImageMenuItems()
749 handler, activity); in addImageMenuItems()
/packages/apps/Calendar/src/com/android/calendar/
DEventLoader.java71 final Handler handler = eventLoader.mHandler; in processRequest() local
97 handler.post(uiCallback); in processRequest()
/packages/apps/Mms/src/com/android/mms/ui/
DAttachmentEditor.java75 public AttachmentEditor(Context context, Handler handler, View vRoot) { in AttachmentEditor() argument
77 mHandler = handler; in AttachmentEditor()
DMessageListAdapter.java151 public void setMsgListItemHandler(Handler handler) { in setMsgListItemHandler() argument
152 mMsgListItemHandler = handler; in setMsgListItemHandler()
/packages/apps/Settings/src/com/android/settings/quicklaunch/
DQuickLaunchSettings.java360 public BookmarksObserver(Handler handler) { in BookmarksObserver() argument
361 super(handler); in BookmarksObserver()

12