DeviceSetup

public class DeviceSetup
extends BaseTargetPreparer implements IExternalDependency

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.DeviceSetup


ITargetPreparer định cấu hình một thiết bị để kiểm thử dựa trên các Option được cung cấp.

Yêu cầu thiết bị có thể "adb root", thường là loại bản dựng userdebug.

Nên thực hiện sau khi cài đặt ROM mới.

Lưu ý: trình chuẩn bị này dành cho các phòng thử nghiệm liên tục và giả định rằng thiết bị đang được kiểm thử sẽ được cài đặt ROM và xoá sạch trước lần chạy tiếp theo. Do đó, phương thức này chỉ dọn dẹp tối thiểu trong quá trình tháo dỡ và không được sử dụng trong mô-đun kiểm thử.

Tóm tắt

Trường

protected BinaryState mAirplaneMode

protected BinaryState mAutoRotate

protected BinaryState mAutoUpdateTime

protected BinaryState mAutoUpdateTimezone

protected BinaryState mBatterySaver

protected Integer mBatterySaverTrigger

protected BinaryState mBluetooth

protected BinaryState mCell

protected BinaryState mCellAutoSetting

protected BinaryState mData

protected Integer mDefaultSimData

protected Integer mDefaultSimSms

protected Integer mDefaultSimVoice

protected boolean mDisableAudio

protected BinaryState mDisableCwWifiMediator

protected boolean mDisableDalvikVerifier

protected boolean mDisableDialing

protected boolean mDisableDoze

protected boolean mEnableFullBatteryStatsHistory

protected BinaryState mEthernet

protected boolean mForceSkipRunCommands

protected boolean mForceSkipSettings

protected boolean mForceSkipSystemProps

protected MultiMap<String, String> mGlobalSettings

protected BinaryState mHideErrorDialogs

protected BinaryState mInstallNonMarketApps

protected File mLocalDataFile

protected BinaryState mLocationGps

protected BinaryState mLocationNetwork

protected long mMinExternalStorageKb

protected BinaryState mNfc

protected BinaryState mNotificationLed

protected boolean mOptimizedPropertySetting

protected File mPreviousProperties

protected String mRemoteDataPath

protected boolean mRestoreProperties

protected boolean mRestoreSettings

protected mRunCommandAfterSettings

protected mRunCommandBeforeSettings

protected BinaryState mScreenAdaptiveBrightness

protected BinaryState mScreenAlwaysOn

protected BinaryState mScreenAmbientMode

protected Integer mScreenBrightness

protected BinaryState mScreenSaver

protected Long mScreenTimeoutSecs

protected MultiMap<String, String> mSecureSettings

protected mSetProps

protected boolean mSetTestHarness

protected BinaryState mSyncTimezoneWithHost

protected MultiMap<String, String> mSystemSettings

protected String mTimezone

protected boolean mTriggerMediaMounted

protected BinaryState mWakeGesture

protected BinaryState mWifi

protected String mWifiPsk

protected BinaryState mWifiScanAlwaysEnabled

protected String mWifiSsid

protected mWifiSsidToPsk

protected BinaryState mWifiWatchdog

Hàm khởi tạo công khai

DeviceSetup()

Phương thức công khai

void changeSettings(ITestDevice device)

Thay đổi chế độ cài đặt trên thiết bị.

getDependencies()
ITestDevice getDevice(TestInformation testInfo)
boolean isForceSkipSystemProps()
void processDeprecatedOptions(ITestDevice device)

Xử lý các tuỳ chọn không dùng nữa, chuyển đổi các tuỳ chọn đó thành các tuỳ chọn hiện đang được sử dụng.

void processOptions(ITestDevice device)

Xử lý tất cả Option và biến chúng thành thuộc tính hệ thống, chế độ cài đặt hoặc lệnh chạy.

static void setCommandForBinaryState(BinaryState state, commands, String onCommand, String offCommand)

Phương thức trợ giúp để thêm lệnh chạy BẬT/TẮT sẽ được thực thi trên thiết bị.

void setGlobalSetting(String key, String value)

Được hiển thị để kiểm thử đơn vị

void setSecureSetting(String key, String value)

Được hiển thị để kiểm thử đơn vị

static void setSettingForBinaryState(BinaryState state, MultiMap<String, String> settingsMap, String setting, String onValue, String offValue)

Phương thức trợ giúp để thêm chế độ cài đặt BẬT/TẮT vào bản đồ cài đặt.

