@Implements(value=com.android.internal.util.VirtualRefBasePtr.class, isInAndroidSdk=false) public class ShadowVirtualRefBasePtr extends Object
Constructor | Description |
---|---|
ShadowVirtualRefBasePtr() |
Modifier and Type | Method | Description |
---|---|---|
static <T> T |
get(long nativePtr,
Class<T> clazz) |
|
static void |
nDecStrong(long ptr) |
|
static void |
nIncStrong(long ptr) |
|
static <T> long |
put(T object) |
public static <T> long put(T object)
public static <T> T get(long nativePtr, Class<T> clazz)
@Implementation(minSdk=21) public static void nIncStrong(long ptr)
@Implementation(minSdk=21) public static void nDecStrong(long ptr)