Home
last modified time | relevance | path

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

123456

/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()
139 final Loader loader = getLoaderOrThrow(documentId); in getDocumentType()
145 final Loader loader = getLoaderOrThrow(documentId); in isChildDocument()
202 final Loader loader = getLoaderOrThrow(documentId); in queryDocument()
210 final Loader loader = getLoaderOrThrow(parentDocumentId); in createDocument()
218 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()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCreationFragment.java26 import android.content.Loader;
166 public Loader<Boolean> onCreateLoader(int id, Bundle args) { in onCreateLoader()
220 public void onLoadFinished(Loader<Boolean> loader, Boolean success) { in onLoadFinished()
244 public void onLoaderReset(Loader<Boolean> loader) {} in onLoaderReset()
250 public Loader<Account> onCreateLoader(int id, Bundle args) {
265 public void onLoadFinished(Loader<Account> loader, Account account) {
284 public void onLoaderReset(Loader<Account> loader) {}
290 public Loader<Account> onCreateLoader(int id, Bundle args) {
311 public void onLoadFinished(final Loader<Account> loader, final Account account) {
339 public void onLoaderReset(Loader<Account> loader) {}
DAccountServerBaseFragment.java22 import android.content.Loader;
264 public Loader<Boolean> onCreateLoader(int id, Bundle args) { in saveSettings()
269 public void onLoadFinished(Loader<Boolean> loader, Boolean data) { in saveSettings()
282 public void onLoaderReset(Loader<Boolean> loader) {} in saveSettings()
286 public abstract Loader<Boolean> getSaveSettingsLoader(); in getSaveSettingsLoader()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageSettingsManager.java30 import androidx.loader.content.Loader;
113 public Loader<PrivateStorageInfo> onCreateLoader(int id, Bundle args) { in onCreateLoader()
122 Loader<PrivateStorageInfo> loader, PrivateStorageInfo privateStorageInfo) { in onLoadFinished()
131 public void onLoaderReset(Loader<PrivateStorageInfo> loader) { in onLoaderReset()
143 public Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> onCreateLoader(int id, in onCreateLoader()
151 @NonNull Loader<SparseArray<StorageAsyncLoader.AppsStorageResult>> loader, in onLoadFinished()
159 @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/
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/fuelgauge/
DPowerUsageSummary.java43 import androidx.loader.content.Loader;
124 public Loader<BatteryInfo> onCreateLoader(int i, Bundle bundle) {
129 public void onLoadFinished(Loader<BatteryInfo> loader, BatteryInfo batteryInfo) {
136 public void onLoaderReset(Loader<BatteryInfo> loader) {
144 public Loader<List<BatteryInfo>> onCreateLoader(int i, Bundle bundle) {
149 public void onLoadFinished(Loader<List<BatteryInfo>> loader,
155 public void onLoaderReset(Loader<List<BatteryInfo>> loader) {
190 public Loader<List<BatteryTip>> onCreateLoader(int id, Bundle args) {
195 public void onLoadFinished(Loader<List<BatteryTip>> loader,
201 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/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/apps/DocumentsUI/src/com/android/documentsui/inspector/
DRuntimeDataSupplier.java32 import androidx.loader.content.Loader;
113 public Loader<Bundle> onCreateLoader(int id, Bundle unused) { in getDocumentMetadata()
118 public void onLoadFinished(Loader<Bundle> loader, Bundle data) { in getDocumentMetadata()
123 public void onLoaderReset(Loader<Bundle> loader) { in getDocumentMetadata()
177 public Loader<Cursor> onCreateLoader(int id, Bundle args) { in onCreateLoader()
182 public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) { in onLoadFinished()
193 public void onLoaderReset(Loader<Cursor> loader) { in onLoaderReset()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DEmlMessageViewFragment.java24 import android.content.Loader;
291 public Loader<ConversationMessage> onCreateLoader(int id, Bundle args) { in onCreateLoader()
301 public void onLoadFinished(Loader<ConversationMessage> loader, ConversationMessage data) { in onLoadFinished()
316 public void onLoaderReset(Loader<ConversationMessage> loader) { in onLoaderReset()
323 public Loader<Cursor> onCreateLoader(int id, Bundle args) { in onCreateLoader()
335 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { in onLoadFinished()
345 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/UnifiedEmail/src/com/android/mail/ui/
DAccountLoadCallbacks.java7 import android.content.Loader;
38 public Loader<ObjectCursor<Account>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
45 public void onLoadFinished(Loader<ObjectCursor<Account>> loader, in onLoadFinished()
51 public void onLoaderReset(Loader<ObjectCursor<Account>> loader) { in onLoaderReset()
DContactLoaderCallbacks.java22 import android.content.Loader;
56 public Loader<ImmutableMap<String, ContactInfo>> onCreateLoader(int id, Bundle args) { in onCreateLoader()
61 public void onLoadFinished(Loader<ImmutableMap<String, ContactInfo>> loader, in onLoadFinished()
68 public void onLoaderReset(Loader<ImmutableMap<String, ContactInfo>> loader) { in onLoaderReset()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/ui/
DMailAsyncTaskLoaderTest.java6 import android.content.Loader;
29 public Loader<Object> onCreateLoader(int id, Bundle args) { in runLoaderTest()
45 public void onLoadFinished(Loader<Object> loader, Object data) { in runLoaderTest()
51 public void onLoaderReset(Loader<Object> loader) {} in runLoaderTest()
/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()

123456