/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | PhotoDownloadRunnable.java | 66 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()
|
D | PhotoDecodeRunnable.java | 65 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()
|
D | PhotoTask.java | 64 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/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnService.java | 47 private static class Connection extends Pair<Thread, ParcelFileDescriptor> { 48 public Connection(Thread thread, ParcelFileDescriptor pfd) { in Connection() 53 private final AtomicReference<Thread> mConnectingThread = new AtomicReference<>(); 120 final Thread thread = new Thread(connection, "ToyVpnThread"); in startConnection() 134 private void setConnectingThread(final Thread thread) { in setConnectingThread() 135 final Thread oldThread = mConnectingThread.getAndSet(thread); in setConnectingThread()
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
D | ChatConnection.java | 121 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/ |
D | ClientSocketHandler.java | 12 public class ClientSocketHandler extends Thread { 33 new Thread(chat).start(); in run()
|
D | ChatManager.java | 70 Thread thread = new Thread() { in write()
|
/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | TestBase.java | 64 Thread.sleep(500); in startActivities() 66 Thread.sleep(500); in startActivities() 77 Thread.sleep(500); in startActivities()
|
/development/apps/Development/src/com/android/development/ |
D | BadBehaviorActivity.java | 57 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()
|
D | LogViewer.java | 62 new Thread(new LogReader()).start(); in onCreate() 122 Thread.sleep(1000); in run()
|
/development/samples/StackWidget/src/com/example/android/stackwidget/ |
D | StackWidgetService.java | 60 Thread.sleep(3000); in onCreate() 98 Thread.sleep(500); in getViewAt()
|
/development/apps/SettingInjectorSample/src/com/example/android/injector/ |
D | SlowInjectorService.java | 37 Thread.sleep(5000); in onGetSummary()
|
D | MyInjectorService.java | 37 Thread.sleep(500); in onGetSummary()
|
D | DisabledInjectorService.java | 37 Thread.sleep(500); in onGetSummary()
|
D | FailingInjectorService.java | 45 Thread.sleep(100); in onGetSummary()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | AlarmService_Service.java | 55 Thread thr = new Thread(null, mTask, "AlarmService_Service"); in onCreate()
|
D | NotifyingService.java | 54 Thread notifyingThread = new Thread(null, mTask, "NotifyingService"); in onCreate()
|
D | FragmentRetainInstance.java | 108 final Thread mThread = new Thread() {
|
/development/samples/Alarm/src/com/example/android/newalarm/ |
D | AlarmService.java | 80 Thread mWorkThread; 141 mWorkThread = new Thread( in onCreate()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyWaitEvent.java | 40 Thread.sleep(mWaitTime); in injectEvent()
|
D | MonkeyThrottleEvent.java | 43 Thread.sleep(mThrottle); in injectEvent()
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
D | MissileLauncherActivity.java | 139 Thread thread = new Thread(this); in setDevice() 238 Thread.sleep(100); in run()
|
/development/samples/Vault/tests/src/com/example/android/vault/ |
D | EncryptedDocumentTest.java | 109 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/ |
D | ReceiveShareService.java | 47 Thread.sleep(5*1000); in onHandleIntent()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | MidiEventThread.java | 30 class EventThread extends Thread {
|