Searched defs:clazz (Results 1 - 25 of 160) sorted by relevance

1234567

/frameworks/base/services/jni/
H A Dcom_android_server_SystemServer.cpp26 static void android_server_SystemServer_init1(JNIEnv* env, jobject clazz) argument
H A Dcom_android_server_VibratorService.cpp32 static jboolean vibratorExists(JNIEnv *env, jobject clazz) argument
37 static void vibratorOn(JNIEnv *env, jobject clazz, jlong timeout_ms) argument
43 static void vibratorOff(JNIEnv *env, jobject clazz) argument
H A Dcom_android_server_SerialService.cpp65 jclass clazz = env->FindClass("com/android/server/SerialService"); local
66 if (clazz == NULL) {
71 clazz = env->FindClass("android/os/ParcelFileDescriptor");
72 LOG_FATAL_IF(clazz == NULL, "Unable to find class android.os.ParcelFileDescriptor");
73 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz);
74 gParcelFileDescriptorOffsets.mConstructor = env->GetMethodID(clazz, "<init>", "(Ljava/io/FileDescriptor;)V");
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DInstrumentationTestSuiteBuilder.java26 public InstrumentationTestSuiteBuilder(Class clazz) { argument
27 this(clazz.getName(), clazz.getClassLoader());
H A DSmokeTestSuiteBuilder.java26 public SmokeTestSuiteBuilder(Class clazz) { argument
27 this(clazz.getName(), clazz.getClassLoader());
H A DUnitTestSuiteBuilder.java26 public UnitTestSuiteBuilder(Class clazz) { argument
27 this(clazz.getName(), clazz.getClassLoader());
/frameworks/base/core/jni/android/graphics/
H A DRasterizer.cpp34 static void finalizer(JNIEnv* env, jobject clazz, SkRasterizer* obj) { argument
H A DDrawFilter.cpp36 static void finalizer(JNIEnv* env, jobject clazz, SkDrawFilter* obj) { argument
40 static SkDrawFilter* CreatePaintFlagsDF(JNIEnv* env, jobject clazz, argument
/frameworks/base/tools/preload/
H A DPolicy.java84 public static boolean isPreloadable(LoadedClass clazz) { argument
85 return clazz.systemClass && !EXCLUDED_CLASSES.contains(clazz.name);
H A DWritePreloadedClassFile.java151 private static boolean shouldPreload(LoadedClass clazz) { argument
152 return Policy.isPreloadable(clazz)
153 && clazz.medianTimeMicros() > MIN_LOAD_TIME_MICROS;
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DDynamicProxy.java33 * For the given {@code clazz} object, which should be an interface, we return a new dynamic
38 * {@code clazz} interface, without this in practice being the case. As an example, if you
47 public static <T> T dynamicProxy(Class<T> clazz, final Object delegate) { argument
60 return (T) Proxy.newProxyInstance(clazz.getClassLoader(), new Class<?>[] { clazz }, invoke);
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestCaseFilter.java38 public boolean accept(Class<?> clazz) { argument
39 return UiAutomatorTestCase.class.isAssignableFrom(clazz);
/frameworks/base/cmds/system_server/library/
H A Dsystem_init.cpp89 jclass clazz = env->FindClass("com/android/server/SystemServer"); local
90 if (clazz == NULL) {
93 jmethodID methodId = env->GetStaticMethodID(clazz, "init2", "()V");
97 env->CallStaticVoidMethod(clazz, methodId);
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteDebug.cpp39 static void nativeGetPagerStats(JNIEnv *env, jobject clazz, jobject statsObj) argument
69 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \
70 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
75 jclass clazz; local
76 FIND_CLASS(clazz, "android/database/sqlite/SQLiteDebug$PagerStats");
78 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.memoryUsed, clazz,
80 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.largestMemAlloc, clazz,
82 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.pageCacheOverflow, clazz,
H A Dandroid_database_SQLiteGlobal.cpp70 static jint nativeReleaseMemory(JNIEnv* env, jclass clazz) { argument
H A Dandroid_graphics_PixelFormat.cpp43 JNIEnv* env, jobject clazz, jint format, jobject pixelFormatObject)
82 static void nativeClassInit(JNIEnv* env, jclass clazz);
92 void nativeClassInit(JNIEnv* env, jclass clazz) argument
94 offsets.bytesPerPixel = env->GetFieldID(clazz, "bytesPerPixel", "I");
95 offsets.bitsPerPixel = env->GetFieldID(clazz, "bitsPerPixel", "I");
42 android_graphics_getPixelFormatInfo( JNIEnv* env, jobject clazz, jint format, jobject pixelFormatObject) argument
H A Dandroid_hardware_UsbDevice.cpp30 android_hardware_UsbDevice_get_device_id(JNIEnv *env, jobject clazz, jstring name) argument
39 android_hardware_UsbDevice_get_device_name(JNIEnv *env, jobject clazz, jint id) argument
H A Dandroid_os_SystemClock.cpp39 jobject clazz, jlong millis)
48 jobject clazz)
57 jobject clazz)
66 jobject clazz)
86 jobject clazz)
106 jobject clazz)
118 jobject clazz)
38 android_os_SystemClock_setCurrentTimeMillis(JNIEnv* env, jobject clazz, jlong millis) argument
47 android_os_SystemClock_uptimeMillis(JNIEnv* env, jobject clazz) argument
56 android_os_SystemClock_elapsedRealtime(JNIEnv* env, jobject clazz) argument
65 android_os_SystemClock_currentThreadTimeMillis(JNIEnv* env, jobject clazz) argument
85 android_os_SystemClock_currentThreadTimeMicro(JNIEnv* env, jobject clazz) argument
105 android_os_SystemClock_currentTimeMicro(JNIEnv* env, jobject clazz) argument
117 android_os_SystemClock_elapsedRealtimeNano(JNIEnv* env, jobject clazz) argument
H A Dandroid_os_Trace.cpp27 static jlong android_os_Trace_nativeGetEnabledTags(JNIEnv* env, jclass clazz) { argument
31 static void android_os_Trace_nativeTraceCounter(JNIEnv* env, jclass clazz, argument
37 static void android_os_Trace_nativeTraceBegin(JNIEnv* env, jclass clazz, argument
43 static void android_os_Trace_nativeTraceEnd(JNIEnv* env, jclass clazz, argument
H A Dandroid_util_FloatMath.cpp9 static float FloorF(JNIEnv* env, jobject clazz, float x) { argument
13 static float CeilF(JNIEnv* env, jobject clazz, float x) { argument
17 static float SinF(JNIEnv* env, jobject clazz, float x) { argument
21 static float CosF(JNIEnv* env, jobject clazz, float x) { argument
25 static float SqrtF(JNIEnv* env, jobject clazz, float x) { argument
29 static float ExpF(JNIEnv* env, jobject clazz, float x) { argument
33 static float PowF(JNIEnv* env, jobject clazz, float x, float y) { argument
37 static float HypotF(JNIEnv* env, jobject clazz, float x, float y) { argument
H A Dandroid_view_InputDevice.cpp31 jclass clazz; member in struct:android::__anon986
56 ScopedLocalRef<jobject> inputDeviceObj(env, env->NewObject(gInputDeviceClassInfo.clazz,
80 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \
81 var = env->GetMethodID(clazz, methodName, methodDescriptor); \
86 FIND_CLASS(gInputDeviceClassInfo.clazz, "android/view/InputDevice");
87 gInputDeviceClassInfo.clazz = jclass(env->NewGlobalRef(gInputDeviceClassInfo.clazz));
89 GET_METHOD_ID(gInputDeviceClassInfo.ctor, gInputDeviceClassInfo.clazz,
92 GET_METHOD_ID(gInputDeviceClassInfo.addMotionRange, gInputDeviceClassInfo.clazz,
H A Dandroid_view_SurfaceSession.cpp42 static jint nativeCreate(JNIEnv* env, jclass clazz) { argument
44 client->incStrong(clazz);
48 static void nativeDestroy(JNIEnv* env, jclass clazz, jint ptr) { argument
50 client->decStrong(clazz);
53 static void nativeKill(JNIEnv* env, jclass clazz, jint ptr) { argument
74 jclass clazz = env->FindClass("android/view/SurfaceSession");
75 gSurfaceSessionClassInfo.mNativeClient = env->GetFieldID(clazz, "mNativeClient", "I");
/frameworks/base/voip/jni/rtp/
H A DRtpStream.cpp105 jclass clazz; local
106 if ((clazz = env->FindClass("android/net/rtp/RtpStream")) == NULL ||
107 (gSocket = env->GetFieldID(clazz, "mSocket", "I")) == NULL ||
108 env->RegisterNatives(clazz, gMethods, NELEM(gMethods)) < 0) {
/frameworks/compile/linkloader/lib/
H A DELFHeader.cpp20 char const *ELFHeaderHelperMixin::getClassStr(int clazz) { argument
21 switch (clazz) {
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit3/
H A DAndroidTestSuite.java38 AndroidTestSuite(Class<?> clazz, Instrumentation instrumentation) { argument
39 super(clazz);

Completed in 142 milliseconds

1234567