本文整理汇总了Java中com.android.ddmlib.Client.CHANGE_NATIVE_HEAP_DATA属性的典型用法代码示例。如果您正苦于以下问题:Java Client.CHANGE_NATIVE_HEAP_DATA属性的具体用法?Java Client.CHANGE_NATIVE_HEAP_DATA怎么用?Java Client.CHANGE_NATIVE_HEAP_DATA使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.android.ddmlib.Client
的用法示例。
在下文中一共展示了Client.CHANGE_NATIVE_HEAP_DATA属性的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: clientChanged
/**
* Sent when an existing client information changed.
* <p/>
* This is sent from a non UI thread.
* @param client the updated client.
* @param changeMask the bit mask describing the changed properties. It can contain
* any of the following values: {@link Client#CHANGE_INFO}, {@link Client#CHANGE_NAME}
* {@link Client#CHANGE_DEBUGGER_STATUS}, {@link Client#CHANGE_THREAD_MODE},
* {@link Client#CHANGE_THREAD_DATA}, {@link Client#CHANGE_HEAP_MODE},
* {@link Client#CHANGE_HEAP_DATA}, {@link Client#CHANGE_NATIVE_HEAP_DATA}
*
* @see IClientChangeListener#clientChanged(Client, int)
*/
@Override
public void clientChanged(final Client client, int changeMask) {
if (client == getCurrentClient()) {
if ((changeMask & Client.CHANGE_NATIVE_HEAP_DATA) == Client.CHANGE_NATIVE_HEAP_DATA) {
if (mBase.isDisposed())
return;
mBase.getDisplay().asyncExec(new Runnable() {
@Override
public void run() {
clientSelected();
}
});
}
}
}