DeviceSetup

public class DeviceSetup
extends BaseTargetPreparer implements IExternalDependency

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


ITargetPreparer שמגדיר מכשיר לבדיקה על סמך Options שסופקו.

נדרש מכשיר שבו אפשר להריץ את הפקודה 'adb root', בדרך כלל סוג build מסוג userdebug.

צריך לבצע את הפעולה הזו אחרי שמיישמים את ה-build החדש.

הערה: הכלי הזה מיועד למעבדות של בדיקות רציפות, ומבוסס על ההנחה שהמכשיר שנבדק יעבור איפוס וסנכרון לפני ההרצה הבאה. לכן, הוא מבצע ניקוי מינימלי במהלך ניתוק הרכיבים, ואסור להשתמש בו במודול בדיקה.

סיכום

שדות

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

קונסטרוקטורים גלויים לכולם

DeviceSetup()

שיטות ציבוריות

void changeSettings(ITestDevice device)

משנים את ההגדרות במכשיר.

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

העיבוד של האפשרויות שהוצאו משימוש והמרתן לאפשרויות שבהן נעשה שימוש כרגע.

void processOptions(ITestDevice device)

מעבדים את כל הערכים של Option וממירים אותם לנכסי מערכת, להגדרות או לפקודות להרצה.

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

שיטה מסייעת להוספת פקודת הפעלה של מצב ON/OFF לביצוע במכשיר.

void setGlobalSetting(String key, String value)

חשיפה לצורך בדיקות יחידה

void setSecureSetting(String key, String value)

חשיפה לצורך בדיקות יחידה

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

שיטה מסייעת להוספת הגדרה של מצב מופעל/מושבת למפת הגדרות.

void setSystemSetting(String key, String value)

חשיפה לצורך בדיקות יחידה

void setUp(TestInformation testInfo)

void tearDown(TestInformation testInfo, Throwable e)

שיטות מוגנות

void setAirplaneMode(BinaryState airplaneMode)

חשיפה לצורך בדיקות יחידה

void setAutoRotate(BinaryState autoRotate)

חשיפה לצורך בדיקות יחידה

void setAutoUpdateTime(BinaryState autoUpdateTime)

חשיפה לצורך בדיקות יחידה

void setAutoUpdateTimezone(BinaryState autoUpdateTimezone)

חשיפה לצורך בדיקות יחידה

void setBatterySaver(BinaryState batterySaver)

חשיפה לצורך בדיקות יחידה

void setBatterySaverTrigger(Integer batterySaverTrigger)

חשיפה לצורך בדיקות יחידה

void setBluetooth(BinaryState bluetooth)

חשיפה לצורך בדיקות יחידה

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

חשיפה לצורך בדיקות יחידה

void setDefaultSimSms(Integer defaultSimSms)

חשיפה לצורך בדיקות יחידה

void setDefaultSimVoice(Integer defaultSimVoice)

חשיפה לצורך בדיקות יחידה

void setDeprecatedAudioSilent(boolean silent)

השיטה הזו הוצאה משימוש. במקום זאת, צריך להשתמש ב-setDisableAudio(boolean).

void setDeprecatedMinExternalStoreSpace(long storeSpace)

השיטה הזו הוצאה משימוש. במקום זאת, צריך להשתמש ב-setMinExternalStorageKb(long).

void setDeprecatedSetProp(String prop)

השיטה הזו הוצאה משימוש. במקום זאת, צריך להשתמש ב-setProperty(String, String).

void setDisableAudio(boolean disable)

חשיפה לצורך בדיקות יחידה

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

חשיפה לצורך בדיקות יחידה

void setDisableDialing(boolean disableDialing)

חשיפה לצורך בדיקות יחידה

void setDisableDoze(boolean disableDoze)

חשיפה לצורך בדיקות יחידה

void setEnableFullBatteryStatsHistory(boolean enableFullBatteryStatsHistory)

חשיפה לצורך בדיקות יחידה

void setEthernet(BinaryState ethernet)

חשיפה לצורך בדיקות יחידה

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

חשיפה לצורך בדיקות יחידה

void setInstallNonMarketApps(BinaryState installNonMarketApps)

חשיפה לצורך בדיקות יחידה

void setLocalDataPath(File path)

חשיפה לצורך בדיקות יחידה

void setLocationGps(BinaryState locationGps)

חשיפה לצורך בדיקות יחידה

void setLocationNetwork(BinaryState locationNetwork)

חשיפה לצורך בדיקות יחידה

void setMinExternalStorageKb(long storageKb)

חשיפה לצורך בדיקות יחידה

void setNfc(BinaryState nfc)

חשיפה לצורך בדיקות יחידה

void setNotificationLed(BinaryState notificationLed)

חשיפה לצורך בדיקות יחידה

void setProperty(String key, String value)

