/packages/apps/IM/libwbxml/test/ |
D | imps_encoder_test.cpp | 387 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 …]
|
D | imps_parser_test.cpp | 452 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/ |
D | MimeStreamParser.java | 59 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/ |
D | wbxml_jni.cpp | 60 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 …]
|
D | xml2wbxml.cpp | 78 void Xml2WbxmlEncoder::setWbxmlHandler(WbxmlHandler * handler) in setWbxmlHandler() argument 80 mWbxmlHandler = handler; in setWbxmlHandler()
|
/packages/apps/IM/src/com/android/im/app/ |
D | ImApp.java | 545 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/ |
D | expat_parser.h | 30 void setContentHandler(XmlContentHandler *handler) in setContentHandler() argument 32 mHandler = handler; in setContentHandler()
|
D | wbxml_encoder.h | 48 void setWbxmlHandler(WbxmlHandler * handler) in setWbxmlHandler() argument 50 mHandler = handler; in setWbxmlHandler()
|
D | xml2wbxml.h | 32 void setWbxmlHandler(WbxmlHandler * handler);
|
D | wbxml_parser.h | 89 void setContentHandler(WbxmlContentHandler * handler);
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SpecialCharSequenceMgr.java | 133 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/ |
D | ConnectionListenerAdapter.java | 33 public ConnectionListenerAdapter(Handler handler) { in ConnectionListenerAdapter() argument 34 mHandler = handler; in ConnectionListenerAdapter()
|
D | ContactListListenerAdapter.java | 35 public ContactListListenerAdapter(SimpleAlertHandler handler) { in ContactListListenerAdapter() argument 36 mHandler = handler; in ContactListListenerAdapter()
|
/packages/apps/GlobalSearch/src/com/android/globalsearch/ |
D | SessionManager.java | 63 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/ |
D | EventListener.java | 32 void setHandler(Logic handler, PanelSwitcher panelSwitcher) { in setHandler() argument 33 mHandler = handler; in setHandler()
|
/packages/apps/Browser/src/com/android/browser/ |
D | GearsPermissionsDialog.java | 41 Handler handler, in GearsPermissionsDialog() argument 43 super (activity, handler, arguments); in GearsPermissionsDialog()
|
D | BrowserActivity.java | 3259 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/ |
D | Wallpaper.java | 84 public SetWallpaperThread(Bitmap bitmap, Handler handler, in SetWallpaperThread() argument 87 mHandler = handler; in SetWallpaperThread()
|
D | Util.java | 454 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()
|
D | ImageGetter.java | 263 IImageList imageList, GetterHandler handler) { 271 mHandler = handler;
|
D | MenuHelper.java | 242 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/ |
D | EventLoader.java | 71 final Handler handler = eventLoader.mHandler; in processRequest() local 97 handler.post(uiCallback); in processRequest()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | AttachmentEditor.java | 75 public AttachmentEditor(Context context, Handler handler, View vRoot) { in AttachmentEditor() argument 77 mHandler = handler; in AttachmentEditor()
|
D | MessageListAdapter.java | 151 public void setMsgListItemHandler(Handler handler) { in setMsgListItemHandler() argument 152 mMsgListItemHandler = handler; in setMsgListItemHandler()
|
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
D | QuickLaunchSettings.java | 360 public BookmarksObserver(Handler handler) { in BookmarksObserver() argument 361 super(handler); in BookmarksObserver()
|