void setSystemSetting(String key, String value)

Được hiển thị để kiểm thử đơn vị

void setUp(TestInformation testInfo)

void tearDown(TestInformation testInfo, Throwable e)

Phương thức được bảo vệ

void setAirplaneMode(BinaryState airplaneMode)

Được hiển thị để kiểm thử đơn vị

void setAutoRotate(BinaryState autoRotate)

Được hiển thị để kiểm thử đơn vị

void setAutoUpdateTime(BinaryState autoUpdateTime)

Được hiển thị để kiểm thử đơn vị

void setAutoUpdateTimezone(BinaryState autoUpdateTimezone)

Được hiển thị để kiểm thử đơn vị

void setBatterySaver(BinaryState batterySaver)

Được hiển thị để kiểm thử đơn vị

void setBatterySaverTrigger(Integer batterySaverTrigger)

Được hiển thị để kiểm thử đơn vị

void setBluetooth(BinaryState bluetooth)

Được hiển thị để kiểm thử đơn vị

void setCell(BinaryState cell)
void setCellAutoSetting(BinaryState cellAutoSetting)
void setData(BinaryState data)
void setDefaultSimData(Integer defaultSimData)

Được hiển thị để kiểm thử đơn vị

void setDefaultSimSms(Integer defaultSimSms)

Được hiển thị để kiểm thử đơn vị

void setDefaultSimVoice(Integer defaultSimVoice)

Được hiển thị để kiểm thử đơn vị

void setDeprecatedAudioSilent(boolean silent)

Phương thức này không còn được dùng nữa. hãy sử dụng setDisableAudio(boolean).

void setDeprecatedMinExternalStoreSpace(long storeSpace)

Phương thức này không còn được dùng nữa. hãy sử dụng setMinExternalStorageKb(long).

void setDeprecatedSetProp(String prop)

Phương thức này không còn được dùng nữa. hãy sử dụng setProperty(String, String).

void setDisableAudio(boolean disable)

Được hiển thị để kiểm thử đơn vị

void setDisableCwWifiMediator(BinaryState disableCwWifiMediator)
void setDisableDalvikVerifier(boolean disableDalvikVerifier)

Được hiển thị để kiểm thử đơn vị

void setDisableDialing(boolean disableDialing)

Được hiển thị để kiểm thử đơn vị

void setDisableDoze(boolean disableDoze)

Được hiển thị để kiểm thử đơn vị

void setEnableFullBatteryStatsHistory(boolean enableFullBatteryStatsHistory)

Được hiển thị để kiểm thử đơn vị

void setEthernet(BinaryState ethernet)

Được hiển thị để kiểm thử đơn vị

void setForceRootSetup(boolean force)
void setForceSkipSystemProps(boolean force)

Được hiển thị để kiểm thử đơn vị

void setInstallNonMarketApps(BinaryState installNonMarketApps)

Được hiển thị để kiểm thử đơn vị

void setLocalDataPath(File path)

Được hiển thị để kiểm thử đơn vị

void setLocationGps(BinaryState locationGps)

Được hiển thị để kiểm thử đơn vị

void setLocationNetwork(BinaryState locationNetwork)

Được hiển thị để kiểm thử đơn vị

void setMinExternalStorageKb(long storageKb)

Được hiển thị để kiểm thử đơn vị

void setNfc(BinaryState nfc)

Được hiển thị để kiểm thử đơn vị

void setNotificationLed(BinaryState notificationLed)

Được hiển thị để kiểm thử đơn vị

void setProperty(String key, String value)

Được hiển thị để kiểm thử đơn vị

void setRestoreProperties(boolean restoreProperties)

Được hiển thị để kiểm thử đơn vị

void setRestoreSettings(boolean restoreSettings)

Được hiển thị để kiểm thử đơn vị

void setScreenAdaptiveBrightness(BinaryState screenAdaptiveBrightness)

Được hiển thị để kiểm thử đơn vị

void setScreenAlwaysOn(BinaryState screenAlwaysOn)

Được hiển thị để kiểm thử đơn vị

void setScreenAmbientMode(BinaryState screenAmbientMode)

Được hiển thị để kiểm thử đơn vị

void setScreenBrightness(Integer screenBrightness)

Được hiển thị để kiểm thử đơn vị

void setScreenSaver(BinaryState screenSaver)

