CtsSettingsSetup

public class CtsSettingsSetup
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.google.android.tradefed.targetprep.CtsSettingsSetup


ITargetPreparer,可設定裝置,準備執行 CTS 測試。

這個類別暫時位於 vendor/google 中,因為它依賴尚未準備好開放原始碼的機制來變更安全設定。一旦有開放原始碼的安全方法可變更安全設定,這個類別就會遷移至 CTS 專案。

這個準備程序必須在 CTS 無障礙 APK 安裝「後」執行

摘要

公用建構函式

CtsSettingsSetup()

公用方法

void setUp(TestInformation testInfo)

公用建構函式

CtsSettingsSetup

public CtsSettingsSetup ()

公用方法

setUp

public void setUp (TestInformation testInfo)

參數
testInfo TestInformation

擲回
BuildError
DeviceNotAvailableException
TargetSetupError