/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | PreferenceChangeEventTest.java | 30 PreferenceChangeEvent event; field in PreferenceChangeEventTest 34 event = new PreferenceChangeEvent(null, "key", "value"); in testPreferenceChangeEventException() 41 event = new PreferenceChangeEvent(Preferences.userRoot(), "key", null); in testConstructorNullValue() 42 assertEquals("key", event.getKey()); in testConstructorNullValue() 43 assertNull(event.getNewValue()); in testConstructorNullValue() 44 assertSame(Preferences.userRoot(), event.getNode()); in testConstructorNullValue() 45 assertSame(Preferences.userRoot(), event.getSource()); in testConstructorNullValue() 47 event = new PreferenceChangeEvent(Preferences.userRoot(), "", null); in testConstructorNullValue() 48 assertEquals("", event.getKey()); in testConstructorNullValue() 49 assertNull(event.getNewValue()); in testConstructorNullValue() [all …]
|
D | NodeChangeEventTest.java | 30 NodeChangeEvent event; field in NodeChangeEventTest 33 event = new NodeChangeEvent(Preferences.systemRoot(), Preferences in testConstructor() 35 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructor() 36 assertSame(Preferences.userRoot(), event.getChild()); in testConstructor() 37 assertSame(Preferences.systemRoot(), event.getSource()); in testConstructor() 42 event = new NodeChangeEvent(null, Preferences.userRoot()); in testConstructorNullParam() 47 event = new NodeChangeEvent(Preferences.systemRoot(), null); in testConstructorNullParam() 48 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructorNullParam() 49 assertNull(event.getChild()); in testConstructorNullParam() 50 assertSame(Preferences.systemRoot(), event.getSource()); in testConstructorNullParam() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionBindingEventTest.java | 41 SSLSessionBindingEvent event = new SSLSessionBindingEvent(ses, "test"); in test_ConstructorLjavax_net_ssl_SSLSessionLjava_lang_String() local 42 if (!"test".equals(event.getName())) { in test_ConstructorLjavax_net_ssl_SSLSessionLjava_lang_String() 45 if (!event.getSession().equals(ses)) { in test_ConstructorLjavax_net_ssl_SSLSessionLjava_lang_String() 53 SSLSessionBindingEvent event = new SSLSessionBindingEvent(null, "test"); in test_ConstructorLjavax_net_ssl_SSLSessionLjava_lang_String() local 60 SSLSessionBindingEvent event = new SSLSessionBindingEvent(ses, null); in test_ConstructorLjavax_net_ssl_SSLSessionLjava_lang_String() local 71 SSLSessionBindingEvent event = new SSLSessionBindingEvent(ses, "test"); in test_getName() local 72 assertEquals("Incorrect session name", "test", event.getName()); in test_getName() 73 event = new SSLSessionBindingEvent(ses, null); in test_getName() 74 assertEquals("Incorrect session name", null, event.getName()); in test_getName() 82 SSLSessionBindingEvent event = new SSLSessionBindingEvent(ses, "test"); in test_getSession() local [all …]
|
D | HandshakeCompletedEventTest.java | 75 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session); in test_Constructor() local 90 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session); in test_getCipherSuite() local 91 assertEquals("SuiteName", event.getCipherSuite()); in test_getCipherSuite() 101 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session); in test_getLocalCertificates() local 102 assertNull(event.getLocalCertificates()); in test_getLocalCertificates() 112 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session); in test_getLocalPrincipal() local 113 assertNull(event.getLocalPrincipal()); in test_getLocalPrincipal() 124 HandshakeCompletedEvent event = new HandshakeCompletedEvent(socket, session); in test_getPeerCertificateChain() local 126 event.getPeerCertificateChain(); in test_getPeerCertificateChain() 134 event = new HandshakeCompletedEvent(socket, session); in test_getPeerCertificateChain() [all …]
|
D | SSLSessionBindingListenerTest.java | 47 public void valueBound(SSLSessionBindingEvent event) { in valueBound() argument 48 if (event != null) boundDone = true; in valueBound() 50 public void valueUnbound(SSLSessionBindingEvent event) { in valueUnbound() argument 51 if (event != null) unboundDone = true; in valueUnbound()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractPoller.java | 104 for (WatchEvent.Kind<?> event: events) { in register() 106 if (event == StandardWatchEventKinds.ENTRY_CREATE || in register() 107 event == StandardWatchEventKinds.ENTRY_MODIFY || in register() 108 event == StandardWatchEventKinds.ENTRY_DELETE) in register() 110 eventSet.add(event); in register() 115 if (event == StandardWatchEventKinds.OVERFLOW) in register() 119 if (event == null) in register() 121 throw new UnsupportedOperationException(event.name()); in register()
|
D | LinuxWatchService.java | 224 for (WatchEvent.Kind<?> event: events) { in implRegister() 225 if (event == StandardWatchEventKinds.ENTRY_CREATE) { in implRegister() 229 if (event == StandardWatchEventKinds.ENTRY_DELETE) { in implRegister() 233 if (event == StandardWatchEventKinds.ENTRY_MODIFY) { in implRegister() 364 long event = address + offset; in run() local 365 int wd = unsafe.getInt(event + OFFSETOF_WD); in run() 366 int mask = unsafe.getInt(event + OFFSETOF_MASK); in run() 367 int len = unsafe.getInt(event + OFFSETOF_LEN); in run() 377 long last = event + OFFSETOF_NAME + actual - 1; in run() 388 buf[i] = unsafe.getByte(event + OFFSETOF_NAME + i); in run()
|
D | PollingWatchService.java | 79 for (WatchEvent.Kind<?> event: events) { in register() 81 if (event == StandardWatchEventKinds.ENTRY_CREATE || in register() 82 event == StandardWatchEventKinds.ENTRY_MODIFY || in register() 83 event == StandardWatchEventKinds.ENTRY_DELETE) in register() 85 eventSet.add(event); in register() 90 if (event == StandardWatchEventKinds.OVERFLOW) { in register() 95 if (event == null) in register() 97 throw new UnsupportedOperationException(event.name()); in register()
|
/libcore/ojluni/src/main/java/javax/sql/ |
D | RowSetListener.java | 52 void rowSetChanged(RowSetEvent event); in rowSetChanged() argument 64 void rowChanged(RowSetEvent event); in rowChanged() argument 76 void cursorMoved(RowSetEvent event); in cursorMoved() argument
|
D | StatementEventListener.java | 67 void statementClosed(StatementEvent event); in statementClosed() argument 84 void statementErrorOccurred(StatementEvent event); in statementErrorOccurred() argument
|
D | ConnectionEventListener.java | 61 void connectionClosed(ConnectionEvent event); in connectionClosed() argument 74 void connectionErrorOccurred(ConnectionEvent event); in connectionErrorOccurred() argument
|
/libcore/ojluni/src/main/native/ |
D | EPoll.c | 76 struct epoll_event event; in Java_sun_nio_ch_EPoll_epollCtl() local 79 event.events = events; in Java_sun_nio_ch_EPoll_epollCtl() 80 event.data.fd = fd; in Java_sun_nio_ch_EPoll_epollCtl() 82 RESTARTABLE(epoll_ctl(epfd, (int)opcode, (int)fd, &event), res); in Java_sun_nio_ch_EPoll_epollCtl()
|
/libcore/ojluni/src/main/java/java/beans/ |
D | PropertyChangeSupport.java | 316 public void firePropertyChange(PropertyChangeEvent event) { in firePropertyChange() argument 317 Object oldValue = event.getOldValue(); in firePropertyChange() 318 Object newValue = event.getNewValue(); in firePropertyChange() 320 String name = event.getPropertyName(); in firePropertyChange() 327 fire(common, event); in firePropertyChange() 328 fire(named, event); in firePropertyChange() 332 private static void fire(PropertyChangeListener[] listeners, PropertyChangeEvent event) { in fire() argument 335 listener.propertyChange(event); in fire()
|
D | PropertyChangeListenerProxy.java | 69 public void propertyChange(PropertyChangeEvent event) { in propertyChange() argument 70 getListener().propertyChange(event); in propertyChange()
|
/libcore/luni/src/test/java/libcore/libcore/net/event/ |
D | NetworkEventDispatcherTest.java | 17 package libcore.libcore.net.event; 21 import libcore.net.event.NetworkEventDispatcher; 22 import libcore.net.event.NetworkEventListener;
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLSessionBindingListener.java | 56 public void valueBound(SSLSessionBindingEvent event); in valueBound() argument 65 public void valueUnbound(SSLSessionBindingEvent event); in valueUnbound() argument
|
D | HandshakeCompletedListener.java | 53 void handshakeCompleted(HandshakeCompletedEvent event); in handshakeCompleted() argument
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | AbstractPollArrayWrapper.java | 71 void putEventOps(int i, int event) { in putEventOps() argument 73 pollArray.putShort(offset, (short)event); in putEventOps()
|
/libcore/luni/src/main/java/libcore/net/event/ |
D | TEST_MAPPING | 7 "include-filter": "libcore.libcore.net.event"
|
D | NetworkEventListener.java | 17 package libcore.net.event;
|
D | NetworkEventDispatcher.java | 17 package libcore.net.event;
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | AbstractPreferences.java | 1507 EventObject event = null; 1512 event = eventQueue.remove(0); 1520 AbstractPreferences src=(AbstractPreferences)event.getSource(); 1521 if (event instanceof PreferenceChangeEvent) { 1522 PreferenceChangeEvent pce = (PreferenceChangeEvent)event; 1527 NodeChangeEvent nce = (NodeChangeEvent)event;
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | DdmServer.java | 142 private static void broadcast(int event) in broadcast() argument 150 switch (event) { in broadcast()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | WatchServiceTest.java | 95 for (WatchEvent<?> event : watchKey.pollEvents()) { in checkWatchServiceEventMultipleKeys() 99 assertEquals(expectedEventResult.expectedKind, event.kind()); in checkWatchServiceEventMultipleKeys() 101 assertEquals(expectedEventResult.expectedCount, event.count()); in checkWatchServiceEventMultipleKeys() 148 List<WatchEvent<?>> event = doubleModifyKey.pollEvents(); in test_singleFile() local 149 assertEquals(ENTRY_MODIFY, event.get(0).kind()); in test_singleFile()
|
/libcore/luni/src/test/java/libcore/java/util/beans/ |
D | PropertyChangeSupportTest.java | 179 public void propertyChange(PropertyChangeEvent event) {} in testAddingAListenerActuallyAddsAProxy() 195 public void propertyChange(PropertyChangeEvent event) {} in testAddingAProxy() 333 public void propertyChange(PropertyChangeEvent event) { in propertyChange() argument 334 log.add(event); in propertyChange()
|