/external/chromium/chrome/browser/net/ |
load_timing_observer_unittest.cc | 34 void AddStartEntry(LoadTimingObserver& observer, 38 observer.OnAddEntry(type, current_time, source, NetLog::PHASE_BEGIN, params); 41 void AddEndEntry(LoadTimingObserver& observer, 45 observer.OnAddEntry(type, current_time, source, NetLog::PHASE_END, params); 48 void AddStartURLRequestEntries(LoadTimingObserver& observer, 58 AddStartEntry(observer, source, NetLog::TYPE_REQUEST_ALIVE, NULL); 59 AddStartEntry(observer, 65 void AddEndURLRequestEntries(LoadTimingObserver& observer, uint32 id) { 67 AddEndEntry(observer, source, NetLog::TYPE_REQUEST_ALIVE, NULL); 68 AddEndEntry(observer, 142 LoadTimingObserver observer; local 152 LoadTimingObserver observer; local 174 LoadTimingObserver observer; local 195 LoadTimingObserver observer; local 216 LoadTimingObserver observer; local 238 LoadTimingObserver observer; local 249 LoadTimingObserver observer; local 268 LoadTimingObserver observer; local 293 LoadTimingObserver observer; local 326 LoadTimingObserver observer; local 352 LoadTimingObserver observer; local 378 LoadTimingObserver observer; local [all...] |
/external/chromium/chrome/browser/policy/ |
dummy_configuration_policy_provider.cc | 15 FOR_EACH_OBSERVER(ConfigurationPolicyProvider::Observer, 26 ConfigurationPolicyProvider::Observer* observer) { 27 observer_list_.AddObserver(observer); 31 ConfigurationPolicyProvider::Observer* observer) { 32 observer_list_.RemoveObserver(observer);
|
dummy_configuration_policy_provider.h | 26 virtual void AddObserver(ConfigurationPolicyProvider::Observer* observer); 27 virtual void RemoveObserver(ConfigurationPolicyProvider::Observer* observer); 29 ObserverList<ConfigurationPolicyProvider::Observer, true> observer_list_;
|
asynchronous_policy_provider.cc | 33 ConfigurationPolicyProvider::Observer* observer) { 34 loader_->AddObserver(observer); 38 ConfigurationPolicyProvider::Observer* observer) { 39 loader_->RemoveObserver(observer);
|
cloud_policy_identity_strategy.cc | 13 void CloudPolicyIdentityStrategy::AddObserver(Observer* obs) { 17 void CloudPolicyIdentityStrategy::RemoveObserver(Observer* obs) { 22 FOR_EACH_OBSERVER(Observer, observer_list_, OnDeviceTokenChanged()); 26 FOR_EACH_OBSERVER(Observer, observer_list_, OnCredentialsChanged());
|
/external/chromium/chrome/browser/status_icons/ |
status_icon.cc | 16 void StatusIcon::AddObserver(Observer* observer) { 17 observers_.AddObserver(observer); 20 void StatusIcon::RemoveObserver(Observer* observer) { 21 observers_.RemoveObserver(observer); 29 FOR_EACH_OBSERVER(Observer, observers_, OnClicked());
|
status_icon_unittest.cc | 9 class MockStatusIconObserver : public StatusIcon::Observer { 29 MockStatusIconObserver observer, observer2; local 30 EXPECT_CALL(observer, OnClicked()).Times(2); 32 icon.AddObserver(&observer); 36 icon.RemoveObserver(&observer); 43 MockStatusIconObserver observer; local 44 EXPECT_CALL(observer, OnClicked()); 45 icon.AddObserver(&observer); 47 icon.RemoveObserver(&observer);
|
/frameworks/base/core/java/android/database/ |
Observable.java | 26 * The list of observers. An observer can be in the list at most 32 * Adds an observer to the list. The observer cannot be null and it must not already 34 * @param observer the observer to register 35 * @throws IllegalArgumentException the observer is null 36 * @throws IllegalStateException the observer is already registered 38 public void registerObserver(T observer) { 39 if (observer == null) { 40 throw new IllegalArgumentException("The observer is null.") [all...] |
ContentObservable.java | 26 public void registerObserver(ContentObserver observer) { 27 super.registerObserver(observer); 31 * invokes dispatchUpdate on each observer, unless the observer doesn't want 37 for (ContentObserver observer : mObservers) { 38 if (!selfChange || observer.deliverSelfNotifications()) { 39 observer.dispatchChange(selfChange); 46 * invokes onChange on each observer 51 for (ContentObserver observer : mObservers) { 52 observer.onChange(selfChange) [all...] |
/external/chromium/chrome/browser/ui/webui/options/ |
font_settings_fonts_list_loader.h | 20 // Any clients of this class must implement this observer interface in 22 class Observer { 27 virtual ~Observer() {} 30 // Pass in an observer, often 'this'. 31 explicit FontSettingsFontsListLoader(Observer* observer); 37 // Start loading of the fonts list. The observer will be notified when this 41 // Set the observer. This class does not take ownership of the observer. 42 // The observer can be NULL [all...] |
/external/chromium/chrome/browser/chromeos/ |
wm_message_listener.h | 23 // To listen for window manager messages add an observer. 24 class WmMessageListener : public MessageLoopForUI::Observer { 26 // Observer is notified any time a message is received from the window 28 class Observer { 36 void AddObserver(Observer* observer) { 37 observers_.AddObserver(observer); 40 void RemoveObserver(Observer* observer) { 41 observers_.RemoveObserver(observer); [all...] |
proxy_config_service.h | 23 virtual void AddObserver(Observer* observer) { 24 impl_->AddObserver(observer); 26 virtual void RemoveObserver(Observer* observer) { 27 impl_->RemoveObserver(observer);
|
update_browsertest.cc | 26 typedef ObserverList<chromeos::UpdateLibrary::Observer> Observers; 35 FOR_EACH_OBSERVER(chromeos::UpdateLibrary::Observer, *observers, 40 Observers* observer) { 44 CallObservers(lib, observer, status); 47 CallObservers(lib, observer, status); 50 CallObservers(lib, observer, status); 54 CallObservers(lib, observer, status); 58 CallObservers(lib, observer, status); 62 CallObservers(lib, observer, status); 65 CallObservers(lib, observer, status) [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
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...] |
/external/chromium/chrome/browser/chromeos/cros/ |
brightness_library.h | 15 class Observer { 22 virtual void AddObserver(Observer* observer) = 0; 23 virtual void RemoveObserver(Observer* observer) = 0;
|
brightness_library.cc | 30 void AddObserver(Observer* observer) { 31 observers_.AddObserver(observer); 34 void RemoveObserver(Observer* observer) { 35 observers_.RemoveObserver(observer); 64 FOR_EACH_OBSERVER(Observer, 71 ObserverList<Observer> observers_; 80 void AddObserver(Observer* observer) {} [all...] |
screen_lock_library.cc | 29 void AddObserver(Observer* observer) { 30 observers_.AddObserver(observer); 33 void RemoveObserver(Observer* observer) { 34 observers_.RemoveObserver(observer); 67 FOR_EACH_OBSERVER(Observer, observers_, LockScreen(this)); 78 FOR_EACH_OBSERVER(Observer, observers_, UnlockScreen(this)); 89 FOR_EACH_OBSERVER(Observer, observers_, UnlockScreenFailed(this)); 109 ObserverList<Observer> observers_ [all...] |
/packages/apps/Mms/src/com/android/mms/model/ |
Model.java | 26 public void registerModelChangedObserver(IModelChangedObserver observer) { 27 if (!mModelChangedObservers.contains(observer)) { 28 mModelChangedObservers.add(observer); 29 registerModelChangedObserverInDescendants(observer); 33 public void unregisterModelChangedObserver(IModelChangedObserver observer) { 34 mModelChangedObservers.remove(observer); 35 unregisterModelChangedObserverInDescendants(observer); 44 for (IModelChangedObserver observer : mModelChangedObservers) { 45 observer.onModelChanged(this, dataChanged); 50 IModelChangedObserver observer) { [all...] |
/external/chromium/net/base/ |
cert_database.cc | 26 : observer_list_(new ObserverListThreadSafe<CertDatabase::Observer>) { 37 const scoped_refptr<ObserverListThreadSafe<CertDatabase::Observer> > 41 void CertDatabase::AddObserver(Observer* observer) { 42 CertDatabaseNotifier::GetInstance()->observer_list_->AddObserver(observer); 45 void CertDatabase::RemoveObserver(Observer* observer) { 46 CertDatabaseNotifier::GetInstance()->observer_list_->RemoveObserver(observer); 51 &CertDatabase::Observer::OnUserCertAdded, make_scoped_refptr(cert)); 57 &CertDatabase::Observer::OnCertTrustChanged, make_scoped_refptr(cert)) [all...] |
/libcore/luni/src/main/java/java/util/ |
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>(); 44 * Adds the specified observer to the list of observers. If it is already 47 * @param observer 48 * the Observer to add. 50 public void addObserver(Observer observer) { 51 if (observer == null) [all...] |
/external/chromium/chrome/browser/prefs/ |
value_map_pref_store.cc | 21 void ValueMapPrefStore::AddObserver(PrefStore::Observer* observer) { 22 observers_.AddObserver(observer); 25 void ValueMapPrefStore::RemoveObserver(PrefStore::Observer* observer) { 26 observers_.RemoveObserver(observer); 31 FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key)); 36 FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key)); 40 FOR_EACH_OBSERVER(Observer, observers_, OnInitializationCompleted());
|
pref_change_registrar_unittest.cc | 19 // A mock provider that allows us to capture pref observer changes. 39 NotificationObserver* observer() const { return observer_.get(); } function in class:PrefChangeRegistrarTest 58 AddPrefObserver(Eq(std::string("test.pref.1")), observer())); 60 AddPrefObserver(Eq(std::string("test.pref.2")), observer())); 61 registrar.Add("test.pref.1", observer()); 62 registrar.Add("test.pref.2", observer()); 68 RemovePrefObserver(Eq(std::string("test.pref.1")), observer())); 70 RemovePrefObserver(Eq(std::string("test.pref.2")), observer())); 71 registrar.Remove("test.pref.1", observer()); 72 registrar.Remove("test.pref.2", observer()); [all...] |
/external/chromium/net/proxy/ |
proxy_config_service_fixed.h | 22 virtual void AddObserver(Observer* observer) {} 23 virtual void RemoveObserver(Observer* observer) {}
|
proxy_config_service_android.h | 21 virtual void AddObserver(Observer* observer); 22 virtual void RemoveObserver(Observer* observer); 30 ObserverList<Observer> observers_;
|
/external/chromium/chrome/browser/ui/login/ |
login_model.h | 11 // Simple Model & Observer interfaces for a LoginView to facilitate exchanging 26 // Set the observer interested in the data from the model. 27 // observer can be null, signifying there is no longer any observer 29 virtual void SetObserver(LoginModelObserver* observer) = 0;
|