OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:observer2
(Results
1 - 5
of
5
) sorted by null
/cts/tests/tests/database/src/android/database/cts/
ObservableTest.java
73
Object
observer2
= new Object();
local
76
observable.registerObserver(
observer2
);
85
observable.registerObserver(
observer2
);
94
observable.registerObserver(
observer2
);
/external/v8/test/mjsunit/es6/
debug-stepin-microtasks.js
72
Object.observe(dummy,
observer2
);
80
function
observer2
() {
function
/system/update_engine/update_manager/
variable_unittest.cc
124
BaseVariableObserver
observer2
;
local
125
var.AddObserver(&
observer2
);
131
EXPECT_EQ(1U,
observer2
.calls_.size());
134
var.RemoveObserver(&
observer2
);
164
BaseVariableObserverRemover
observer2
;
local
167
var.AddObserver(&
observer2
);
171
observer1.OnCallRemoveObserver(&
observer2
);
172
observer2
.OnCallRemoveObserver(&observer1);
173
observer2
.OnCallRemoveObserver(&
observer2
);
[
all
...]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsTimeBaseTest.java
85
BatteryStatsImpl.TimeBaseObs
observer2
= Mockito.mock(BatteryStatsImpl.TimeBaseObs.class);
local
90
tb.add(
observer2
);
93
Assert.assertTrue(tb.hasObserver(
observer2
));
99
Assert.assertTrue(tb.hasObserver(
observer2
));
124
Mockito.verify(
observer2
).onTimeStarted(14000, 100, 1000);
125
Mockito.verify(
observer2
, Mockito.never()).onTimeStopped(-1, -1, -1);
126
Mockito.verifyNoMoreInteractions(
observer2
);
129
Mockito.reset(
observer2
);
156
Mockito.verify(
observer2
).onTimeStopped(14002, 252, 1002);
157
Mockito.verify(
observer2
, Mockito.never()).onTimeStopped(-1, -1, -1)
[
all
...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ObservableTest.java
195
DeleteTestObserver observer1,
observer2
;
local
198
observable.addObserver(
observer2
= new DeleteTestObserver(false));
202
&&
observer2
.updateCount() == 1);
206
observable.addObserver(
observer2
= new DeleteTestObserver(false));
210
&&
observer2
.updateCount() == 1);
Completed in 237 milliseconds