Được hiển thị để kiểm thử đơn vị

void setScreenTimeoutSecs(Long screenTimeoutSecs)

Được hiển thị để kiểm thử đơn vị

void setTestHarness(boolean setTestHarness)

Được hiển thị để kiểm thử đơn vị

void setTimezone(String timezone)

Được hiển thị để kiểm thử đơn vị

void setTriggerMediaMounted(boolean triggerMediaMounted)

Được hiển thị để kiểm thử đơn vị

void setWakeGesture(BinaryState wakeGesture)

Được hiển thị để kiểm thử đơn vị

void setWifi(BinaryState wifi)

Được hiển thị để kiểm thử đơn vị

void setWifiNetwork(String wifiNetwork)

Được hiển thị để kiểm thử đơn vị

void setWifiPsk(String wifiPsk)
void setWifiScanAlwaysEnabled(BinaryState wifiScanAlwaysEnabled)

Được hiển thị để kiểm thử đơn vị

void setWifiSsidToPsk( wifiSssidToPsk)
void setWifiWatchdog(BinaryState wifiWatchdog)

Được hiển thị để kiểm thử đơn vị

Trường

mAirplaneMode

protected BinaryState mAirplaneMode

mAutoRotate

protected BinaryState mAutoRotate

mAutoUpdateTime

protected BinaryState mAutoUpdateTime

mAutoUpdateTimezone

protected BinaryState mAutoUpdateTimezone

mBatterySaver

protected BinaryState mBatterySaver

mBatterySaverTrigger

protected Integer mBatterySaverTrigger

mBluetooth

protected BinaryState mBluetooth

mCell

protected BinaryState mCell

mCellAutoSetting

protected BinaryState mCellAutoSetting

mData

protected BinaryState mData

mDefaultSimData

protected Integer mDefaultSimData

mDefaultSimSms

protected Integer mDefaultSimSms

mDefaultSimVoice

protected Integer mDefaultSimVoice

mDisableAudio

protected boolean mDisableAudio

mDisableCwWifiMediator

protected BinaryState mDisableCwWifiMediator

mDisableDalvikVerifier

protected boolean mDisableDalvikVerifier

mDisableDialing

protected boolean mDisableDialing

mDisableDoze

protected boolean mDisableDoze

mEnableFullBatteryStatsHistory

protected boolean mEnableFullBatteryStatsHistory

mEthernet

protected BinaryState mEthernet

mForceSkipRunCommands

protected boolean mForceSkipRunCommands

mForceSkipSettings

protected boolean mForceSkipSettings

mForceSkipSystemProps

protected boolean mForceSkipSystemProps

mGlobalSettings

protected MultiMap<String, String> mGlobalSettings

mHideErrorDialogs

protected BinaryState mHideErrorDialogs

mInstallNonMarketApps

protected BinaryState mInstallNonMarketApps

mLocalDataFile

protected File mLocalDataFile

mLocationGps

protected BinaryState mLocationGps

mLocationNetwork

protected BinaryState mLocationNetwork

mMinExternalStorageKb

protected long mMinExternalStorageKb

mNfc

protected BinaryState mNfc

mNotificationLed

protected BinaryState mNotificationLed

mOptimizedPropertySetting

protected boolean mOptimizedPropertySetting

mPreviousProperties

protected File mPreviousProperties

mRemoteDataPath

protected String mRemoteDataPath

mRestoreProperties

protected boolean mRestoreProperties

mRestoreSettings

protected boolean mRestoreSettings

mRunCommandAfterSettings

protected  mRunCommandAfterSettings

mRunCommandBeforeSettings

protected  mRunCommandBeforeSettings

mScreenAdaptiveBrightness

protected BinaryState mScreenAdaptiveBrightness

mScreenAlwaysOn

protected BinaryState mScreenAlwaysOn

mScreenAmbientMode

protected BinaryState mScreenAmbientMode

mScreenBrightness

protected Integer mScreenBrightness

mScreenSaver

protected BinaryState mScreenSaver

mScreenTimeoutSecs

protected Long mScreenTimeoutSecs

mSecureSettings

protected MultiMap<String, String> mSecureSettings

mSetProps

protected  mSetProps

mSetTestHarness

protected boolean mSetTestHarness

mSyncTimezoneWithHost

protected BinaryState mSyncTimezoneWithHost

mSystemSettings

protected MultiMap<String, String> mSystemSettings

