/system/incremental_delivery/libdataloader/ |
D | JNIHelpers.h | 23 jclass clazz = env->FindClass(class_name); in FindClassOrDie() local 24 LOG_ALWAYS_FATAL_IF(clazz == NULL, "Unable to find class %s", class_name); in FindClassOrDie() 25 return clazz; in FindClassOrDie() 28 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIDOrDie() argument 30 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); in GetMethodIDOrDie() 35 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie() argument 37 jmethodID res = env->GetStaticMethodID(clazz, method_name, method_signature); in GetStaticMethodIDOrDie() 42 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetFieldIDOrDie() argument 44 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); in GetFieldIDOrDie() 49 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie() argument [all …]
|
/system/tools/aidl/ |
D | generate_ndk.cpp | 294 const std::string clazz = ClassName(interface, ClassNames::INTERFACE); in GenerateConstantDefinitions() local 301 out << "const char* " << clazz << "::" << constant->GetName() << " = " in GenerateConstantDefinitions() 328 const std::string clazz = ClassName(defined_type, ClassNames::CLIENT); in GenerateClientMethodDefinition() local 330 out << NdkMethodDecl(types, method, clazz) << " {\n"; in GenerateClientMethodDefinition() 523 const std::string clazz = ClassName(defined_type, ClassNames::INTERFACE); in GenerateClassSource() local 566 out << "static AIBinder_Class* " << kClazz << " = ::ndk::ICInterface::defineClass(" << clazz in GenerateClassSource() 571 const std::string clazz = ClassName(defined_type, ClassNames::CLIENT); in GenerateClientSource() local 573 out << clazz << "::" << clazz << "(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {}\n"; in GenerateClientSource() 574 out << clazz << "::~" << clazz << "() {}\n"; in GenerateClientSource() 576 out << "std::function<void(const Json::Value&)> " << clazz << "::logFunc;\n"; in GenerateClientSource() [all …]
|
D | aidl_to_ndk.cpp | 118 const std::string clazz = NdkFullClassName(type, cpp::ClassNames::INTERFACE); in InterfaceTypeInfo() local 123 .cpp_name = "std::shared_ptr<" + clazz + ">", in InterfaceTypeInfo() 125 .read_func = StandardRead(clazz + "::readFromParcel"), in InterfaceTypeInfo() 126 .write_func = StandardWrite(clazz + "::writeToParcel"), in InterfaceTypeInfo() 130 .cpp_name = "std::shared_ptr<" + clazz + ">", in InterfaceTypeInfo() 132 .read_func = StandardRead(clazz + "::readFromParcel"), in InterfaceTypeInfo() 133 .write_func = StandardWrite(clazz + "::writeToParcel"), in InterfaceTypeInfo() 140 const std::string clazz = NdkFullClassName(type, cpp::ClassNames::RAW); in ParcelableTypeInfo() local 145 .cpp_name = clazz, in ParcelableTypeInfo() 151 .cpp_name = "std::vector<" + clazz + ">", in ParcelableTypeInfo() [all …]
|
D | aidl_to_ndk.h | 85 const std::string& clazz = "");
|
D | ast_java.h | 106 FieldVariable(const std::string& clazz, const std::string& name); 180 MethodCall(const std::string& clazz, const std::string& name); 339 std::unique_ptr<Class> clazz);
|
D | ast_java.cpp | 438 std::unique_ptr<Class> clazz) in Document() argument 441 clazz_(std::move(clazz)) { in Document()
|
/system/core/libcutils/ |
D | iosched_policy.cpp | 35 int android_set_ioprio(int pid __android_unused, IoSchedClass clazz __android_unused, int ioprio __… in android_set_ioprio() 37 if (syscall(SYS_ioprio_set, IOPRIO_WHO_PROCESS, pid, ioprio | (clazz << IOPRIO_CLASS_SHIFT))) { in android_set_ioprio() 44 int android_get_ioprio(int pid __android_unused, IoSchedClass *clazz, int *ioprio) { in android_get_ioprio() argument 52 *clazz = static_cast<IoSchedClass>(rc >> IOPRIO_CLASS_SHIFT); in android_get_ioprio() 55 *clazz = IoSchedClass_NONE; in android_get_ioprio()
|
/system/core/libcutils/include/cutils/ |
D | iosched_policy.h | 31 extern int android_set_ioprio(int pid, IoSchedClass clazz, int ioprio); 32 extern int android_get_ioprio(int pid, IoSchedClass *clazz, int *ioprio);
|
/system/core/libcutils/include_vndk/cutils/ |
D | iosched_policy.h | 31 extern int android_set_ioprio(int pid, IoSchedClass clazz, int ioprio); 32 extern int android_get_ioprio(int pid, IoSchedClass *clazz, int *ioprio);
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 123 FHClass clazz; member 174 static FH _fh_alloc(FHClass clazz) { in _fh_alloc() argument 180 if (_win32_fhs[i].clazz == nullptr) { in _fh_alloc() 183 f->clazz = clazz; in _fh_alloc() 187 clazz->_fh_init(f); in _fh_alloc() 208 f->clazz->_fh_close( f ); in _fh_close() 212 f->clazz = nullptr; in _fh_close() 456 return f->clazz->_fh_read(f, buf, len); in adb_read() 487 return f->clazz->_fh_write(f, buf, len); in adb_write() 498 return f->clazz->_fh_writev(f, iov, iovcnt); in adb_writev() [all …]
|
/system/gsid/tests/ |
D | LockScreenAutomation.java | 87 findAndClick(By.clazz("android.widget.Button")); in setPin()
|