#ifndef TESTS_TEST_LIBRARY_INCLUDE_PROCA_H_
#define TESTS_TEST_LIBRARY_INCLUDE_PROCA_H_

#include <string>

namespace Proca {

/**
 * @brief Kill PROCA daemon or HIDL service
 * @return true if success
 */
bool KillDaemon();

/**
 * @brief Check that PROCA daemon is run
 * @param [in] seconds Timeout
 * @return true is success
 */
bool WaitForDaemon(int seconds=10);

/**
 * @brief Check that connected device has Android P or higher
 * @return true if Android version is P or higher
 */
bool isAndroidHigherThanO();

/**
 * @brief Get pid of proca daemon
 * @return 0 if daemon is not running, it's pid in other case
 */
pid_t GetDaemonPid();

}

#endif /* TESTS_TEST_LIBRARY_INCLUDE_PROCA_H_ */
