হ্যান্ডেলভিউডিবাগ

public final class HandleViewDebug
extends ChunkHandler

java.lang.অবজেক্ট
com.android.tradefed.device.server.jdwp.Jdwp ইন্টারসেপ্টর
com.android.tradefed.device.server.jdwp.chunkhandler.ChunkHandler
com.android.tradefed.device.server.jdwp.chunkhandler.HandleViewDebug সম্পর্কে


সারাংশ

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

static void captureLayers ( ClientImpl client, String viewRoot, DebugViewDumpHandler handler)
static void captureView ( Client client, String viewRoot, String view, DebugViewDumpHandler handler)
void clientDisconnected ( ClientImpl client)

ক্লায়েন্ট চলে গেছে।

void clientReady ( ClientImpl client)

ক্লায়েন্ট প্রস্তুত।

static void dumpDisplayList ( Client client, String viewRoot, String view)
static void dumpTheme ( ClientImpl client, String viewRoot, DebugViewDumpHandler handler)
static void dumpViewHierarchy ( Client client, String viewRoot, boolean skipChildren, boolean includeProperties, boolean useV2, DebugViewDumpHandler handler)
void handleChunk ( ClientImpl client, int type, ByteBuffer data, boolean isReply, int msgId)

একটি আগত অংশ পরিচালনা করুন।

static void invalidateView ( ClientImpl client, String viewRoot, String view)
static void invokeMethod ( ClientImpl client, String viewRoot, String view, String method, Object... args)
static void listViewRoots ( Client client, DebugViewDumpHandler replyHandler)
static void profileView ( ClientImpl client, String viewRoot, String view, DebugViewDumpHandler handler)
static void register ( MonitorThread mt)
static void requestLayout ( ClientImpl client, String viewRoot, String view)
static void sendStartGlTracing ( ClientImpl client)
static void sendStopGlTracing ( ClientImpl client)
static void setLayoutParameter ( ClientImpl client, String viewRoot, String view, String parameter, int value)

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

ক্যাপচার লেয়ার্স

public static void captureLayers (ClientImpl client, 
                String viewRoot, 
                DebugViewDumpHandler handler)

পরামিতি
client ClientImpl

viewRoot String

handler DebugViewDumpHandler

ক্যাপচারভিউ

public static void captureView (Client client, 
                String viewRoot, 
                String view, 
                DebugViewDumpHandler handler)

পরামিতি
client Client

viewRoot String

view String

handler DebugViewDumpHandler

ক্লায়েন্ট সংযোগ বিচ্ছিন্ন

public void clientDisconnected (ClientImpl client)

ক্লায়েন্ট চলে গেছে। এই ক্লায়েন্ট সংযোগের সাথে সম্পর্কিত যেকোনো রিসোর্স পরিষ্কার করতে ব্যবহার করা যেতে পারে।

পরামিতি
client ClientImpl

ক্লায়েন্টরেডি

public void clientReady (ClientImpl client)

ক্লায়েন্ট প্রস্তুত। ক্লায়েন্ট যখন DDM-সচেতন বলে নির্ধারিত হয় (সাধারণত HELO প্রতিক্রিয়া পাওয়ার পরে) তখন মনিটর থ্রেড সমস্ত হ্যান্ডলারে এই পদ্ধতিটি কল করে।

হ্যান্ডলার এই সুযোগটি ব্যবহার করে ক্লায়েন্ট-সাইড অ্যাক্টিভিটি শুরু করতে পারে। যেহেতু ক্লায়েন্টকে একটি বার্তা পাঠানোর যথেষ্ট সম্ভাবনা রয়েছে, এই পদ্ধতিটি একটি IOException তৈরি করতে পারে।

পরামিতি
client ClientImpl

ডাম্পডিসপ্লেলিস্ট

public static void dumpDisplayList (Client client, 
                String viewRoot, 
                String view)

পরামিতি
client Client

viewRoot String

view String

ডাম্প থিম

public static void dumpTheme (ClientImpl client, 
                String viewRoot, 
                DebugViewDumpHandler handler)

পরামিতি
client ClientImpl

viewRoot String

handler DebugViewDumpHandler

ডাম্পভিউহায়ারার্কি

public static void dumpViewHierarchy (Client client, 
                String viewRoot, 
                boolean skipChildren, 
                boolean includeProperties, 
                boolean useV2, 
                DebugViewDumpHandler handler)

পরামিতি
client Client

viewRoot String

skipChildren boolean

includeProperties boolean

useV2 boolean

handler DebugViewDumpHandler

হ্যান্ডেলচাঙ্ক

public void handleChunk (ClientImpl client, 
                int type, 
                ByteBuffer data, 
                boolean isReply, 
                int msgId)

একটি ইনকামিং চাঙ্ক হ্যান্ডেল করুন। চাঙ্ক টাইপ "টাইপ" এর ডেটা, "ডেটা" এর শুরুতে শুরু হয় এবং data.limit() পর্যন্ত চলতে থাকে।

যদি "isReply" সেট করা থাকে, তাহলে "msgId" হবে ক্লায়েন্টের কাছে পাঠানো অনুরোধের আইডি। অন্যথায়, এটি এই ইভেন্টের জন্য ক্লায়েন্ট দ্বারা তৈরি আইডি। মনে রাখবেন যে আমরা যে উত্তর প্যাকেটগুলির জন্য নিবন্ধিত নই সেগুলিতে অংশগুলি পাওয়া সম্ভব।

হ্যান্ডলার "ডেটা" এর বিষয়বস্তু পরিবর্তন করতে পারবে না।

পরামিতি
client ClientImpl

type int

data ByteBuffer

isReply boolean

msgId int

অবৈধদেখুন

public static void invalidateView (ClientImpl client, 
                String viewRoot, 
                String view)

পরামিতি
client ClientImpl

viewRoot String

view String

invokeMethod সম্পর্কে

public static void invokeMethod (ClientImpl client, 
                String viewRoot, 
                String view, 
                String method, 
                Object... args)

পরামিতি
client ClientImpl

viewRoot String

view String

method String

args Object

তালিকাভিউরুটস

public static void listViewRoots (Client client, 
                DebugViewDumpHandler replyHandler)

পরামিতি
client Client

replyHandler DebugViewDumpHandler

প্রোফাইলভিউ

public static void profileView (ClientImpl client, 
                String viewRoot, 
                String view, 
                DebugViewDumpHandler handler)

পরামিতি
client ClientImpl

viewRoot String

view String

handler DebugViewDumpHandler

নিবন্ধন করুন

public static void register (MonitorThread mt)

পরামিতি
mt MonitorThread

অনুরোধ বিন্যাস

public static void requestLayout (ClientImpl client, 
                String viewRoot, 
                String view)

পরামিতি
client ClientImpl

viewRoot String

view String

সেন্ডস্টার্টগ্লট্রেসিং

public static void sendStartGlTracing (ClientImpl client)

পরামিতি
client ClientImpl

sendStopGlTracing সম্পর্কে

public static void sendStopGlTracing (ClientImpl client)

পরামিতি
client ClientImpl

সেট লেআউট প্যারামিটার

public static void setLayoutParameter (ClientImpl client, 
                String viewRoot, 
                String view, 
                String parameter, 
                int value)

পরামিতি
client ClientImpl

viewRoot String

view String

parameter String

value int