Home
last modified time | relevance | path

Searched refs:Thread (Results 1 – 25 of 255) sorted by relevance

1234567891011

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfile.java42 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/
DBitmapManager.java60 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()
DImageLoader.java41 private Thread mDecodeThread;
152 Thread t = new Thread(new WorkerThread()); in start()
165 Thread t = mDecodeThread; in stop()
/packages/apps/Gallery2/tests_camera/src/com/android/camera/power/
DImageAndVideoCapture.java67 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/LegacyCamera/tests/src/com/android/camera/power/
DImageAndVideoCapture.java67 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/
DImageAndVideoCapture.java67 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/
DTestPlaylist.java73 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()
DTestSongs.java73 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/apps/Protips/src/com/android/protips/
DProtipWidget.java90 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/
DSnepBasicTests.java44 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/Mms/tests/src/com/android/mms/
DRecyclerTest.java226 Thread.sleep(5000);
241 ArrayList<Thread> threads = new ArrayList<Thread>(THREAD_COUNT); in testRecycler()
243 threads.add(i, new Thread(mRecyclerBang)); in testRecycler()
246 Thread memoryBanger = new Thread(mSQLMemoryReleaser); in testRecycler()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java103 Thread t = new Thread(new Runnable() { in onCreate()
119 Thread t = new Thread(new Runnable() { in onCreate()
147 Thread t = new Thread(new Runnable() { in onCreate()
DTestActivity.java326 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/Mms/src/com/android/mms/util/
DBackgroundLoaderManager.java155 public Thread newThread(final Runnable r) { in newThread()
156 Thread t = new Thread(r, mTag + "-" + mCount.getAndIncrement()); in newThread()
158 if (t.getPriority() != Thread.MIN_PRIORITY) in newThread()
159 t.setPriority(Thread.MIN_PRIORITY); in newThread()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java321 Thread ipAddrThread = new Thread() { in updatePingState()
330 Thread hostnameThread = new Thread() { in updatePingState()
339 Thread httpClientThread = new Thread() { in updatePingState()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DExchangeService.java220 private static Thread sServiceThread = null;
851 new Thread(new Runnable() { in onChange()
954 new Thread(new Runnable() { in onChange()
1323 Thread t = svc.mThread; in stopAccountSyncs()
1387 Thread thread = svc.mThread; in reloadFolderList()
1553 new Thread(new Runnable() { in alert()
1651 Thread thread = new Thread(service, mailboxName + "[" + accountName + "]"); in startServiceThread()
1870 Thread.sleep(5000); in onStartCommand()
1925 sServiceThread = new Thread(this, "ExchangeService"); in maybeStartExchangeServiceThread()
2357 Thread thread = service.mThread; in checkMailboxes()
[all …]
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
DMiscService.java48 Thread t = new Thread() { in onCreate()
71 Thread t = new Thread() { in startEchoThread()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/stress/
DImageCapture.java80 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()
DVideoCapture.java77 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()
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
DVideoCapture.java79 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()
DImageCapture.java82 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/Gallery2/tests_camera/src/com/android/camera/stress/
DImageCapture.java80 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()
DVideoCapture.java77 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()
/packages/apps/Camera/tests/src/com/android/camera/stress/
DImageCapture.java80 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()
DVideoCapture.java77 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()

1234567891011