DeviceOwnerTargetPreparer

public class DeviceOwnerTargetPreparer
extends BaseTargetPreparer implements IConfigurationReceiver

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


डिवाइस के मालिक का कॉम्पोनेंट सेट अप करने वाला ITargetPreparer.

डिवाइस और प्रोफ़ाइल के मौजूदा मालिकों और दूसरे उपयोगकर्ताओं को, डिवाइस का नया मालिक सेट करने से पहले हटा दिया जाता है.

डिवाइस हटाने की प्रोसेस में, डिवाइस के मालिक को हटा दिया जाता है.

खास जानकारी

पब्लिक कंस्ट्रक्टर

DeviceOwnerTargetPreparer()

सार्वजनिक तरीके

void setConfiguration(IConfiguration configuration)

इस्तेमाल में मौजूद IConfiguration को इंजेक्ट करता है.

void setUp(TestInformation testInfo)
void tearDown(TestInformation testInfo, Throwable e)

पब्लिक कंस्ट्रक्टर

DeviceOwnerTargetPreparer

public DeviceOwnerTargetPreparer ()

सार्वजनिक तरीके

setConfiguration

public void setConfiguration (IConfiguration configuration)

इस्तेमाल में मौजूद IConfiguration को इंजेक्ट करता है.

पैरामीटर
configuration IConfiguration

setUp

public void setUp (TestInformation testInfo)

पैरामीटर
testInfo TestInformation

थ्रो
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

पैरामीटर
testInfo TestInformation

e Throwable

थ्रो
DeviceNotAvailableException