/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | ThreadUtilsTest.java | 32 assertThat(ThreadUtils.isMainThread()).isTrue(); in testMainThread() 33 Thread background = new Thread(() -> assertThat(ThreadUtils.isMainThread()).isFalse()); in testMainThread() 40 ThreadUtils.ensureMainThread(); in testEnsureMainThread() 43 ThreadUtils.ensureMainThread(); in testEnsureMainThread() 56 ThreadUtils.postOnMainThread(cr); in testPostOnMainThread_shouldRunOnMainThread() 70 this.onUiThread = ThreadUtils.isMainThread(); in run()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | AbstractBluetoothAddressPreferenceController.java | 31 import com.android.settingslib.utils.ThreadUtils; 83 ListenableFuture<String> future = ThreadUtils.getBackgroundExecutor() in updateConnectivity()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/ |
D | Lifecycle.java | 47 import com.android.settingslib.utils.ThreadUtils; 80 ThreadUtils.ensureMainThread(); in addObserver() 90 ThreadUtils.ensureMainThread(); in removeObserver()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | BinderLogger.kt | 29 import com.android.settingslib.utils.ThreadUtils 66 if (!ThreadUtils.isMainThread()) return null in onTransactStarted()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesPresetsController.java | 32 import com.android.settingslib.utils.ThreadUtils; 156 mHapClientProfile.registerCallback(ThreadUtils.getBackgroundExecutor(), this); in registerHapCallback()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | ThreadUtils.java | 30 public class ThreadUtils { class
|
/frameworks/base/packages/SettingsLib/AvatarPicker/src/ |
D | ThreadUtils.java | 32 public class ThreadUtils { class
|
D | AvatarPhotoController.java | 169 ListenableFuture<Uri> future = ThreadUtils.getBackgroundExecutor().submit(() -> { in copyAndCropPhoto() 242 ListenableFuture<Bitmap> future = ThreadUtils.getBackgroundExecutor().submit(() -> { in onPhotoNotCropped()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | EditUserPhotoController.java | 35 import com.android.settingslib.utils.ThreadUtils; 99 mExecutorService = ThreadUtils.getBackgroundExecutor(); in EditUserPhotoController()
|
D | CreateUserDialogController.java | 45 import com.android.settingslib.utils.ThreadUtils; 301 ListenableFuture<Drawable> future = ThreadUtils.getBackgroundExecutor() in setUserIcon()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | AppUtils.java | 43 import com.android.settingslib.utils.ThreadUtils; 289 var unused = ThreadUtils.getBackgroundExecutor().submit(() -> { in preloadTopIcons()
|
D | ApplicationsState.java | 67 import com.android.settingslib.utils.ThreadUtils; 1705 var unused = ThreadUtils.getBackgroundExecutor().submit( in AppEntry()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 65 import com.android.settingslib.utils.ThreadUtils; 1470 ThreadUtils.postOnMainThread(() -> { in setScanResults() 1478 ThreadUtils.postOnMainThread(() -> { in setScanResults() 1546 ThreadUtils.postOnMainThread(() -> { in update() 1553 ThreadUtils.postOnMainThread(() -> { in update() 1570 ThreadUtils.postOnMainThread(() -> { in update() 1920 ThreadUtils.postOnMainThread(() -> { in onProvisioningFailure() 1954 ThreadUtils.postOnMainThread(() -> { in onProvisioningStatus() 1968 ThreadUtils.postOnMainThread(() -> { in onProvisioningComplete()
|
D | WifiTracker.java | 62 import com.android.settingslib.utils.ThreadUtils; 1048 ThreadUtils.postOnMainThread(() -> { in runAndLog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputBaseAdapter.java | 51 import com.android.settingslib.utils.ThreadUtils; 537 ThreadUtils.postOnBackgroundThread(() -> { in setUpDeviceIcon() 539 ThreadUtils.postOnMainThread(() -> { in setUpDeviceIcon()
|
D | MediaOutputController.java | 83 import com.android.settingslib.utils.ThreadUtils; 812 ThreadUtils.postOnBackgroundThread(() -> { in connectDevice() 872 ThreadUtils.postOnBackgroundThread(() -> { in adjustVolume()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 49 import com.android.settingslib.utils.ThreadUtils; 311 ThreadUtils.postOnBackgroundThread(() -> { in onReceive() 369 mLastShowWarningTask = ThreadUtils.postOnBackgroundThread(() -> { in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DejankUtils.java | 21 import static com.android.settingslib.utils.ThreadUtils.isMainThread;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceUtils.java | 57 import com.android.settingslib.utils.ThreadUtils; 391 ThreadUtils.postOnBackgroundThread( in getDataFromContactsOnBackgroundThread()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 65 import com.android.settingslib.utils.ThreadUtils; 840 ThreadUtils.postOnMainThread(latch::countDown); 883 ThreadUtils.postOnMainThread(() -> { 899 ThreadUtils.postOnMainThread(latch2::countDown);
|
D | WifiTrackerTest.java | 66 import com.android.settingslib.utils.ThreadUtils; 884 ThreadUtils.postOnMainThread(latch2::countDown); in stopTrackingShouldPreventCallbacksFromOngoingWork()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityContainerController.java | 73 import com.android.settingslib.utils.ThreadUtils; 268 ThreadUtils.postOnBackgroundThread(() -> {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 57 import com.android.settingslib.utils.ThreadUtils; 754 ListenableFuture<Void> future = ThreadUtils.getBackgroundExecutor().submit(() -> { in refresh()
|