/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/ |
VerifierFactory.java | 43 private static final List<VerifierFactoryObserver> observers = new Vector<>(); field in class:VerifierFactory 70 * Notifies the observers of a newly generated Verifier. 73 // notify the observers 74 for (final VerifierFactoryObserver vfo : observers) { 94 * Adds the VerifierFactoryObserver o to the list of observers. 97 observers.add(o); 102 * Removes the VerifierFactoryObserver o from the list of observers. 105 observers.remove(o);
|
/external/webrtc/talk/app/webrtc/ |
notifier.h | 61 // Copy the list of observers to avoid a crash if the observer object 64 std::list<ObserverInterface*> observers = observers_; local 65 for (std::list<ObserverInterface*>::iterator it = observers.begin(); 66 it != observers.end(); ++it) {
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/services/ |
InfoActivity.java | 48 ArrayList<Observer> observers = (ArrayList<Observer>) sObservers.clone(); local 50 for (Observer observer : observers) {
|
/external/setupdesign/main/src/com/google/android/setupdesign/items/ |
AbstractItemHierarchy.java | 26 /** An abstract item hierarchy; provides default implementation for ID and observers. */ 35 private final ArrayList<Observer> observers = new ArrayList<>(); field in class:AbstractItemHierarchy 60 observers.add(observer); 65 observers.remove(observer); 70 for (Observer observer : observers) { 86 for (Observer observer : observers) { 102 for (Observer observer : observers) { 122 for (Observer observer : observers) { 138 for (Observer observer : observers) {
|
/external/tensorflow/tensorflow/python/debug/wrappers/ |
local_cli_wrapper_test.py | 80 self.observers = { 98 self.observers["debug_dumps"].append(debug_dump) 99 self.observers["tf_errors"].append(tf_error) 102 self.observers["profiler_py_graphs"].append(py_graph) 103 self.observers["profiler_run_metadata"].append(run_metadata) 107 self.observers["run_start_cli_run_numbers"].append(self._run_call_count) 109 self.observers["run_end_cli_run_numbers"].append(self._run_call_count) 122 self.observers["print_feed_responses"].append( 216 self.assertEqual([1], wrapped_sess.observers["run_start_cli_run_numbers"]) 217 self.assertEqual([1, 2], wrapped_sess.observers["run_end_cli_run_numbers"] [all...] |
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/subjects/ |
rx-subject.hpp | 57 observers.push_back(o); 66 observers.reserve(old->observers.size() + 1); 68 old->observers.begin(), old->observers.end(), 69 std::inserter(observers, observers.end()), 76 list_type observers; member in struct:rxcpp::subjects::detail::multicast_observer::completer_type 129 return b->completer && !b->completer->observers.empty(); 185 if (!current_completer || current_completer->observers.empty()) [all...] |
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
AccessoryAttachmentHandler.java | 63 ArrayList<AccessoryAttachmentObserver> observers = local 66 for (AccessoryAttachmentObserver observer : observers) {
|
/external/tensorflow/tensorflow/python/debug/cli/ |
readline_ui_test.py | 43 self.observers = {"screen_outputs": []} 51 self.observers["screen_outputs"].append(screen_output) 91 self.assertEqual(0, len(ui.observers["screen_outputs"])) 98 self.assertEqual(1, len(ui.observers["screen_outputs"])) 108 screen_outputs = ui.observers["screen_outputs"] 119 screen_outputs = ui.observers["screen_outputs"] 131 screen_outputs = ui.observers["screen_outputs"] 148 self.assertEqual(0, len(ui.observers["screen_outputs"])) 160 screen_outputs = ui.observers["screen_outputs"] 173 outputs = ui.observers["screen_outputs" [all...] |
/external/skqp/modules/sksg/src/ |
SkSGNode.cpp | 66 auto observers = new std::vector<Node*>(); local 67 observers->reserve(2); 68 observers->push_back(node->fInvalObserver); 70 node->fInvalObserverArray = observers; 74 // No duplicate observers.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
AccessoryAttachmentHandler.java | 63 ArrayList<AccessoryAttachmentObserver> observers = local 66 for (AccessoryAttachmentObserver observer : observers) {
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/ |
FieldGen.java | 265 private List<FieldObserver> observers; field in class:FieldGen 271 if (observers == null) { 272 observers = new ArrayList<>(); 274 observers.add(o); 281 if (observers != null) { 282 observers.remove(o); 287 /** Call notify() method on all observers. This method is not called 292 if (observers != null) { 293 for (final FieldObserver observer : observers ) {
|
ClassGen.java | 523 private List<ClassObserver> observers; field in class:ClassGen 529 if (observers == null) { 530 observers = new ArrayList<>(); 532 observers.add(o); 539 if (observers != null) { 540 observers.remove(o); 545 /** Call notify() method on all observers. This method is not called 550 if (observers != null) { 551 for (final ClassObserver observer : observers) {
|
InstructionList.java | 1225 private List<InstructionListObserver> observers; external variable declarations [all...] |
MethodGen.java | 1057 private List<MethodObserver> observers; field in class:MethodGen [all...] |
/external/skia/modules/sksg/src/ |
SkSGNode.cpp | 66 auto observers = new std::vector<Node*>(); local 67 observers->reserve(2); 68 observers->push_back(node->fInvalObserver); 70 node->fInvalObserverArray = observers; 74 // No duplicate observers.
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/ |
NodeList.java | 53 private List<AstObserver> observers = new ArrayList<>(); field in class:NodeList 465 this.observers.forEach(o -> o.listChange(this, AstObserver.ListChangeType.ADDITION, index, nodeAddedOrRemoved)); 469 this.observers.forEach(o -> o.listChange(this, AstObserver.ListChangeType.REMOVAL, index, nodeAddedOrRemoved)); 473 this.observers.forEach(o -> o.listReplacement(this, index, this.get(index), nodeAddedOrRemoved)); 478 this.observers.remove(observer); 483 this.observers.add(observer); 488 return this.observers.contains(observer);
|
Node.java | 89 * <h2>Observers</h2> 90 * <p>It is possible to add observers to the the tree. 91 * Any change in the tree is sent as an event to any observers watching. 104 * Different registration mode for observers on nodes. 172 private List<AstObserver> observers = new ArrayList<>(); field in class:Node 378 observers.forEach(o -> o.parentChange(this, parentNode, newParentNode)); 539 this.observers.forEach(o -> o.propertyChange(this, property, oldValue, newValue)); 544 this.observers.remove(observer); 549 this.observers.add(observer); 592 return this.observers.contains(observer) [all...] |
/external/Reactive-Extensions/RxCpp/Rx/v2/test/subscriptions/ |
subscription.cpp | 14 auto observers = std::make_shared<std::list<rxcpp::subscriber<int>>>(); variable 17 auto it = observers->insert(observers->end(), out); 19 observers->erase(it);
|
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/ |
window.cpp | 93 auto observers = std::vector<rxt::testable_observer<int>>(); variable 111 observers.push_back(result.get_observer()); 121 REQUIRE(5 == observers.size()); 131 auto actual = observers[0].messages(); 142 auto actual = observers[1].messages(); 153 auto actual = observers[2].messages(); 163 auto actual = observers[3].messages(); 171 auto actual = observers[4].messages(); [all...] |
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
rx-group_by.hpp | 112 , observers(0) 117 std::atomic<int> observers; member in struct:rxcpp::operators::detail::group_by::group_by_state_type 122 ++state->observers; 127 --state->observers; 128 if (state->observers == 0) {
|
/external/mockito/src/test/java/org/mockito/internal/util/reflection/ |
ParameterizedConstructorInstantiatorTest.java | 149 VarargConstructor(String whatever, Observer... observers) { }
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/ |
imagenet_model_evaluator.cc | 88 explicit CompositeObserver(const std::vector<Observer*>& observers) 89 : observers_(observers) {}
|
/frameworks/av/media/bufferpool/2.0/ |
AccessorImpl.cpp | 256 std::map<ConnectionId, const sp<IObserver>> observers; local 261 mBufferPool.mInvalidation.onHandleAck(&observers, &invalidationId); 265 for (auto it = observers.begin(); it != observers.end(); ++it) { 387 std::map<ConnectionId, const sp<IObserver>> *observers, 396 observers->emplace(it->first, observer);
|
AccessorImpl.h | 162 std::map<ConnectionId, const sp<IObserver>> *observers,
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/ |
rx-test.hpp | 291 mutable std::list<observer_type> observers; member in class:rxcpp::schedulers::hot_observable 306 auto local = this->observers; 319 auto olocation = observers.insert(observers.end(), o); 327 sharedThis->observers.erase(olocation);
|