Home
last modified time | relevance | path

Searched refs:mThread (Results 1 – 4 of 4) sorted by relevance

/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentRetainInstanceSupport.java109 final Thread mThread = new Thread() { field in FragmentRetainInstanceSupport.RetainedFragment
165 mThread.start(); in onCreate()
183 synchronized (mThread) { in onActivityCreated()
185 mThread.notify(); in onActivityCreated()
196 synchronized (mThread) { in onDestroy()
199 mThread.notify(); in onDestroy()
214 synchronized (mThread) { in onDetach()
217 mThread.notify(); in onDetach()
227 synchronized (mThread) { in restart()
229 mThread.notify(); in restart()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentRetainInstance.java108 final Thread mThread = new Thread() { field in FragmentRetainInstance.RetainedFragment
164 mThread.start(); in onCreate()
182 synchronized (mThread) { in onActivityCreated()
184 mThread.notify(); in onActivityCreated()
195 synchronized (mThread) { in onDestroy()
198 mThread.notify(); in onDestroy()
213 synchronized (mThread) { in onDetach()
216 mThread.notify(); in onDetach()
226 synchronized (mThread) { in restart()
228 mThread.notify(); in restart()
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnService.java44 private Thread mThread; field in ToyVpnService
57 if (mThread != null) { in onStartCommand()
58 mThread.interrupt(); in onStartCommand()
68 mThread = new Thread(this, "ToyVpnThread"); in onStartCommand()
69 mThread.start(); in onStartCommand()
75 if (mThread != null) { in onDestroy()
76 mThread.interrupt(); in onDestroy()
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DChatConnection.java119 Thread mThread = null; field in ChatConnection.ChatServer
122 mThread = new Thread(new ServerThread()); in ChatServer()
123 mThread.start(); in ChatServer()
127 mThread.interrupt(); in tearDown()