/dalvik/libcore/luni/src/main/java/java/util/ |
Observer.java | 22 * {@code Observer} is the interface to be implemented by objects that 27 public interface Observer {
|
Observable.java | 21 * Observable is used to notify a group of Observer objects when a change 29 * @see Observer 33 List<Observer> observers = new ArrayList<Observer>(); 45 * Adds the specified observer to the list of observers. If it is already 48 * @param observer 49 * the Observer to add. 51 public void addObserver(Observer observer) { 52 if (observer == null) [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
Observer.java | 23 public interface Observer {
|
Observable.java | 28 private final ArrayList<Observer> mObservers; 29 private Iterator<Observer> mIterator; 32 mObservers = new ArrayList<Observer>(); 44 * Attach an observer to this object. 46 * @param observer The observer object to be attached to. 48 public void attach(Observer observer) { 49 mObservers.add(observer); 53 * Detach an observer from this object [all...] |
RetryScheduler.java | 46 public class RetryScheduler implements Observer {
|
TransactionService.java | 82 public class TransactionService extends Service implements Observer { [all...] |
/external/opencore/protocols/systems/3g-324m_pvterminal/h245/se/include/ |
msd.h | 85 Observer(NULL), 111 void SetObserver(MSDObserver *observer) 113 Observer = observer; 296 if (Observer) Observer->MSDDetermineIndication(Status); 306 if (Observer) Observer->MSDDetermineConfirm(Status); 318 if (Observer) 320 Observer->MSDErrorIndication(MSD_ERROR_CODE_F) [all...] |
lcblc.h | 95 Observer(NULL), 104 void SetObserver(LCBLCObserver *observer) 106 Observer = observer; 385 if (Observer) Observer->LCBLCEstablishIndication(ForwardLcn, olc->forwardLogicalChannelParameters, ReverseLcn, olc->reverseLogicalChannelParameters); 391 if (Observer) 393 Observer->LCBLCReleaseIndication(LCBLC_USER, LCBLC_UNSPECIFIED, ForwardLcn, ReverseLcn, LCBLC_INCOMING); 394 Observer->LCBLCEstablishIndication(ForwardLcn, olc->forwardLogicalChannelParameters, ReverseLcn, olc->reverseLogicalChannelParameters); 401 if (Observer) [all...] |
ce.h | 76 Observer(NULL), 95 void SetObserver(CEObserver *observer) 97 Observer = observer; 235 CEObserver *Observer; 264 if (Observer) Observer->CETransferConfirm(); 274 if (Observer) Observer->CERejectIndication(CE_USER, (CECause)tcsr->tcsRejectCause.index, CE_OUTGOING); 282 if (Observer) Observer->CERejectIndication(CE_PROTOCOL, CE_UNSPECIFIED, CE_OUTGOING) [all...] |
/external/opencore/protocols/systems/3g-324m_pvterminal/h245/cmn/include/ |
h245.h | 57 H245() : Observer(0) 122 void SetObserver(H245Observer *observer) 124 Observer = observer; 127 // Send a message to Controls Observer (normally Tsc) 131 if (Observer) Observer->Handle((PS_ControlMsgHeader)pData); 164 H245Observer *Observer;
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/ |
ObserverTest.java | 27 import java.util.Observer; 29 @TestTargetClass(Observer.class) 32 class Mock_Observer implements Observer { 62 Mock_Observer observer = null; local 63 observable.addObserver(observer = new Mock_Observer()); 65 assertEquals("Notified when unchnaged", 0, observer.getUpdateCount()); 68 assertEquals("Failed to notify", 1, observer.getUpdateCount());
|
/frameworks/base/core/tests/coretests/src/android/os/ |
FileObserverTest.java | 34 private Observer mObserver; 37 private static class Observer extends FileObserver { 41 public Observer(String path) { 78 mObserver = new Observer(mTestFile.getParent());
|
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentQueryMapTest.java | 30 import java.util.Observer; 77 // Use an Observer to find out when the cache does update. 78 cqm.addObserver(new Observer() {
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
ObservableTest.java | 26 import java.util.Observer; 32 static class TestObserver implements Observer { 48 static class DeleteTestObserver implements Observer { 81 Observer observer; field in class:ObservableTest 106 * @tests java.util.Observable#addObserver(java.util.Observer) 112 args = {java.util.Observer.class} 116 // java.util.Observable.addObserver(java.util.Observer) 119 assertEquals("Failed to add observer", 1, observable.countObservers()); 121 assertEquals("Duplicate observer", 1, observable.countObservers()) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserSettings.java | 54 * To remove an observer: 156 // Private map of WebSettings to Observer objects used when deleting an 157 // observer. 158 private HashMap<WebSettings,Observer> mWebSettingsToObservers = 159 new HashMap<WebSettings,Observer>(); 162 * An observer wrapper for updating a WebSettings object with the new 165 static class Observer implements java.util.Observer { 169 Observer(WebSettings w) { 433 public Observer addObserver(WebSettings s) [all...] |
/cts/tools/host/src/com/android/cts/ |
TestSession.java | 310 * Set observer. 312 * @param so Session observer. 460 * Notify result observer. 518 * xml file after executing each test, which is done by this observer. 535 private Observer mObserver; 567 * Start the observer. 572 mObserver = new Observer(); 591 * Observer which updates the test result to result XML file. 594 class Observer extends Thread {
|
/sdk/traceview/src/com/android/traceview/ |
ProfileView.java | 21 import java.util.Observer; 51 public class ProfileView extends Composite implements Observer {
|
TimeLineView.java | 51 import java.util.Observer; 53 public class TimeLineView extends Composite implements Observer { [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentQueryMapTest.java | 36 import java.util.Observer; 220 MockObserver observer = new MockObserver(); local 224 mContentQueryMap.addObserver(observer); 225 assertFalse(observer.hadUpdated(0)); 241 assertFalse(observer.hadUpdated(0)); 250 assertTrue(observer.hadUpdated(0)); 251 assertSame(mContentQueryMap, observer.getObservable()); 259 observer.reset(); 277 assertTrue(observer.hadUpdated(TEST_TIME_OUT)); 278 assertSame(mContentQueryMap, observer.getObservable()) 318 MockObserver observer = new MockObserver(); local [all...] |
/packages/apps/IM/src/com/android/im/app/ |
ContactListActivity.java | 50 import java.util.Observer; 145 mSettingMap.addObserver(new Observer() {
|
ContactListTreeAdapter.java | 49 import java.util.Observer; 426 public void registerDataSetObserver(DataSetObserver observer) { 427 mAdapter.registerDataSetObserver(observer); 428 super.registerDataSetObserver(observer); 432 public void unregisterDataSetObserver(DataSetObserver observer) { 433 mAdapter.unregisterDataSetObserver(observer); 434 super.unregisterDataSetObserver(observer); 650 mOnlineContactsCountMap.addObserver(new Observer(){
|
/packages/apps/Settings/src/com/android/settings/ |
SecuritySettings.java | 21 import java.util.Observer; 95 private final class SettingsObserver implements Observer {
|
/frameworks/base/services/java/com/android/server/ |
LocationManagerService.java | 27 import java.util.Observer; 409 private final class SettingsObserver implements Observer { [all...] |
PowerManagerService.java | 72 import java.util.Observer; 408 private class SettingsObserver implements Observer { [all...] |
/external/webkit/SunSpider/tests/parse-only/ |
prototype-1.6.0.3.js | [all...] |