/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBackgroundWorker.java | 94 SliceBackgroundWorker worker = getInstance(uri); in getInstance() local 95 if (worker == null) { in getInstance() 98 worker = createInstance(context.getApplicationContext(), uri, workerClass); in getInstance() 99 LIVE_WORKERS.put(uri, worker); in getInstance() 101 return worker; in getInstance() 117 for (SliceBackgroundWorker worker : LIVE_WORKERS.values()) { in shutdown() 119 worker.close(); in shutdown() 217 final SliceBackgroundWorker worker = (SliceBackgroundWorker) msg.obj; in handleMessage() local 218 final Uri uri = worker.getUri(); in handleMessage() 219 final Context context = worker.getContext(); in handleMessage() [all …]
|
D | SettingsSliceProvider.java | 492 final SliceBackgroundWorker worker = SliceBackgroundWorker.getInstance( in startBackgroundWorker() local 494 mPinnedWorkers.put(uri, worker); in startBackgroundWorker() 495 worker.pin(); in startBackgroundWorker() 499 final SliceBackgroundWorker worker = mPinnedWorkers.get(uri); in stopBackgroundWorker() local 500 if (worker != null) { in stopBackgroundWorker() 502 worker.unpin(); in stopBackgroundWorker()
|
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
D | DefaultDialerExecutorFactory.java | 63 @NonNull Worker<InputT, OutputT> worker) { in createUiTaskBuilder() argument 67 Assert.isNotNull(worker), in createUiTaskBuilder() 75 @NonNull Worker<InputT, OutputT> worker) { in createNonUiTaskBuilder() argument 76 return new NonUiTaskBuilder<>(Assert.isNotNull(worker), nonUiSerialExecutor, nonUiThreadPool); in createNonUiTaskBuilder() 82 private final Worker<InputT, OutputT> worker; field in DefaultDialerExecutorFactory.BaseTaskBuilder 92 Worker<InputT, OutputT> worker, in BaseTaskBuilder() argument 95 this.worker = worker; in BaseTaskBuilder() 125 Worker<InputT, OutputT> worker, in UiTaskBuilder() argument 128 super(worker, serialExecutor, parallelExecutor); in UiTaskBuilder() 140 super.worker, in build() [all …]
|
D | DialerUiTaskFragment.java | 45 private Worker<InputT, OutputT> worker; field in DialerUiTaskFragment 80 Worker<InputT, OutputT> worker, in create() argument 95 fragment.worker = worker; in create() 145 OutputT output = worker.doInBackground(input); in runTask()
|
D | DialerExecutorFactory.java | 48 @NonNull Worker<InputT, OutputT> worker); in createUiTaskBuilder() argument 62 @NonNull Worker<InputT, OutputT> worker); in createNonUiTaskBuilder() argument
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/ |
D | NfcPreferenceControllerTest.java | 231 final NfcSliceWorker worker = spy( in ncfSliceWorker_nfcBroadcast_noExtra_sliceDoesntUpdate() local 233 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_noExtra_sliceDoesntUpdate() 238 verify(worker, times(0)).updateSlice(); in ncfSliceWorker_nfcBroadcast_noExtra_sliceDoesntUpdate() 243 final NfcSliceWorker worker = spy( in ncfSliceWorker_nfcBroadcast_turningOn_sliceDoesntUpdate() local 245 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_turningOn_sliceDoesntUpdate() 251 verify(worker, times(0)).updateSlice(); in ncfSliceWorker_nfcBroadcast_turningOn_sliceDoesntUpdate() 256 final NfcSliceWorker worker = spy( in ncfSliceWorker_nfcBroadcast_turningOff_sliceDoesntUpdate() local 258 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_turningOff_sliceDoesntUpdate() 264 verify(worker, times(0)).updateSlice(); in ncfSliceWorker_nfcBroadcast_turningOff_sliceDoesntUpdate() 269 final NfcSliceWorker worker = spy( in ncfSliceWorker_nfcBroadcast_nfcOn_sliceUpdates() local [all …]
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ProviderModelSlice.java | 107 final NetworkProviderWorker worker = getWorker(); in getSlice() local 108 if (worker != null) { in getSlice() 109 maxListSize = worker.getApRowCount(); in getSlice() 129 worker != null ? worker.getNetworkTypeDescription() : "")); in getSlice() 142 List<WifiSliceItem> wifiList = (worker != null) ? worker.getResults() : null; in getSlice() 239 final NetworkProviderWorker worker = getWorker(); in getMobileDataDisableDialog() 240 if (worker != null) { in getMobileDataDisableDialog() 241 worker.updateSlice(); in getMobileDataDisableDialog() 273 final NetworkProviderWorker worker = getWorker(); in doCarrierNetworkAction() local 274 if (worker == null) { in doCarrierNetworkAction() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/ |
D | SaveLockWorkerTest.java | 39 SaveLockWorker worker = spy(new SaveLockWorker()); in testSaveLockSuccessReturnsTrue() local 41 doNothing().when(worker).saveLock(); in testSaveLockSuccessReturnsTrue() 43 assertThat(worker.saveAndVerifyInBackground()).isTrue(); in testSaveLockSuccessReturnsTrue() 51 SaveLockWorker worker = spy(new SaveLockWorker()); in testSaveLockFailureReturnsFalse() local 53 doThrow(new RuntimeException()).when(worker).saveLock(); in testSaveLockFailureReturnsFalse() 55 assertThat(worker.saveAndVerifyInBackground()).isFalse(); in testSaveLockFailureReturnsFalse()
|
/packages/apps/Dialer/java/com/android/dialer/calldetails/ |
D | ReportDialogFragment.java | 102 Worker<String, CachedContactInfo> worker = in lookupContactInfo() local 107 .createUiTaskBuilder(getFragmentManager(), "lookup_contact_info", worker) in lookupContactInfo() 125 Worker<Context, Pair<Context, Boolean>> worker = this::reportCallerId; in startReportCallerIdWorker() local 129 .createUiTaskBuilder(getFragmentManager(), "report_caller_id", worker) in startReportCallerIdWorker()
|
D | CallDetailsHeaderViewHolder.java | 269 AssistedDialingNumberParseWorker worker, in createAssistedDialerNumberParserTask() argument
|
D | CallDetailsActivityCommon.java | 363 AssistedDialingNumberParseWorker worker, in createAssistedDialerNumberParserTask() argument
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | ConnectToWifiHandler.java | 53 final WifiScanWorker worker = getWifiScanWorker(intent); in onReceive() local 54 if (worker == null) { in onReceive() 57 final WifiEntry wifiEntry = worker.getWifiEntry(key); in onReceive()
|
D | WifiSlice.java | 90 final WifiScanWorker worker = SliceBackgroundWorker.getInstance(getUri()); in getSlice() local 91 final List<WifiSliceItem> apList = worker != null ? worker.getResults() : null; in getSlice()
|
/packages/modules/ExtServices/native/ |
D | ImageHashManager.cpp | 62 PhashFingerprinter worker; in generatePHash() local 63 const int64_t result = worker.GenerateFingerprint(compressedBuffer.data()); in generatePHash()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | BatteryFixSlice.java | 105 final SliceBackgroundWorker worker = SliceBackgroundWorker.getInstance(getUri()); in getSlice() local 106 final List<BatteryTip> batteryTips = worker != null ? worker.getResults() : null; in getSlice()
|
D | BluetoothUpdateWorker.java | 159 private void startLoadingBtManager(BluetoothUpdateWorker worker) { in startLoadingBtManager() argument 160 mWorker = worker; in startLoadingBtManager()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | Action.java | 90 public void sendBackgroundActions(final BackgroundWorker worker) { in sendBackgroundActions() argument 91 worker.queueBackgroundWork(mBackgroundActions); in sendBackgroundActions()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | BatteryFixSliceTest.java | 182 public static void setBatteryTipWorkerWorker(BatteryFixSlice.BatteryTipWorker worker) { in setBatteryTipWorkerWorker() argument 183 sBatteryTipWorkerWorker = worker; in setBatteryTipWorkerWorker()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | FakeDataModel.java | 78 public FakeDataModel withBackgroundWorkerForActionService(final BackgroundWorker worker) { in withBackgroundWorkerForActionService() argument 79 mWorker = worker; in withBackgroundWorkerForActionService()
|
/packages/apps/Protips/src/com/android/protips/ |
D | ProtipWidget.java | 107 Runnable worker = new Runnable() { in onReceive() local 114 mAsyncHandler.post(worker); in onReceive()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiSliceTest.java | 149 final SliceBackgroundWorker worker = SliceBackgroundWorker.getInstance(mWifiSlice.getUri()); in setWorkerResults() local 150 doReturn(results).when(worker).getResults(); in setWorkerResults()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallButtonPresenter.java | 337 SwapSimWorker worker = in swapSimClicked() local 346 .createNonUiTaskBuilder(worker) in swapSimClicked()
|
/packages/modules/Virtualization/authfs/src/ |
D | fusefs.rs | 407 fuse::worker::start_message_loop( in loop_forever()
|
/packages/modules/Virtualization/zipfuse/src/ |
D | main.rs | 72 Ok(fuse::worker::start_message_loop(dev_fuse, MAX_READ, MAX_WRITE, ZipFuse::new(zip_file)?)?) in run_fuse()
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |