Skip to content
QiTASC.com / intaQt Setup and Configuration /
Android Devices and Related Configurations
/ .. /
Android Devices and Related...





Android Devices and Related Configurations

The following configurations are used for configuring Android Devices and configuring intaQt so that it can address them.

Important! intaQt must be restarted after making changes to this configuration.

Android Devices
Android Devices Configuration
ApkGuard Configuration
Audio Service

Android Devices Configuration

The Android Devices configuration serves two purposes:

  • It assigns properties to phone hardware including mobile phones and SIM Array phones. These properties can be set for devices that may change their subscribers during test runs.

  • It classifies devices by binding special reserved property names to the phone hardware, meaning intaQt will change the way it treats the device accordingly. For example, if a phone has the property simChannel, intaQt knows that it has the capability to change its SIM card dynamically.

Syntax

1
2
3
4
5
AndroidDevices {
     <AndroidSerialNumber String> {
          <propertyName String> = <propertyValue String>
     }
}

Parameters

  • AndroidSerialNumber - Represents the serial number of the Android device

  • propertyName - This is the property name used to identify phone type, such as color

    • The name can be chosen freely, however, two reserved property names exist:
      • "simChannel" tells intaQt that the device has the ability to change the SIM Card
      • "speechChannel" tells intaQt that the device has the ability to monitor the Speech Channel
  • propertyValue - The property's value, for example, a serial number or color

Example

1
2
3
4
5
AndroidDevices {
     "014E281E0301F015" {
          "simChannel" = "SN#000014985EA5"
     }
}

ApkGuard Configuration

The ApkGuard configuration sets a specific package to install on a device model class. If it is not configured, intaQt will install the apk belonging to the current release version by default.

1
2
3
ApkGuard = {
      <deviceModel string>: [<apkId String>, ...]
}

Parameters

  • deviceModel - The name of the device as given in the property, for example ro.product.model

  • apkId - The list of Android package names to be installed on the specified device

Example

1
2
3
ApkGuard {
   "AOSP on BullHead" : ["at.inaut.autotest.android.eventrec",]
}

Audio Service

The intaQt Audio Service enables Audio and Speech Channel Monitoring steps and compound steps. In order for this capability to function, phones must be connected to a Raspberry Pi through an Audio Card. There is a one-to-one relationship between the phone and the Raspberry Pi. A valid URL of the service running on the Raspberry Pi is given to the phone as a configuration parameter.

Important! If the connection to the remote host is refused for any reason, the Audio Recorder capability will be deactivated for the device.

Syntax

1
2
3
4
5
6
AndroidDevices  = {
   <serialNumber String>:   {
      "audioServiceURL"   : <String>
   }
   ...
}

Parameters

  • serialNumber - The serial number associated with the device

  • audioServiceURL - The URL of the audio recording service running on the Raspberry Pi

Example

1
2
3
4
5
AndroidDevices  = {
   "00c09f44967c5764":  {
      "audioServiceURL" : "http://127.0.0.1:10001"
   }
}