public class TedPermissionProvider extends ContentProvider
ContentProvider.CallingIdentity, ContentProvider.PipeDataWriter<T>| Modifier and Type | Field and Description |
|---|---|
static Context |
context |
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN| Constructor and Description |
|---|
TedPermissionProvider() |
| Modifier and Type | Method and Description |
|---|---|
int |
delete(Uri uri,
String selection,
String[] selectionArgs) |
String |
getType(Uri uri) |
Uri |
insert(Uri uri,
ContentValues values) |
boolean |
onCreate() |
Cursor |
query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder) |
int |
update(Uri uri,
ContentValues values,
String selection,
String[] selectionArgs) |
applyBatch, applyBatch, attachInfo, bulkInsert, call, call, canonicalize, clearCallingIdentity, delete, dump, getCallingAttributionTag, getCallingPackage, getCallingPackageUnchecked, getContext, getPathPermissions, getReadPermission, getStreamTypes, getWritePermission, insert, isTemporary, onCallingPackageChanged, onConfigurationChanged, onLowMemory, onTrimMemory, openAssetFile, openAssetFile, openFile, openFile, openFileHelper, openPipeHelper, openTypedAssetFile, openTypedAssetFile, query, query, refresh, requireContext, restoreCallingIdentity, setPathPermissions, setReadPermission, setWritePermission, shutdown, uncanonicalize, updatepublic static Context context
public boolean onCreate()
onCreate in class ContentProvider@Nullable public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder)
query in class ContentProvider@Nullable public String getType(@NonNull Uri uri)
getType in class ContentProvider@Nullable public Uri insert(@NonNull Uri uri, @Nullable ContentValues values)
insert in class ContentProviderpublic int delete(@NonNull
Uri uri,
@Nullable
String selection,
@Nullable
String[] selectionArgs)
delete in class ContentProviderpublic int update(@NonNull
Uri uri,
@Nullable
ContentValues values,
@Nullable
String selection,
@Nullable
String[] selectionArgs)
update in class ContentProvider