/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | Profile.java | 42 Thread thread; 77 public synchronized void addWatchEntry(Thread thread, int cycleTime) { in addWatchEntry() 87 public synchronized void removeWatchEntry(Thread thread) { in removeWatchEntry() 112 Thread thread = entry.thread; in processList() 126 Thread thread = entry.thread; in sampleStack() 139 private WatchEntry findEntry(Thread thread) { in findEntry() 155 public synchronized void hold(Thread t) { in hold() 166 public synchronized void commit(Thread t) { in commit() 177 public synchronized void drop(Thread t) { in drop() 188 Thread t = Thread.currentThread(); in enable() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | BitmapManager.java | 60 private final WeakHashMap<Thread, ThreadStatus> mThreadStatus = 61 new WeakHashMap<Thread, ThreadStatus>(); 71 private synchronized ThreadStatus getOrCreateThreadStatus(Thread t) { in getOrCreateThreadStatus() 84 private synchronized void setDecodingOptions(Thread t, in setDecodingOptions() 89 synchronized void removeDecodingOptions(Thread t) { in removeDecodingOptions() 98 public synchronized boolean canThreadDecoding(Thread t) { in canThreadDecoding() 109 public synchronized void allowThreadDecoding(Thread t) { in allowThreadDecoding() 113 public synchronized void cancelThreadDecoding(Thread t, ContentResolver cr) { in cancelThreadDecoding() 140 Thread t = Thread.currentThread(); in getThumbnail() 183 Thread thread = Thread.currentThread(); in decodeFileDescriptor()
|
D | ImageLoader.java | 41 private Thread mDecodeThread; 152 Thread t = new Thread(new WorkerThread()); in start() 165 Thread t = mDecodeThread; in stop()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | RaceConditionReproducerTest.java | 41 Thread tb = new Thread(() -> { in run3_3_TestAction() 88 Thread tb = new Thread(() -> { in test3_3_enter_exit() 141 Thread tb = new Thread(() -> { in test2_1_2() 147 Thread tc = new Thread(() -> { in test2_1_2() 174 Thread tb = new Thread(() -> { in test2_1_2_enter_exit() 182 Thread tc = new Thread(() -> { in test2_1_2_enter_exit()
|
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
D | DialerExecutorModule.java | 61 public Thread newThread(Runnable runnable) { in provideNonUiThreadPool() 63 Thread thread = new Thread(runnable, "DialerExecutors-LowPriority"); in provideNonUiThreadPool() 78 public Thread newThread(Runnable runnable) { 80 Thread thread = new Thread(runnable, "DialerExecutors-LowPriority-Serial"); 101 public Thread newThread(Runnable runnable) { 103 Thread thread = new Thread(runnable, "DialerExecutors-HighPriority-Serial");
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/power/ |
D | ImageAndVideoCapture.java | 67 Thread.sleep(WAIT_FOR_STABLE_STATE); in testLaunchCamera() 80 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in testCapture5Image() 83 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in testCapture5Image() 85 Thread.sleep(WAIT_FOR_STABLE_STATE); in testCapture5Image() 103 Thread.sleep(WAIT_FOR_PREVIEW); in testCapture5Videos() 106 Thread.sleep(WAIT_FOR_VIDEO_CAPTURE_TO_BE_TAKEN); in testCapture5Videos() 108 Thread.sleep(WAIT_FOR_PREVIEW); in testCapture5Videos() 110 Thread.sleep(WAIT_FOR_STABLE_STATE); in testCapture5Videos()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | LocationSettingsTests.java | 78 Thread.sleep(TIMEOUT); in testLoadingLocationSettings() 100 Thread.sleep(TIMEOUT); in testLocationDeviceOnlyMode() 108 Thread.sleep(TIMEOUT); in testLocationBatterySavingMode() 116 Thread.sleep(TIMEOUT); in testLocationHighAccuracyMode() 126 Thread.sleep(TIMEOUT); in testLocationSettingsElements() 163 Thread.sleep(TIMEOUT); in verifyLocationSettingsMode() 168 Thread.sleep(TIMEOUT); in verifyLocationSettingsMode() 171 Thread.sleep(TIMEOUT); in verifyLocationSettingsMode() 203 Thread.sleep(TIMEOUT); in verifyLocationSettingsOnOrOff() 231 Thread.sleep(TIMEOUT); in dismissAlertDialogs() [all …]
|
D | MoreWirelessSettingsTest2.java | 155 Thread.sleep(SLEEP_TIME); in testWifiMenuLoadConfigure() 281 Thread.sleep(SLEEP_TIME); in testPhase2Settings() 301 Thread.sleep(SLEEP_TIME); in testCaCertSettings() 564 Thread.sleep(SLEEP_TIME); in verifyKeepWiFiOnDuringSleep() 588 Thread.sleep(SLEEP_TIME); in verifyNetworkNotificationsOnOrOff() 609 Thread.sleep(SLEEP_TIME); in verifyWiFiOnOrOff() 650 Thread.sleep(TIMEOUT); in loadWiFiConfigureMenu() 668 Thread.sleep(SLEEP_TIME*5); in loadAddNetworkMenu() 682 Thread.sleep(SLEEP_TIME); in selectSecurityOption() 690 Thread.sleep(SLEEP_TIME); in selectEAPMethod()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsTaskSchedulerTest.java | 70 Thread.sleep(10 * 1000); in testAutoShutdown() 76 Thread.sleep(1 * 1000); in testAutoShutdown() 79 Thread.sleep(1 * 1000); in testAutoShutdown() 82 Thread.sleep(1 * 1000); in testAutoShutdown() 85 Thread.sleep(1 * 1000); in testAutoShutdown() 90 Thread.sleep(10 * 1000); in testAutoShutdown()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ExecutorUtils.java | 23 import java.lang.Thread.UncaughtExceptionHandler; 54 public Thread newThread(final Runnable runnable) { in newThread() 55 Thread thread = new Thread(runnable, TAG); in newThread() 58 public void uncaughtException(Thread thread, Throwable ex) { in newThread() 145 if (Thread.interrupted()) { in run()
|
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSProfileSelectorTest.java | 148 new Thread(new Runnable() { in testStartProfileSelectionWithNoOpportunisticSub() 208 new Thread(new Runnable() { in testStartProfileSelectionSuccess() 293 new Thread(new Runnable() { in testStartProfileSelectionWithDifferentPrioritySubInfo() 351 new Thread(new Runnable() { in testStartProfileSelectionWithActivePrimarySimOnESim() 392 Thread.sleep(ms); in waitForMs() 402 new Thread(new Runnable() { in testselectProfileForDataWithNoOpportunsticSub() 433 new Thread(new Runnable() { in testselectProfileForDataWithInActiveSub() 465 new Thread(new Runnable() { in testselectProfileForDataWithInvalidSubId() 500 new Thread(new Runnable() { in testselectProfileForDataWithValidSub() 562 new Thread(new Runnable() { in testStartProfileSelectionSuccessWithSameArgumentsAgain() [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/app/ |
D | PumpApplication.java | 29 public class PumpApplication extends GlobalsApplication implements Thread.UncaughtExceptionHandler { 32 private final Thread.UncaughtExceptionHandler mSystemUncaughtExceptionHandler = 33 Thread.getDefaultUncaughtExceptionHandler(); 36 Thread.setDefaultUncaughtExceptionHandler(this); in PumpApplication() 60 public void uncaughtException(@NonNull Thread t, @NonNull Throwable e) { in uncaughtException()
|
/packages/apps/Protips/src/com/android/protips/ |
D | ProtipWidget.java | 90 Thread.sleep(500); in goodmorning() 92 Thread.sleep(200); in goodmorning() 94 Thread.sleep(100); in goodmorning() 96 Thread.sleep(600); in goodmorning() 180 Thread.sleep(100); in blink() 183 Thread.sleep(200); in blink() 185 Thread.sleep(100); in blink()
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
D | SnepBasicTests.java | 44 new Thread() { in testGetSmallNdef() method 75 new Thread() { in testGetLargeNdef() method 106 new Thread() { in testGetExcessiveNdef() method 137 new Thread() { in testPutSmallNdef() method 168 new Thread() { in testPutLargeNdef() method 199 new Thread() { in testUnsupportedVersion() method 233 new Thread() { in testDifferentMinorVersion() method
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
D | VideoCapture.java | 76 Thread.sleep(WAIT_FOR_PREVIEW); in captureVideos() 79 Thread.sleep(video_duration); in captureVideos() 94 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackVideoCapture() 108 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testFrontVideoCapture()
|
D | ImageCapture.java | 80 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in captureImages() 83 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in captureImages() 101 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackImageCapture() 115 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testFrontImageCapture()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestRttActivity.java | 82 private Thread mReceiveReader = new Thread() { 99 if (Thread.currentThread().isInterrupted()) { 112 if (Thread.currentThread().isInterrupted()) { 116 Thread.sleep(5000);
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
D | VideoCapture.java | 79 Thread.sleep(WAIT_FOR_PREVIEW); in captureVideos() 82 Thread.sleep(video_duration); in captureVideos() 98 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackVideoCapture() 113 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testFrontVideoCapture()
|
D | ImageCapture.java | 82 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in captureImages() 85 Thread.sleep(WAIT_FOR_IMAGE_CAPTURE_TO_BE_TAKEN); in captureImages() 104 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackImageCapture() 119 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testFrontImageCapture()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/ |
D | InetDiagSocketIntegrationTest.java | 205 final Thread[] threads = new Thread[numThreads]; in testB141603906() 208 threads[i] = new Thread(() -> { in testB141603906() 215 for (Thread thread : threads) { in testB141603906() 219 for (Thread thread : threads) { in testB141603906()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | FileTsStreamer.java | 70 private Thread mStreamingThread; 226 Thread.currentThread().interrupt(); in stopStream() 376 Thread.currentThread().interrupt(); in readAt() 438 private class StreamingThread extends Thread { 456 Thread.currentThread().interrupt(); in run() 471 Thread.currentThread().interrupt(); in run()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 118 Thread t = new Thread(new Runnable() { in onCreate() 136 Thread t = new Thread(new Runnable() { in onCreate() 163 Thread t = new Thread(new Runnable() { in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | LevelTrackingMediaRecorder.java | 66 private Thread mRefreshLevelThread; 194 mRefreshLevelThread = new Thread() { in startTrackingSoundLevel() 207 Thread.sleep(REFRESH_INTERVAL_MILLIS); in startTrackingSoundLevel() 210 Thread.currentThread().interrupt(); in startTrackingSoundLevel()
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
D | TestLoaderManager.java | 107 Thread[] waitThreads = new Thread[loaders.length]; in waitForLoaders() 110 waitThreads[i] = new Thread("LoaderWaitingThread" + i) { in waitForLoaders() 125 for (Thread thread : waitThreads) { in waitForLoaders()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | SessionManagerTest.java | 136 Thread.sleep(1); in testEndSession() 283 Thread.sleep(TEST_DELAY_TIME); in testEndSubsessionWithParentComplete() 338 Thread.sleep(1); in testEndExternalSession() 363 Thread.sleep(TEST_DELAY_TIME); in testEndExternalSessionListenerCallback() 403 Thread.sleep(2 * TEST_DELAY_TIME); in testStaleSessionCleanupTimer() 407 Thread.sleep(1000); in testStaleSessionCleanupTimer()
|