/frameworks/base/core/java/com/android/internal/os/ |
D | BackgroundThread.java | 31 public final class BackgroundThread extends HandlerThread { class 34 private static BackgroundThread sInstance; 38 private BackgroundThread() { in BackgroundThread() method in BackgroundThread 44 sInstance = new BackgroundThread(); in ensureThreadLocked() 56 public static BackgroundThread get() { in get() 57 synchronized (BackgroundThread.class) { in get() 64 synchronized (BackgroundThread.class) { in getHandler() 71 synchronized (BackgroundThread.class) { in getExecutor()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | BackgroundThread.java | 38 public final class BackgroundThread extends HandlerThread { class 42 private static BackgroundThread sInstance; 48 private BackgroundThread() { in BackgroundThread() method in BackgroundThread 49 super(BackgroundThread.class.getName(), android.os.Process.THREAD_PRIORITY_BACKGROUND); in BackgroundThread() 55 sInstance = new BackgroundThread(); in ensureThreadLocked() 68 public static BackgroundThread get() { in get()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BackgroundThreadTest.java | 39 BackgroundThread thread = BackgroundThread.get(); in test_get() 45 Handler handler = BackgroundThread.getHandler(); in test_getHandler() 54 Executor executor = BackgroundThread.getExecutor(); in test_getExecutor()
|
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/ |
D | BackgroundThreadTest.java | 30 assertNotNull(BackgroundThread.get()); in testSimple() 31 assertNotNull(BackgroundThread.getExecutor()); in testSimple() 32 assertNotNull(BackgroundThread.getHandler()); in testSimple()
|
/frameworks/base/tests/TelephonyCommonTests/ |
D | jarjar-rules.txt | 3 rule com.android.internal.os.BackgroundThread* com.android.internal.telephony.tests.BackgroundThrea…
|
/frameworks/base/services/profcollect/src/com/android/server/profcollect/ |
D | ProfcollectForwardingService.java | 43 import com.android.internal.os.BackgroundThread; 132 BackgroundThread.get().getThreadHandler().post(() -> { in onBootPhase() 259 BackgroundThread.get().getThreadHandler().post( in registerObservers() 287 BackgroundThread.get().getThreadHandler().post(() -> { in traceOnAppStart() 327 BackgroundThread.get().getThreadHandler().postDelayed(() -> { in traceOnDex2oatStart() 355 BackgroundThread.get().getThreadHandler().post(() -> { in createAndUploadReport() 396 BackgroundThread.get().getThreadHandler().postDelayed(() -> { in registerCameraOpenObserver()
|
/frameworks/base/services/core/java/com/android/server/location/settings/ |
D | SettingsStore.java | 27 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/wm/ |
D | TaskSystemBarsListenerController.java | 19 import com.android.internal.os.BackgroundThread; 36 this.mBackgroundExecutor = BackgroundThread.getExecutor(); in TaskSystemBarsListenerController()
|
D | HighRefreshRateDenylist.java | 30 import com.android.internal.os.BackgroundThread; 52 BackgroundThread.getExecutor(), new OnPropertiesChangedListener()); in HighRefreshRateDenylist()
|
D | VisibleActivityProcessTracker.java | 22 import com.android.internal.os.BackgroundThread; 35 final Executor mBgExecutor = BackgroundThread.getExecutor();
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | ProximitySensorObserver.java | 27 import com.android.internal.os.BackgroundThread; 66 sensorManager.addProximityActiveListener(BackgroundThread.getExecutor(), this); in observe() 73 mInjector.registerDisplayListener(this, BackgroundThread.getHandler(), in observe()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | OdsignStatsLogger.java | 22 import com.android.internal.os.BackgroundThread; 48 BackgroundThread.getExecutor().execute(OdsignStatsLogger::writeStats); in triggerStatsWrite()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | BiometricStrengthController.java | 23 import com.android.internal.os.BackgroundThread; 63 BackgroundThread.getExecutor(), mDeviceConfigListener); in startListening()
|
/frameworks/base/media/java/android/media/ |
D | MediaScannerConnection.java | 31 import com.android.internal.os.BackgroundThread; 157 BackgroundThread.getExecutor().execute(() -> { in scanFile() 183 BackgroundThread.getExecutor().execute(() -> { in scanFile()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationScaleProvider.java | 31 import com.android.internal.os.BackgroundThread; 67 BackgroundThread.getHandler().post( in putScale()
|
/frameworks/base/core/java/android/service/resumeonreboot/ |
D | ResumeOnRebootService.java | 33 import com.android.internal.os.BackgroundThread; 82 private final Handler mHandler = BackgroundThread.getHandler();
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | QuotaTracker.java | 44 import com.android.internal.os.BackgroundThread; 172 BackgroundThread.getHandler()); in QuotaTracker() 175 BackgroundThread.getHandler()); in QuotaTracker() 352 BackgroundThread.getHandler().post(() -> { in scheduleQuotaCheck() 395 BackgroundThread.getHandler().post(() -> { in postQuotaStatusChanged()
|
/frameworks/base/services/core/java/com/android/server/appbinding/finders/ |
D | CarrierMessagingClientServiceFinder.java | 34 import com.android.internal.os.BackgroundThread; 102 BackgroundThread.getExecutor(), mRoleHolderChangedListener, UserHandle.ALL); in startMonitoring()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManagerConstants.java | 25 import com.android.internal.os.BackgroundThread; 67 BackgroundThread.getHandler().post(() -> { in start()
|
/frameworks/base/core/java/android/content/pm/ |
D | ConstrainDisplayApisConfig.java | 26 import com.android.internal.os.BackgroundThread; 86 BackgroundThread.getExecutor(), properties -> updateCache()); in ConstrainDisplayApisConfig()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameServiceProviderInstanceFactoryImpl.java | 34 import com.android.internal.os.BackgroundThread; 57 BackgroundThread.getExecutor(), in create()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | UserWakeupStoreTest.java | 34 import com.android.internal.os.BackgroundThread; 64 .mockStatic(BackgroundThread.class) 77 doReturn(mMockExecutorService).when(BackgroundThread::getExecutor); in setUp()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LatencyTracker.java | 76 import com.android.internal.os.BackgroundThread; 444 BackgroundThread.getHandler().post(() -> { in startListeningForLatencyTrackerConfigChanges() 449 BackgroundThread.getExecutor(), mOnPropertiesChangedListener); in startListeningForLatencyTrackerConfigChanges() 766 BackgroundThread.getHandler() in begin() 773 BackgroundThread.getHandler().removeCallbacks(mTimeoutRunnable); in end() 780 BackgroundThread.getHandler().removeCallbacks(mTimeoutRunnable); in cancel()
|
/frameworks/base/core/java/android/service/storage/ |
D | ExternalStorageService.java | 36 import com.android.internal.os.BackgroundThread; 112 private final Handler mHandler = BackgroundThread.getHandler();
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | AppCollector.java | 35 import com.android.internal.os.BackgroundThread; 64 mBackgroundHandler = new BackgroundHandler(BackgroundThread.get().getLooper(), in AppCollector()
|