Home
last modified time | relevance | path

Searched refs:castNativePtr (Results 1 – 8 of 8) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java340 return RuntimeEnvironment.castNativePtr(Registries.NATIVE_ASSET_REGISTRY.register(a)); in openAsset()
368 return RuntimeEnvironment.castNativePtr(0); in openNonAssetNative()
373 return RuntimeEnvironment.castNativePtr(-1); in openNonAssetNative()
390 return RuntimeEnvironment.castNativePtr(assetId); in openNonAssetNative()
957 return RuntimeEnvironment.castNativePtr(0); in getNativeStringBlock()
960 return RuntimeEnvironment.castNativePtr( in getNativeStringBlock()
982 return RuntimeEnvironment.castNativePtr(0); in newTheme()
985 return RuntimeEnvironment.castNativePtr(Registries.NATIVE_THEME_REGISTRY.register(theme)); in newTheme()
1056 return RuntimeEnvironment.castNativePtr(0); in openXmlAssetNative()
1063 return RuntimeEnvironment.castNativePtr(0); in openXmlAssetNative()
[all …]
DShadowRegion.java15 return RuntimeEnvironment.castNativePtr(nextId++); in nativeConstructor()
DShadowXmlBlock.java44 return RuntimeEnvironment.castNativePtr(Registries.NATIVE_RES_XML_TREES.register(osb)); in nativeCreate()
60 return RuntimeEnvironment.castNativePtr(osb.getStrings().getNativePtr()); in nativeGetStringBlock()
DShadowCursorWindow.java6 import static org.robolectric.RuntimeEnvironment.castNativePtr;
27 return castNativePtr(WINDOW_DATA.create(name, cursorWindowSize)); in nativeCreate()
DShadowParcel.java10 import static org.robolectric.RuntimeEnvironment.castNativePtr;
417 return castNativePtr(nativePtr); in nativeCreate()
DShadowSQLiteConnection.java7 import static org.robolectric.RuntimeEnvironment.castNativePtr;
72 return castNativePtr(CONNECTIONS.open(path)); in nativeOpen()
DShadowLegacyAssetManager.java14 import static org.robolectric.RuntimeEnvironment.castNativePtr;
870 return castNativePtr(nativePtr); in createTheme()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java144 public static Number castNativePtr(long ptr) { in castNativePtr() method in RuntimeEnvironment