mTimezone

protected String mTimezone

mTriggerMediaMounted

protected boolean mTriggerMediaMounted

mWakeGesture

protected BinaryState mWakeGesture

mWifi

protected BinaryState mWifi

mWifiPsk

protected String mWifiPsk

mWifiScanAlwaysEnabled

protected BinaryState mWifiScanAlwaysEnabled

mWifiSsid

protected String mWifiSsid

mWifiSsidToPsk

protected  mWifiSsidToPsk

mWifiWatchdog

protected BinaryState mWifiWatchdog

Hàm khởi tạo công khai

DeviceSetup

public DeviceSetup ()

Phương thức công khai

changeSettings

public void changeSettings (ITestDevice device)

Thay đổi chế độ cài đặt trên thiết bị.

Được hiển thị để các lớp con có thể ghi đè.

Tham số
device ITestDevice: ITestDevice

Gửi
DeviceNotAvailableException nếu không có thiết bị
TargetSetupError nếu không thiết lập được chế độ cài đặt

getDependencies

public  getDependencies ()

Giá trị trả về

getDevice

public ITestDevice getDevice (TestInformation testInfo)

Tham số
testInfo TestInformation

Giá trị trả về
ITestDevice

isForceSkipSystemProps

public boolean isForceSkipSystemProps ()

Giá trị trả về
boolean

processDeprecatedOptions

public void processDeprecatedOptions (ITestDevice device)

Xử lý các tuỳ chọn không dùng nữa, chuyển đổi các tuỳ chọn đó thành các tuỳ chọn hiện đang được sử dụng.

Bạn nên chạy phương thức này trước mọi phương thức xử lý khác. Sẽ gửi một TargetSetupError nếu tuỳ chọn không dùng nữa ghi đè một tuỳ chọn không dùng nữa được chỉ định.

Tham số
device ITestDevice

Gửi
TargetSetupError nếu có xung đột

processOptions

public void processOptions (ITestDevice device)

Xử lý tất cả Option và biến chúng thành thuộc tính hệ thống, chế độ cài đặt hoặc lệnh chạy. Hiện không chạy bất kỳ lệnh nào trên thiết bị.

Được hiển thị để các lớp con có thể ghi đè thuộc tính này.

Tham số
device ITestDevice: ITestDevice

Gửi
DeviceNotAvailableException nếu không có thiết bị
TargetSetupError nếu Option xung đột

setCommandForBinaryState

public static void setCommandForBinaryState (BinaryState state, 
                 commands, 
                String onCommand, 
                String offCommand)

Phương thức trợ giúp để thêm lệnh chạy BẬT/TẮT sẽ được thực thi trên thiết bị.

Tham số
state BinaryState: BinaryState

commands : Danh sách các lệnh để thêm lệnh bật hoặc tắt.

onCommand String: Lệnh để chạy nếu BẬT. Bỏ qua nếu lệnh là null

offCommand String: Lệnh để chạy nếu TẮT. Bỏ qua nếu lệnh là null

setGlobalSetting

public void setGlobalSetting (String key, 
                String value)

Được hiển thị để kiểm thử đơn vị

Tham số
key String

value String

setSecureSetting

public void setSecureSetting (String key, 
                String value)

Được hiển thị để kiểm thử đơn vị

Tham số
key String

value String

setSettingForBinaryState

public static void setSettingForBinaryState (BinaryState state, 
                MultiMap<String, String> settingsMap, 
                String setting, 
                String onValue, 
                String offValue)

Phương thức trợ giúp để thêm chế độ cài đặt BẬT/TẮT vào bản đồ cài đặt.

Tham số
state BinaryState: BinaryState

settingsMap MultiMap: MultiMap dùng để lưu trữ các chế độ cài đặt.

setting String: Khoá cài đặt

onValue String: Giá trị nếu BẬT

offValue String: Giá trị nếu TẮT

setSystemSetting

public void setSystemSetting (String key, 
                String value)

Được hiển thị để kiểm thử đơn vị

Tham số
key String

value String

setUp

public void setUp (TestInformation testInfo)

Tham số
testInfo TestInformation

Gửi
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

Tham số
testInfo TestInformation

e Throwable

Gửi
DeviceNotAvailableException

Phương thức được bảo vệ

setAirplaneMode

protected void setAirplaneMode (BinaryState airplaneMode)

Được hiển thị để kiểm thử đơn vị

