/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/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/Camera2/tests_camera/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/Camera/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/Music/tests/src/com/android/music/functional/ |
D | TestPlaylist.java | 73 Thread.sleep(MusicPlayerNames.WAIT_SHORT_TIME); in deletePlaylist() 76 Thread.sleep(MusicPlayerNames.WAIT_SHORT_TIME); in deletePlaylist() 93 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME); in addNewPlaylist() 96 Thread.sleep(MusicPlayerNames.WAIT_SHORT_TIME); in addNewPlaylist() 102 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME); in addNewPlaylist() 114 Thread.sleep(MusicPlayerNames.WAIT_SHORT_TIME); in renamePlaylist() 117 Thread.sleep(MusicPlayerNames.WAIT_SHORT_TIME); in renamePlaylist() 123 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME); in renamePlaylist()
|
D | TestSongs.java | 73 Thread.sleep(MusicPlayerNames.WAIT_SHORT_TIME); in addNewPlaylist() 80 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME); in addNewPlaylist() 82 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME); in addNewPlaylist() 110 Thread.sleep(MusicPlayerNames.WAIT_VERY_LONG_TIME); in rescanSdcard() 189 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME); in testDeleteSong() 191 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME); in testDeleteSong() 195 Thread.sleep(MusicPlayerNames.WAIT_LONG_TIME); in testDeleteSong()
|
/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/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/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 112 Thread t = new Thread(new Runnable() { in onCreate() 128 Thread t = new Thread(new Runnable() { in onCreate() 156 Thread t = new Thread(new Runnable() { in onCreate()
|
D | TestActivity.java | 326 Thread server_thread = new Thread(server); 334 final Thread notifyThread = new Thread() { 362 private Thread mSocketAcceptThread; 385 mSocketAcceptThread = new Thread(TAG) { in start()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiStatusTest.java | 326 Thread ipAddrThread = new Thread() { in updatePingState() 335 Thread hostnameThread = new Thread() { in updatePingState() 344 Thread httpClientThread = new Thread() { in updatePingState()
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
D | MiscService.java | 48 Thread t = new Thread() { in onCreate() 71 Thread t = new Thread() { in startEchoThread()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | ImageBackend.java | 929 public Thread newThread(Runnable r) { in newThread() 930 Thread t = new AndroidPriorityThread(FAST_THREAD_PRIORITY, r); in newThread() 937 public Thread newThread(Runnable r) { in newThread() 938 Thread t = new AndroidPriorityThread(AVERAGE_THREAD_PRIORITY, r); in newThread() 945 public Thread newThread(Runnable r) { in newThread() 946 Thread t = new AndroidPriorityThread(SLOW_THREAD_PRIORITY, r); in newThread()
|
/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/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/apps/Camera2/tests_camera/src/com/android/camera/stress/ |
D | VideoCapture.java | 77 Thread.sleep(WAIT_FOR_PREVIEW); in captureVideos() 80 Thread.sleep(video_duration); in captureVideos() 96 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackVideoCapture() 111 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() 102 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackImageCapture() 117 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testFrontImageCapture()
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
D | VideoCapture.java | 77 Thread.sleep(WAIT_FOR_PREVIEW); in captureVideos() 80 Thread.sleep(video_duration); in captureVideos() 96 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackVideoCapture() 111 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() 102 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testBackImageCapture() 117 Thread.sleep(WAIT_FOR_SWITCH_CAMERA); in testFrontImageCapture()
|
/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()
|