/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowParcel.java | 138 Number nativePtr = ReflectionHelpers.getField(realObject, "mNativePtr"); in writeByteArray() local 139 nativeWriteByteArray(nativePtr.longValue(), b, offset, len); in writeByteArray() 144 public static int nativeDataSize(int nativePtr) { in nativeDataSize() argument 145 return nativeDataSize((long) nativePtr); in nativeDataSize() 149 protected static int nativeDataSize(long nativePtr) { in nativeDataSize() argument 150 return NATIVE_PTR_TO_PARCEL.get(nativePtr).dataSize(); in nativeDataSize() 155 public static int nativeDataAvail(int nativePtr) { in nativeDataAvail() argument 156 return nativeDataAvail((long) nativePtr); in nativeDataAvail() 160 protected static int nativeDataAvail(long nativePtr) { in nativeDataAvail() argument 161 return NATIVE_PTR_TO_PARCEL.get(nativePtr).dataAvailable(); in nativeDataAvail() [all …]
|
D | ShadowMotionEvent.java | 199 int nativePtr, in nativeInitialize() argument 218 (long) nativePtr, in nativeInitialize() 240 long nativePtr, in nativeInitialize() argument 263 if (nativePtr > 0) { in nativeInitialize() 264 event = nativeMotionEventRegistry.getNativeObject(nativePtr); in nativeInitialize() 267 nativePtr = nativeMotionEventRegistry.register(event); in nativeInitialize() 295 return nativePtr; in nativeInitialize() 303 long nativePtr, in nativeInitialize() argument 323 nativePtr, in nativeInitialize() 345 long nativePtr, in nativeInitialize() argument [all …]
|
D | ShadowImageDecoder.java | 188 private static Bitmap ImageDecoder_nDecodeBitmap(long nativePtr, 197 CppImageDecoder cppImageDecoder = NATIVE_IMAGE_DECODER_REGISTRY.getNativeObject(nativePtr); 214 static Size ImageDecoder_nGetSampledSize(long nativePtr, 216 CppImageDecoder decoder = NATIVE_IMAGE_DECODER_REGISTRY.getNativeObject(nativePtr); 223 static void ImageDecoder_nGetPadding(long nativePtr, 225 CppImageDecoder decoder = NATIVE_IMAGE_DECODER_REGISTRY.getNativeObject(nativePtr); 234 static void ImageDecoder_nClose(long nativePtr) { 236 NATIVE_IMAGE_DECODER_REGISTRY.unregister(nativePtr); 239 static String ImageDecoder_nGetMimeType(long nativePtr) { 240 CppImageDecoder decoder = NATIVE_IMAGE_DECODER_REGISTRY.getNativeObject(nativePtr); [all …]
|
D | ShadowVirtualRefBasePtr.java | 17 long nativePtr = nextNativeObj++; in put() local 18 POINTERS.put(nativePtr, new RefHolder<T>(object)); in put() 19 return nativePtr; in put() 22 synchronized public static <T> T get(long nativePtr, Class<T> clazz) { in get() argument 23 return clazz.cast(POINTERS.get(nativePtr).nativeThing); in get()
|
D | ShadowStaticLayout.java | 25 public static int nComputeLineBreaks(Object nativePtr, Object recycle, in nComputeLineBreaks() argument 33 Object nativePtr, in nComputeLineBreaks() argument
|
D | ShadowArscApkAssets9.java | 140 long nativePtr = cachedNativePtrs.remove(key); in getFromCacheOrLoad() local 141 Registries.NATIVE_APK_ASSETS_REGISTRY.unregister(nativePtr); in getFromCacheOrLoad() 146 long nativePtr = ((ShadowArscApkAssets9) Shadow.extract(apkAssets)).getNativePtr(); in getFromCacheOrLoad() local 147 cachedNativePtrs.put(key, nativePtr); in getFromCacheOrLoad()
|
D | ShadowLineBreaker.java | 21 Object nativePtr, in nComputeLineBreaks() argument
|
D | ShadowLegacyAssetManager.java | 868 long nativePtr = nextInternalThemeId++; in createTheme() local 869 nativeThemes.put(nativePtr, new NativeTheme(new ThemeStyleSet())); in createTheme() 870 return castNativePtr(nativePtr); in createTheme()
|
/external/libtextclassifier/jni/com/google/android/textclassifier/ |
D | LangIdModel.java | 167 private native LanguageResult[] nativeDetectLanguages(long nativePtr, String text); in nativeDetectLanguages() argument 169 private native void nativeClose(long nativePtr); in nativeClose() argument 171 private native int nativeGetVersion(long nativePtr); in nativeGetVersion() argument 175 private native float nativeGetLangIdThreshold(long nativePtr); in nativeGetLangIdThreshold() argument 177 private native float nativeGetLangIdNoiseThreshold(long nativePtr); in nativeGetLangIdNoiseThreshold() argument 179 private native int nativeGetMinTextSizeInBytes(long nativePtr); in nativeGetMinTextSizeInBytes() argument
|
/external/libchrome/base/android/jni_generator/java/src/org/chromium/example/jni_generator/ |
D | SampleForTests.java | 186 private native double nativeMethodOtherP0(long nativePtr); in nativeMethodOtherP0() argument
|
/external/libchrome/base/android/jni_generator/ |
D | SampleForTests_jni.golden | 176 jlong nativePtr) { 177 CPPClass::InnerClass* native = reinterpret_cast<CPPClass::InnerClass*>(nativePtr);
|