Tham số
airplaneMode BinaryState

setAutoRotate

protected void setAutoRotate (BinaryState autoRotate)

Được hiển thị để kiểm thử đơn vị

Tham số
autoRotate BinaryState

setAutoUpdateTime

protected void setAutoUpdateTime (BinaryState autoUpdateTime)

Được hiển thị để kiểm thử đơn vị

Tham số
autoUpdateTime BinaryState

setAutoUpdateTimezone

protected void setAutoUpdateTimezone (BinaryState autoUpdateTimezone)

Được hiển thị để kiểm thử đơn vị

Tham số
autoUpdateTimezone BinaryState

setBatterySaver

protected void setBatterySaver (BinaryState batterySaver)

Được hiển thị để kiểm thử đơn vị

Tham số
batterySaver BinaryState

setBatterySaverTrigger

protected void setBatterySaverTrigger (Integer batterySaverTrigger)

Được hiển thị để kiểm thử đơn vị

Tham số
batterySaverTrigger Integer

setBluetooth

protected void setBluetooth (BinaryState bluetooth)

Được hiển thị để kiểm thử đơn vị

Tham số
bluetooth BinaryState

setCell

protected void setCell (BinaryState cell)

Tham số
cell BinaryState

setCellAutoSetting

protected void setCellAutoSetting (BinaryState cellAutoSetting)

Tham số
cellAutoSetting BinaryState

setData

protected void setData (BinaryState data)

Tham số
data BinaryState

setDefaultSimData

protected void setDefaultSimData (Integer defaultSimData)

Được hiển thị để kiểm thử đơn vị

Tham số
defaultSimData Integer

setDefaultSimSms

protected void setDefaultSimSms (Integer defaultSimSms)

Được hiển thị để kiểm thử đơn vị

Tham số
defaultSimSms Integer

setDefaultSimVoice

protected void setDefaultSimVoice (Integer defaultSimVoice)

Được hiển thị để kiểm thử đơn vị

Tham số
defaultSimVoice Integer

setDeprecatedAudioSilent

protected void setDeprecatedAudioSilent (boolean silent)

Phương thức này không còn được dùng nữa.
hãy sử dụng setDisableAudio(boolean).

Được hiển thị để kiểm thử đơn vị

Tham số
silent boolean

setDeprecatedMinExternalStoreSpace

protected void setDeprecatedMinExternalStoreSpace (long storeSpace)

Phương thức này không còn được dùng nữa.
hãy sử dụng setMinExternalStorageKb(long).

Được hiển thị để kiểm thử đơn vị

Tham số
storeSpace long

setDeprecatedSetProp

protected void setDeprecatedSetProp (String prop)

Phương thức này không còn được dùng nữa.
hãy sử dụng setProperty(String, String).

Được hiển thị để kiểm thử đơn vị

Tham số
prop String

setDisableAudio

protected void setDisableAudio (boolean disable)

Được hiển thị để kiểm thử đơn vị

Tham số
disable boolean

setDisableCwWifiMediator

protected void setDisableCwWifiMediator (BinaryState disableCwWifiMediator)

Tham số
disableCwWifiMediator BinaryState

setDisableDalvikVerifier

protected void setDisableDalvikVerifier (boolean disableDalvikVerifier)

Được hiển thị để kiểm thử đơn vị

Tham số
disableDalvikVerifier boolean

setDisableDialing

protected void setDisableDialing (boolean disableDialing)

Được hiển thị để kiểm thử đơn vị

Tham số
disableDialing boolean

setDisableDoze

protected void setDisableDoze (boolean disableDoze)

Được hiển thị để kiểm thử đơn vị

Tham số
disableDoze boolean

setEnableFullBatteryStatsHistory

protected void setEnableFullBatteryStatsHistory (boolean enableFullBatteryStatsHistory)

Được hiển thị để kiểm thử đơn vị

Tham số
enableFullBatteryStatsHistory boolean

setEthernet

protected void setEthernet (BinaryState ethernet)

Được hiển thị để kiểm thử đơn vị

Tham số
ethernet BinaryState

setForceRootSetup

protected void setForceRootSetup (boolean force)

Tham số
force boolean

setForceSkipSystemProps

protected void setForceSkipSystemProps (boolean force)

Được hiển thị để kiểm thử đơn vị

Tham số
force boolean

setInstallNonMarketApps

protected void setInstallNonMarketApps (BinaryState installNonMarketApps)

