def get_binary_path(self, name, search_system_binaries=True):
        wa_binary = self.path.join(self.binaries_directory, name)
        if self.file_exists(wa_binary):
            return wa_binary
        if search_system_binaries:
            try:
                return self.execute('{} which {}'.format(self.busybox, name)).strip()
            except DeviceError:
                pass
        return None
Get either the passed-in reactor or the global reactor.
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/common/linux/device.py/BaseLinuxDevice.get_binary_path--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/util.py/_Janitor._getReactor