Home
last modified time | relevance | path

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

12345

/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/
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()
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()
/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/fuelgauge/
DPowerUsageSummary.java39 import androidx.loader.content.Loader;
114 public Loader<BatteryInfo> onCreateLoader(int i, Bundle bundle) {
119 public void onLoadFinished(Loader<BatteryInfo> loader, BatteryInfo batteryInfo) {
126 public void onLoaderReset(Loader<BatteryInfo> loader) {
134 public Loader<List<BatteryInfo>> onCreateLoader(int i, Bundle bundle) {
139 public void onLoadFinished(Loader<List<BatteryInfo>> loader,
145 public void onLoaderReset(Loader<List<BatteryInfo>> loader) {
178 public Loader<List<BatteryTip>> onCreateLoader(int id, Bundle args) {
183 public void onLoadFinished(Loader<List<BatteryTip>> loader,
189 public void onLoaderReset(Loader<List<BatteryTip>> loader) {
DPowerUsageBase.java28 import androidx.loader.content.Loader;
102 public Loader<BatteryStatsHelper> onCreateLoader(int id, in onCreateLoader()
109 public void onLoadFinished(Loader<BatteryStatsHelper> loader, in onLoadFinished()
116 public void onLoaderReset(Loader<BatteryStatsHelper> loader) { in onLoaderReset()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageDashboardFragment.java35 import androidx.loader.content.Loader;
253 public Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> onCreateLoader(int id, in onCreateLoader()
263 public void onLoadFinished(Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> loader, in onLoadFinished()
271 public void onLoaderReset(Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> loader) { in onLoaderReset()
348 public Loader<SparseArray<Drawable>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
356 Loader<SparseArray<Drawable>> loader, SparseArray<Drawable> data) { in onLoadFinished()
367 public void onLoaderReset(Loader<SparseArray<Drawable>> loader) { in onLoaderReset()
374 public Loader<PrivateStorageInfo> onCreateLoader(int id, Bundle args) { in onCreateLoader()
383 public void onLoaderReset(Loader<PrivateStorageInfo> loader) { in onLoaderReset()
388 Loader<PrivateStorageInfo> loader, PrivateStorageInfo privateStorageInfo) { in onLoadFinished()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerUsageSummary.java37 import androidx.loader.content.Loader;
109 public Loader<BatteryInfo> onCreateLoader(int i, Bundle bundle) {
114 public void onLoadFinished(Loader<BatteryInfo> loader, BatteryInfo batteryInfo) {
121 public void onLoaderReset(Loader<BatteryInfo> loader) {
129 public Loader<List<BatteryInfo>> onCreateLoader(int i, Bundle bundle) {
134 public void onLoadFinished(Loader<List<BatteryInfo>> loader,
140 public void onLoaderReset(Loader<List<BatteryInfo>> loader) {
175 public Loader<List<BatteryTip>> onCreateLoader(int id, Bundle args) {
180 public void onLoadFinished(Loader<List<BatteryTip>> loader,
186 public void onLoaderReset(Loader<List<BatteryTip>> loader) {
DPowerUsageBase.java28 import androidx.loader.content.Loader;
107 public Loader<BatteryStatsHelper> onCreateLoader(int id, in onCreateLoader()
114 public void onLoadFinished(Loader<BatteryStatsHelper> loader, in onLoadFinished()
121 public void onLoaderReset(Loader<BatteryStatsHelper> loader) { in onLoaderReset()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageDashboardFragment.java35 import androidx.loader.content.Loader;
259 public Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> onCreateLoader(int id, in onCreateLoader()
269 public void onLoadFinished(Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> loader, in onLoadFinished()
277 public void onLoaderReset(Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> loader) { in onLoaderReset()
354 public Loader<SparseArray<Drawable>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
362 Loader<SparseArray<Drawable>> loader, SparseArray<Drawable> data) { in onLoadFinished()
373 public void onLoaderReset(Loader<SparseArray<Drawable>> loader) { in onLoaderReset()
380 public Loader<PrivateStorageInfo> onCreateLoader(int id, Bundle args) { in onCreateLoader()
389 public void onLoaderReset(Loader<PrivateStorageInfo> loader) { in onLoaderReset()
394 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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsLicenseActivity.java31 import androidx.loader.content.Loader;
62 public Loader<File> onCreateLoader(int id, Bundle args) { in onCreateLoader()
67 public void onLoadFinished(Loader<File> loader, File generatedHtmlFile) { in onLoadFinished()
72 public void onLoaderReset(Loader<File> 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/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) {
/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()

12345