Home
last modified time | relevance | path

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

12345

/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoDownloadRunnable.java66 void setDownloadThread(Thread currentThread); in setDownloadThread()
114 mPhotoTask.setDownloadThread(Thread.currentThread()); in run()
133 if (Thread.interrupted()) { in run()
162 if (Thread.interrupted()) { in run()
169 if (Thread.interrupted()) { in run()
238 if (Thread.interrupted()) { in run()
325 if (Thread.interrupted()) { in run()
332 if (Thread.interrupted()) { in run()
392 Thread.interrupted(); in run()
DPhotoDecodeRunnable.java65 void setImageDecodeThread(Thread currentThread); in setImageDecodeThread()
118 mPhotoTask.setImageDecodeThread(Thread.currentThread()); in run()
154 if (Thread.interrupted()) { in run()
198 if (Thread.interrupted()) { in run()
241 if (Thread.interrupted()) { in run()
251 Thread.sleep(SLEEP_TIME_MILLISECONDS); in run()
283 Thread.interrupted(); in run()
DPhotoTask.java64 Thread mThreadThis;
80 private Thread mCurrentThread;
215 public Thread getCurrentThread() { in getCurrentThread()
225 public void setCurrentThread(Thread thread) { in setCurrentThread()
239 public void setDownloadThread(Thread currentThread) { in setDownloadThread()
270 public void setImageDecodeThread(Thread currentThread) { in setImageDecodeThread()
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DChatConnection.java121 Thread mThread = null;
124 mThread = new Thread(new ServerThread()); in ChatServer()
148 while (!Thread.currentThread().isInterrupted()) { in run()
173 private Thread mSendThread;
174 private Thread mRecThread;
182 mSendThread = new Thread(new SendingThread()); in ChatClient()
206 mRecThread = new Thread(new ReceivingThread()); in run()
235 while (!Thread.currentThread().isInterrupted()) { in run()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DClientSocketHandler.java12 public class ClientSocketHandler extends Thread {
33 new Thread(chat).start(); in run()
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnService.java44 private Thread mThread;
68 mThread = new Thread(this, "ToyVpnThread"); in onStartCommand()
113 Thread.sleep(3000); in run()
216 Thread.sleep(100); in run()
277 Thread.sleep(100); in handshake()
/development/apps/Development/src/com/android/development/
DBadBehaviorActivity.java57 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onReceive()
71 try { Thread.sleep(30000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onStartCommand()
92 try { Thread.sleep(mDelay); } catch (InterruptedException e) { Log.wtf(TAG, e); } in activityStarting()
146 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onCreate()
181 new Thread() { in onCreate()
208 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onCreate()
DLogViewer.java62 new Thread(new LogReader()).start(); in onCreate()
122 Thread.sleep(1000); in run()
/development/samples/StackWidget/src/com/example/android/stackwidget/
DStackWidgetService.java60 Thread.sleep(3000); in onCreate()
98 Thread.sleep(500); in getViewAt()
/development/samples/Alarm/src/com/example/android/newalarm/
DAlarmService.java80 Thread mWorkThread;
141 mWorkThread = new Thread( in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DNotifyingService.java54 Thread notifyingThread = new Thread(null, mTask, "NotifyingService"); in onCreate()
DAlarmService_Service.java55 Thread thr = new Thread(null, mTask, "AlarmService_Service"); in onCreate()
DFragmentRetainInstance.java108 final Thread mThread = new Thread() {
/development/apps/SettingInjectorSample/src/com/example/android/injector/
DMyInjectorService.java37 Thread.sleep(500); in onGetSummary()
DSlowInjectorService.java37 Thread.sleep(5000); in onGetSummary()
DDisabledInjectorService.java37 Thread.sleep(500); in onGetSummary()
DFailingInjectorService.java45 Thread.sleep(100); in onGetSummary()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyWaitEvent.java40 Thread.sleep(mWaitTime); in injectEvent()
DMonkeyThrottleEvent.java43 Thread.sleep(mThrottle); in injectEvent()
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
DSimpleWakefulService.java48 Thread.sleep(5000); in onHandleIntent()
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
DMissileLauncherActivity.java139 Thread thread = new Thread(this); in setDevice()
238 Thread.sleep(100); in run()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentRetainInstanceSupport.java109 final Thread mThread = new Thread() {
/development/samples/Vault/tests/src/com/example/android/vault/
DEncryptedDocumentTest.java109 new Thread() { in testMetadataAndContents() method
134 new Thread() { in testMetadataAndContents() method
226 new Thread() { in testErrorAbortsWrite() method
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShareService.java47 Thread.sleep(5*1000); in onHandleIntent()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiEventThread.java30 class EventThread extends Thread {

12345