Home
last modified time | relevance | path

Searched refs:BackgroundThread (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/os/
DBackgroundThread.java30 public final class BackgroundThread extends HandlerThread { class
33 private static BackgroundThread sInstance;
37 private BackgroundThread() { in BackgroundThread() method in BackgroundThread
43 sInstance = new BackgroundThread(); in ensureThreadLocked()
54 public static BackgroundThread get() { in get()
55 synchronized (BackgroundThread.class) { in get()
62 synchronized (BackgroundThread.class) { in getHandler()
69 synchronized (BackgroundThread.class) { in getExecutor()
/frameworks/base/tests/TelephonyCommonTests/
Djarjar-rules.txt3 rule com.android.internal.os.BackgroundThread* com.android.internal.telephony.tests.BackgroundThrea…
/frameworks/base/services/core/java/com/android/server/location/settings/
DSettingsStore.java27 import com.android.internal.os.BackgroundThread;
134 BackgroundThread.getExecutor().execute(latch::countDown);
141 BackgroundThread.getExecutor().execute(() -> {
149 BackgroundThread.getExecutor().execute(() -> {
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjProfiler.java25 import com.android.internal.os.BackgroundThread;
119 BackgroundThread.getHandler().sendMessage(scheduledMessage); in scheduleSystemServerCpuTimeUpdate()
153 BackgroundThread.getHandler().removeMessages(MSG_UPDATE_CPU_TIME); in dump()
/frameworks/base/core/java/com/android/internal/util/
DLatencyTracker.java29 import com.android.internal.os.BackgroundThread;
189 BackgroundThread.getHandler().post(() -> this.updateProperties( in LatencyTracker()
192 BackgroundThread.getExecutor(), this::updateProperties); in LatencyTracker()
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java31 import com.android.internal.os.BackgroundThread;
157 BackgroundThread.getExecutor().execute(() -> { in scanFile()
183 BackgroundThread.getExecutor().execute(() -> { in scanFile()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricStrengthController.java23 import com.android.internal.os.BackgroundThread;
63 BackgroundThread.getExecutor(), mDeviceConfigListener); in startListening()
/frameworks/base/core/java/android/service/resumeonreboot/
DResumeOnRebootService.java33 import com.android.internal.os.BackgroundThread;
82 private final Handler mHandler = BackgroundThread.getHandler();
/frameworks/base/services/core/java/com/android/server/wm/
DHighRefreshRateDenylist.java29 import com.android.internal.os.BackgroundThread;
56 BackgroundThread.getExecutor(), mListener); in HighRefreshRateDenylist()
DVisibleActivityProcessTracker.java22 import com.android.internal.os.BackgroundThread;
35 final Executor mBgExecutor = BackgroundThread.getExecutor();
/frameworks/base/core/java/android/service/timezone/
DTimeZoneProviderService.java31 import com.android.internal.os.BackgroundThread;
159 private final Handler mHandler = BackgroundThread.getHandler();
/frameworks/base/services/core/java/com/android/server/content/
DSyncManagerConstants.java25 import com.android.internal.os.BackgroundThread;
67 BackgroundThread.getHandler().post(() -> { in start()
/frameworks/base/services/core/java/com/android/server/appbinding/finders/
DCarrierMessagingClientServiceFinder.java34 import com.android.internal.os.BackgroundThread;
102 BackgroundThread.getExecutor(), mRoleHolderChangedListener, UserHandle.ALL); in startMonitoring()
/frameworks/base/services/core/java/com/android/server/pm/
DIncrementalStates.java24 import com.android.internal.os.BackgroundThread;
40 private final Handler mHandler = BackgroundThread.getHandler();
DProcessLoggingHandler.java33 import com.android.internal.os.BackgroundThread;
56 super(BackgroundThread.getHandler().getLooper()); in ProcessLoggingHandler()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DMetricsHelper.java31 import com.android.internal.os.BackgroundThread;
51 BackgroundThread.getExecutor(), (atomTag, data) -> { in registerPuller()
/frameworks/base/services/core/java/com/android/server/storage/
DAppCollector.java35 import com.android.internal.os.BackgroundThread;
64 mBackgroundHandler = new BackgroundHandler(BackgroundThread.get().getLooper(), in AppCollector()
/frameworks/base/core/java/android/service/storage/
DExternalStorageService.java36 import com.android.internal.os.BackgroundThread;
112 private final Handler mHandler = BackgroundThread.getHandler();
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceAdminServiceController.java33 import com.android.internal.os.BackgroundThread;
85 mHandler = new Handler(BackgroundThread.get().getLooper()); in DeviceAdminServiceController()
/frameworks/base/services/core/java/com/android/server/utils/quota/
DQuotaTracker.java44 import com.android.internal.os.BackgroundThread;
171 BackgroundThread.getHandler()); in QuotaTracker()
174 BackgroundThread.getHandler()); in QuotaTracker()
351 BackgroundThread.getHandler().post(() -> { in scheduleQuotaCheck()
394 BackgroundThread.getHandler().post(() -> { in postQuotaStatusChanged()
/frameworks/base/services/core/java/com/android/server/
DCountryDetectorService.java34 import com.android.internal.os.BackgroundThread;
104 this(context, BackgroundThread.getHandler()); in CountryDetectorService()
/frameworks/base/core/java/android/net/
DEthernetManager.java30 import com.android.internal.os.BackgroundThread;
162 addListener(listener, BackgroundThread.getExecutor()); in addListener()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanManager.java29 import com.android.internal.os.BackgroundThread;
108 this(context, service, BackgroundThread.get().getLooper()); in LowpanManager()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java36 import com.android.internal.os.BackgroundThread;
167 /* looper */ BackgroundThread.getHandler().getLooper(), in createSession()
240 BackgroundThread.getHandler().getLooper(), null, in restoreSessions()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java40 import com.android.internal.os.BackgroundThread;
101 mHandler = BackgroundThread.getHandler(); in SearchManagerService()

1234