Searched refs:mTaskCount (Results 1 – 3 of 3) sorted by relevance
63 assertThat(rateLimitedExecutor.getPerPackageTaskCosts().get(pkgName).mTaskCount).isEqualTo( in testAddTaskToQueue_addOk()101 assertThat(rateLimitedExecutor.getPerPackageTaskCosts().get(pkgName).mTaskCount).isEqualTo( in testAddTaskToQueue_exceedsPerPackageCapacity_cannotAddTask()135 assertThat(rateLimitedExecutor.getPerPackageTaskCosts().get(pkgName1).mTaskCount).isEqualTo( in testAddTaskToQueue_otherPackageExceedsPerPackageCapacity_canAddTask()139 assertThat(rateLimitedExecutor.getPerPackageTaskCosts().get(pkgName2).mTaskCount).isEqualTo( in testAddTaskToQueue_otherPackageExceedsPerPackageCapacity_canAddTask()178 assertThat(rateLimitedExecutor.getPerPackageTaskCosts().get(pkgName1).mTaskCount).isEqualTo( in testAddTaskToQueue_exceedsTotalCapacity_cannotAddTask()182 assertThat(rateLimitedExecutor.getPerPackageTaskCosts().get(pkgName2).mTaskCount).isEqualTo( in testAddTaskToQueue_exceedsTotalCapacity_cannotAddTask()223 assertThat(rateLimitedExecutor.getPerPackageTaskCosts().get(pkgName1).mTaskCount) in testRemoveTaskFromQueue_removeOk()227 assertThat(rateLimitedExecutor.getPerPackageTaskCosts().get(pkgName2).mTaskCount) in testRemoveTaskFromQueue_removeOk()278 assertThat(rateLimitedExecutor.getPerPackageTaskCosts().get(pkgName1).mTaskCount) in testCanAddMoreTasksAfterQueueClearsUp()282 assertThat(rateLimitedExecutor.getPerPackageTaskCosts().get(pkgName2).mTaskCount) in testCanAddMoreTasksAfterQueueClearsUp()
182 ++packageTaskCostInfo.mTaskCount; in addPackageTaskInfoLocked()193 --packageTaskCostInfo.mTaskCount; in removePackageTaskInfoLocked()195 if (packageTaskCostInfo.mTaskCount <= 0 || packageTaskCostInfo.mTotalTaskCost <= 0) { in removePackageTaskInfoLocked()272 public int mTaskCount; field in RateLimitedExecutor.TaskCostInfo276 mTaskCount = taskCount; in TaskCostInfo()
157 private final AtomicLong mTaskCount = new AtomicLong(/* initialValue= */ 0); field in CarRemoteAccessService1751 return TASK_PREFIX + "_" + mTaskCount.incrementAndGet() + "_" in generateNewTaskId()