পরিচালিত রিমোট ডিভাইস

public class ManagedRemoteDevice
extends TestDevice implements ITestLoggerReceiver

java.lang.অবজেক্ট
com.android.tradefed.device.NativeDevice
com.android.tradefed.device.TestDevice
com.android.tradefed.device.cloud.ManagedRemoteDevice


একটি ভার্চুয়াল মেশিনের ভিতরে চলমান একটি ডিভাইস যা আমরা VM-এর ভিতরে একটি Tradefed উদাহরণের মাধ্যমে দূরবর্তীভাবে পরিচালনা করি।

সারসংক্ষেপ

পাবলিক কনস্ট্রাক্টর

ManagedRemoteDevice (IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor)

একটি ManagedRemoteDevice তৈরি করে।

পাবলিক পদ্ধতি

TestDeviceOptions getOptions ()

রিমোট সেটআপ করার চেষ্টা করার আগে গতিশীল বিকল্পগুলি সমাধান করতে সক্ষম হতে বেস গেটারকে ওভাররাইড করুন।

GceAvdInfo getRemoteAvdInfo ()

দূরবর্তী উদাহরণ বর্ণনা করে GceAvdInfo প্রদান করে।

void postInvocationTearDown (Throwable exception)

void preInvocationSetup (IBuildInfo info, MultiMap<String, String> attributes)

void setTestLogger (ITestLogger testLogger)

সুরক্ষিত পদ্ধতি

long getCurrentTime ()

বর্তমান সিস্টেম সময় প্রদান করে।

void launchGce ()

বিল্ড তথ্যের উপর ভিত্তি করে প্রকৃত gce ডিভাইস চালু করুন।

পাবলিক কনস্ট্রাক্টর

পরিচালিত রিমোট ডিভাইস

public ManagedRemoteDevice (IDevice device, 
                IDeviceStateMonitor stateMonitor, 
                IDeviceMonitor allocationMonitor)

একটি ManagedRemoteDevice তৈরি করে।

পরামিতি
device IDevice : সংশ্লিষ্ট IDevice

stateMonitor IDeviceStateMonitor : ব্যবহার করার জন্য IDeviceStateMonitor প্রক্রিয়া

allocationMonitor IDeviceMonitor : IDeviceMonitor বরাদ্দের অবস্থার পরিবর্তন সম্পর্কে জানাতে।

পাবলিক পদ্ধতি

getOptions

public TestDeviceOptions getOptions ()

রিমোট সেটআপ করার চেষ্টা করার আগে গতিশীল বিকল্পগুলি সমাধান করতে সক্ষম হতে বেস গেটারকে ওভাররাইড করুন।

রিটার্নস
TestDeviceOptions

GetRemoteAvdInfo

public GceAvdInfo getRemoteAvdInfo ()

দূরবর্তী উদাহরণ বর্ণনা করে GceAvdInfo প্রদান করে।

রিটার্নস
GceAvdInfo

পোস্ট ইনভোকেশন টিয়ারডাউন

public void postInvocationTearDown (Throwable exception)

পরামিতি
exception Throwable

preInvocationSetup

public void preInvocationSetup (IBuildInfo info, 
                MultiMap<String, String> attributes)

পরামিতি
info IBuildInfo

attributes MultiMap

নিক্ষেপ করে
DeviceNotAvailableException
TargetSetupError

setTestLogger

public void setTestLogger (ITestLogger testLogger)

পরামিতি
testLogger ITestLogger

সুরক্ষিত পদ্ধতি

GetCurrentTime

protected long getCurrentTime ()

বর্তমান সিস্টেম সময় প্রদান করে। পরীক্ষার জন্য উন্মুক্ত।

রিটার্নস
long

লঞ্চজিসি

protected void launchGce ()

বিল্ড তথ্যের উপর ভিত্তি করে প্রকৃত gce ডিভাইস চালু করুন।

নিক্ষেপ করে
TargetSetupError