Searched refs:sem_value (Results 1 – 2 of 2) sorted by relevance
42 current_sem_value = self.sem.sem_value44 self.assertEqual(current_sem_value - 1, self.sem.sem_value)49 current_sem_value = self.sem.sem_value51 self.assertEqual(current_sem_value + 1, self.sem.sem_value)54 current_sem_value = self.sem.sem_value56 self.assertEqual(current_sem_value, self.sem.sem_value)60 self.assertEqual(self.sem.sem_value, 0)
50 if self.sem_value > 0:76 max(0, self.sem_value + diff), common.MAX_ADB_FASTBOOT_PROCESS)88 def sem_value(self): member in FileLockSemaphore113 current_value = self.sem_value120 current_value = self.sem_value