Home
last modified time | relevance | path

Searched refs:invocationId (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/invoker/monitor/
DInvocationsMonitor.java65 String invocationId = context.getInvocationId(); in trackInvocation() local
66 if (mInvocationInfo.containsKey(invocationId)) { in trackInvocation()
67 InvocationTracker info = mInvocationInfo.get(invocationId); in trackInvocation()
70 mInvocationInfo.put(invocationId, new InvocationTracker(context)); in trackInvocation()
96 String invocationId = context.getInvocationId(); in untrackInvocation() local
97 if (mInvocationInfo.containsKey(invocationId)) { in untrackInvocation()
98 InvocationTracker info = mInvocationInfo.get(invocationId); in untrackInvocation()
102 mInvocationInfo.remove(invocationId); in untrackInvocation()
105 CLog.e("Invocation id '%s' was not tracking this context.", invocationId); in untrackInvocation()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1539 int invocationId = cmd.getCommandTracker().getId(); in startInvocation() local
1540 CLog.d("starting invocation for command id %d", invocationId); in startInvocation()
1548 IInvocationContext.INVOCATION_ID, Integer.toString(invocationId)); in startInvocation()
1857 public synchronized boolean stopInvocation(int invocationId) { in stopInvocation() argument
1860 if (thread.mCmd.getCommandTracker().mId == invocationId) { in stopInvocation()
1861 thread.stopInvocation("User requested stopping invocation " + invocationId); in stopInvocation()
1865 CLog.w("No invocation found matching the id: %s", invocationId); in stopInvocation()
1873 public synchronized String getInvocationInfo(int invocationId) { in getInvocationInfo() argument
1875 if (thread.mCmd.getCommandTracker().mId == invocationId) { in getInvocationInfo()
1880 CLog.w("No invocation found matching the id: %s", invocationId); in getInvocationInfo()
DICommandScheduler.java249 public boolean stopInvocation(int invocationId) throws UnsupportedOperationException; in stopInvocation() argument
257 public String getInvocationInfo(int invocationId); in getInvocationInfo() argument