Searched refs:mWorkManager (Results 1 – 4 of 4) sorted by relevance
118 private final WorkManager mWorkManager; field in PickerSyncManager126 mWorkManager = requireNonNull(workManager); in PickerSyncManager()154 mWorkManager.cancelUniqueWork(PERIODIC_SYNC_WORK_NAME); in setUpPeriodicWork()155 mWorkManager.cancelUniqueWork(PERIODIC_ALBUM_RESET_WORK_NAME); in setUpPeriodicWork()175 mWorkManager.enqueueUniqueWork( in setUpEndlessWork()190 final Operation enqueueOperation = mWorkManager in schedulePeriodicSyncs()221 mWorkManager.enqueueUniquePeriodicWork( in schedulePeriodicAlbumReset()252 mWorkManager.enqueueUniqueWork(workName, ExistingWorkPolicy.REPLACE, syncRequest); in syncMediaProactively()282 final Operation enqueueOperation = mWorkManager in syncMediaImmediately()333 mWorkManager in syncAlbumMediaForProviderImmediately()
69 private WorkProfileManager mWorkManager; field in ActivityAllAppsContainerViewTest85 mWorkManager = new WorkProfileManager(mUserManager, mActivityAllAppsContainerView, in setUp()87 mActivityAllAppsContainerView.setWorkManager(mWorkManager); in setUp()119 mWorkManager.setWorkProfileEnabled(true); in testWorkProfileEnabled_requestQuietModeCalledCorrectly()
141 protected WorkProfileManager mWorkManager; field in ActivityAllAppsContainerView214 mWorkManager = new WorkProfileManager( in ActivityAllAppsContainerView()272 new AlphabeticalAppsList<>(mActivityContext, mAllAppsStore, mWorkManager, null))); in initContent()405 mWorkManager.onActivePageChanged(SEARCH); in animateToSearchState()493 mWorkManager.reset(); in reset()570 mWorkManager.onActivePageChanged(currentActivePage); in onActivePageChanged()605 mAH.get(AdapterHolder.WORK).setup(workRecyclerView, mWorkManager.getItemInfoMatcher()); in rebindAdapters()610 mWorkManager.newScrollListener()); in rebindAdapters()715 mWorkManager.reset(); in replaceAppsRVContainer()719 mWorkManager.detachWorkModeSwitch(); in replaceAppsRVContainer()[all …]
128 private WorkManager mWorkManager; field in DeviceCheckInHelperTest151 mWorkManager = WorkManager.getInstance(mTestApplication); in setUp()232 assertThat(mWorkManager.getWorkInfosForUniqueWork(FCM_TOKEN_WORK_NAME).get()).isEmpty(); in handleGetDeviceCheckInStatusResponse_ready_nonEmptyFcmDoesNotStartFcmWork()243 List<WorkInfo> actualWorks = Futures.getUnchecked(mWorkManager.getWorkInfosForUniqueWork( in handleGetDeviceCheckInStatusResponse_readyForProvisioning_emptyFcmStartsWork()275 assertThat(mWorkManager.getWorkInfosForUniqueWork(FCM_TOKEN_WORK_NAME).get()).isEmpty(); in handleGetDeviceCheckInStatusResponse_retryCheckIn_nonEmptyFcmDoesNotStartFcmWork()287 List<WorkInfo> actualWorks = Futures.getUnchecked(mWorkManager.getWorkInfosForUniqueWork( in handleGetDeviceCheckInStatusResponse_retryCheckIn_emptyFcmStartsWork()