/development/tools/bugreport/src/com/android/bugreport/stacks/ |
D | ProcessSnapshot.java | 68 for (ThreadSnapshot thread: this.threads) { in getThread() 69 if (name.equals(thread.name)) { in getThread() 70 return thread; in getThread() 80 for (ThreadSnapshot thread: this.threads) { in getThread() 81 if (tid == thread.tid) { in getThread() 82 return thread; in getThread() 91 for (ThreadSnapshot thread: this.threads) { in getSysThread() 92 if (sysTid == thread.sysTid) { in getSysThread() 93 return thread; in getSysThread()
|
/development/tools/axl/ |
D | chewie.py | 92 thread, action = x[1], x[2] 98 time, thread, host = x[0], x[1], x[4] 99 opened[thread] = [time, host, connectionCount] 102 time, thread, url = x[0], x[1], x[3] 103 opentime, host, connection = opened[thread] 105 record = [thread, qtime, opentime, time, None, None, None, url, host, connection] 106 active[thread].append(record) 108 time, thread = x[0], x[1] 109 record = active[thread][-1] 114 time, thread, = x[0], x[1] [all …]
|
/development/tools/bugreport/src/com/android/bugreport/inspector/ |
D | DeadlockDetector.java | 43 public ThreadSnapshot thread; field in DeadlockDetector.ThreadRecord 45 public ThreadRecord(ProcessSnapshot process, ThreadSnapshot thread) { in ThreadRecord() argument 47 this.thread = thread; in ThreadRecord() 52 && this.thread == that.thread; in equals() 59 hash = hash * 31 + this.thread.hashCode(); in hashCode() 68 return this.thread.compareTo(that.thread); in compareTo() 177 for (ThreadSnapshot thread: lr.process.threads) { in detectDeadlocks() 178 final Map<String,LockSnapshot> locks = thread.locks; in detectDeadlocks() 181 System.out.println("Thread " + thread.tid in detectDeadlocks() 186 addLockRecordsForThread(locksToVisit, locksVisited, lr.process, thread); in detectDeadlocks() [all …]
|
D | Inspector.java | 124 for (ThreadSnapshot thread: process.threads) { in makeProcessInfo() 125 makeThreadInfo(pi, thread.sysTid, thread.name); in makeProcessInfo() 202 for (ThreadSnapshot thread: process.threads) { in combineLocks() 203 for (StackFrameSnapshot frame: thread.frames) { in combineLocks() 207 final LockSnapshot prev = thread.locks.get(lock.address); in combineLocks() 211 thread.locks.put(lock.address, lock.clone()); in combineLocks() 225 for (ThreadSnapshot thread: process.threads) { in markBinderThreads() 226 markOutgoingBinderThread(thread); in markBinderThreads() 227 markIncomingBinderThread(thread); in markBinderThreads() 236 private boolean markOutgoingBinderThread(ThreadSnapshot thread) { in markOutgoingBinderThread() argument [all …]
|
/development/tools/bugreport/src/com/android/bugreport/html/ |
D | Renderer.java | 269 private void makeThreadSnapshotHdf(Data hdf, ProcessSnapshot process, ThreadSnapshot thread) { in makeThreadSnapshotHdf() argument 272 hdf.setValue("name", thread.name); in makeThreadSnapshotHdf() 273 hdf.setValue("daemon", thread.daemon); in makeThreadSnapshotHdf() 274 hdf.setValue("priority", Integer.toString(thread.priority)); in makeThreadSnapshotHdf() 275 hdf.setValue("tid", Integer.toString(thread.tid)); in makeThreadSnapshotHdf() 276 hdf.setValue("sysTid", Integer.toString(thread.sysTid)); in makeThreadSnapshotHdf() 277 hdf.setValue("vmState", thread.vmState); in makeThreadSnapshotHdf() 278 hdf.setValue("runnable", thread.runnable ? "1" : "0"); in makeThreadSnapshotHdf() 279 hdf.setValue("blocked", thread.blocked ? "1" : "0"); in makeThreadSnapshotHdf() 280 hdf.setValue("interesting", thread.interesting ? "1" : "0"); in makeThreadSnapshotHdf() [all …]
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnService.java | 45 public Connection(Thread thread, ParcelFileDescriptor pfd) { in Connection() argument 46 super(thread, pfd); in Connection() 119 final Thread thread = new Thread(connection, "ToyVpnThread"); in startConnection() local 120 setConnectingThread(thread); in startConnection() 128 mConnectingThread.compareAndSet(thread, null); in startConnection() 129 setConnection(new Connection(thread, tunInterface)); in startConnection() 132 thread.start(); in startConnection() 135 private void setConnectingThread(final Thread thread) { in setConnectingThread() argument 136 final Thread oldThread = mConnectingThread.getAndSet(thread); in setConnectingThread()
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | PhotoManager.java | 335 Thread thread = taskArray[taskArrayIndex].mThreadThis; in cancelAll() local 338 if (null != thread) { in cancelAll() 339 thread.interrupt(); in cancelAll() 362 Thread thread = downloaderTask.getCurrentThread(); in removeDownload() local 365 if (null != thread) in removeDownload() 366 thread.interrupt(); in removeDownload()
|
D | PhotoTask.java | 225 public void setCurrentThread(Thread thread) { in setCurrentThread() argument 227 mCurrentThread = thread; in setCurrentThread()
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
D | LunarView.java | 797 private LunarThread thread; field in LunarView 807 thread = new LunarThread(holder, context, new Handler() { in LunarView() 824 return thread; in getThread() 832 return thread.doKeyDown(keyCode, msg); in onKeyDown() 841 return thread.doKeyUp(keyCode, msg); in onKeyUp() 850 if (!hasWindowFocus) thread.pause(); in onWindowFocusChanged() 863 thread.setSurfaceSize(width, height); in surfaceChanged() 873 thread.setRunning(true); in surfaceCreated() 874 thread.start(); in surfaceCreated() 886 thread.setRunning(false); in surfaceDestroyed() [all …]
|
/development/samples/browseable/NetworkConnect/ |
D | _index.jd | 9 HttpsURLConnection. AsyncTask is used to perform the fetch on a background thread.
|
/development/tools/bugreport/src/com/android/bugreport/logcat/ |
D | LogLine.java | 95 public ThreadInfo thread; field in LogLine
|
/development/samples/JetBoy/src/com/example/android/jetboy/ |
D | JetBoyView.java | 1293 private JetBoyThread thread; field in JetBoyView 1318 thread = new JetBoyThread(holder, context, new Handler() { in JetBoyView() 1372 if (thread != null) in onWindowFocusChanged() 1373 thread.pause(); in onWindowFocusChanged() 1385 return thread; in getThread() 1391 thread.setSurfaceSize(width, height); in surfaceChanged() 1398 thread.setRunning(true); in surfaceCreated() 1399 thread.start(); in surfaceCreated() 1405 thread.setRunning(false); in surfaceDestroyed() 1408 thread.join(); in surfaceDestroyed()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ServiceStartArguments.java | 117 HandlerThread thread = new HandlerThread("ServiceStartArguments", in onCreate() local 119 thread.start(); in onCreate() 121 mServiceLooper = thread.getLooper(); in onCreate()
|
/development/samples/browseable/DisplayingBitmaps/ |
D | _index.jd | 12 It demonstrates how to load large bitmaps efficiently off the main UI thread, caching
|
/development/samples/USB/MissileLauncher/ |
D | README.txt | 12 - Receiving packets on an interrupt endpoint using a thread that calls
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
D | MissileLauncherActivity.java | 139 Thread thread = new Thread(this); in setDevice() local 140 thread.start(); in setDevice()
|
/development/vndk/tools/header-checker/header-abi-linker/src/ |
D | header_abi_linker.cpp | 212 std::size_t max_threads = std::thread::hardware_concurrency(); in LinkAndDump() 216 std::vector<std::thread> threads; in LinkAndDump() 226 for (auto &thread : threads) { in LinkAndDump() local 227 thread.join(); in LinkAndDump()
|
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
D | Camera2VideoFragment.java | 530 HandlerThread thread = new HandlerThread("CameraPreview"); in updatePreview() local 531 thread.start(); in updatePreview()
|
/development/tools/logblame/ |
D | sample.txt | 447 uid=10036(u0_a36) Jit thread pool identical 4 lines 602 AudioFlinger's thread 0xf1220600 tid=20182 ready to run 1043 AudioFlinger's thread 0xf1220e40 tid=20213 ready to run 1194 binder thread pool (1 threads) starved for 116 ms 1325 AudioFlinger's thread 0xf1220e80 tid=20227 ready to run 1825 uid=10036(u0_a36) Jit thread pool identical 2 lines 1834 uid=10018(u0_a18) Jit thread pool identical 1 line 1931 AudioFlinger's thread 0xf12208c0 tid=20278 ready to run 2319 AudioFlinger's thread 0xf19aa340 tid=20301 ready to run 2530 uid=10036(u0_a36) Jit thread pool identical 3 lines [all …]
|