DeviceSetup

public class DeviceSetup
extends BaseTargetPreparer implements IExternalDependency

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


ITargetPreparer ที่กำหนดค่าอุปกรณ์สำหรับการทดสอบตาม Option ที่ระบุ

ต้องใช้อุปกรณ์ที่สามารถใช้ "adb root" ได้ ซึ่งโดยปกติจะเป็นประเภทบิลด์ userdebug

ควรดำเนินการหลังจากแฟลชบิลด์ใหม่

หมายเหตุ: ตัวเตรียมนี้มีไว้สำหรับห้องทดสอบแบบต่อเนื่อง และถือว่าอุปกรณ์ที่อยู่ระหว่างการทดสอบจะได้รับการแฟลชและล้างข้อมูลก่อนการเรียกใช้ครั้งถัดไป ด้วยเหตุนี้ จึงมีการล้างข้อมูลน้อยที่สุด ในระหว่างการหยุดทำงาน และไม่ควรใช้ในโมดูลทดสอบ

สรุป

ฟิลด์

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 List<String> mRunCommandAfterSettings

protected List<String> 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 Map<String, String> 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 Map<String, String> mWifiSsidToPsk

protected BinaryState mWifiWatchdog

เครื่องมือสร้างสาธารณะ

DeviceSetup()

เมธอดสาธารณะ

void changeSettings(ITestDevice device)

เปลี่ยนการตั้งค่าในอุปกรณ์

Set<ExternalDependency> getDependencies()
ITestDevice getDevice(TestInformation testInfo)
boolean isForceSkipSystemProps()
void processDeprecatedOptions(ITestDevice device)

ประมวลผลตัวเลือกที่เลิกใช้งานแล้วโดยแปลงเป็นตัวเลือกที่ใช้ในปัจจุบัน

void processOptions(ITestDevice device)

ประมวลผลOptionทั้งหมดและเปลี่ยนเป็นพร็อพเพอร์ตี้ของระบบ การตั้งค่า หรือเรียกใช้คำสั่ง

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

เมธอดช่วยในการเพิ่มคำสั่งเรียกใช้เปิด/ปิดเพื่อดำเนินการในอุปกรณ์

void setGlobalSetting(String key, String value)

แสดงสำหรับการทำ Unit Test

void setSecureSetting(String key, String value)

แสดงสำหรับการทำ Unit Test

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

เมธอดช่วยในการเพิ่มการตั้งค่าเปิด/ปิดลงในการตั้งค่าแผนที่

void setSystemSetting(String key, String value)

แสดงสำหรับการทำ Unit Test

void setUp(TestInformation testInfo)

void tearDown(TestInformation testInfo, Throwable e)

วิธีการที่ได้รับการป้องกัน

void setAirplaneMode(BinaryState airplaneMode)

แสดงสำหรับการทำ Unit Test

void setAutoRotate(BinaryState autoRotate)

แสดงสำหรับการทำ Unit Test

void setAutoUpdateTime(BinaryState autoUpdateTime)

แสดงสำหรับการทำ Unit Test

void setAutoUpdateTimezone(BinaryState autoUpdateTimezone)

แสดงสำหรับการทำ Unit Test

void setBatterySaver(BinaryState batterySaver)

แสดงสำหรับการทำ Unit Test

void setBatterySaverTrigger(Integer batterySaverTrigger)

แสดงสำหรับการทำ Unit Test

void setBluetooth(BinaryState bluetooth)

แสดงสำหรับการทำ Unit Test

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

แสดงสำหรับการทำ Unit Test

void setDefaultSimSms(Integer defaultSimSms)

แสดงสำหรับการทำ Unit Test

void setDefaultSimVoice(Integer defaultSimVoice)

แสดงสำหรับการทำ Unit Test

void setDeprecatedAudioSilent(boolean silent)

เลิกใช้เมธอดนี้แล้ว โปรดใช้ setDisableAudio(boolean) แทน

void setDeprecatedMinExternalStoreSpace(long storeSpace)

เลิกใช้เมธอดนี้แล้ว โปรดใช้ setMinExternalStorageKb(long) แทน

void setDeprecatedSetProp(String prop)

เลิกใช้เมธอดนี้แล้ว โปรดใช้ setProperty(String,String) แทน

void setDisableAudio(boolean disable)

แสดงสำหรับการทำ Unit Test

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

แสดงสำหรับการทำ Unit Test

void setDisableDialing(boolean disableDialing)

แสดงสำหรับการทำ Unit Test

void setDisableDoze(boolean disableDoze)

แสดงสำหรับการทำ Unit Test

void setEnableFullBatteryStatsHistory(boolean enableFullBatteryStatsHistory)

แสดงสำหรับการทำ Unit Test

void setEthernet(BinaryState ethernet)

แสดงสำหรับการทำ Unit Test

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

แสดงสำหรับการทำ Unit Test

void setInstallNonMarketApps(BinaryState installNonMarketApps)

แสดงสำหรับการทำ Unit Test

void setLocalDataPath(File path)

แสดงสำหรับการทำ Unit Test

void setLocationGps(BinaryState locationGps)

