/external/conscrypt/common/src/jni/unbundled/include/nativehelper/ |
ScopedUtfChars.h | 28 // ScopedUtfChars name(env, java_name); 32 class ScopedUtfChars { 34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { 43 ~ScopedUtfChars() { 67 ScopedUtfChars(const ScopedUtfChars&); 68 void operator=(const ScopedUtfChars&);
|
/art/test/ti-agent/ |
scoped_utf_chars.h | 30 class ScopedUtfChars { 32 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { 41 ScopedUtfChars(ScopedUtfChars&& rhs) : 48 ~ScopedUtfChars() { 54 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) { 57 this->~ScopedUtfChars(); 59 // Move the rhs ScopedUtfChars and zero it out. 87 DISALLOW_COPY_AND_ASSIGN(ScopedUtfChars); [all...] |
agent_startup.cc | 30 ScopedUtfChars name(env, className);
|
/frameworks/base/tools/aapt2/jni/ |
ScopedUtfChars.h | 28 class ScopedUtfChars { 30 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { 35 ScopedUtfChars(ScopedUtfChars&& rhs) : 42 ~ScopedUtfChars() { 48 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) { 51 this->~ScopedUtfChars(); 53 // Move the rhs ScopedUtfChars and zero it out. 81 DISALLOW_COPY_AND_ASSIGN(ScopedUtfChars); [all...] |
aapt2_jni.cpp | 25 #include "ScopedUtfChars.h" 38 * Converts a java List<String> into C++ vector<ScopedUtfChars>. 40 static std::vector<ScopedUtfChars> list_to_utfchars(JNIEnv *env, jobject obj) { 41 std::vector<ScopedUtfChars> converted; 59 converted.push_back(ScopedUtfChars(env, string_obj)); 66 * Extracts all StringPiece from the ScopedUtfChars instances. 71 static std::vector<StringPiece> extract_pieces(const std::vector<ScopedUtfChars> &strings) { 76 [&pieces](const ScopedUtfChars &p) { pieces.push_back(p.c_str()); }); 125 std::vector<ScopedUtfChars> compile_args_jni = 136 std::vector<ScopedUtfChars> link_args_jni [all...] |
/libnativehelper/header_only_include/nativehelper/ |
scoped_utf_chars.h | 30 // ScopedUtfChars name(env, java_name); 34 class ScopedUtfChars { 36 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { 45 ScopedUtfChars(ScopedUtfChars&& rhs) : 52 ~ScopedUtfChars() { 58 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) { 61 this->~ScopedUtfChars(); 63 // Move the rhs ScopedUtfChars and zero it out [all...] |
/cts/tests/signature/dex-checker/ |
dex-checker.cpp | 19 class ScopedUtfChars { 21 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { 29 ~ScopedUtfChars() { 48 ScopedUtfChars utf_name(env, name); 49 ScopedUtfChars utf_type(env, type); 61 ScopedUtfChars utf_name(env, name); 62 ScopedUtfChars utf_type(env, type); 74 ScopedUtfChars utf_name(env, name); 75 ScopedUtfChars utf_signature(env, signature); 87 ScopedUtfChars utf_name(env, name) [all...] |
/art/test/647-jni-get-field-id/ |
get_field_id.cc | 19 #include "nativehelper/ScopedUtfChars.h" 28 ScopedUtfChars name_chars(env, name); 32 ScopedUtfChars signature_chars(env, signature);
|
/libcore/include/ |
ScopedIcuLocale.h | 21 #include <nativehelper/ScopedUtfChars.h> 34 const ScopedUtfChars localeName(env, javaLocaleName);
|
/frameworks/base/core/jni/ |
android_os_GraphicsEnvironment.cpp | 20 #include <nativehelper/ScopedUtfChars.h> 27 ScopedUtfChars pathChars(env, path); 33 ScopedUtfChars layerPathsChars(env, layerPaths); 39 ScopedUtfChars layersChars(env, layers);
|
android_os_SELinux.cpp | 28 #include <nativehelper/ScopedUtfChars.h> 115 std::unique_ptr<ScopedUtfChars> context; 118 context.reset(new ScopedUtfChars(env, contextStr)); 146 ScopedUtfChars path(env, pathStr); 151 ScopedUtfChars context(env, contextStr); 179 ScopedUtfChars path(env, pathStr); 266 ScopedUtfChars subjectContext(env, subjectContextStr); 271 ScopedUtfChars objectContext(env, objectContextStr); 276 ScopedUtfChars objectClass(env, objectClassStr); 281 ScopedUtfChars permission(env, permissionStr) [all...] |
android_os_UEventObserver.cpp | 30 #include <nativehelper/ScopedUtfChars.h> 88 ScopedUtfChars match(env, matchStr); 95 ScopedUtfChars match(env, matchStr);
|
android_util_jar_StrictJarFile.cpp | 28 #include <nativehelper/ScopedUtfChars.h> 57 ScopedUtfChars nameChars(env, name); 95 ScopedUtfChars prefixChars(env, prefix); 140 ScopedUtfChars entryNameChars(env, entryName);
|
android_content_res_ApkAssets.cpp | 28 #include "nativehelper/ScopedUtfChars.h" 36 ScopedUtfChars path(env, java_path); 62 ScopedUtfChars friendly_name_utf8(env, friendly_name); 114 ScopedUtfChars path_utf8(env, file_name);
|
/art/test/929-search/ |
search.cc | 35 ScopedUtfChars utf(env, segment); 45 ScopedUtfChars utf(env, segment);
|
/cts/tests/tests/security/jni/ |
android_security_cts_SELinuxTest.cpp | 20 #include <nativehelper/ScopedUtfChars.h> 43 ScopedUtfChars path(env, pathStr);
|
android_security_cts_MMapExecutableTest.cpp | 25 #include <nativehelper/ScopedUtfChars.h> 41 ScopedUtfChars filename(env, jfilename);
|
/cts/tests/tests/selinux/common/jni/ |
android_security_SELinuxTargetSdkTest.cpp | 20 #include <nativehelper/ScopedUtfChars.h> 43 ScopedUtfChars path(env, pathStr);
|
/frameworks/base/services/core/jni/ |
com_android_server_GraphicsStatsService.cpp | 23 #include <nativehelper/ScopedUtfChars.h> 54 ScopedUtfChars pathChars(env, jpath); 58 ScopedUtfChars packageChars(env, jpackage); 68 ScopedUtfChars pathChars(env, jpath); 85 ScopedUtfChars pathChars(env, jpath); 87 ScopedUtfChars packageChars(env, jpackage);
|
com_android_server_PersistentDataBlockService.cpp | 20 #include <nativehelper/ScopedUtfChars.h> 81 ScopedUtfChars path(env, jpath); 95 ScopedUtfChars path(env, jpath);
|
/art/test/922-properties/ |
properties.cc | 59 ScopedUtfChars string(env, key); 79 ScopedUtfChars key_string(env, key); 83 ScopedUtfChars value_string(env, value);
|
/libcore/luni/src/test/native/ |
libcore_libcore_util_NativeAllocationRegistryTest.cpp | 22 #include <nativehelper/ScopedUtfChars.h>
|
libcore_java_io_FileTest.cpp | 26 #include <nativehelper/ScopedUtfChars.h> 30 ScopedUtfChars baseDirUtf(env, baseDir);
|
/art/test/674-hiddenapi/ |
hiddenapi.cc | 38 ScopedUtfChars utf(env, jpath); 74 ScopedUtfChars utf_name(env, name); 87 ScopedUtfChars utf_name(env, name); 117 ScopedUtfChars utf_name(env, name); 147 ScopedUtfChars utf_name(env, name); 160 ScopedUtfChars utf_name(env, name); 191 ScopedUtfChars utf_name(env, name); 225 ScopedUtfChars utf_args(env, args); 237 ScopedUtfChars utf_args(env, args); 262 ScopedUtfChars utf_args(env, args) [all...] |
/art/test/570-checker-osr/ |
osr.cc | 21 #include "nativehelper/ScopedUtfChars.h" 68 ScopedUtfChars chars(env, method_name); 83 ScopedUtfChars chars(env, method_name); 118 ScopedUtfChars chars(env, method_name); 158 ScopedUtfChars chars(env, method_name);
|