Home
last modified time | relevance | path

Searched defs:clazz (Results 1 – 25 of 207) sorted by relevance

123456789

/packages/modules/Connectivity/framework/jni/
Dandroid_net_NetworkUtils.cpp47 jclass clazz = env->FindClass(class_name); in FindClassOrDie() local
59 static void android_net_utils_attachDropAllBPFFilter(JNIEnv *env, jclass clazz, jobject javaFd) in android_net_utils_attachDropAllBPFFilter()
76 static void android_net_utils_detachBPFFilter(JNIEnv *env, jclass clazz, jobject javaFd) in android_net_utils_detachBPFFilter()
87 static jboolean android_net_utils_bindProcessToNetworkHandle(JNIEnv *env, jclass clazz, in android_net_utils_bindProcessToNetworkHandle()
93 static jlong android_net_utils_getBoundNetworkHandleForProcess(JNIEnv *env, jclass clazz) in android_net_utils_getBoundNetworkHandleForProcess()
104 static jboolean android_net_utils_bindProcessToNetworkForHostResolution(JNIEnv *env, jclass clazz, in android_net_utils_bindProcessToNetworkForHostResolution()
110 static jint android_net_utils_bindSocketToNetworkHandle(JNIEnv *env, jclass clazz, jobject javaFd, in android_net_utils_bindSocketToNetworkHandle()
124 static jobject android_net_utils_resNetworkQuery(JNIEnv *env, jclass clazz, jlong netHandle, in android_net_utils_resNetworkQuery()
145 static jobject android_net_utils_resNetworkSend(JNIEnv *env, jclass clazz, jlong netHandle, in android_net_utils_resNetworkSend()
160 static jobject android_net_utils_resNetworkResult(JNIEnv *env, jclass clazz, jobject javaFd) { in android_net_utils_resNetworkResult()
[all …]
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DConstantDebugUtils.java57 private ConstantDebugUtils(Class<?> clazz) { in ConstantDebugUtils()
66 public static String toName(Class<?> clazz, int value) { in toName()
75 public static Integer toValue(Class<?> clazz, String name) { in toValue()
82 public static Collection<Integer> getValues(Class<?> clazz) { in getValues()
87 private static ConstantDebugUtils cacheClazzToConstantDebugUtilsMapping(Class<?> clazz) { in cacheClazzToConstantDebugUtilsMapping()
100 @Nullable Map<Class<?>, ConstantDebugUtils> clazzToConstantDebugUtils, Class<?> clazz) { in getClazzToConstantDebugUtilsMapping()
DDebugUtils.java37 public static String valueToString(Class<?> clazz, String prefix, int value) { in valueToString()
59 public static String flagsToString(Class<?> clazz, String prefix, int flagsToConvert) { in flagsToString()
96 public static String constantToString(Class<?> clazz, int value) { in constantToString()
105 public static String constantToString(Class<?> clazz, String prefix, int value) { in constantToString()
DParcelableException.java53 public <T extends Throwable> void maybeRethrow(Class<T> clazz) throws T { in maybeRethrow()
64 final Class<?> clazz = Class.forName(name, true, Parcelable.class.getClassLoader()); in readFromParcel() local
/packages/modules/Connectivity/service-t/jni/
Dcom_android_server_net_NetworkStatsService.cpp42 static void nativeRegisterIface(JNIEnv* env, jclass clazz, jstring iface) { in nativeRegisterIface()
76 static jobject nativeGetTotalStat(JNIEnv* env, jclass clazz) { in nativeGetTotalStat()
86 static jobject nativeGetIfaceStat(JNIEnv* env, jclass clazz, jstring iface) { in nativeGetIfaceStat()
101 static jobject nativeGetUidStat(JNIEnv* env, jclass clazz, jint uid) { in nativeGetUidStat()
111 static void nativeInitNetworkTracing(JNIEnv* env, jclass clazz) { in nativeInitNetworkTracing()
Dcom_android_server_net_NetworkStatsFactory.cpp96 static int statsLinesToNetworkStats(JNIEnv* env, jclass clazz, jobject stats, in statsLinesToNetworkStats()
173 static int readNetworkStatsDetail(JNIEnv* env, jclass clazz, jobject stats) { in readNetworkStatsDetail()
182 static int readNetworkStatsDev(JNIEnv* env, jclass clazz, jobject stats) { in readNetworkStatsDev()
205 jclass clazz = env->FindClass("android/net/NetworkStats"); in register_android_server_net_NetworkStatsFactory() local
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp45 static jlong latinime_BinaryDictionary_open(JNIEnv *env, jclass clazz, jstring sourceDir, in latinime_BinaryDictionary_open()
71 static jlong latinime_BinaryDictionary_createOnMemory(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_createOnMemory()
99 static bool latinime_BinaryDictionary_flush(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flush()
110 static bool latinime_BinaryDictionary_needsToRunGC(JNIEnv *env, jclass clazz, in latinime_BinaryDictionary_needsToRunGC()
117 static bool latinime_BinaryDictionary_flushWithGC(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flushWithGC()
128 static void latinime_BinaryDictionary_close(JNIEnv *env, jclass clazz, jlong dict) { in latinime_BinaryDictionary_close()
134 static void latinime_BinaryDictionary_getHeaderInfo(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getHeaderInfo()
170 static int latinime_BinaryDictionary_getFormatVersion(JNIEnv *env, jclass clazz, jlong dict) { in latinime_BinaryDictionary_getFormatVersion()
178 static void latinime_BinaryDictionary_getSuggestions(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getSuggestions()
263 static jint latinime_BinaryDictionary_getProbability(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getProbability()
[all …]
Dcom_android_inputmethod_latin_DicTraverseSession.cpp29 static jlong latinime_setDicTraverseSession(JNIEnv *env, jclass clazz, jstring localeJStr, in latinime_setDicTraverseSession()
35 static void latinime_initDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession, in latinime_initDicTraverseSession()
53 static void latinime_releaseDicTraverseSession(JNIEnv *env, jclass clazz, jlong traverseSession) { in latinime_releaseDicTraverseSession()
Dcom_android_inputmethod_latin_BinaryDictionaryUtils.cpp32 static jboolean latinime_BinaryDictionaryUtils_createEmptyDictFile(JNIEnv *env, jclass clazz, in latinime_BinaryDictionaryUtils_createEmptyDictFile()
59 static jfloat latinime_BinaryDictionaryUtils_calcNormalizedScore(JNIEnv *env, jclass clazz, in latinime_BinaryDictionaryUtils_calcNormalizedScore()
71 static int latinime_BinaryDictionaryUtils_setCurrentTimeForTest(JNIEnv *env, jclass clazz, in latinime_BinaryDictionaryUtils_setCurrentTimeForTest()
/packages/modules/Connectivity/staticlibs/native/bpfmapjni/
Dcom_android_net_module_util_TcUtils.cpp33 jclass clazz, in com_android_net_module_util_TcUtils_isEthernet()
49 JNIEnv *env, jclass clazz, jint ifIndex, jboolean ingress, jshort prio, in com_android_net_module_util_TcUtils_tcFilterAddDevBpf()
65 JNIEnv *env, jclass clazz, jint ifIndex, jshort prio, jshort proto, in com_android_net_module_util_TcUtils_tcFilterAddDevIngressPolice()
80 JNIEnv *env, jclass clazz, jint ifIndex, jboolean ingress, jshort prio, in com_android_net_module_util_TcUtils_tcFilterDelDev()
92 jclass clazz, in com_android_net_module_util_TcUtils_tcQdiscAddDevClsact()
103 jclass clazz, in com_android_net_module_util_TcUtils_isBpfProgramUsable()
/packages/services/Car/libs/car-test-lib/src/android/car/test/
DApiHelper.java110 Class<?> clazz = Class.forName(className); in getMethod() local
128 private static Method getMethodWithParameters(Class<?> clazz, String methodName, in getMethodWithParameters()
179 private static Method getMethodWithoutParameters(Class<?> clazz, String methodName) { in getMethodWithoutParameters()
218 Class<?> clazz = null; in getField() local
/packages/modules/Connectivity/service/jni/
Dcom_android_server_connectivity_ClatCoordinator.cpp145 jclass clazz, in com_android_server_connectivity_ClatCoordinator_selectIpv4Address()
177 JNIEnv* env, jclass clazz, jstring ifaceStr, jstring v4Str, jstring prefix64Str, in com_android_server_connectivity_ClatCoordinator_generateIpv6Address()
218 jclass clazz, in com_android_server_connectivity_ClatCoordinator_createTunInterface()
245 static jint com_android_server_connectivity_ClatCoordinator_detectMtu(JNIEnv* env, jclass clazz, in com_android_server_connectivity_ClatCoordinator_detectMtu()
267 jclass clazz) { in com_android_server_connectivity_ClatCoordinator_openPacketSocket()
292 jclass clazz, in com_android_server_connectivity_ClatCoordinator_openRawSocket6()
311 JNIEnv* env, jclass clazz, jobject javaFd, jstring addr6, jint ifindex) { in com_android_server_connectivity_ClatCoordinator_addAnycastSetsockopt()
337 JNIEnv* env, jclass clazz, jobject javaFd, jstring addr6, jint ifindex) { in com_android_server_connectivity_ClatCoordinator_configurePacketSocket()
361 JNIEnv* env, jclass clazz, jobject tunJavaFd, jobject readSockJavaFd, in com_android_server_connectivity_ClatCoordinator_startClatd()
477 static void com_android_server_connectivity_ClatCoordinator_stopClatd(JNIEnv* env, jclass clazz, in com_android_server_connectivity_ClatCoordinator_stopClatd()
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/sitemap/
DSiteMapManager.java54 public static boolean isTopLevelSettings(String clazz) { in isTopLevelSettings()
66 public synchronized List<String> buildBreadCrumb(Context context, String clazz, in buildBreadCrumb()
98 public synchronized SiteMapPair getTopLevelPair(Context context, String clazz, in getTopLevelPair()
181 private SiteMapPair lookUpParent(String clazz, String title) { in lookUpParent()
/packages/modules/NetworkStack/jni/
Dnetwork_stack_utils_jni.cpp55 static void network_stack_utils_addArpEntry(JNIEnv *env, jclass clazz, jbyteArray ethAddr, in network_stack_utils_addArpEntry()
96 static void network_stack_utils_attachDhcpFilter(JNIEnv *env, jclass clazz, jobject javaFd) { in network_stack_utils_attachDhcpFilter()
128 static void network_stack_utils_attachRaFilter(JNIEnv *env, jclass clazz, jobject javaFd) { in network_stack_utils_attachRaFilter()
156 JNIEnv *env, jclass clazz, jobject javaFd) { in network_stack_utils_attachControlPacketFilter()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DMockSettings.java120 private <T> T getAnswer(InvocationOnMock invocation, Class<T> clazz, int keyIndex, in getAnswer()
131 private <T> T get(String key, T defaultValue, Class<T> clazz) { in get()
149 private static <T> T safeCast(Object value, Class<T> clazz) { in safeCast()
155 value.getClass(), clazz); in safeCast() local
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/junit/
DSafeAndroidJUnitRunner.java68 public SafeTestClass(Class<?> clazz) { in SafeTestClass()
80 Class<?> clazz = getJavaClass(); in scanAnnotatedMembers() local
100 private static Method[] getSafeDeclaredMethods(Class<?> clazz) { in getSafeDeclaredMethods()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DSettingsQCRegistryTest.java39 Class<? extends SettingsQCItem> clazz = SettingsQCRegistry.getQCClassByUri(QCTestUtils.URI); in getQCClassByUri_validUri_returnsClass() local
45 Class<? extends SettingsQCItem> clazz = SettingsQCRegistry.getQCClassByUri(Uri.EMPTY); in getQCClassByUri_invalidUri_returnsNull() local
/packages/modules/Connectivity/Tethering/jni/
Dcom_android_networkstack_tethering_util_TetheringUtils.cpp64 static void com_android_networkstack_tethering_util_setupNaSocket(JNIEnv *env, jclass clazz, in com_android_networkstack_tethering_util_setupNaSocket()
69 static void com_android_networkstack_tethering_util_setupNsSocket(JNIEnv *env, jclass clazz, in com_android_networkstack_tethering_util_setupNsSocket()
74 static void com_android_networkstack_tethering_util_setupRaSocket(JNIEnv *env, jclass clazz, in com_android_networkstack_tethering_util_setupRaSocket()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DXmlControllerAttributeTest.java78 Class<?> clazz = getClassFromClassName(controllerClassName); in testAllIndexableXML_onlyValidBasePreferenceControllersAdded() local
179 private Constructor<?> getConstructorFromClass(Class<?> clazz) { in getConstructorFromClass()
201 private boolean isBasePreferenceController(Class<?> clazz) { in isBasePreferenceController()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DHttpClientFactory.java58 Class<?> clazz = Class.forName("android.net.http.AndroidHttpClient"); in newHttpClient() local
94 Class<?> clazz = client.getClass(); in close() local
/packages/modules/Connectivity/thread/service/jni/
Dcom_android_server_thread_TunInterfaceController.cpp40 JNIEnv* env, jobject clazz, jstring interfaceName, jint mtu) { in com_android_server_thread_TunInterfaceController_createTunInterface()
83 JNIEnv* env, jobject clazz, jstring interfaceName, jboolean isUp) { in com_android_server_thread_TunInterfaceController_setInterfaceUp()
/packages/apps/Camera2/src/com/android/camera/util/
DListenerCombiner.java106 public ListenerCombiner(Class<Input> clazz, StateChangeListener listener) { in ListenerCombiner()
111 public ListenerCombiner(Class<Input> clazz) { in ListenerCombiner()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/
DSettingsShadowActivityManager.kt23 val clazz = IActivityManager::class.java in <lambda>() constant
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DFragmentListItem.java36 FragmentClassOrInstance(Class<T> clazz) { in FragmentClassOrInstance()
55 public FragmentListItem(String text, boolean isFavourite, Class<T> clazz, in FragmentListItem()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehiclePropertyIdsTest.java342 private static List<String> getListOfConstantNames(Class clazz) { in getListOfConstantNames()
353 private static int getValue(Class clazz, String name) { in getValue()

123456789