public class SyncAdaptersCache extends RegisteredServicesCache<SyncAdapterType>
android.content.ISyncAdapter
interface.RegisteredServicesCache.ServiceInfo<V>
mContext, mServicesLock, REGISTERED_SERVICES_DIR
Constructor and Description |
---|
SyncAdaptersCache(Context context) |
Modifier and Type | Method and Description |
---|---|
String[] |
getSyncAdapterPackagesForAuthority(String authority,
int userId) |
protected void |
onServicesChangedLocked(int userId) |
protected void |
onUserRemoved(int userId) |
SyncAdapterType |
parseServiceAttributes(Resources res,
String packageName,
AttributeSet attrs) |
dump, getAllServices, getDataDirectory, getListener, getPersistentServices, getServiceInfo, getUser, getUsers, getUserSystemDirectory, inSystemImage, invalidateCache, parseServiceInfo, queryIntentServices, setListener, updateServices
public SyncAdaptersCache(Context context)
public SyncAdapterType parseServiceAttributes(Resources res, String packageName, AttributeSet attrs)
parseServiceAttributes
in class RegisteredServicesCache<SyncAdapterType>
protected void onServicesChangedLocked(int userId)
onServicesChangedLocked
in class RegisteredServicesCache<SyncAdapterType>
public String[] getSyncAdapterPackagesForAuthority(String authority, int userId)
protected void onUserRemoved(int userId)
onUserRemoved
in class RegisteredServicesCache<SyncAdapterType>