OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:contentObserver
(Results
1 - 4
of
4
) sorted by null
/cts/tests/tests/database/src/android/database/cts/
ContentObserverTest.java
25
import android.database.
ContentObserver
;
31
@TestTargetClass(
ContentObserver
.class)
36
method = "
ContentObserver
",
53
MyContentObserver
contentObserver
;
54
contentObserver
= new MyContentObserver(null);
55
assertFalse(
contentObserver
.hasChanged());
56
assertFalse(
contentObserver
.getSelfChangeState());
57
contentObserver
.dispatchChange(true);
58
assertTrue(
contentObserver
.hasChanged());
59
assertTrue(
contentObserver
.getSelfChangeState())
[
all
...]
AbstractCursorTest.java
28
import android.database.
ContentObserver
;
143
args = {android.database.
ContentObserver
.class}
148
args = {android.database.
ContentObserver
.class}
152
MockContentObserver
contentObserver
= new MockContentObserver();
155
mDatabaseCursor.unregisterContentObserver(
contentObserver
);
156
fail("Can't unregister
ContentObserver
before it is registered.");
161
mDatabaseCursor.registerContentObserver(
contentObserver
);
164
mDatabaseCursor.registerContentObserver(
contentObserver
);
170
mDatabaseCursor.unregisterContentObserver(
contentObserver
);
171
mDatabaseCursor.registerContentObserver(
contentObserver
);
[
all
...]
/frameworks/base/core/java/android/database/
ContentObserver.java
25
public abstract class
ContentObserver
{
43
ContentObserver
.this.onChange(mSelf);
48
ContentObserver
mContentObserver;
50
public Transport(
ContentObserver
contentObserver
) {
51
mContentObserver =
contentObserver
;
55
ContentObserver
contentObserver
= mContentObserver;
56
if (
contentObserver
!= null) {
57
return
contentObserver
.deliverSelfNotifications()
[
all
...]
/frameworks/base/core/java/android/content/
ContentResolver.java
24
import android.database.
ContentObserver
;
[
all
...]
Completed in 76 milliseconds