public static final class ContentService.ObserverNode extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DELETE_TYPE |
static int |
INSERT_TYPE |
static int |
UPDATE_TYPE |
Constructor and Description |
---|
ObserverNode(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addObserverLocked(Uri uri,
IContentObserver observer,
boolean notifyForDescendants,
Object observersLock,
int uid,
int pid,
int userHandle) |
void |
collectObserversLocked(Uri uri,
int index,
IContentObserver observer,
boolean observerWantsSelfNotifications,
int flags,
int targetUserHandle,
ArrayList<ContentService.ObserverCall> calls)
targetUserHandle is either a hard user handle or is USER_ALL
|
void |
dumpLocked(FileDescriptor fd,
PrintWriter pw,
String[] args,
String name,
String prefix,
int[] counts,
SparseIntArray pidCounts) |
boolean |
removeObserverLocked(IContentObserver observer) |
public static final int INSERT_TYPE
public static final int UPDATE_TYPE
public static final int DELETE_TYPE
public ObserverNode(String name)
public void dumpLocked(FileDescriptor fd, PrintWriter pw, String[] args, String name, String prefix, int[] counts, SparseIntArray pidCounts)
public void addObserverLocked(Uri uri, IContentObserver observer, boolean notifyForDescendants, Object observersLock, int uid, int pid, int userHandle)
public boolean removeObserverLocked(IContentObserver observer)
public void collectObserversLocked(Uri uri, int index, IContentObserver observer, boolean observerWantsSelfNotifications, int flags, int targetUserHandle, ArrayList<ContentService.ObserverCall> calls)