Được hiển thị để kiểm thử đơn vị

Tham số
installNonMarketApps BinaryState

setLocalDataPath

protected void setLocalDataPath (File path)

Được hiển thị để kiểm thử đơn vị

Tham số
path File

setLocationGps

protected void setLocationGps (BinaryState locationGps)

Được hiển thị để kiểm thử đơn vị

Tham số
locationGps BinaryState

setLocationNetwork

protected void setLocationNetwork (BinaryState locationNetwork)

Được hiển thị để kiểm thử đơn vị

Tham số
locationNetwork BinaryState

setMinExternalStorageKb

protected void setMinExternalStorageKb (long storageKb)

Được hiển thị để kiểm thử đơn vị

Tham số
storageKb long

setNfc

protected void setNfc (BinaryState nfc)

Được hiển thị để kiểm thử đơn vị

Tham số
nfc BinaryState

setNotificationLed

protected void setNotificationLed (BinaryState notificationLed)

Được hiển thị để kiểm thử đơn vị

Tham số
notificationLed BinaryState

setProperty

protected void setProperty (String key, 
                String value)

Được hiển thị để kiểm thử đơn vị

Tham số
key String

value String

setRestoreProperties

protected void setRestoreProperties (boolean restoreProperties)

Được hiển thị để kiểm thử đơn vị

Tham số
restoreProperties boolean

setRestoreSettings

protected void setRestoreSettings (boolean restoreSettings)

Được hiển thị để kiểm thử đơn vị

Tham số
restoreSettings boolean

setScreenAdaptiveBrightness

protected void setScreenAdaptiveBrightness (BinaryState screenAdaptiveBrightness)

Được hiển thị để kiểm thử đơn vị

Tham số
screenAdaptiveBrightness BinaryState

setScreenAlwaysOn

protected void setScreenAlwaysOn (BinaryState screenAlwaysOn)

Được hiển thị để kiểm thử đơn vị

Tham số
screenAlwaysOn BinaryState

setScreenAmbientMode

protected void setScreenAmbientMode (BinaryState screenAmbientMode)

Được hiển thị để kiểm thử đơn vị

Tham số
screenAmbientMode BinaryState

setScreenBrightness

protected void setScreenBrightness (Integer screenBrightness)

Được hiển thị để kiểm thử đơn vị

Tham số
screenBrightness Integer

setScreenSaver

protected void setScreenSaver (BinaryState screenSaver)

Được hiển thị để kiểm thử đơn vị

Tham số
screenSaver BinaryState

setScreenTimeoutSecs

protected void setScreenTimeoutSecs (Long screenTimeoutSecs)

Được hiển thị để kiểm thử đơn vị

Tham số
screenTimeoutSecs Long

setTestHarness

protected void setTestHarness (boolean setTestHarness)

Được hiển thị để kiểm thử đơn vị

Tham số
setTestHarness boolean

setTimezone

protected void setTimezone (String timezone)

Được hiển thị để kiểm thử đơn vị

Tham số
timezone String

setTriggerMediaMounted

protected void setTriggerMediaMounted (boolean triggerMediaMounted)

Được hiển thị để kiểm thử đơn vị

Tham số
triggerMediaMounted boolean

setWakeGesture

protected void setWakeGesture (BinaryState wakeGesture)

Được hiển thị để kiểm thử đơn vị

Tham số
wakeGesture BinaryState

setWifi

protected void setWifi (BinaryState wifi)

Được hiển thị để kiểm thử đơn vị

Tham số
wifi BinaryState

setWifiNetwork

protected void setWifiNetwork (String wifiNetwork)

Được hiển thị để kiểm thử đơn vị

Tham số
wifiNetwork String

setWifiPsk

protected void setWifiPsk (String wifiPsk)

Tham số
wifiPsk String

setWifiScanAlwaysEnabled

protected void setWifiScanAlwaysEnabled (BinaryState wifiScanAlwaysEnabled)

Được hiển thị để kiểm thử đơn vị

Tham số
wifiScanAlwaysEnabled BinaryState

setWifiSsidToPsk

protected void setWifiSsidToPsk ( wifiSssidToPsk)

Tham số
wifiSssidToPsk

setWifiWatchdog

protected void setWifiWatchdog (BinaryState wifiWatchdog)

Được hiển thị để kiểm thử đơn vị

Tham số
wifiWatchdog BinaryState