חשיפה לצורך בדיקות יחידה

void setRestoreProperties(boolean restoreProperties)

חשיפה לצורך בדיקות יחידה

void setRestoreSettings(boolean restoreSettings)

חשיפה לצורך בדיקות יחידה

void setScreenAdaptiveBrightness(BinaryState screenAdaptiveBrightness)

חשיפה לצורך בדיקות יחידה

void setScreenAlwaysOn(BinaryState screenAlwaysOn)

חשיפה לצורך בדיקות יחידה

void setScreenAmbientMode(BinaryState screenAmbientMode)

חשיפה לצורך בדיקות יחידה

void setScreenBrightness(Integer screenBrightness)

חשיפה לצורך בדיקות יחידה

void setScreenSaver(BinaryState screenSaver)

חשיפה לצורך בדיקות יחידה

void setScreenTimeoutSecs(Long screenTimeoutSecs)

חשיפה לצורך בדיקות יחידה

void setTestHarness(boolean setTestHarness)

חשיפה לצורך בדיקות יחידה

void setTimezone(String timezone)

חשיפה לצורך בדיקות יחידה

void setTriggerMediaMounted(boolean triggerMediaMounted)

חשיפה לצורך בדיקות יחידה

void setWakeGesture(BinaryState wakeGesture)

חשיפה לצורך בדיקות יחידה

void setWifi(BinaryState wifi)

חשיפה לצורך בדיקות יחידה

void setWifiNetwork(String wifiNetwork)

חשיפה לצורך בדיקות יחידה

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

חשיפה לצורך בדיקות יחידה

void setWifiSsidToPsk( wifiSssidToPsk)
void setWifiWatchdog(BinaryState wifiWatchdog)

חשיפה לצורך בדיקות יחידה

שדות

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

קונסטרוקטורים גלויים לכולם

DeviceSetup

public DeviceSetup ()

שיטות ציבוריות

changeSettings

public void changeSettings (ITestDevice device)

משנים את ההגדרות במכשיר.

החשיפה מאפשרת לכיתות הצאצאים לבטל את ההגדרה.

פרמטרים
device ITestDevice: ITestDevice

זריקות
DeviceNotAvailableException אם המכשיר לא זמין
TargetSetupError אם הייתה כשל בהגדרת ההגדרות

getDependencies

public  getDependencies ()

החזרות

getDevice

public ITestDevice getDevice (TestInformation testInfo)

פרמטרים
testInfo TestInformation

החזרות
ITestDevice

isForceSkipSystemProps

public boolean isForceSkipSystemProps ()

החזרות
boolean

processDeprecatedOptions

public void processDeprecatedOptions (ITestDevice device)

העיבוד של האפשרויות שהוצאו משימוש והמרתן לאפשרויות שבהן נעשה שימוש כרגע.

צריך להריץ את השיטה הזו לפני כל שיטות העיבוד האחרות. תגרום להשלכת TargetSetupError אם האפשרות הוצאה משימוש מבטלת אפשרות שהוגדרה ולא הוצאה משימוש.

פרמטרים
device ITestDevice

זריקות
TargetSetupError אם יש אירוע חופף

processOptions

public void processOptions (ITestDevice device)

מעבדים את כל הערכים של Option וממירים אותם לנכסי מערכת, להגדרות או לפקודות להרצה. בשלב זה לא פועלות פקודות במכשיר.

החשיפה מאפשרת לכיתות צאצאים לשנות את הערך הזה.

פרמטרים
device ITestDevice: ITestDevice

זריקות
DeviceNotAvailableException אם המכשיר לא זמין
TargetSetupError אם יש התנגשויות בין Options

setCommandForBinaryState

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

שיטה מסייעת להוספת פקודת הפעלה של מצב ON/OFF לביצוע במכשיר.

פרמטרים
state BinaryState: BinaryState

commands : רשימת הפקודות שאליה רוצים להוסיף את הפקודה on או off.

onCommand String: הפקודה שתופעל אם הערך הוא ON. המערכת תתעלם מהמאפיין אם הפקודה היא null

offCommand String: הפקודה להרצה אם המצב הוא OFF. המערכת מתעלמת מהפקודה אם היא null

setGlobalSetting

public void setGlobalSetting (String key, 
                String value)

חשיפה לצורך בדיקות יחידה

פרמטרים
key String

value String

setSecureSetting

public void setSecureSetting (String key, 
                String value)

חשיפה לצורך בדיקות יחידה

פרמטרים
key String

value String

setSettingForBinaryState

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

שיטה מסייעת להוספת הגדרה של מצב מופעל/מושבת למפת הגדרות.

פרמטרים
state BinaryState: BinaryState

settingsMap MultiMap: ה-MultiMap שמשמש לאחסון ההגדרות.

setting String: מפתח ההגדרה

