/external/chromium_org/ash/shelf/ |
D | scoped_observer_with_duplicated_sources_unittest.cc | 47 observers(&observer); in TEST() local 49 EXPECT_FALSE(observers.IsObserving(&source1)); in TEST() 51 EXPECT_FALSE(observers.IsObserving(&source2)); in TEST() 54 observers.Add(&source1); in TEST() 56 EXPECT_TRUE(observers.IsObserving(&source1)); in TEST() 58 observers.Add(&source1); in TEST() 60 EXPECT_TRUE(observers.IsObserving(&source1)); in TEST() 63 observers.Add(&source2); in TEST() 65 EXPECT_TRUE(observers.IsObserving(&source2)); in TEST() 68 observers.Remove(&source1); in TEST() [all …]
|
/external/chromium_org/base/power_monitor/ |
D | power_monitor_unittest.cc | 35 PowerMonitorTestObserver observers[kObservers]; in TEST_F() local 37 monitor()->AddObserver(&observers[index]); in TEST_F() 41 EXPECT_EQ(observers[0].resumes(), 0); in TEST_F() 47 EXPECT_EQ(observers[index].suspends(), 1); in TEST_F() 51 EXPECT_EQ(observers[0].suspends(), 1); in TEST_F() 55 EXPECT_EQ(observers[0].resumes(), 1); in TEST_F() 59 EXPECT_EQ(observers[0].resumes(), 1); in TEST_F() 63 EXPECT_EQ(observers[0].power_state_changes(), 1); in TEST_F() 64 EXPECT_EQ(observers[0].last_power_state(), true); in TEST_F() 68 EXPECT_EQ(observers[0].power_state_changes(), 1); in TEST_F() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | NetworkStateNotifier.cpp | 94 ASSERT(result.storedValue->value->observers.find(observer) == kNotFound); in addObserver() 95 result.storedValue->value->observers.append(observer); in addObserver() 107 Vector<NetworkStateObserver*>& observers = observerList->observers; in removeObserver() local 108 size_t index = observers.find(observer); in removeObserver() 110 observers[index] = 0; in removeObserver() 143 for (size_t i = 0; i < observerList->observers.size(); ++i) { in notifyObserversOnContext() 145 if (observerList->observers[i]) in notifyObserversOnContext() 146 observerList->observers[i]->connectionTypeChange(type); in notifyObserversOnContext() 170 list->observers.remove(list->zeroedObservers[i]); in collectZeroedObservers() 174 if (list->observers.isEmpty()) { in collectZeroedObservers()
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | MutationObserverInterestGroup.cpp | 42 … WillBeHeapHashMap<RawPtrWillBeMember<MutationObserver>, MutationRecordDeliveryOptions> observers; in createIfNeeded() local 43 target.getRegisteredMutationObserversOfType(observers, type, attributeName); in createIfNeeded() 44 if (observers.isEmpty()) in createIfNeeded() 47 return adoptPtrWillBeNoop(new MutationObserverInterestGroup(observers, oldValueFlag)); in createIfNeeded() 50 …p<RawPtrWillBeMember<MutationObserver>, MutationRecordDeliveryOptions>& observers, MutationRecordD… in MutationObserverInterestGroup() argument 53 ASSERT(!observers.isEmpty()); in MutationObserverInterestGroup() 54 m_observers.swap(observers); in MutationObserverInterestGroup()
|
D | MutationObserver.cpp | 276 MutationObserverVector observers; in deliverMutations() local 277 copyToVector(activeMutationObservers(), observers); in deliverMutations() 279 std::sort(observers.begin(), observers.end(), ObserverLessThan()); in deliverMutations() 280 for (size_t i = 0; i < observers.size(); ++i) { in deliverMutations() 281 if (observers[i]->canDeliver()) in deliverMutations() 282 observers[i]->deliver(); in deliverMutations() 284 suspendedMutationObservers().add(observers[i]); in deliverMutations()
|
/external/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/ |
D | Android.mk | 17 test_makefile := external/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/An… 19 test_name := diagnostics/syserr/syserr.errcode/syserr.errcode.observers/bool 23 test_name := diagnostics/syserr/syserr.errcode/syserr.errcode.observers/default_error_condition 27 test_name := diagnostics/syserr/syserr.errcode/syserr.errcode.observers/category 31 test_name := diagnostics/syserr/syserr.errcode/syserr.errcode.observers/message 35 test_name := diagnostics/syserr/syserr.errcode/syserr.errcode.observers/value
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/ |
D | Android.mk | 17 …al/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/Android.mk 19 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/dereference 23 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/get 27 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/explicit_bool 31 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/op_arrow 35 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/get_deleter
|
/external/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/ |
D | Android.mk | 17 …xternal/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/Android.mk 19 test_name := diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/bool 23 test_name := diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/category 27 test_name := diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/message 31 test_name := diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/value
|
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/ |
D | Android.mk | 17 …/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/Android.mk 19 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/get 23 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/explicit_b… 27 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/index 31 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/get_deleter
|
/external/chromium_org/chrome/browser/ |
D | command_updater.cc | 18 ObserverList<CommandObserver> observers; member in CommandUpdater::Command 57 GetCommand(id, true)->observers.AddObserver(observer); in AddCommandObserver() 61 GetCommand(id, false)->observers.RemoveObserver(observer); in RemoveCommandObserver() 70 command->observers.RemoveObserver(observer); in RemoveCommandObserver() 79 FOR_EACH_OBSERVER(CommandObserver, command->observers, in UpdateCommandEnabled()
|
/external/chromium_org/chrome/browser/extensions/api/storage/ |
D | sync_value_store_cache.cc | 41 const scoped_refptr<SettingsObserverList>& observers, in SyncValueStoreCache() argument 53 factory, observers, profile_path)); in SyncValueStoreCache() 94 const scoped_refptr<SettingsObserverList>& observers, in InitOnFileThread() argument 102 observers, in InitOnFileThread() 109 observers, in InitOnFileThread()
|
D | sync_value_store_cache.h | 35 const scoped_refptr<SettingsObserverList>& observers, 49 const scoped_refptr<SettingsObserverList>& observers,
|
/external/chromium_org/webkit/browser/fileapi/ |
D | task_runner_bound_observer_list.h | 45 const ObserversListMap& observers) 46 : observers_(observers) {} in observers_() argument 58 ObserversListMap observers = observers_; in AddObserver() local 59 observers.insert(std::make_pair(observer, runner_to_notify)); in AddObserver() 60 return TaskRunnerBoundObserverList<Observer, ObserverStoreType>(observers); in AddObserver()
|
/external/chromium_org/chrome/browser/ui/ |
D | browser_instant_controller_unittest.cc | 95 ScopedVector<FakeWebContentsObserver> observers; in TEST_F() local 109 observers.push_back(new FakeWebContentsObserver(contents)); in TEST_F() 115 FakeWebContentsObserver* observer = observers[i]; in TEST_F() 134 ScopedVector<FakeWebContentsObserver> observers; in TEST_F() local 148 observers.push_back(new FakeWebContentsObserver(contents)); in TEST_F() 155 FakeWebContentsObserver* observer = observers[i]; in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/ |
D | chrome_extensions_api_client.cc | 24 const scoped_refptr<ObserverListThreadSafe<SettingsObserver> >& observers, in AddAdditionalValueStoreCaches() 28 new SyncValueStoreCache(factory, observers, context->GetPath()); in AddAdditionalValueStoreCaches() 33 new ManagedValueStoreCache(context, factory, observers); in AddAdditionalValueStoreCaches()
|
/external/chromium_org/sync/sessions/ |
D | directory_type_debug_info_emitter.cc | 17 ObserverList<TypeDebugInfoObserver>* observers) in DirectoryTypeDebugInfoEmitter() argument 20 type_debug_info_observers_(observers) {} in DirectoryTypeDebugInfoEmitter() 24 ObserverList<TypeDebugInfoObserver>* observers) in DirectoryTypeDebugInfoEmitter() argument 27 type_debug_info_observers_(observers) {} in DirectoryTypeDebugInfoEmitter()
|
D | directory_type_debug_info_emitter.h | 46 ObserverList<TypeDebugInfoObserver>* observers); 51 ObserverList<TypeDebugInfoObserver>* observers);
|
/external/chromium_org/base/system_monitor/ |
D | system_monitor_unittest.cc | 34 MockDevicesChangedObserver observers[kObservers]; in TEST_F() local 36 system_monitor_->AddDevicesChangedObserver(&observers[index]); in TEST_F() 38 EXPECT_CALL(observers[index], in TEST_F()
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
D | notifier.h | 64 std::list<ObserverInterface*> observers = observers_; in FireOnChanged() local 65 for (std::list<ObserverInterface*>::iterator it = observers.begin(); in FireOnChanged() 66 it != observers.end(); ++it) { in FireOnChanged()
|
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/ |
D | node.cc | 24 *NodePrivate(receiver).observers(), in NotifyViewTreeChangeAtReceiver() 91 *NodePrivate(node_).observers(), in ScopedOrderChangedNotifier() 101 *NodePrivate(node_).observers(), in ~ScopedOrderChangedNotifier() 155 *NodePrivate(node).observers(), in ScopedSetActiveViewNotifier() 164 *NodePrivate(node_).observers(), in ~ScopedSetActiveViewNotifier() 189 *NodePrivate(node_).observers(), in ScopedSetBoundsNotifier() 198 *NodePrivate(node_).observers(), in ~ScopedSetBoundsNotifier() 219 *NodePrivate(node_).observers(), in ScopedDestructionNotifier() 225 *NodePrivate(node_).observers(), in ~ScopedDestructionNotifier()
|
D | view.cc | 23 *ViewPrivate(view_).observers(), in ScopedDestructionNotifier() 29 *ViewPrivate(view_).observers(), in ~ScopedDestructionNotifier()
|
/external/chromium_org/base/ |
D | observer_list.h | 99 ListType& observers = list_->observers_; in GetNext() local 101 size_t max_index = std::min(max_index_, observers.size()); in GetNext() 102 while (index_ < max_index && !observers[index_]) in GetNext() 104 return index_ < max_index ? observers[index_++] : NULL; in GetNext()
|
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
D | screen_context.js | 86 var observers = this.cloneObservers_(); 88 if (observers.hasOwnProperty(key)) { 89 var keyObservers = observers[key];
|
/external/chromium_org/base/prefs/ |
D | pref_notifier_impl.cc | 87 PrefInitObserverList observers(init_observers_); in OnInitializationCompleted() local 90 for (PrefInitObserverList::iterator it = observers.begin(); in OnInitializationCompleted() 91 it != observers.end(); in OnInitializationCompleted()
|
/external/chromium_org/chrome/browser/prefs/ |
D | pref_model_associator.cc | 549 SyncedPrefObserverList* observers = synced_pref_observers_[name]; in AddSyncedPrefObserver() local 550 if (observers == NULL) { in AddSyncedPrefObserver() 551 observers = new SyncedPrefObserverList; in AddSyncedPrefObserver() 552 synced_pref_observers_[name] = observers; in AddSyncedPrefObserver() 554 observers->AddObserver(observer); in AddSyncedPrefObserver() 563 SyncedPrefObserverList* observers = observer_iter->second; in RemoveSyncedPrefObserver() local 564 observers->RemoveObserver(observer); in RemoveSyncedPrefObserver() 661 SyncedPrefObserverList* observers = observer_iter->second; in NotifySyncedPrefObservers() local 662 FOR_EACH_OBSERVER(SyncedPrefObserver, *observers, in NotifySyncedPrefObservers()
|