com.avito.android.runner.devices.internal.AndroidDebugBridgeImpl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of impl Show documentation
Show all versions of impl Show documentation
Collection of infrastructure libraries and gradle plugins of Avito Android project
package com.avito.android.runner.devices.internal
import com.avito.logger.LoggerFactory
import com.avito.runner.service.worker.device.Serial
import com.avito.runner.service.worker.device.adb.Adb
import com.avito.utils.ProcessRunner
internal class AndroidDebugBridgeImpl(
private val adb: Adb,
private val loggerFactory: LoggerFactory,
private val processRunner: ProcessRunner
) : AndroidDebugBridge {
override fun getRemoteDevice(serial: Serial.Remote): RemoteDeviceImpl {
return RemoteDeviceImpl(
serial = serial,
adb = adb,
processRunner = processRunner,
loggerFactory = loggerFactory
)
}
override fun getLocalDevice(serial: Serial.Local): LocalDevice {
return LocalDevice(
serial = serial,
adb = adb,
processRunner = processRunner,
loggerFactory = loggerFactory
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy