/// <summary> /// Sends a request to the VM to send the enable status of the allocation tracking. /// This is asynchronous. /// <p/>The allocation status can be accessed by <seealso cref="ClientData#getAllocationStatus()"/>. /// The notification that the new status is available will be received through /// <seealso cref="IClientChangeListener#clientChanged(Client, int)"/> with a <code>changeMask</code> /// containing the mask <seealso cref="#CHANGE_HEAP_ALLOCATION_STATUS"/>. /// </summary> public virtual void requestAllocationStatus() { try { HandleHeap.sendREAQ(this); } catch (IOException e) { Log.e("ddmlib", e); } }
/// <summary> /// Sends a request to the VM to send the enable status of the method profiling. /// This is asynchronous. /// <p/>The allocation status can be accessed by <seealso cref="ClientData#getAllocationStatus()"/>. /// The notification that the new status is available will be received through /// <seealso cref="IClientChangeListener#clientChanged(Client, int)"/> with a <code>changeMask</code> /// containing the mask <seealso cref="#CHANGE_HEAP_ALLOCATION_STATUS"/>. /// </summary> public virtual void requestMethodProfilingStatus() { try { HandleHeap.sendREAQ(this); } catch (IOException e) { Log.e("ddmlib", e); } }