Home
last modified time | relevance | path

Searched refs:Loader (Results 1 – 25 of 114) 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()
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/
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.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/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.java41 import androidx.loader.content.Loader;
122 public Loader<BatteryInfo> onCreateLoader(int i, Bundle bundle) {
127 public void onLoadFinished(Loader<BatteryInfo> loader, BatteryInfo batteryInfo) {
134 public void onLoaderReset(Loader<BatteryInfo> loader) {
142 public Loader<List<BatteryInfo>> onCreateLoader(int i, Bundle bundle) {
147 public void onLoadFinished(Loader<List<BatteryInfo>> loader,
153 public void onLoaderReset(Loader<List<BatteryInfo>> loader) {
186 public Loader<List<BatteryTip>> onCreateLoader(int id, Bundle args) {
191 public void onLoadFinished(Loader<List<BatteryTip>> loader,
197 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/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/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/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/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/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/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/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;
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/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