แสดงสำหรับการทำ Unit Test

void setLocationNetwork(BinaryState locationNetwork)

แสดงสำหรับการทำ Unit Test

void setMinExternalStorageKb(long storageKb)

แสดงสำหรับการทำ Unit Test

void setNfc(BinaryState nfc)

แสดงสำหรับการทำ Unit Test

void setNotificationLed(BinaryState notificationLed)

แสดงสำหรับการทำ Unit Test

void setProperty(String key, String value)

แสดงสำหรับการทำ Unit Test

void setRestoreProperties(boolean restoreProperties)

แสดงสำหรับการทำ Unit Test

void setRestoreSettings(boolean restoreSettings)

แสดงสำหรับการทำ Unit Test

void setScreenAdaptiveBrightness(BinaryState screenAdaptiveBrightness)

แสดงสำหรับการทำ Unit Test

void setScreenAlwaysOn(BinaryState screenAlwaysOn)

แสดงสำหรับการทำ Unit Test

void setScreenAmbientMode(BinaryState screenAmbientMode)

แสดงสำหรับการทำ Unit Test

void setScreenBrightness(Integer screenBrightness)

แสดงสำหรับการทำ Unit Test

void setScreenSaver(BinaryState screenSaver)

แสดงสำหรับการทำ Unit Test

void setScreenTimeoutSecs(Long screenTimeoutSecs)

แสดงสำหรับการทำ Unit Test

void setTestHarness(boolean setTestHarness)

แสดงสำหรับการทำ Unit Test

void setTimezone(String timezone)

แสดงสำหรับการทำ Unit Test

void setTriggerMediaMounted(boolean triggerMediaMounted)

แสดงสำหรับการทำ Unit Test

void setWakeGesture(BinaryState wakeGesture)

แสดงสำหรับการทำ Unit Test

void setWifi(BinaryState wifi)

แสดงสำหรับการทำ Unit Test

void setWifiNetwork(String wifiNetwork)

แสดงสำหรับการทำ Unit Test

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

แสดงสำหรับการทำ Unit Test

void setWifiSsidToPsk(Map<String, String> wifiSssidToPsk)
void setWifiWatchdog(BinaryState wifiWatchdog)

แสดงสำหรับการทำ Unit Test

ทุ่ง

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 List<String> mRunCommandAfterSettings

mRunCommandBeforeSettings

protected List<String> 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 Map<String, String> 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 Map<String, String> mWifiSsidToPsk

mWifiWatchdog

protected BinaryState mWifiWatchdog

เครื่องมือสร้างสาธารณะ

DeviceSetup

public DeviceSetup ()

เมธอดสาธารณะ

changeSettings

public void changeSettings (ITestDevice device)

เปลี่ยนการตั้งค่าในอุปกรณ์

เปิดเผยเพื่อให้คลาสของเด็กๆ อาจลบล้างได้

พารามิเตอร์
device ITestDevice: ITestDevice

ส่ง
DeviceNotAvailableException หากอุปกรณ์ไม่พร้อมใช้งาน
TargetSetupError หากตั้งค่าไม่สำเร็จ

getDependencies

public Set<ExternalDependency> getDependencies ()

การคืนสินค้า
Set<ExternalDependency>

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 หาก Option ขัดแย้งกัน

setCommandForBinaryState

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

เมธอดช่วยในการเพิ่มคำสั่งเรียกใช้เปิด/ปิดเพื่อดำเนินการในอุปกรณ์

พารามิเตอร์
state BinaryState: BinaryState

commands List: รายการคำสั่งที่จะเพิ่มคำสั่งเปิดหรือปิด

onCommand String: คำสั่งที่จะเรียกใช้หากเปิดอยู่ จะไม่สนใจหากคำสั่งเป็น null

offCommand String: คำสั่งที่จะเรียกใช้หากปิดอยู่ ระบบจะไม่สนใจหากคำสั่งเป็น null

setGlobalSetting

public void setGlobalSetting (String key, 
                String value)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
key String

value String

setSecureSetting

public void setSecureSetting (String key, 
                String value)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
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: ค่าหากเปิดอยู่

offValue String: ค่าหากปิด

setSystemSetting

public void setSystemSetting (String key, 
                String value)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
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)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
airplaneMode BinaryState

setAutoRotate

protected void setAutoRotate (BinaryState autoRotate)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
autoRotate BinaryState

setAutoUpdateTime

protected void setAutoUpdateTime (BinaryState autoUpdateTime)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
autoUpdateTime BinaryState

setAutoUpdateTimezone

protected void setAutoUpdateTimezone (BinaryState autoUpdateTimezone)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
autoUpdateTimezone BinaryState

setBatterySaver

protected void setBatterySaver (BinaryState batterySaver)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
batterySaver BinaryState

setBatterySaverTrigger

protected void setBatterySaverTrigger (Integer batterySaverTrigger)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
batterySaverTrigger Integer

setBluetooth

protected void setBluetooth (BinaryState bluetooth)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
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)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
defaultSimData Integer

setDefaultSimSms

