Home
last modified time | relevance | path

Searched refs:Loader (Results 1 – 25 of 98) sorted by relevance

1234

/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchivesProvider.java68 private final Map<Key, Loader> mArchives = new HashMap<>();
101 final Loader loader = getLoaderOrThrow(documentId); in queryChildDocuments()
104 if (status == Loader.STATUS_OPENED) { in queryChildDocuments()
113 case Loader.STATUS_OPENING: in queryChildDocuments()
117 case Loader.STATUS_FAILED: in queryChildDocuments()
147 final Loader loader = getLoaderOrThrow(documentId); in getDocumentType()
153 final Loader loader = getLoaderOrThrow(documentId); in isChildDocument()
210 final Loader loader = getLoaderOrThrow(documentId); in queryDocument()
218 final Loader loader = getLoaderOrThrow(parentDocumentId); in createDocument()
226 final Loader loader = getLoaderOrThrow(documentId); in openDocument()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DTestLoaderManager.java21 import android.content.Loader;
81 List<Loader<?>> loaders = new ArrayList<Loader<?>>(loaderIds.length); in waitForLoaders()
98 waitForLoaders(loaders.toArray(new Loader<?>[0])); in waitForLoaders()
104 public static void waitForLoaders(Loader<?>... loaders) { in waitForLoaders()
135 public <D> Loader<D> initLoader(final int id, Bundle args, final LoaderCallbacks<D> callback) { in initLoader()
138 public Loader<D> onCreateLoader(int id, Bundle args) { in initLoader()
143 public void onLoadFinished(Loader<D> loader, D data) { in initLoader()
151 public void onLoaderReset(Loader<D> loader) { in initLoader()
158 public <D> Loader<D> restartLoader(int id, Bundle args, LoaderCallbacks<D> callback) {
168 public <D> Loader<D> getLoader(int id) {
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestSupportLoaderManager.java24 import androidx.loader.content.Loader;
25 import androidx.loader.content.Loader.OnLoadCompleteListener;
39 private final SparseArray<Loader> mLoaders = new SparseArray<>();
43 public <D> Loader<D> initLoader(int id, Bundle args, in initLoader()
45 Loader<D> loader = mLoaders.get(id); in initLoader()
61 public <D> Loader<D> restartLoader(int id, Bundle args, in restartLoader()
72 Loader loader = getLoader(id); in destroyLoader()
81 public <D> Loader<D> getLoader(int id) { in getLoader()
DTestLoaderManager.java21 import android.content.Loader;
22 import android.content.Loader.OnLoadCompleteListener;
36 private final SparseArray<Loader> mLoaders = new SparseArray<>();
40 public <D> Loader<D> initLoader(int id, Bundle args, in initLoader()
42 Loader<D> loader = mLoaders.get(id); in initLoader()
58 public <D> Loader<D> restartLoader(int id, Bundle args, in restartLoader()
69 Loader loader = getLoader(id); in destroyLoader()
78 public <D> Loader<D> getLoader(int id) { in getLoader()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationData.java21 import android.content.Loader;
184 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
186 Loader<Cursor> loader = null; in onCreateLoader()
203 public void onLoadFinished(final Loader<Cursor> generic, final Cursor data) { in onLoadFinished()
230 public void onLoaderReset(final Loader<Cursor> generic) { in onLoaderReset()
250 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
252 Loader<Cursor> loader = null; in onCreateLoader()
271 public void onLoadFinished(final Loader<Cursor> generic, final Cursor rawData) { in onLoadFinished()
319 public void onLoaderReset(final Loader<Cursor> generic) { in onLoaderReset()
353 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
[all …]
DConversationListData.java21 import android.content.Loader;
84 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
86 Loader<Cursor> loader = null; in onCreateLoader()
118 public void onLoadFinished(final Loader<Cursor> generic, final Cursor data) { in onLoadFinished()
147 public void onLoaderReset(final Loader<Cursor> generic) { in onLoaderReset()
DSettingsData.java21 import android.content.Loader;
131 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
133 Loader<Cursor> loader = null; in onCreateLoader()
151 public void onLoadFinished(final Loader<Cursor> generic, final Cursor data) { in onLoadFinished()
164 public void onLoaderReset(final Loader<Cursor> generic) { in onLoaderReset()
DBlockedParticipantsData.java21 import android.content.Loader;
54 public Loader<Cursor> onCreateLoader(final int id, final Bundle args) { in onCreateLoader()
68 public void onLoadFinished(final Loader<Cursor> loader, final Cursor cursor) { in onLoadFinished()
76 public void onLoaderReset(final Loader<Cursor> loader) { in onLoaderReset()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageSettingsManager.java29 import androidx.loader.content.Loader;
112 public Loader<PrivateStorageInfo> onCreateLoader(int id, Bundle args) { in onCreateLoader()
121 Loader<PrivateStorageInfo> loader, PrivateStorageInfo privateStorageInfo) { in onLoadFinished()
130 public void onLoaderReset(Loader<PrivateStorageInfo> loader) { in onLoaderReset()
142 public Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> onCreateLoader(int id, in onCreateLoader()
149 @NonNull Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> loader, in onLoadFinished()
157 @NonNull Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> loader) { in onLoaderReset()
DAppsStorageStatsManager.java27 import androidx.loader.content.Loader;
105 public Loader<StorageStatsSource.AppStorageStats> onCreateLoader(int id, in onCreateLoader()
113 @NonNull Loader<StorageStatsSource.AppStorageStats> loader, in onLoadFinished()
120 @NonNull Loader<StorageStatsSource.AppStorageStats> loader) { in onLoaderReset()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageCategoryFragment.java33 import androidx.loader.content.Loader;
260 public Loader<SparseArray<StorageAsyncLoader.StorageResult>> onCreateLoader(int id, in onCreateLoader()
270 public void onLoadFinished(Loader<SparseArray<StorageAsyncLoader.StorageResult>> loader, in onLoadFinished()
277 public void onLoaderReset(Loader<SparseArray<StorageAsyncLoader.StorageResult>> loader) { in onLoaderReset()
351 public Loader<SparseArray<Drawable>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
359 Loader<SparseArray<Drawable>> loader, SparseArray<Drawable> data) { in onLoadFinished()
370 public void onLoaderReset(Loader<SparseArray<Drawable>> loader) { in onLoaderReset()
381 public Loader<PrivateStorageInfo> onCreateLoader(int id, Bundle args) { in onCreateLoader()
391 public void onLoaderReset(Loader<PrivateStorageInfo> loader) { in onLoaderReset()
396 Loader<PrivateStorageInfo> loader, PrivateStorageInfo privateStorageInfo) { in onLoadFinished()
DStorageDashboardFragment.java40 import androidx.loader.content.Loader;
460 public Loader<SparseArray<StorageAsyncLoader.StorageResult>> onCreateLoader(int id, in onCreateLoader()
470 public void onLoadFinished(Loader<SparseArray<StorageAsyncLoader.StorageResult>> loader, in onLoadFinished()
477 public void onLoaderReset(Loader<SparseArray<StorageAsyncLoader.StorageResult>> loader) { in onLoaderReset()
551 public Loader<SparseArray<Drawable>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
559 Loader<SparseArray<Drawable>> loader, SparseArray<Drawable> data) { in onLoadFinished()
570 public void onLoaderReset(Loader<SparseArray<Drawable>> loader) { in onLoaderReset()
581 public Loader<PrivateStorageInfo> onCreateLoader(int id, Bundle args) { in onCreateLoader()
591 public void onLoaderReset(Loader<PrivateStorageInfo> loader) { in onLoaderReset()
596 Loader<PrivateStorageInfo> loader, PrivateStorageInfo privateStorageInfo) { in onLoadFinished()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DRuntimeDataSupplier.java32 import androidx.loader.content.Loader;
115 public Loader<Bundle> onCreateLoader(int id, Bundle unused) { in getDocumentMetadata()
120 public void onLoadFinished(Loader<Bundle> loader, Bundle data) { in getDocumentMetadata()
125 public void onLoaderReset(Loader<Bundle> loader) { in getDocumentMetadata()
182 public Loader<Cursor> onCreateLoader(int id, Bundle args) { in onCreateLoader()
187 public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) { in onLoadFinished()
198 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageSummary.java31 import androidx.loader.content.Loader;
100 public Loader<BatteryInfo> onCreateLoader(int i, Bundle bundle) {
105 public void onLoadFinished(Loader<BatteryInfo> loader, BatteryInfo batteryInfo) {
113 public void onLoaderReset(Loader<BatteryInfo> loader) {
122 public Loader<List<BatteryTip>> onCreateLoader(int id, Bundle args) {
127 public void onLoadFinished(Loader<List<BatteryTip>> loader,
135 public void onLoaderReset(Loader<List<BatteryTip>> loader) {
DPowerUsageBase.java30 import androidx.loader.content.Loader;
114 public Loader<BatteryUsageStats> onCreateLoader(int id, Bundle args) { in onCreateLoader()
120 public void onLoadFinished(Loader<BatteryUsageStats> loader, in onLoadFinished()
127 public void onLoaderReset(Loader<BatteryUsageStats> loader) { in onLoaderReset()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/model/
DTimeZoneDataLoader.java23 import androidx.loader.content.Loader;
59 public Loader onCreateLoader(int id, Bundle args) { in onCreateLoader()
64 public void onLoadFinished(Loader<TimeZoneData> loader, TimeZoneData data) { in onLoadFinished()
71 public void onLoaderReset(Loader<TimeZoneData> loader) { in onLoaderReset()
/packages/apps/Dialer/java/com/android/dialer/about/
DLicenseMenuActivity.java22 import android.support.v4.content.Loader;
85 public Loader<List<License>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
90 public void onLoadFinished(Loader<List<License>> loader, List<License> licenses) { in onLoadFinished()
97 public void onLoaderReset(Loader<List<License>> loader) { in onLoaderReset()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DAppsNetworkStatsManager.java31 import androidx.loader.content.Loader;
111 public Loader<NetworkStats> onCreateLoader(int id, Bundle args) { in onCreateLoader()
116 public void onLoadFinished(Loader<NetworkStats> loader, NetworkStats data) { in onLoadFinished()
123 public void onLoaderReset(Loader<NetworkStats> loader) { in onLoaderReset()
/packages/apps/Settings/src/com/android/settings/
DSettingsLicenseActivity.java31 import androidx.loader.content.Loader;
61 public Loader<File> onCreateLoader(int id, Bundle args) { in onCreateLoader()
66 public void onLoadFinished(Loader<File> loader, File generatedHtmlFile) { in onLoadFinished()
71 public void onLoaderReset(Loader<File> loader) { in onLoaderReset()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountsLoader.java23 import android.content.Loader;
96 public Loader<List<AccountInfo>> onCreateLoader(int id, Bundle args) { in loadAccounts()
102 Loader<List<AccountInfo>> loader, List<AccountInfo> data) { in loadAccounts()
107 public void onLoaderReset(Loader<List<AccountInfo>> loader) { in loadAccounts()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DLicenseActivity.java23 import android.content.Loader;
63 public Loader<File> onCreateLoader(int id, Bundle args) { in onCreateLoader()
68 public void onLoadFinished(Loader<File> loader, File generatedHtmlFile) { in onLoadFinished()
73 public void onLoaderReset(Loader<File> loader) { in onLoaderReset()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/savedqueries/
DSavedQueryController.java25 import androidx.loader.content.Loader;
60 public Loader onCreateLoader(int id, Bundle args) { in onCreateLoader()
73 public void onLoadFinished(Loader loader, Object data) { in onLoadFinished()
89 public void onLoaderReset(Loader loader) { in onLoaderReset()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppStoragePreferenceController.java27 import androidx.loader.content.Loader;
90 public Loader<StorageStatsSource.AppStorageStats> onCreateLoader(int id, Bundle args) { in onCreateLoader()
96 public void onLoadFinished(Loader<StorageStatsSource.AppStorageStats> loader, in onLoadFinished()
103 public void onLoaderReset(Loader<StorageStatsSource.AppStorageStats> loader) { in onLoaderReset()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DViewNumbersToImportFragment.java22 import android.content.Loader;
92 public Loader<Cursor> onCreateLoader(int id, Bundle args) { in onCreateLoader()
105 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { in onLoadFinished()
110 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerFragment.java23 import android.content.Loader;
93 public Loader<List<ContactListFilter>> onCreateLoader(int id, Bundle args) {
99 Loader<List<ContactListFilter>> loader, List<ContactListFilter> data) {
109 public void onLoaderReset(Loader<List<ContactListFilter>> loader) {
121 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
141 public void onLoaderReset(Loader<Cursor> loader) {

1234