1*795d594fSAndroid Build Coastguard Worker /* 2*795d594fSAndroid Build Coastguard Worker * Copyright (C) 2011 The Android Open Source Project 3*795d594fSAndroid Build Coastguard Worker * 4*795d594fSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 5*795d594fSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 6*795d594fSAndroid Build Coastguard Worker * You may obtain a copy of the License at 7*795d594fSAndroid Build Coastguard Worker * 8*795d594fSAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 9*795d594fSAndroid Build Coastguard Worker * 10*795d594fSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 11*795d594fSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 12*795d594fSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*795d594fSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 14*795d594fSAndroid Build Coastguard Worker * limitations under the License. 15*795d594fSAndroid Build Coastguard Worker */ 16*795d594fSAndroid Build Coastguard Worker 17*795d594fSAndroid Build Coastguard Worker import dalvik.annotation.optimization.CriticalNative; 18*795d594fSAndroid Build Coastguard Worker import dalvik.annotation.optimization.FastNative; 19*795d594fSAndroid Build Coastguard Worker 20*795d594fSAndroid Build Coastguard Worker /* 21*795d594fSAndroid Build Coastguard Worker * AUTOMATICALLY GENERATED FROM art/tools/mako-source-generator/...../MyClassNatives.java.mako 22*795d594fSAndroid Build Coastguard Worker * 23*795d594fSAndroid Build Coastguard Worker * The tool is however not available, so the changes now need to be done by hand. 24*795d594fSAndroid Build Coastguard Worker */ 25*795d594fSAndroid Build Coastguard Worker class MyClassNatives { 26*795d594fSAndroid Build Coastguard Worker 27*795d594fSAndroid Build Coastguard Worker // Normal native throwException()28*795d594fSAndroid Build Coastguard Worker native void throwException(); 29*795d594fSAndroid Build Coastguard Worker // Normal native synchronizedThrowException()30*795d594fSAndroid Build Coastguard Worker synchronized native void synchronizedThrowException(); 31*795d594fSAndroid Build Coastguard Worker // Normal native foo()32*795d594fSAndroid Build Coastguard Worker native void foo(); 33*795d594fSAndroid Build Coastguard Worker // Normal native bar(int count)34*795d594fSAndroid Build Coastguard Worker native int bar(int count); 35*795d594fSAndroid Build Coastguard Worker // Normal native sbar(int count)36*795d594fSAndroid Build Coastguard Worker static native int sbar(int count); 37*795d594fSAndroid Build Coastguard Worker // Normal native fooI(int x)38*795d594fSAndroid Build Coastguard Worker native int fooI(int x); 39*795d594fSAndroid Build Coastguard Worker // Normal native fooL(Object x)40*795d594fSAndroid Build Coastguard Worker native int fooL(Object x); 41*795d594fSAndroid Build Coastguard Worker // Normal native fooI_V(int x)42*795d594fSAndroid Build Coastguard Worker native void fooI_V(int x); 43*795d594fSAndroid Build Coastguard Worker // Normal native fooI_B(int x)44*795d594fSAndroid Build Coastguard Worker native byte fooI_B(int x); 45*795d594fSAndroid Build Coastguard Worker // Normal native fooI_C(int x)46*795d594fSAndroid Build Coastguard Worker native char fooI_C(int x); 47*795d594fSAndroid Build Coastguard Worker // Normal native fooI_S(int x)48*795d594fSAndroid Build Coastguard Worker native short fooI_S(int x); 49*795d594fSAndroid Build Coastguard Worker // Normal native fooI_Z(int x)50*795d594fSAndroid Build Coastguard Worker native boolean fooI_Z(int x); 51*795d594fSAndroid Build Coastguard Worker // Normal native fooI_J(int x)52*795d594fSAndroid Build Coastguard Worker native long fooI_J(int x); 53*795d594fSAndroid Build Coastguard Worker // Normal native fooI_F(int x)54*795d594fSAndroid Build Coastguard Worker native float fooI_F(int x); 55*795d594fSAndroid Build Coastguard Worker // Normal native fooI_D(int x)56*795d594fSAndroid Build Coastguard Worker native double fooI_D(int x); 57*795d594fSAndroid Build Coastguard Worker // Normal native fooI_L(int x)58*795d594fSAndroid Build Coastguard Worker native Object fooI_L(int x); 59*795d594fSAndroid Build Coastguard Worker // Normal native sfooI(int x)60*795d594fSAndroid Build Coastguard Worker static native int sfooI(int x); 61*795d594fSAndroid Build Coastguard Worker // Normal native sfooB(byte x)62*795d594fSAndroid Build Coastguard Worker static native int sfooB(byte x); 63*795d594fSAndroid Build Coastguard Worker // Normal native sfooC(char x)64*795d594fSAndroid Build Coastguard Worker static native int sfooC(char x); 65*795d594fSAndroid Build Coastguard Worker // Normal native sfooS(short x)66*795d594fSAndroid Build Coastguard Worker static native int sfooS(short x); 67*795d594fSAndroid Build Coastguard Worker // Normal native sfooZ(boolean x)68*795d594fSAndroid Build Coastguard Worker static native int sfooZ(boolean x); 69*795d594fSAndroid Build Coastguard Worker // Normal native sfooL(Object x)70*795d594fSAndroid Build Coastguard Worker static native int sfooL(Object x); 71*795d594fSAndroid Build Coastguard Worker // Normal native fooII(int x, int y)72*795d594fSAndroid Build Coastguard Worker native int fooII(int x, int y); 73*795d594fSAndroid Build Coastguard Worker // Normal native fooJJ(long x, long y)74*795d594fSAndroid Build Coastguard Worker native long fooJJ(long x, long y); 75*795d594fSAndroid Build Coastguard Worker // Normal native fooO(Object x)76*795d594fSAndroid Build Coastguard Worker native Object fooO(Object x); 77*795d594fSAndroid Build Coastguard Worker // Normal native fooDD(double x, double y)78*795d594fSAndroid Build Coastguard Worker native double fooDD(double x, double y); 79*795d594fSAndroid Build Coastguard Worker // Normal native fooJJ_synchronized(long x, long y)80*795d594fSAndroid Build Coastguard Worker synchronized native long fooJJ_synchronized(long x, long y); 81*795d594fSAndroid Build Coastguard Worker // Normal native fooIOO(int x, Object y, Object z)82*795d594fSAndroid Build Coastguard Worker native Object fooIOO(int x, Object y, Object z); 83*795d594fSAndroid Build Coastguard Worker // Normal native fooSIOO(int x, Object y, Object z)84*795d594fSAndroid Build Coastguard Worker static native Object fooSIOO(int x, Object y, Object z); 85*795d594fSAndroid Build Coastguard Worker // Normal native fooSII(int x, int y)86*795d594fSAndroid Build Coastguard Worker static native int fooSII(int x, int y); 87*795d594fSAndroid Build Coastguard Worker // Normal native fooSDD(double x, double y)88*795d594fSAndroid Build Coastguard Worker static native double fooSDD(double x, double y); 89*795d594fSAndroid Build Coastguard Worker // Normal native fooSSIOO(int x, Object y, Object z)90*795d594fSAndroid Build Coastguard Worker static synchronized native Object fooSSIOO(int x, Object y, Object z); 91*795d594fSAndroid Build Coastguard Worker // Normal native arraycopy(Object src, int src_pos, Object dst, int dst_pos, int length)92*795d594fSAndroid Build Coastguard Worker static native void arraycopy(Object src, int src_pos, Object dst, int dst_pos, int length); 93*795d594fSAndroid Build Coastguard Worker // Normal native compareAndSwapInt(Object obj, long offset, int expected, int newval)94*795d594fSAndroid Build Coastguard Worker native boolean compareAndSwapInt(Object obj, long offset, int expected, int newval); 95*795d594fSAndroid Build Coastguard Worker // Normal native getText(long val1, Object obj1, long val2, Object obj2)96*795d594fSAndroid Build Coastguard Worker static native int getText(long val1, Object obj1, long val2, Object obj2); 97*795d594fSAndroid Build Coastguard Worker // Normal native getSinkPropertiesNative(String path)98*795d594fSAndroid Build Coastguard Worker synchronized native Object[] getSinkPropertiesNative(String path); 99*795d594fSAndroid Build Coastguard Worker 100*795d594fSAndroid Build Coastguard Worker // Normal native instanceMethodThatShouldReturnClass()101*795d594fSAndroid Build Coastguard Worker native Class<?> instanceMethodThatShouldReturnClass(); 102*795d594fSAndroid Build Coastguard Worker // Normal native staticMethodThatShouldReturnClass()103*795d594fSAndroid Build Coastguard Worker static native Class<?> staticMethodThatShouldReturnClass(); 104*795d594fSAndroid Build Coastguard Worker 105*795d594fSAndroid Build Coastguard Worker // Normal native instanceMethodThatShouldTakeClass(int i, Class<?> c)106*795d594fSAndroid Build Coastguard Worker native void instanceMethodThatShouldTakeClass(int i, Class<?> c); 107*795d594fSAndroid Build Coastguard Worker // Normal native staticMethodThatShouldTakeClass(int i, Class<?> c)108*795d594fSAndroid Build Coastguard Worker static native void staticMethodThatShouldTakeClass(int i, Class<?> c); 109*795d594fSAndroid Build Coastguard Worker 110*795d594fSAndroid Build Coastguard Worker // TODO: These 3 seem like they could work for @CriticalNative as well if they were static. 111*795d594fSAndroid Build Coastguard Worker // Normal native checkFloats(float f1, float f2)112*795d594fSAndroid Build Coastguard Worker native float checkFloats(float f1, float f2); 113*795d594fSAndroid Build Coastguard Worker // Normal native forceStackParameters(int i1, int i2, int i3, int i4, int i5, int i6, int i8, int i9, float f1, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9)114*795d594fSAndroid Build Coastguard Worker native void forceStackParameters(int i1, int i2, int i3, int i4, int i5, int i6, int i8, int i9, 115*795d594fSAndroid Build Coastguard Worker float f1, float f2, float f3, float f4, float f5, float f6, 116*795d594fSAndroid Build Coastguard Worker float f7, float f8, float f9); 117*795d594fSAndroid Build Coastguard Worker // Normal native checkParameterAlign(int i1, long l1)118*795d594fSAndroid Build Coastguard Worker native void checkParameterAlign(int i1, long l1); 119*795d594fSAndroid Build Coastguard Worker 120*795d594fSAndroid Build Coastguard Worker // Normal native maxParamNumber(Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7, Object o8, Object o9, Object o10, Object o11, Object o12, Object o13, Object o14, Object o15, Object o16, Object o17, Object o18, Object o19, Object o20, Object o21, Object o22, Object o23, Object o24, Object o25, Object o26, Object o27, Object o28, Object o29, Object o30, Object o31, Object o32, Object o33, Object o34, Object o35, Object o36, Object o37, Object o38, Object o39, Object o40, Object o41, Object o42, Object o43, Object o44, Object o45, Object o46, Object o47, Object o48, Object o49, Object o50, Object o51, Object o52, Object o53, Object o54, Object o55, Object o56, Object o57, Object o58, Object o59, Object o60, Object o61, Object o62, Object o63, Object o64, Object o65, Object o66, Object o67, Object o68, Object o69, Object o70, Object o71, Object o72, Object o73, Object o74, Object o75, Object o76, Object o77, Object o78, Object o79, Object o80, Object o81, Object o82, Object o83, Object o84, Object o85, Object o86, Object o87, Object o88, Object o89, Object o90, Object o91, Object o92, Object o93, Object o94, Object o95, Object o96, Object o97, Object o98, Object o99, Object o100, Object o101, Object o102, Object o103, Object o104, Object o105, Object o106, Object o107, Object o108, Object o109, Object o110, Object o111, Object o112, Object o113, Object o114, Object o115, Object o116, Object o117, Object o118, Object o119, Object o120, Object o121, Object o122, Object o123, Object o124, Object o125, Object o126, Object o127, Object o128, Object o129, Object o130, Object o131, Object o132, Object o133, Object o134, Object o135, Object o136, Object o137, Object o138, Object o139, Object o140, Object o141, Object o142, Object o143, Object o144, Object o145, Object o146, Object o147, Object o148, Object o149, Object o150, Object o151, Object o152, Object o153, Object o154, Object o155, Object o156, Object o157, Object o158, Object o159, Object o160, Object o161, Object o162, Object o163, Object o164, Object o165, Object o166, Object o167, Object o168, Object o169, Object o170, Object o171, Object o172, Object o173, Object o174, Object o175, Object o176, Object o177, Object o178, Object o179, Object o180, Object o181, Object o182, Object o183, Object o184, Object o185, Object o186, Object o187, Object o188, Object o189, Object o190, Object o191, Object o192, Object o193, Object o194, Object o195, Object o196, Object o197, Object o198, Object o199, Object o200, Object o201, Object o202, Object o203, Object o204, Object o205, Object o206, Object o207, Object o208, Object o209, Object o210, Object o211, Object o212, Object o213, Object o214, Object o215, Object o216, Object o217, Object o218, Object o219, Object o220, Object o221, Object o222, Object o223, Object o224, Object o225, Object o226, Object o227, Object o228, Object o229, Object o230, Object o231, Object o232, Object o233, Object o234, Object o235, Object o236, Object o237, Object o238, Object o239, Object o240, Object o241, Object o242, Object o243, Object o244, Object o245, Object o246, Object o247, Object o248, Object o249, Object o250, Object o251, Object o252, Object o253)121*795d594fSAndroid Build Coastguard Worker native void maxParamNumber(Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7, 122*795d594fSAndroid Build Coastguard Worker Object o8, Object o9, Object o10, Object o11, Object o12, Object o13, Object o14, Object o15, 123*795d594fSAndroid Build Coastguard Worker Object o16, Object o17, Object o18, Object o19, Object o20, Object o21, Object o22, Object o23, 124*795d594fSAndroid Build Coastguard Worker Object o24, Object o25, Object o26, Object o27, Object o28, Object o29, Object o30, Object o31, 125*795d594fSAndroid Build Coastguard Worker Object o32, Object o33, Object o34, Object o35, Object o36, Object o37, Object o38, Object o39, 126*795d594fSAndroid Build Coastguard Worker Object o40, Object o41, Object o42, Object o43, Object o44, Object o45, Object o46, Object o47, 127*795d594fSAndroid Build Coastguard Worker Object o48, Object o49, Object o50, Object o51, Object o52, Object o53, Object o54, Object o55, 128*795d594fSAndroid Build Coastguard Worker Object o56, Object o57, Object o58, Object o59, Object o60, Object o61, Object o62, Object o63, 129*795d594fSAndroid Build Coastguard Worker Object o64, Object o65, Object o66, Object o67, Object o68, Object o69, Object o70, Object o71, 130*795d594fSAndroid Build Coastguard Worker Object o72, Object o73, Object o74, Object o75, Object o76, Object o77, Object o78, Object o79, 131*795d594fSAndroid Build Coastguard Worker Object o80, Object o81, Object o82, Object o83, Object o84, Object o85, Object o86, Object o87, 132*795d594fSAndroid Build Coastguard Worker Object o88, Object o89, Object o90, Object o91, Object o92, Object o93, Object o94, Object o95, 133*795d594fSAndroid Build Coastguard Worker Object o96, Object o97, Object o98, Object o99, Object o100, Object o101, Object o102, Object o103, 134*795d594fSAndroid Build Coastguard Worker Object o104, Object o105, Object o106, Object o107, Object o108, Object o109, Object o110, Object o111, 135*795d594fSAndroid Build Coastguard Worker Object o112, Object o113, Object o114, Object o115, Object o116, Object o117, Object o118, Object o119, 136*795d594fSAndroid Build Coastguard Worker Object o120, Object o121, Object o122, Object o123, Object o124, Object o125, Object o126, Object o127, 137*795d594fSAndroid Build Coastguard Worker Object o128, Object o129, Object o130, Object o131, Object o132, Object o133, Object o134, Object o135, 138*795d594fSAndroid Build Coastguard Worker Object o136, Object o137, Object o138, Object o139, Object o140, Object o141, Object o142, Object o143, 139*795d594fSAndroid Build Coastguard Worker Object o144, Object o145, Object o146, Object o147, Object o148, Object o149, Object o150, Object o151, 140*795d594fSAndroid Build Coastguard Worker Object o152, Object o153, Object o154, Object o155, Object o156, Object o157, Object o158, Object o159, 141*795d594fSAndroid Build Coastguard Worker Object o160, Object o161, Object o162, Object o163, Object o164, Object o165, Object o166, Object o167, 142*795d594fSAndroid Build Coastguard Worker Object o168, Object o169, Object o170, Object o171, Object o172, Object o173, Object o174, Object o175, 143*795d594fSAndroid Build Coastguard Worker Object o176, Object o177, Object o178, Object o179, Object o180, Object o181, Object o182, Object o183, 144*795d594fSAndroid Build Coastguard Worker Object o184, Object o185, Object o186, Object o187, Object o188, Object o189, Object o190, Object o191, 145*795d594fSAndroid Build Coastguard Worker Object o192, Object o193, Object o194, Object o195, Object o196, Object o197, Object o198, Object o199, 146*795d594fSAndroid Build Coastguard Worker Object o200, Object o201, Object o202, Object o203, Object o204, Object o205, Object o206, Object o207, 147*795d594fSAndroid Build Coastguard Worker Object o208, Object o209, Object o210, Object o211, Object o212, Object o213, Object o214, Object o215, 148*795d594fSAndroid Build Coastguard Worker Object o216, Object o217, Object o218, Object o219, Object o220, Object o221, Object o222, Object o223, 149*795d594fSAndroid Build Coastguard Worker Object o224, Object o225, Object o226, Object o227, Object o228, Object o229, Object o230, Object o231, 150*795d594fSAndroid Build Coastguard Worker Object o232, Object o233, Object o234, Object o235, Object o236, Object o237, Object o238, Object o239, 151*795d594fSAndroid Build Coastguard Worker Object o240, Object o241, Object o242, Object o243, Object o244, Object o245, Object o246, Object o247, 152*795d594fSAndroid Build Coastguard Worker Object o248, Object o249, Object o250, Object o251, Object o252, Object o253); 153*795d594fSAndroid Build Coastguard Worker 154*795d594fSAndroid Build Coastguard Worker // Normal native withoutImplementation()155*795d594fSAndroid Build Coastguard Worker native void withoutImplementation(); 156*795d594fSAndroid Build Coastguard Worker // Normal native withoutImplementationRefReturn()157*795d594fSAndroid Build Coastguard Worker native Object withoutImplementationRefReturn(); 158*795d594fSAndroid Build Coastguard Worker // Normal native staticWithoutImplementation()159*795d594fSAndroid Build Coastguard Worker native static void staticWithoutImplementation(); 160*795d594fSAndroid Build Coastguard Worker 161*795d594fSAndroid Build Coastguard Worker // Normal native stackArgsIntsFirst(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10, float f1, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9, float f10)162*795d594fSAndroid Build Coastguard Worker native static void stackArgsIntsFirst(int i1, int i2, int i3, int i4, int i5, int i6, int i7, 163*795d594fSAndroid Build Coastguard Worker int i8, int i9, int i10, float f1, float f2, float f3, float f4, float f5, float f6, 164*795d594fSAndroid Build Coastguard Worker float f7, float f8, float f9, float f10); 165*795d594fSAndroid Build Coastguard Worker 166*795d594fSAndroid Build Coastguard Worker // Normal native stackArgsFloatsFirst(float f1, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9, float f10, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10)167*795d594fSAndroid Build Coastguard Worker native static void stackArgsFloatsFirst(float f1, float f2, float f3, float f4, float f5, 168*795d594fSAndroid Build Coastguard Worker float f6, float f7, float f8, float f9, float f10, int i1, int i2, int i3, int i4, int i5, 169*795d594fSAndroid Build Coastguard Worker int i6, int i7, int i8, int i9, int i10); 170*795d594fSAndroid Build Coastguard Worker 171*795d594fSAndroid Build Coastguard Worker // Normal native stackArgsMixed(int i1, float f1, int i2, float f2, int i3, float f3, int i4, float f4, int i5, float f5, int i6, float f6, int i7, float f7, int i8, float f8, int i9, float f9, int i10, float f10)172*795d594fSAndroid Build Coastguard Worker native static void stackArgsMixed(int i1, float f1, int i2, float f2, int i3, float f3, int i4, 173*795d594fSAndroid Build Coastguard Worker float f4, int i5, float f5, int i6, float f6, int i7, float f7, int i8, float f8, int i9, 174*795d594fSAndroid Build Coastguard Worker float f9, int i10, float f10); 175*795d594fSAndroid Build Coastguard Worker 176*795d594fSAndroid Build Coastguard Worker // Normal native logD(double d)177*795d594fSAndroid Build Coastguard Worker static native double logD(double d); 178*795d594fSAndroid Build Coastguard Worker // Normal native logF(float f)179*795d594fSAndroid Build Coastguard Worker static native float logF(float f); 180*795d594fSAndroid Build Coastguard Worker // Normal native returnTrue()181*795d594fSAndroid Build Coastguard Worker static native boolean returnTrue(); 182*795d594fSAndroid Build Coastguard Worker // Normal native returnFalse()183*795d594fSAndroid Build Coastguard Worker static native boolean returnFalse(); 184*795d594fSAndroid Build Coastguard Worker // Normal native returnInt()185*795d594fSAndroid Build Coastguard Worker static native int returnInt(); 186*795d594fSAndroid Build Coastguard Worker // Normal native returnDouble()187*795d594fSAndroid Build Coastguard Worker static native double returnDouble(); 188*795d594fSAndroid Build Coastguard Worker // Normal native returnLong()189*795d594fSAndroid Build Coastguard Worker static native long returnLong(); 190*795d594fSAndroid Build Coastguard Worker 191*795d594fSAndroid Build Coastguard Worker // Normal native sfoo7FI(float f1, float f2, float f3, float f4, float f5, float f6, float f7, int i1)192*795d594fSAndroid Build Coastguard Worker static native int sfoo7FI(float f1, float f2, float f3, float f4, float f5, float f6, 193*795d594fSAndroid Build Coastguard Worker float f7, int i1); 194*795d594fSAndroid Build Coastguard Worker // Normal native sfoo3F5DI(float f1, float f2, float f3, double d1, double d2, double d3, double d4, double d5, int i1)195*795d594fSAndroid Build Coastguard Worker static native int sfoo3F5DI(float f1, float f2, float f3, double d1, double d2, double d3, 196*795d594fSAndroid Build Coastguard Worker double d4, double d5, int i1); 197*795d594fSAndroid Build Coastguard Worker // Normal native sfoo3F6DI(float f1, float f2, float f3, double d1, double d2, double d3, double d4, double d5, double d6, int i1)198*795d594fSAndroid Build Coastguard Worker static native int sfoo3F6DI(float f1, float f2, float f3, double d1, double d2, double d3, 199*795d594fSAndroid Build Coastguard Worker double d4, double d5, double d6, int i1); 200*795d594fSAndroid Build Coastguard Worker // Normal native fooL4I(Object o1, int i1, int i2, int i3, int i4)201*795d594fSAndroid Build Coastguard Worker native int fooL4I(Object o1, int i1, int i2, int i3, int i4); 202*795d594fSAndroid Build Coastguard Worker // Normal native fooL5I(Object o1, int i1, int i2, int i3, int i4, int i5)203*795d594fSAndroid Build Coastguard Worker native int fooL5I(Object o1, int i1, int i2, int i3, int i4, int i5); 204*795d594fSAndroid Build Coastguard Worker // Normal native fooL3IJC(Object o1, int i1, int i2, int i3, long l1, char c1)205*795d594fSAndroid Build Coastguard Worker native int fooL3IJC(Object o1, int i1, int i2, int i3, long l1, char c1); 206*795d594fSAndroid Build Coastguard Worker // Normal native fooL3IJCS(Object o1, int i1, int i2, int i3, long l1, char c1, short s1)207*795d594fSAndroid Build Coastguard Worker native int fooL3IJCS(Object o1, int i1, int i2, int i3, long l1, char c1, short s1); 208*795d594fSAndroid Build Coastguard Worker // Normal native foo9F(float f1, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9)209*795d594fSAndroid Build Coastguard Worker native int foo9F(float f1, float f2, float f3, float f4, float f5, float f6, float f7, 210*795d594fSAndroid Build Coastguard Worker float f8, float f9); 211*795d594fSAndroid Build Coastguard Worker // Normal native foo7FDF(float f1, float f2, float f3, float f4, float f5, float f6, float f7, double d1, float f8)212*795d594fSAndroid Build Coastguard Worker native int foo7FDF(float f1, float f2, float f3, float f4, float f5, float f6, float f7, 213*795d594fSAndroid Build Coastguard Worker double d1, float f8); 214*795d594fSAndroid Build Coastguard Worker // Normal native foo7FIFF(float f1, float f2, float f3, float f4, float f5, float f6, float f7, int i1, float f8, float f9)215*795d594fSAndroid Build Coastguard Worker native int foo7FIFF(float f1, float f2, float f3, float f4, float f5, float f6, float f7, 216*795d594fSAndroid Build Coastguard Worker int i1, float f8, float f9); 217*795d594fSAndroid Build Coastguard Worker // Normal native foo7I(int i1, int i2, int i3, int i4, int i5, int i6, int i7)218*795d594fSAndroid Build Coastguard Worker native int foo7I(int i1, int i2, int i3, int i4, int i5, int i6, int i7); 219*795d594fSAndroid Build Coastguard Worker // Normal native foo5IJI(int i1, int i2, int i3, int i4, int i5, long l1, int i6)220*795d594fSAndroid Build Coastguard Worker native int foo5IJI(int i1, int i2, int i3, int i4, int i5, long l1, int i6); 221*795d594fSAndroid Build Coastguard Worker // Normal native foo5IFII(int i1, int i2, int i3, int i4, int i5, float f1, int i6, int i7)222*795d594fSAndroid Build Coastguard Worker native int foo5IFII(int i1, int i2, int i3, int i4, int i5, float f1, int i6, int i7); 223*795d594fSAndroid Build Coastguard Worker // Normal native foo2FL(float f1, float f2, Object o1)224*795d594fSAndroid Build Coastguard Worker native int foo2FL(float f1, float f2, Object o1); 225*795d594fSAndroid Build Coastguard Worker // Normal native fooFDL(float f1, double f2, Object o1)226*795d594fSAndroid Build Coastguard Worker native int fooFDL(float f1, double f2, Object o1); 227*795d594fSAndroid Build Coastguard Worker // Normal native foo3FL(float f1, float f2, float f3, Object o1)228*795d594fSAndroid Build Coastguard Worker native int foo3FL(float f1, float f2, float f3, Object o1); 229*795d594fSAndroid Build Coastguard Worker // Normal native foo2FIL(float f1, float f2, int i1, Object o1)230*795d594fSAndroid Build Coastguard Worker native int foo2FIL(float f1, float f2, int i1, Object o1); 231*795d594fSAndroid Build Coastguard Worker // Normal native foo2IFL(int i1, int i2, float f1, Object o1)232*795d594fSAndroid Build Coastguard Worker native int foo2IFL(int i1, int i2, float f1, Object o1); 233*795d594fSAndroid Build Coastguard Worker // Normal native fooICFL(int i1, char c1, float f1, Object o1)234*795d594fSAndroid Build Coastguard Worker native int fooICFL(int i1, char c1, float f1, Object o1); 235*795d594fSAndroid Build Coastguard Worker // Normal native fooICIL(int i1, char c1, int i2, Object o1)236*795d594fSAndroid Build Coastguard Worker native int fooICIL(int i1, char c1, int i2, Object o1); 237*795d594fSAndroid Build Coastguard Worker 238*795d594fSAndroid Build Coastguard Worker 239*795d594fSAndroid Build Coastguard Worker @FastNative throwException_Fast()240*795d594fSAndroid Build Coastguard Worker native void throwException_Fast(); 241*795d594fSAndroid Build Coastguard Worker @FastNative foo_Fast()242*795d594fSAndroid Build Coastguard Worker native void foo_Fast(); 243*795d594fSAndroid Build Coastguard Worker @FastNative bar_Fast(int count)244*795d594fSAndroid Build Coastguard Worker native int bar_Fast(int count); 245*795d594fSAndroid Build Coastguard Worker @FastNative sbar_Fast(int count)246*795d594fSAndroid Build Coastguard Worker static native int sbar_Fast(int count); 247*795d594fSAndroid Build Coastguard Worker @FastNative fooI_Fast(int x)248*795d594fSAndroid Build Coastguard Worker native int fooI_Fast(int x); 249*795d594fSAndroid Build Coastguard Worker @FastNative fooII_Fast(int x, int y)250*795d594fSAndroid Build Coastguard Worker native int fooII_Fast(int x, int y); 251*795d594fSAndroid Build Coastguard Worker @FastNative fooJJ_Fast(long x, long y)252*795d594fSAndroid Build Coastguard Worker native long fooJJ_Fast(long x, long y); 253*795d594fSAndroid Build Coastguard Worker @FastNative fooO_Fast(Object x)254*795d594fSAndroid Build Coastguard Worker native Object fooO_Fast(Object x); 255*795d594fSAndroid Build Coastguard Worker @FastNative fooDD_Fast(double x, double y)256*795d594fSAndroid Build Coastguard Worker native double fooDD_Fast(double x, double y); 257*795d594fSAndroid Build Coastguard Worker @FastNative fooIOO_Fast(int x, Object y, Object z)258*795d594fSAndroid Build Coastguard Worker native Object fooIOO_Fast(int x, Object y, Object z); 259*795d594fSAndroid Build Coastguard Worker @FastNative fooSIOO_Fast(int x, Object y, Object z)260*795d594fSAndroid Build Coastguard Worker static native Object fooSIOO_Fast(int x, Object y, Object z); 261*795d594fSAndroid Build Coastguard Worker @FastNative fooSII_Fast(int x, int y)262*795d594fSAndroid Build Coastguard Worker static native int fooSII_Fast(int x, int y); 263*795d594fSAndroid Build Coastguard Worker @FastNative fooSDD_Fast(double x, double y)264*795d594fSAndroid Build Coastguard Worker static native double fooSDD_Fast(double x, double y); 265*795d594fSAndroid Build Coastguard Worker @FastNative arraycopy_Fast(Object src, int src_pos, Object dst, int dst_pos, int length)266*795d594fSAndroid Build Coastguard Worker static native void arraycopy_Fast(Object src, int src_pos, Object dst, int dst_pos, int length); 267*795d594fSAndroid Build Coastguard Worker @FastNative compareAndSwapInt_Fast(Object obj, long offset, int expected, int newval)268*795d594fSAndroid Build Coastguard Worker native boolean compareAndSwapInt_Fast(Object obj, long offset, int expected, int newval); 269*795d594fSAndroid Build Coastguard Worker @FastNative getText_Fast(long val1, Object obj1, long val2, Object obj2)270*795d594fSAndroid Build Coastguard Worker static native int getText_Fast(long val1, Object obj1, long val2, Object obj2); 271*795d594fSAndroid Build Coastguard Worker @FastNative getSinkPropertiesNative_Fast(String path)272*795d594fSAndroid Build Coastguard Worker native Object[] getSinkPropertiesNative_Fast(String path); 273*795d594fSAndroid Build Coastguard Worker 274*795d594fSAndroid Build Coastguard Worker @FastNative instanceMethodThatShouldReturnClass_Fast()275*795d594fSAndroid Build Coastguard Worker native Class<?> instanceMethodThatShouldReturnClass_Fast(); 276*795d594fSAndroid Build Coastguard Worker @FastNative staticMethodThatShouldReturnClass_Fast()277*795d594fSAndroid Build Coastguard Worker static native Class<?> staticMethodThatShouldReturnClass_Fast(); 278*795d594fSAndroid Build Coastguard Worker 279*795d594fSAndroid Build Coastguard Worker @FastNative instanceMethodThatShouldTakeClass_Fast(int i, Class<?> c)280*795d594fSAndroid Build Coastguard Worker native void instanceMethodThatShouldTakeClass_Fast(int i, Class<?> c); 281*795d594fSAndroid Build Coastguard Worker @FastNative staticMethodThatShouldTakeClass_Fast(int i, Class<?> c)282*795d594fSAndroid Build Coastguard Worker static native void staticMethodThatShouldTakeClass_Fast(int i, Class<?> c); 283*795d594fSAndroid Build Coastguard Worker 284*795d594fSAndroid Build Coastguard Worker // TODO: These 3 seem like they could work for @CriticalNative as well if they were static. 285*795d594fSAndroid Build Coastguard Worker @FastNative checkFloats_Fast(float f1, float f2)286*795d594fSAndroid Build Coastguard Worker native float checkFloats_Fast(float f1, float f2); 287*795d594fSAndroid Build Coastguard Worker @FastNative forceStackParameters_Fast(int i1, int i2, int i3, int i4, int i5, int i6, int i8, int i9, float f1, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9)288*795d594fSAndroid Build Coastguard Worker native void forceStackParameters_Fast(int i1, int i2, int i3, int i4, int i5, int i6, int i8, int i9, 289*795d594fSAndroid Build Coastguard Worker float f1, float f2, float f3, float f4, float f5, float f6, 290*795d594fSAndroid Build Coastguard Worker float f7, float f8, float f9); 291*795d594fSAndroid Build Coastguard Worker @FastNative checkParameterAlign_Fast(int i1, long l1)292*795d594fSAndroid Build Coastguard Worker native void checkParameterAlign_Fast(int i1, long l1); 293*795d594fSAndroid Build Coastguard Worker 294*795d594fSAndroid Build Coastguard Worker @FastNative maxParamNumber_Fast(Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7, Object o8, Object o9, Object o10, Object o11, Object o12, Object o13, Object o14, Object o15, Object o16, Object o17, Object o18, Object o19, Object o20, Object o21, Object o22, Object o23, Object o24, Object o25, Object o26, Object o27, Object o28, Object o29, Object o30, Object o31, Object o32, Object o33, Object o34, Object o35, Object o36, Object o37, Object o38, Object o39, Object o40, Object o41, Object o42, Object o43, Object o44, Object o45, Object o46, Object o47, Object o48, Object o49, Object o50, Object o51, Object o52, Object o53, Object o54, Object o55, Object o56, Object o57, Object o58, Object o59, Object o60, Object o61, Object o62, Object o63, Object o64, Object o65, Object o66, Object o67, Object o68, Object o69, Object o70, Object o71, Object o72, Object o73, Object o74, Object o75, Object o76, Object o77, Object o78, Object o79, Object o80, Object o81, Object o82, Object o83, Object o84, Object o85, Object o86, Object o87, Object o88, Object o89, Object o90, Object o91, Object o92, Object o93, Object o94, Object o95, Object o96, Object o97, Object o98, Object o99, Object o100, Object o101, Object o102, Object o103, Object o104, Object o105, Object o106, Object o107, Object o108, Object o109, Object o110, Object o111, Object o112, Object o113, Object o114, Object o115, Object o116, Object o117, Object o118, Object o119, Object o120, Object o121, Object o122, Object o123, Object o124, Object o125, Object o126, Object o127, Object o128, Object o129, Object o130, Object o131, Object o132, Object o133, Object o134, Object o135, Object o136, Object o137, Object o138, Object o139, Object o140, Object o141, Object o142, Object o143, Object o144, Object o145, Object o146, Object o147, Object o148, Object o149, Object o150, Object o151, Object o152, Object o153, Object o154, Object o155, Object o156, Object o157, Object o158, Object o159, Object o160, Object o161, Object o162, Object o163, Object o164, Object o165, Object o166, Object o167, Object o168, Object o169, Object o170, Object o171, Object o172, Object o173, Object o174, Object o175, Object o176, Object o177, Object o178, Object o179, Object o180, Object o181, Object o182, Object o183, Object o184, Object o185, Object o186, Object o187, Object o188, Object o189, Object o190, Object o191, Object o192, Object o193, Object o194, Object o195, Object o196, Object o197, Object o198, Object o199, Object o200, Object o201, Object o202, Object o203, Object o204, Object o205, Object o206, Object o207, Object o208, Object o209, Object o210, Object o211, Object o212, Object o213, Object o214, Object o215, Object o216, Object o217, Object o218, Object o219, Object o220, Object o221, Object o222, Object o223, Object o224, Object o225, Object o226, Object o227, Object o228, Object o229, Object o230, Object o231, Object o232, Object o233, Object o234, Object o235, Object o236, Object o237, Object o238, Object o239, Object o240, Object o241, Object o242, Object o243, Object o244, Object o245, Object o246, Object o247, Object o248, Object o249, Object o250, Object o251, Object o252, Object o253)295*795d594fSAndroid Build Coastguard Worker native void maxParamNumber_Fast(Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7, 296*795d594fSAndroid Build Coastguard Worker Object o8, Object o9, Object o10, Object o11, Object o12, Object o13, Object o14, Object o15, 297*795d594fSAndroid Build Coastguard Worker Object o16, Object o17, Object o18, Object o19, Object o20, Object o21, Object o22, Object o23, 298*795d594fSAndroid Build Coastguard Worker Object o24, Object o25, Object o26, Object o27, Object o28, Object o29, Object o30, Object o31, 299*795d594fSAndroid Build Coastguard Worker Object o32, Object o33, Object o34, Object o35, Object o36, Object o37, Object o38, Object o39, 300*795d594fSAndroid Build Coastguard Worker Object o40, Object o41, Object o42, Object o43, Object o44, Object o45, Object o46, Object o47, 301*795d594fSAndroid Build Coastguard Worker Object o48, Object o49, Object o50, Object o51, Object o52, Object o53, Object o54, Object o55, 302*795d594fSAndroid Build Coastguard Worker Object o56, Object o57, Object o58, Object o59, Object o60, Object o61, Object o62, Object o63, 303*795d594fSAndroid Build Coastguard Worker Object o64, Object o65, Object o66, Object o67, Object o68, Object o69, Object o70, Object o71, 304*795d594fSAndroid Build Coastguard Worker Object o72, Object o73, Object o74, Object o75, Object o76, Object o77, Object o78, Object o79, 305*795d594fSAndroid Build Coastguard Worker Object o80, Object o81, Object o82, Object o83, Object o84, Object o85, Object o86, Object o87, 306*795d594fSAndroid Build Coastguard Worker Object o88, Object o89, Object o90, Object o91, Object o92, Object o93, Object o94, Object o95, 307*795d594fSAndroid Build Coastguard Worker Object o96, Object o97, Object o98, Object o99, Object o100, Object o101, Object o102, Object o103, 308*795d594fSAndroid Build Coastguard Worker Object o104, Object o105, Object o106, Object o107, Object o108, Object o109, Object o110, Object o111, 309*795d594fSAndroid Build Coastguard Worker Object o112, Object o113, Object o114, Object o115, Object o116, Object o117, Object o118, Object o119, 310*795d594fSAndroid Build Coastguard Worker Object o120, Object o121, Object o122, Object o123, Object o124, Object o125, Object o126, Object o127, 311*795d594fSAndroid Build Coastguard Worker Object o128, Object o129, Object o130, Object o131, Object o132, Object o133, Object o134, Object o135, 312*795d594fSAndroid Build Coastguard Worker Object o136, Object o137, Object o138, Object o139, Object o140, Object o141, Object o142, Object o143, 313*795d594fSAndroid Build Coastguard Worker Object o144, Object o145, Object o146, Object o147, Object o148, Object o149, Object o150, Object o151, 314*795d594fSAndroid Build Coastguard Worker Object o152, Object o153, Object o154, Object o155, Object o156, Object o157, Object o158, Object o159, 315*795d594fSAndroid Build Coastguard Worker Object o160, Object o161, Object o162, Object o163, Object o164, Object o165, Object o166, Object o167, 316*795d594fSAndroid Build Coastguard Worker Object o168, Object o169, Object o170, Object o171, Object o172, Object o173, Object o174, Object o175, 317*795d594fSAndroid Build Coastguard Worker Object o176, Object o177, Object o178, Object o179, Object o180, Object o181, Object o182, Object o183, 318*795d594fSAndroid Build Coastguard Worker Object o184, Object o185, Object o186, Object o187, Object o188, Object o189, Object o190, Object o191, 319*795d594fSAndroid Build Coastguard Worker Object o192, Object o193, Object o194, Object o195, Object o196, Object o197, Object o198, Object o199, 320*795d594fSAndroid Build Coastguard Worker Object o200, Object o201, Object o202, Object o203, Object o204, Object o205, Object o206, Object o207, 321*795d594fSAndroid Build Coastguard Worker Object o208, Object o209, Object o210, Object o211, Object o212, Object o213, Object o214, Object o215, 322*795d594fSAndroid Build Coastguard Worker Object o216, Object o217, Object o218, Object o219, Object o220, Object o221, Object o222, Object o223, 323*795d594fSAndroid Build Coastguard Worker Object o224, Object o225, Object o226, Object o227, Object o228, Object o229, Object o230, Object o231, 324*795d594fSAndroid Build Coastguard Worker Object o232, Object o233, Object o234, Object o235, Object o236, Object o237, Object o238, Object o239, 325*795d594fSAndroid Build Coastguard Worker Object o240, Object o241, Object o242, Object o243, Object o244, Object o245, Object o246, Object o247, 326*795d594fSAndroid Build Coastguard Worker Object o248, Object o249, Object o250, Object o251, Object o252, Object o253); 327*795d594fSAndroid Build Coastguard Worker 328*795d594fSAndroid Build Coastguard Worker @FastNative withoutImplementation_Fast()329*795d594fSAndroid Build Coastguard Worker native void withoutImplementation_Fast(); 330*795d594fSAndroid Build Coastguard Worker @FastNative withoutImplementationRefReturn_Fast()331*795d594fSAndroid Build Coastguard Worker native Object withoutImplementationRefReturn_Fast(); 332*795d594fSAndroid Build Coastguard Worker @FastNative staticWithoutImplementation_Fast()333*795d594fSAndroid Build Coastguard Worker native static void staticWithoutImplementation_Fast(); 334*795d594fSAndroid Build Coastguard Worker 335*795d594fSAndroid Build Coastguard Worker @FastNative stackArgsIntsFirst_Fast(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10, float f1, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9, float f10)336*795d594fSAndroid Build Coastguard Worker native static void stackArgsIntsFirst_Fast(int i1, int i2, int i3, int i4, int i5, int i6, int i7, 337*795d594fSAndroid Build Coastguard Worker int i8, int i9, int i10, float f1, float f2, float f3, float f4, float f5, float f6, 338*795d594fSAndroid Build Coastguard Worker float f7, float f8, float f9, float f10); 339*795d594fSAndroid Build Coastguard Worker 340*795d594fSAndroid Build Coastguard Worker @FastNative stackArgsFloatsFirst_Fast(float f1, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9, float f10, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10)341*795d594fSAndroid Build Coastguard Worker native static void stackArgsFloatsFirst_Fast(float f1, float f2, float f3, float f4, float f5, 342*795d594fSAndroid Build Coastguard Worker float f6, float f7, float f8, float f9, float f10, int i1, int i2, int i3, int i4, int i5, 343*795d594fSAndroid Build Coastguard Worker int i6, int i7, int i8, int i9, int i10); 344*795d594fSAndroid Build Coastguard Worker 345*795d594fSAndroid Build Coastguard Worker @FastNative stackArgsMixed_Fast(int i1, float f1, int i2, float f2, int i3, float f3, int i4, float f4, int i5, float f5, int i6, float f6, int i7, float f7, int i8, float f8, int i9, float f9, int i10, float f10)346*795d594fSAndroid Build Coastguard Worker native static void stackArgsMixed_Fast(int i1, float f1, int i2, float f2, int i3, float f3, int i4, 347*795d594fSAndroid Build Coastguard Worker float f4, int i5, float f5, int i6, float f6, int i7, float f7, int i8, float f8, int i9, 348*795d594fSAndroid Build Coastguard Worker float f9, int i10, float f10); 349*795d594fSAndroid Build Coastguard Worker 350*795d594fSAndroid Build Coastguard Worker @FastNative logD_Fast(double d)351*795d594fSAndroid Build Coastguard Worker static native double logD_Fast(double d); 352*795d594fSAndroid Build Coastguard Worker @FastNative logF_Fast(float f)353*795d594fSAndroid Build Coastguard Worker static native float logF_Fast(float f); 354*795d594fSAndroid Build Coastguard Worker @FastNative returnTrue_Fast()355*795d594fSAndroid Build Coastguard Worker static native boolean returnTrue_Fast(); 356*795d594fSAndroid Build Coastguard Worker @FastNative returnFalse_Fast()357*795d594fSAndroid Build Coastguard Worker static native boolean returnFalse_Fast(); 358*795d594fSAndroid Build Coastguard Worker @FastNative returnInt_Fast()359*795d594fSAndroid Build Coastguard Worker static native int returnInt_Fast(); 360*795d594fSAndroid Build Coastguard Worker @FastNative returnDouble_Fast()361*795d594fSAndroid Build Coastguard Worker static native double returnDouble_Fast(); 362*795d594fSAndroid Build Coastguard Worker @FastNative returnLong_Fast()363*795d594fSAndroid Build Coastguard Worker static native long returnLong_Fast(); 364*795d594fSAndroid Build Coastguard Worker 365*795d594fSAndroid Build Coastguard Worker @FastNative fooI_Z_Fast(int i)366*795d594fSAndroid Build Coastguard Worker native boolean fooI_Z_Fast(int i); 367*795d594fSAndroid Build Coastguard Worker @FastNative fooI_J_Fast(int i)368*795d594fSAndroid Build Coastguard Worker native long fooI_J_Fast(int i); 369*795d594fSAndroid Build Coastguard Worker @FastNative fooICFL_Fast(int i1, char c1, float f1, Object o1)370*795d594fSAndroid Build Coastguard Worker native int fooICFL_Fast(int i1, char c1, float f1, Object o1); 371*795d594fSAndroid Build Coastguard Worker @FastNative foo2IFL_Fast(int i1, int i2, float f1, Object o1)372*795d594fSAndroid Build Coastguard Worker native int foo2IFL_Fast(int i1, int i2, float f1, Object o1); 373*795d594fSAndroid Build Coastguard Worker @FastNative fooICIL_Fast(int i1, char c1, int i2, Object o1)374*795d594fSAndroid Build Coastguard Worker native int fooICIL_Fast(int i1, char c1, int i2, Object o1); 375*795d594fSAndroid Build Coastguard Worker @FastNative fooFDL_Fast(float f1, double d1, Object o1)376*795d594fSAndroid Build Coastguard Worker native int fooFDL_Fast(float f1, double d1, Object o1); 377*795d594fSAndroid Build Coastguard Worker @FastNative foo2FL_Fast(float f1, float f2, Object o1)378*795d594fSAndroid Build Coastguard Worker native int foo2FL_Fast(float f1, float f2, Object o1); 379*795d594fSAndroid Build Coastguard Worker @FastNative foo3FL_Fast(float f1, float f2, float f3, Object o1)380*795d594fSAndroid Build Coastguard Worker native int foo3FL_Fast(float f1, float f2, float f3, Object o1); 381*795d594fSAndroid Build Coastguard Worker @FastNative foo2FIL_Fast(float f1, float f2, int i1, Object o1)382*795d594fSAndroid Build Coastguard Worker native int foo2FIL_Fast(float f1, float f2, int i1, Object o1); 383*795d594fSAndroid Build Coastguard Worker @FastNative foo7F_Fast(float f1, float f2, float f3, float f4, float f5, float f6, float f7)384*795d594fSAndroid Build Coastguard Worker native int foo7F_Fast(float f1, float f2, float f3, float f4, float f5, float f6, float f7); 385*795d594fSAndroid Build Coastguard Worker @FastNative foo3F5D_Fast(float f1, float f2, float f3, double d1, double d2, double d3, double d4, double d5)386*795d594fSAndroid Build Coastguard Worker native int foo3F5D_Fast(float f1, float f2, float f3, double d1, double d2, double d3, 387*795d594fSAndroid Build Coastguard Worker double d4, double d5); 388*795d594fSAndroid Build Coastguard Worker @FastNative foo3F6D_Fast(float f1, float f2, float f3, double d1, double d2, double d3, double d4, double d5, double d6)389*795d594fSAndroid Build Coastguard Worker native int foo3F6D_Fast(float f1, float f2, float f3, double d1, double d2, double d3, 390*795d594fSAndroid Build Coastguard Worker double d4, double d5, double d6); 391*795d594fSAndroid Build Coastguard Worker @FastNative fooL5I_Fast(Object o1, int i1, int i2, int i3, int i4, int i5)392*795d594fSAndroid Build Coastguard Worker native int fooL5I_Fast(Object o1, int i1, int i2, int i3, int i4, int i5); 393*795d594fSAndroid Build Coastguard Worker @FastNative fooL3IJC_Fast(Object o1, int i1, int i2, int i3, long l1, char c1)394*795d594fSAndroid Build Coastguard Worker native int fooL3IJC_Fast(Object o1, int i1, int i2, int i3, long l1, char c1); 395*795d594fSAndroid Build Coastguard Worker @FastNative fooL3IJCS_Fast(Object o1, int i1, int i2, int i3, long l1, char c1, short s1)396*795d594fSAndroid Build Coastguard Worker native int fooL3IJCS_Fast(Object o1, int i1, int i2, int i3, long l1, char c1, short s1); 397*795d594fSAndroid Build Coastguard Worker 398*795d594fSAndroid Build Coastguard Worker 399*795d594fSAndroid Build Coastguard Worker @CriticalNative sbar_Critical(int count)400*795d594fSAndroid Build Coastguard Worker static native int sbar_Critical(int count); 401*795d594fSAndroid Build Coastguard Worker @CriticalNative fooSII_Critical(int x, int y)402*795d594fSAndroid Build Coastguard Worker static native int fooSII_Critical(int x, int y); 403*795d594fSAndroid Build Coastguard Worker @CriticalNative fooSDD_Critical(double x, double y)404*795d594fSAndroid Build Coastguard Worker static native double fooSDD_Critical(double x, double y); 405*795d594fSAndroid Build Coastguard Worker 406*795d594fSAndroid Build Coastguard Worker @CriticalNative staticWithoutImplementation_Critical()407*795d594fSAndroid Build Coastguard Worker native static void staticWithoutImplementation_Critical(); 408*795d594fSAndroid Build Coastguard Worker 409*795d594fSAndroid Build Coastguard Worker @CriticalNative stackArgsIntsFirst_Critical(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10, float f1, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9, float f10)410*795d594fSAndroid Build Coastguard Worker native static void stackArgsIntsFirst_Critical(int i1, int i2, int i3, int i4, int i5, int i6, int i7, 411*795d594fSAndroid Build Coastguard Worker int i8, int i9, int i10, float f1, float f2, float f3, float f4, float f5, float f6, 412*795d594fSAndroid Build Coastguard Worker float f7, float f8, float f9, float f10); 413*795d594fSAndroid Build Coastguard Worker 414*795d594fSAndroid Build Coastguard Worker @CriticalNative stackArgsFloatsFirst_Critical(float f1, float f2, float f3, float f4, float f5, float f6, float f7, float f8, float f9, float f10, int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, int i9, int i10)415*795d594fSAndroid Build Coastguard Worker native static void stackArgsFloatsFirst_Critical(float f1, float f2, float f3, float f4, float f5, 416*795d594fSAndroid Build Coastguard Worker float f6, float f7, float f8, float f9, float f10, int i1, int i2, int i3, int i4, int i5, 417*795d594fSAndroid Build Coastguard Worker int i6, int i7, int i8, int i9, int i10); 418*795d594fSAndroid Build Coastguard Worker 419*795d594fSAndroid Build Coastguard Worker @CriticalNative stackArgsMixed_Critical(int i1, float f1, int i2, float f2, int i3, float f3, int i4, float f4, int i5, float f5, int i6, float f6, int i7, float f7, int i8, float f8, int i9, float f9, int i10, float f10)420*795d594fSAndroid Build Coastguard Worker native static void stackArgsMixed_Critical(int i1, float f1, int i2, float f2, int i3, float f3, int i4, 421*795d594fSAndroid Build Coastguard Worker float f4, int i5, float f5, int i6, float f6, int i7, float f7, int i8, float f8, int i9, 422*795d594fSAndroid Build Coastguard Worker float f9, int i10, float f10); 423*795d594fSAndroid Build Coastguard Worker 424*795d594fSAndroid Build Coastguard Worker @CriticalNative logD_Critical(double d)425*795d594fSAndroid Build Coastguard Worker static native double logD_Critical(double d); 426*795d594fSAndroid Build Coastguard Worker @CriticalNative logF_Critical(float f)427*795d594fSAndroid Build Coastguard Worker static native float logF_Critical(float f); 428*795d594fSAndroid Build Coastguard Worker @CriticalNative returnTrue_Critical()429*795d594fSAndroid Build Coastguard Worker static native boolean returnTrue_Critical(); 430*795d594fSAndroid Build Coastguard Worker @CriticalNative returnFalse_Critical()431*795d594fSAndroid Build Coastguard Worker static native boolean returnFalse_Critical(); 432*795d594fSAndroid Build Coastguard Worker @CriticalNative returnInt_Critical()433*795d594fSAndroid Build Coastguard Worker static native int returnInt_Critical(); 434*795d594fSAndroid Build Coastguard Worker @CriticalNative returnDouble_Critical()435*795d594fSAndroid Build Coastguard Worker static native double returnDouble_Critical(); 436*795d594fSAndroid Build Coastguard Worker @CriticalNative returnLong_Critical()437*795d594fSAndroid Build Coastguard Worker static native long returnLong_Critical(); 438*795d594fSAndroid Build Coastguard Worker 439*795d594fSAndroid Build Coastguard Worker @CriticalNative foo7F_Critical(float f1, float f2, float f3, float f4, float f5, float f6, float f7)440*795d594fSAndroid Build Coastguard Worker static native int foo7F_Critical(float f1, float f2, float f3, float f4, float f5, float f6, 441*795d594fSAndroid Build Coastguard Worker float f7); 442*795d594fSAndroid Build Coastguard Worker @CriticalNative foo3F5D_Critical(float f1, float f2, float f3, double d1, double d2, double d3, double d4, double d5)443*795d594fSAndroid Build Coastguard Worker static native int foo3F5D_Critical(float f1, float f2, float f3, double d1, double d2, 444*795d594fSAndroid Build Coastguard Worker double d3, double d4, double d5); 445*795d594fSAndroid Build Coastguard Worker @CriticalNative foo3F6D_Critical(float f1, float f2, float f3, double d1, double d2, double d3, double d4, double d5, double d6)446*795d594fSAndroid Build Coastguard Worker static native int foo3F6D_Critical(float f1, float f2, float f3, double d1, double d2, 447*795d594fSAndroid Build Coastguard Worker double d3, double d4, double d5, double d6); 448*795d594fSAndroid Build Coastguard Worker 449*795d594fSAndroid Build Coastguard Worker 450*795d594fSAndroid Build Coastguard Worker // Check for @FastNative/@CriticalNative annotation presence [or lack of presence]. normalNative()451*795d594fSAndroid Build Coastguard Worker public static native void normalNative(); 452*795d594fSAndroid Build Coastguard Worker @FastNative fastNative()453*795d594fSAndroid Build Coastguard Worker public static native void fastNative(); 454*795d594fSAndroid Build Coastguard Worker @CriticalNative criticalNative()455*795d594fSAndroid Build Coastguard Worker public static native void criticalNative(); 456*795d594fSAndroid Build Coastguard Worker } 457