onValue String: הערך אם ON

offValue String: הערך אם המצב מושבת

setSystemSetting

public void setSystemSetting (String key, 
                String value)

חשיפה לצורך בדיקות יחידה

פרמטרים
key String

value String

setUp

public void setUp (TestInformation testInfo)

פרמטרים
testInfo TestInformation

זריקות
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

פרמטרים
testInfo TestInformation

e Throwable

זריקות
DeviceNotAvailableException

שיטות מוגנות

setAirplaneMode

protected void setAirplaneMode (BinaryState airplaneMode)

חשיפה לצורך בדיקות יחידה

פרמטרים
airplaneMode BinaryState

setAutoRotate

protected void setAutoRotate (BinaryState autoRotate)

חשיפה לצורך בדיקות יחידה

פרמטרים
autoRotate BinaryState

setAutoUpdateTime

protected void setAutoUpdateTime (BinaryState autoUpdateTime)

חשיפה לצורך בדיקות יחידה

פרמטרים
autoUpdateTime BinaryState

setAutoUpdateTimezone

protected void setAutoUpdateTimezone (BinaryState autoUpdateTimezone)

חשיפה לצורך בדיקות יחידה

פרמטרים
autoUpdateTimezone BinaryState

setBatterySaver

protected void setBatterySaver (BinaryState batterySaver)

חשיפה לצורך בדיקות יחידה

פרמטרים
batterySaver BinaryState

setBatterySaverTrigger

protected void setBatterySaverTrigger (Integer batterySaverTrigger)

חשיפה לצורך בדיקות יחידה

פרמטרים
batterySaverTrigger Integer

setBluetooth

protected void setBluetooth (BinaryState bluetooth)

חשיפה לצורך בדיקות יחידה

פרמטרים
bluetooth BinaryState

setCell

protected void setCell (BinaryState cell)

פרמטרים
cell BinaryState

setCellAutoSetting

protected void setCellAutoSetting (BinaryState cellAutoSetting)

פרמטרים
cellAutoSetting BinaryState

setData

protected void setData (BinaryState data)

פרמטרים
data BinaryState

setDefaultSimData

protected void setDefaultSimData (Integer defaultSimData)

חשיפה לצורך בדיקות יחידה

פרמטרים
defaultSimData Integer

setDefaultSimSms

protected void setDefaultSimSms (Integer defaultSimSms)

חשיפה לצורך בדיקות יחידה

פרמטרים
defaultSimSms Integer

setDefaultSimVoice

protected void setDefaultSimVoice (Integer defaultSimVoice)

חשיפה לצורך בדיקות יחידה

פרמטרים
defaultSimVoice Integer

setDeprecatedAudioSilent

protected void setDeprecatedAudioSilent (boolean silent)

השיטה הזו הוצאה משימוש.
במקום זאת, צריך להשתמש ב-setDisableAudio(boolean).

חשיפה לצורך בדיקות יחידה

פרמטרים
silent boolean

setDeprecatedMinExternalStoreSpace

protected void setDeprecatedMinExternalStoreSpace (long storeSpace)

השיטה הזו הוצאה משימוש.
במקום זאת, צריך להשתמש ב-setMinExternalStorageKb(long).

חשיפה לצורך בדיקות יחידה

פרמטרים
storeSpace long

setDeprecatedSetProp

protected void setDeprecatedSetProp (String prop)

השיטה הזו הוצאה משימוש.
במקום זאת, צריך להשתמש ב-setProperty(String, String).

חשיפה לצורך בדיקות יחידה

פרמטרים
prop String

setDisableAudio

protected void setDisableAudio (boolean disable)

חשיפה לצורך בדיקות יחידה

פרמטרים
disable boolean

setDisableCwWifiMediator

protected void setDisableCwWifiMediator (BinaryState disableCwWifiMediator)

פרמטרים
disableCwWifiMediator BinaryState

setDisableDalvikVerifier

protected void setDisableDalvikVerifier (boolean disableDalvikVerifier)

חשיפה לצורך בדיקות יחידה

פרמטרים
disableDalvikVerifier boolean

setDisableDialing

protected void setDisableDialing (boolean disableDialing)

חשיפה לצורך בדיקות יחידה

פרמטרים
disableDialing boolean

setDisableDoze

protected void setDisableDoze (boolean disableDoze)

חשיפה לצורך בדיקות יחידה

פרמטרים
disableDoze boolean

setEnableFullBatteryStatsHistory

protected void setEnableFullBatteryStatsHistory (boolean enableFullBatteryStatsHistory)

חשיפה לצורך בדיקות יחידה

פרמטרים
enableFullBatteryStatsHistory boolean

setEthernet

protected void setEthernet (BinaryState ethernet)

חשיפה לצורך בדיקות יחידה

פרמטרים
ethernet BinaryState

