Searched refs:DataLoaderThread (Results 1 – 7 of 7) sorted by relevance
38 public class DataLoaderThread extends HandlerThread { class39 private static DataLoaderThread sInstance;46 public DataLoaderThread() { in DataLoaderThread() method in DataLoaderThread52 sInstance = new DataLoaderThread(); in ensureThreadLocked()62 public static DataLoaderThread get() { in get()63 synchronized (DataLoaderThread.class) { in get()73 synchronized (DataLoaderThread.class) { in getHandler()83 synchronized (DataLoaderThread.class) { in getExecutor()
54 import com.android.providers.media.photopicker.DataLoaderThread;169 DataLoaderThread.waitForIdle(); in test_getItems_noItemsPresent()176 DataLoaderThread.waitForIdle(); in test_getItems_noItemsPresent()204 DataLoaderThread.waitForIdle(); in test_getCategoryItems_noItemsPresent()212 DataLoaderThread.waitForIdle(); in test_getCategoryItems_noItemsPresent()237 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()244 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()251 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()259 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()291 DataLoaderThread.waitForIdle(); in test_differentCategories_getCategoryItems()[all …]
79 import com.android.providers.media.photopicker.DataLoaderThread;205 DataLoaderThread.waitForIdle(); in testGetItems_noItems()231 DataLoaderThread.waitForIdle(); in testGetCategories()261 DataLoaderThread.waitForIdle(); in test_getItems_correctItemsReturned()307 DataLoaderThread.waitForIdle(); in test_getRemainingPreGrantedItems_correctItemsLoaded()402 DataLoaderThread.waitForIdle(); in test_initialisePreSelectionItems_correctItemsLoaded()407 DataLoaderThread.waitForIdle(); in test_initialisePreSelectionItems_correctItemsLoaded()1049 DataLoaderThread.waitForIdle(); in testMainGridInitRequest()1056 DataLoaderThread.waitForIdle(); in testMainGridInitRequest()1074 DataLoaderThread.waitForIdle(); in testMainGridPickerChoiceInitRequest()[all …]
19 import static com.android.providers.media.photopicker.DataLoaderThread.TOKEN;36 import com.android.providers.media.photopicker.DataLoaderThread;287 DataLoaderThread.getHandler().postDelayed(bannerController::reset, TOKEN, DELAY_MILLIS); in reset()304 DataLoaderThread.getHandler().postDelayed(() -> { in hideAllBanners()347 DataLoaderThread.getHandler().postDelayed(() -> { in maybeInitialiseAndSetBannersForCurrentUser()
29 import static com.android.providers.media.photopicker.DataLoaderThread.TOKEN;77 import com.android.providers.media.photopicker.DataLoaderThread;496 DataLoaderThread.getHandler().postDelayed(() -> in resetAllContentInCurrentProfile()506 DataLoaderThread.getHandler().postDelayed(() -> in resetAllContentInCurrentProfile()527 DataLoaderThread.getHandler().postDelayed(() -> { in initialisePreGrantsIfNecessary()628 DataLoaderThread.getHandler().postDelayed(() -> { in loadItemsAsync()767 DataLoaderThread.getHandler().postDelayed(() -> { in getItemDataForUris()855 DataLoaderThread.getHandler().removeCallbacksAndMessages( in getPaginatedCategoryItemsForAction()921 DataLoaderThread.getHandler().postDelayed(() -> { in loadCategoryItemsAsync()1016 DataLoaderThread.getHandler().postDelayed(() -> { in loadCategoriesAsync()[all …]
59 import com.android.providers.media.photopicker.DataLoaderThread;274 DataLoaderThread.waitForIdle(); in testPreview_showsOnlyAlreadyLoadedGrantItems()275 DataLoaderThread.getHandler().postDelayed(() -> { in testPreview_showsOnlyAlreadyLoadedGrantItems()283 }, DataLoaderThread.TOKEN, 0); in testPreview_showsOnlyAlreadyLoadedGrantItems()302 DataLoaderThread.waitForIdle(); in testPreview_showsOnlyAlreadyLoadedGrantItems()
55 import com.android.providers.media.photopicker.DataLoaderThread;291 DataLoaderThread.getExecutor().execute(mCloudMediaViewModel::loadMediaCollectionInfoAsync); in testLoadMediaCollectionInfo_NonNullProvider_NonNullCollectionInfo_NonMainThread()292 DataLoaderThread.waitForIdle(); in testLoadMediaCollectionInfo_NonNullProvider_NonNullCollectionInfo_NonMainThread()