/sdk/emulator/opengl/tests/ut_renderer/ |
H A D | Renderer.h | 31 unsigned int pid; member in class:Renderer::ClientHandle 33 ClientHandle(unsigned int _pid, unsigned int _handle) : pid(_pid), handle(_handle) {} 36 bool val = (pid == p.pid) ? handle < p.handle : pid < p.pid;
|
H A D | RenderingThread.cpp | 213 int RenderingThread::s_createContext(uint32_t pid, uint32_t handle, uint32_t shareCtx, int version) argument 215 return Renderer::instance()->createContext(m_tls, Renderer::ClientHandle(pid, handle), 216 Renderer::ClientHandle(pid, shareCtx), 222 int RenderingThread::s_createSurface(uint32_t pid, uint32_t handle) argument 224 return Renderer::instance()->createSurface(m_tls, Renderer::ClientHandle(pid, handle)); 227 int RenderingThread::s_destroySurface(uint32_t pid, uint32_t handle) argument 229 return Renderer::instance()->destroySurface(m_tls, Renderer::ClientHandle(pid, handle)); 232 int RenderingThread::s_destroyContext(uint32_t pid, uint32_t handle) argument 234 return Renderer::instance()->destroyContext(m_tls, Renderer::ClientHandle(pid, handle)); 238 int RenderingThread::s_makeCurrent(uint32_t pid, uint32_ argument 252 s_swapBuffers(uint32_t pid, uint32_t surface) argument [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
H A D | LogCatPidToNameMapper.java | 71 int pid = cd.getPid(); 73 mPidToName.put(Integer.toString(pid), name); 110 int pid = cd.getPid(); 120 mPidToName.put(Integer.toString(pid), name); 125 * Get the application name corresponding to given pid. 126 * @param pid application's pid 129 public String getName(String pid) { argument 130 String name = mPidToName.get(pid);
|
H A D | LogCatMessage.java | 23 * A logcat message has a {@link LogLevel}, the pid (process id) of the process 39 public LogCatMessage(LogLevel logLevel, String pid, String tid, String appName, argument 42 mPid = pid;
|
H A D | LogCatFilter.java | 32 private static final String PID_KEYWORD = "pid:"; //$NON-NLS-1$ 71 * @param pid value for the logcat message's pid field. 76 public LogCatFilter(String name, String tag, String text, String pid, String appName, argument 81 mPid = pid.trim(); 143 * supported: "pid:", "tag:" and "text:". Invalid regexes are ignored. 153 String pid = ""; 157 pid = s.substring(PID_KEYWORD.length()); 170 tag, text, pid, app, minLevel)); 211 /* if pid filte [all...] |
H A D | LogCatFilterSettingsDialog.java | 46 "Filter logcat messages by the source's tag, pid or minimum log level.\n" 78 * @param pid value for filter by pid 82 public void setDefaults(String filterName, String tag, String text, String pid, String appName, argument 87 mPid = pid; 185 /* if a pid is provided, it should be a +ve integer */ 188 int pid = 0; 190 pid = Integer.parseInt(pidText); 196 if (pid < 0) { 292 * @return user provided pid, mayb [all...] |
H A D | LogFilter.java | 49 * pid used for filtering. Only valid if mMode is MODE_PID. 70 /** temp pid filtering */ 213 * @param pid 215 public void setPidMode(int pid) { argument 216 if (pid != -1) { 221 mPid = pid; 224 /** Returns the pid filter if valid, otherwise -1 */ 343 if ((mMode & MODE_PID) == MODE_PID && mPid != logMessage.data.pid) { 382 if (mTempPid != -1 && mTempPid != logMessage.data.pid) { 500 void setTempPidFiltering(int pid) { argument [all...] |
/sdk/emulator/qtools/ |
H A D | parse_options-inl.h | 30 if (include_some_pids && pid_include_vector.GetBit(event->pid) == 0) 32 if (exclude_some_pids && pid_exclude_vector.GetBit(event->pid)) 45 inline bool IsValidPid(int pid) { argument 46 if (include_some_pids && pid_include_vector.GetBit(pid) == 0) 48 if (exclude_some_pids && pid_exclude_vector.GetBit(pid)) 53 inline symbol_type *GetSymbol(TraceReaderType *trace, int pid, uint32_t addr, argument 56 symbol_type *sym = trace->LookupFunction(pid, addr, time); 111 while (pid_include_vector.GetBit(event->pid) == 0) { 118 while (pid_exclude_vector.GetBit(event->pid)) { 127 sym = GetSymbol(trace, event->pid, even [all...] |
H A D | gtrace.cpp | 58 void Gtrace::WriteFirstHeader(uint32_t start_sec, uint32_t pid) argument 61 current_pid_ = pid; 63 FillFirstHeader(start_sec, pid, &fh); 68 void Gtrace::FillFirstHeader(uint32_t start_sec, uint32_t pid, argument 80 fh->common.pid = pid; 94 void Gtrace::WriteBlockHeader(uint32_t cycle, uint32_t pid) argument 105 bh.pid = pid; 111 void Gtrace::AddGtraceRecord(int filenum, int procnum, uint32_t cycle, uint32_t pid, argument 139 AddProcEntry(int filenum, int procnum, uint32_t cycle, uint32_t pid) argument 144 AddProcExit(int filenum, int procnum, uint32_t cycle, uint32_t pid) argument [all...] |
H A D | gtrace.h | 24 uint32_t pid; member in struct:Gtrace::block_header 45 void WriteFirstHeader(uint32_t start_sec, uint32_t pid); 47 void AddProcEntry(int filenum, int procnum, uint32_t cycle, uint32_t pid); 48 void AddProcExit(int filenum, int procnum, uint32_t cycle, uint32_t pid); 51 void AddGtraceRecord(int filenum, int procnum, uint32_t cycle, uint32_t pid, 53 void FillFirstHeader(uint32_t start_sec, uint32_t pid, 55 void WriteBlockHeader(uint32_t cycle, uint32_t pid);
|
H A D | check_stack.cpp | 20 void compareStacks(uint64_t time, int pid); 21 void dumpStacks(int pid); 118 if (!IsValidPid(proc->pid)) 122 Stack *mStack = mStacks[proc->pid]; 127 mStacks[proc->pid] = mStack; 148 CallStackType *eStack = eStacks[event.pid]; 152 eStack = new CallStackType(event.pid, kNumStackFrames, etrace); 153 eStacks[event.pid] = eStack; 162 compareStacks(event.time, event.pid); 175 void compareStacks(uint64_t time, int pid) { argument 237 dumpStacks(int pid) argument [all...] |
H A D | dmtrace.cpp | 126 void DmTrace::addFunctionEntry(int functionId, uint32_t cycle, uint32_t pid) argument 128 writeDataRecord(fData, pid, functionId, cycle); 131 void DmTrace::addFunctionExit(int functionId, uint32_t cycle, uint32_t pid) argument 133 writeDataRecord(fData, pid, functionId | 1, cycle);
|
H A D | q2dm.cpp | 73 int pid = base->getId(); local 78 stack->getGlobalTime(time), pid, stackLevel, 82 FunctionStack *fstack = dmtrace_stack[pid]; 85 dmtrace_stack[pid] = fstack; 89 thread_time[pid] = time; 90 dmtrace->addFunctionEntry(function->id, time, pid); 95 int pid = base->getId(); local 100 stack->getGlobalTime(time), pid, stackLevel, 104 FunctionStack *fstack = dmtrace_stack[pid]; 107 dmtrace_stack[pid] [all...] |
/sdk/emulator/opengl/shared/OpenglOsUtils/ |
H A D | osProcessUnix.cpp | 96 pid_t pid; local 98 pid = fork(); 100 if (pid < 0) { 101 return pid; 103 else if (pid == 0) { 125 return pid; 154 pid_t pid = waitpid(m_pid,&ret,0); local 155 if (pid != -1) { 172 pid_t pid = waitpid(m_pid,&ret,WNOHANG); local 173 if (pid 186 KillProcess(int pid, bool wait) argument 205 isProcessRunning(int pid) argument [all...] |
H A D | osProcessWin.cpp | 124 int KillProcess(int pid, bool wait) argument 127 HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid); 158 bool isProcessRunning(int pid) argument 162 HANDLE process = OpenProcess(SYNCHRONIZE, FALSE, pid);
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/ |
H A D | LogReceiver.java | 40 /** pid of the process that generated this {@link LogEntry} */ 41 public int pid; field in class:LogReceiver.LogEntry 232 entry.pid = ArrayHelper.swap32bitFromArray(data, offset);
|
H A D | EventContainer.java | 171 public int pid; /* generating process's pid */ field in class:EventContainer 180 * @param entry the LogEntry from which pid, tid, and time info is copied. 189 pid = entry.pid; 198 EventContainer(int tag, int pid, int tid, int sec, int nsec, Object data) { argument 203 this.pid = pid;
|
H A D | GcEventContainer.java | 56 GcEventContainer(int tag, int pid, int tid, int sec, int nsec, Object data) { argument 57 super(tag, pid, tid, sec, nsec, data);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
H A D | DisplayLog.java | 104 String pidName = Integer.toString(event.pid); 158 String pidName = Integer.toString(event.pid); 166 // pid) at this point, there isn't anything else to display. 183 * @param pid 190 private void logValue(String date, String pid, String event, String valueName, argument 195 item.setText(1, pid); 281 mLogTable, "pid",
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/ |
H A D | GdbServerTask.java | 27 * provided pid. 47 * @param pid pid of task to attach to 50 public GdbServerTask(IDevice device, String runAsPackage, String socketName, int pid, argument 55 mPid = pid;
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
H A D | AdbHelper.java | 115 * @param pid the process pid to connect to. 121 Device device, int pid) 133 byte[] req = createJdwpForwardRequest(pid); 173 * containing "####jwdp:{pid}". 174 * @param pid the jdwp process pid on the device. 176 private static byte[] createJdwpForwardRequest(int pid) { argument 177 String reqStr = String.format("jdwp:%1$d", pid); //$NON-NLS-1$ 522 * jdwp:<process pid> (remot 120 createPassThroughConnection(InetSocketAddress adbSockAddr, Device device, int pid) argument [all...] |
H A D | DeviceMonitor.java | 607 int pid = client.getClientData().getPid(); 621 openClient(device, pid, port, monitorThread); 725 // split each line in its own list and create an array of integer pid 728 for (String pid : pids) { 730 newPids.add(Integer.valueOf(pid)); 732 // looks like this pid is not really a number. Lets ignore it. 752 for (Integer pid : existingClients.keySet()) { 753 if (!newPids.contains(pid)) { 754 clientsToRemove.add(existingClients.get(pid)); 763 // at this point whatever pid i 778 openClient(Device device, int pid, int port, MonitorThread monitorThread) argument 816 createClient(Device device, int pid, SocketChannel socket, int debuggerPort, MonitorThread monitorThread) argument [all...] |
H A D | Client.java | 125 * @param pid the client pid. 127 Client(Device device, SocketChannel chan, int pid) { argument 138 mClientData = new ClientData(pid); 149 return "[Client pid: " + mClientData.getPid() + "]";
|
H A D | IDevice.java | 406 * Returns the name of the client by pid or <code>null</code> if pid is unknown 407 * @param pid the pid of the client. 409 public String getClientName(int pid); argument
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
H A D | GLClientState.cpp | 294 int GLClientState::compareTexId(const void* pid, const void* prec) argument 296 const GLuint* id = (const GLuint*)pid;
|