setForceRootSetup

protected void setForceRootSetup (boolean force)

פרמטרים
force boolean

setForceSkipSystemProps

protected void setForceSkipSystemProps (boolean force)

חשיפה לצורך בדיקות יחידה

פרמטרים
force boolean

setInstallNonMarketApps

protected void setInstallNonMarketApps (BinaryState installNonMarketApps)

חשיפה לצורך בדיקות יחידה

פרמטרים
installNonMarketApps BinaryState

setLocalDataPath

protected void setLocalDataPath (File path)

חשיפה לצורך בדיקות יחידה

פרמטרים
path File

setLocationGps

protected void setLocationGps (BinaryState locationGps)

חשיפה לצורך בדיקות יחידה

פרמטרים
locationGps BinaryState

setLocationNetwork

protected void setLocationNetwork (BinaryState locationNetwork)

חשיפה לצורך בדיקות יחידה

פרמטרים
locationNetwork BinaryState

setMinExternalStorageKb

protected void setMinExternalStorageKb (long storageKb)

חשיפה לצורך בדיקות יחידה

פרמטרים
storageKb long

setNfc

protected void setNfc (BinaryState nfc)

חשיפה לצורך בדיקות יחידה

פרמטרים
nfc BinaryState

setNotificationLed

protected void setNotificationLed (BinaryState notificationLed)

חשיפה לצורך בדיקות יחידה

פרמטרים
notificationLed BinaryState

setProperty

protected void setProperty (String key, 
                String value)

חשיפה לצורך בדיקות יחידה

פרמטרים
key String

value String

setRestoreProperties

protected void setRestoreProperties (boolean restoreProperties)

חשיפה לצורך בדיקות יחידה

פרמטרים
restoreProperties boolean

setRestoreSettings

protected void setRestoreSettings (boolean restoreSettings)

חשיפה לצורך בדיקות יחידה

פרמטרים
restoreSettings boolean

setScreenAdaptiveBrightness

protected void setScreenAdaptiveBrightness (BinaryState screenAdaptiveBrightness)

חשיפה לצורך בדיקות יחידה

פרמטרים
screenAdaptiveBrightness BinaryState

setScreenAlwaysOn

protected void setScreenAlwaysOn (BinaryState screenAlwaysOn)

חשיפה לצורך בדיקות יחידה

פרמטרים
screenAlwaysOn BinaryState

setScreenAmbientMode

protected void setScreenAmbientMode (BinaryState screenAmbientMode)

חשיפה לצורך בדיקות יחידה

פרמטרים
screenAmbientMode BinaryState

setScreenBrightness

protected void setScreenBrightness (Integer screenBrightness)

חשיפה לצורך בדיקות יחידה

פרמטרים
screenBrightness Integer

setScreenSaver

protected void setScreenSaver (BinaryState screenSaver)

חשיפה לצורך בדיקות יחידה

פרמטרים
screenSaver BinaryState

setScreenTimeoutSecs

protected void setScreenTimeoutSecs (Long screenTimeoutSecs)

חשיפה לצורך בדיקות יחידה

פרמטרים
screenTimeoutSecs Long

setTestHarness

protected void setTestHarness (boolean setTestHarness)

חשיפה לצורך בדיקות יחידה

פרמטרים
setTestHarness boolean

setTimezone

protected void setTimezone (String timezone)

חשיפה לצורך בדיקות יחידה

פרמטרים
timezone String

setTriggerMediaMounted

protected void setTriggerMediaMounted (boolean triggerMediaMounted)

חשיפה לצורך בדיקות יחידה

פרמטרים
triggerMediaMounted boolean

setWakeGesture

protected void setWakeGesture (BinaryState wakeGesture)

חשיפה לצורך בדיקות יחידה

פרמטרים
wakeGesture BinaryState

setWifi

protected void setWifi (BinaryState wifi)

חשיפה לצורך בדיקות יחידה

פרמטרים
wifi BinaryState

setWifiNetwork

protected void setWifiNetwork (String wifiNetwork)

חשיפה לצורך בדיקות יחידה

פרמטרים
wifiNetwork String

setWifiPsk

protected void setWifiPsk (String wifiPsk)

פרמטרים
wifiPsk String

setWifiScanAlwaysEnabled

protected void setWifiScanAlwaysEnabled (BinaryState wifiScanAlwaysEnabled)

חשיפה לצורך בדיקות יחידה

פרמטרים
wifiScanAlwaysEnabled BinaryState

setWifiSsidToPsk

protected void setWifiSsidToPsk ( wifiSssidToPsk)

פרמטרים
wifiSssidToPsk

setWifiWatchdog

protected void setWifiWatchdog (BinaryState wifiWatchdog)

חשיפה לצורך בדיקות יחידה

פרמטרים
wifiWatchdog BinaryState