protected void setDefaultSimSms (Integer defaultSimSms)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
defaultSimSms Integer

setDefaultSimVoice

protected void setDefaultSimVoice (Integer defaultSimVoice)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
defaultSimVoice Integer

setDeprecatedAudioSilent

protected void setDeprecatedAudioSilent (boolean silent)

เลิกใช้เมธอดนี้แล้ว
โปรดใช้ setDisableAudio(boolean) แทน

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
silent boolean

setDeprecatedMinExternalStoreSpace

protected void setDeprecatedMinExternalStoreSpace (long storeSpace)

เลิกใช้เมธอดนี้แล้ว
โปรดใช้ setMinExternalStorageKb(long) แทน

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
storeSpace long

setDeprecatedSetProp

protected void setDeprecatedSetProp (String prop)

เลิกใช้เมธอดนี้แล้ว
โปรดใช้ setProperty(String,String) แทน

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
prop String

setDisableAudio

protected void setDisableAudio (boolean disable)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
disable boolean

setDisableCwWifiMediator

protected void setDisableCwWifiMediator (BinaryState disableCwWifiMediator)

พารามิเตอร์
disableCwWifiMediator BinaryState

setDisableDalvikVerifier

protected void setDisableDalvikVerifier (boolean disableDalvikVerifier)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
disableDalvikVerifier boolean

setDisableDialing

protected void setDisableDialing (boolean disableDialing)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
disableDialing boolean

setDisableDoze

protected void setDisableDoze (boolean disableDoze)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
disableDoze boolean

setEnableFullBatteryStatsHistory

protected void setEnableFullBatteryStatsHistory (boolean enableFullBatteryStatsHistory)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
enableFullBatteryStatsHistory boolean

setEthernet

protected void setEthernet (BinaryState ethernet)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
ethernet BinaryState

setForceRootSetup

protected void setForceRootSetup (boolean force)

พารามิเตอร์
force boolean

setForceSkipSystemProps

protected void setForceSkipSystemProps (boolean force)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
force boolean

setInstallNonMarketApps

protected void setInstallNonMarketApps (BinaryState installNonMarketApps)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
installNonMarketApps BinaryState

setLocalDataPath

protected void setLocalDataPath (File path)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
path File

setLocationGps

protected void setLocationGps (BinaryState locationGps)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
locationGps BinaryState

setLocationNetwork

protected void setLocationNetwork (BinaryState locationNetwork)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
locationNetwork BinaryState

setMinExternalStorageKb

protected void setMinExternalStorageKb (long storageKb)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
storageKb long

setNfc

protected void setNfc (BinaryState nfc)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
nfc BinaryState

setNotificationLed

protected void setNotificationLed (BinaryState notificationLed)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
notificationLed BinaryState

setProperty

protected void setProperty (String key, 
                String value)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
key String

value String

setRestoreProperties

protected void setRestoreProperties (boolean restoreProperties)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
restoreProperties boolean

setRestoreSettings

protected void setRestoreSettings (boolean restoreSettings)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
restoreSettings boolean

setScreenAdaptiveBrightness

protected void setScreenAdaptiveBrightness (BinaryState screenAdaptiveBrightness)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
screenAdaptiveBrightness BinaryState

setScreenAlwaysOn

protected void setScreenAlwaysOn (BinaryState screenAlwaysOn)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
screenAlwaysOn BinaryState

setScreenAmbientMode

protected void setScreenAmbientMode (BinaryState screenAmbientMode)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
screenAmbientMode BinaryState

setScreenBrightness

protected void setScreenBrightness (Integer screenBrightness)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
screenBrightness Integer

setScreenSaver

protected void setScreenSaver (BinaryState screenSaver)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
screenSaver BinaryState

setScreenTimeoutSecs

protected void setScreenTimeoutSecs (Long screenTimeoutSecs)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
screenTimeoutSecs Long

setTestHarness

protected void setTestHarness (boolean setTestHarness)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
setTestHarness boolean

setTimezone

protected void setTimezone (String timezone)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
timezone String

setTriggerMediaMounted

protected void setTriggerMediaMounted (boolean triggerMediaMounted)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
triggerMediaMounted boolean

setWakeGesture

protected void setWakeGesture (BinaryState wakeGesture)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
wakeGesture BinaryState

setWifi

protected void setWifi (BinaryState wifi)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
wifi BinaryState

setWifiNetwork

protected void setWifiNetwork (String wifiNetwork)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
wifiNetwork String

setWifiPsk

protected void setWifiPsk (String wifiPsk)

พารามิเตอร์
wifiPsk String

setWifiScanAlwaysEnabled

protected void setWifiScanAlwaysEnabled (BinaryState wifiScanAlwaysEnabled)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
wifiScanAlwaysEnabled BinaryState

setWifiSsidToPsk

protected void setWifiSsidToPsk (Map<String, String> wifiSssidToPsk)

พารามิเตอร์
wifiSssidToPsk Map

setWifiWatchdog

protected void setWifiWatchdog (BinaryState wifiWatchdog)

แสดงสำหรับการทำ Unit Test

พารามิเตอร์
wifiWatchdog BinaryState