/frameworks/base/tools/aapt2/jni/ |
D | ScopedUtfChars.h | 28 class ScopedUtfChars { 30 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars() function 35 ScopedUtfChars(ScopedUtfChars&& rhs) : in ScopedUtfChars() function 42 ~ScopedUtfChars() { in ~ScopedUtfChars() 48 ScopedUtfChars& operator=(ScopedUtfChars&& rhs) { 51 this->~ScopedUtfChars(); 81 DISALLOW_COPY_AND_ASSIGN(ScopedUtfChars);
|
D | aapt2_jni.cpp | 37 static std::vector<ScopedUtfChars> list_to_utfchars(JNIEnv *env, jobject obj) { in list_to_utfchars() 38 std::vector<ScopedUtfChars> converted; in list_to_utfchars() 56 converted.push_back(ScopedUtfChars(env, string_obj)); in list_to_utfchars() 68 static std::vector<StringPiece> extract_pieces(const std::vector<ScopedUtfChars> &strings) { in extract_pieces() 73 [&pieces](const ScopedUtfChars &p) { pieces.push_back(p.c_str()); }); in extract_pieces() 122 std::vector<ScopedUtfChars> compile_args_jni = in Java_com_android_tools_aapt2_Aapt2Jni_nativeCompile() 133 std::vector<ScopedUtfChars> link_args_jni = in Java_com_android_tools_aapt2_Aapt2Jni_nativeLink()
|
/frameworks/base/core/jni/ |
D | android_os_GraphicsEnvironment.cpp | 32 ScopedUtfChars pathChars(env, path); in setDriverPathAndSphalLibraries_native() 33 ScopedUtfChars sphalLibrariesChars(env, sphalLibraries); in setDriverPathAndSphalLibraries_native() 41 ScopedUtfChars driverPackageNameChars(env, driverPackageName); in setGpuStats_native() 42 ScopedUtfChars driverVersionNameChars(env, driverVersionName); in setGpuStats_native() 43 ScopedUtfChars appPackageNameChars(env, appPackageName); in setGpuStats_native() 52 ScopedUtfChars pathChars(env, path); in setAngleInfo_native() 53 ScopedUtfChars appNameChars(env, appName); in setAngleInfo_native() 54 ScopedUtfChars devOptInChars(env, devOptIn); in setAngleInfo_native() 63 ScopedUtfChars appNameChars(env, appName); in shouldUseAngle_native() 70 ScopedUtfChars layerPathsChars(env, layerPaths); in setLayerPaths_native() [all …]
|
D | android_os_SELinux.cpp | 96 ScopedUtfChars path(env, pathStr); in fileSelabelLookup() 194 std::unique_ptr<ScopedUtfChars> context; in setFSCreateCon() 197 context.reset(new ScopedUtfChars(env, contextStr)); in setFSCreateCon() 225 ScopedUtfChars path(env, pathStr); in setFileCon() 230 ScopedUtfChars context(env, contextStr); in setFileCon() 258 ScopedUtfChars path(env, pathStr); in getFileCon() 345 ScopedUtfChars subjectContext(env, subjectContextStr); in checkSELinuxAccess() 350 ScopedUtfChars objectContext(env, objectContextStr); in checkSELinuxAccess() 355 ScopedUtfChars objectClass(env, objectClassStr); in checkSELinuxAccess() 360 ScopedUtfChars permission(env, permissionStr); in checkSELinuxAccess() [all …]
|
D | com_android_internal_content_NativeLibraryHelper.cpp | 180 ScopedUtfChars nativeLibPath(env, *javaNativeLibPath); in copyFileIfChanged() 402 const ScopedUtfChars cpuAbi(env, javaCpuAbi); in iterateOverNativeFiles() 434 Vector<ScopedUtfChars*> supportedAbis; in findSupportedAbi() 437 supportedAbis.add(new ScopedUtfChars(env, in findSupportedAbi() 469 const ScopedUtfChars* abi = supportedAbis[i]; in findSupportedAbi() 550 ScopedUtfChars filePath(env, apkPath); in com_android_internal_content_NativeLibraryHelper_openApk() 560 ScopedUtfChars debugFilePath(env, debugPathName); in com_android_internal_content_NativeLibraryHelper_openApkFd()
|
D | android_util_jar_StrictJarFile.cpp | 59 ScopedUtfChars nameChars(env, name); in StrictJarFile_nativeOpenJarFile() 97 ScopedUtfChars prefixChars(env, prefix); in StrictJarFile_nativeStartIteration() 142 ScopedUtfChars entryNameChars(env, entryName); in StrictJarFile_nativeFindEntry()
|
D | android_content_res_ApkAssets.cpp | 36 ScopedUtfChars path(env, java_path); in NativeLoad() 62 ScopedUtfChars friendly_name_utf8(env, friendly_name); in NativeLoadFromFd() 113 ScopedUtfChars path_utf8(env, file_name); in NativeOpenXml()
|
D | android_os_UEventObserver.cpp | 88 ScopedUtfChars match(env, matchStr); in nativeAddMatch() 95 ScopedUtfChars match(env, matchStr); in nativeRemoveMatch()
|
D | android_os_SystemProperties.cpp | 42 ScopedUtfChars key_utf(env, keyJ); in ConvertKeyAndForward() 104 ScopedUtfChars key_utf(env, valJ); in SystemProperties_set()
|
D | android_media_RemoteDisplay.cpp | 139 ScopedUtfChars iface(env, ifaceStr); in nativeListen() 140 ScopedUtfChars opPackageName(env, opPackageNameStr); in nativeListen()
|
D | com_android_internal_os_AtomicDirectory.cpp | 26 ScopedUtfChars path8(env, path); in com_android_internal_os_AtomicDirectory_getDirectoryFd()
|
D | android_os_HwBinder.cpp | 266 ScopedUtfChars str(env, serviceNameObj); in JHwBinder_native_registerService() 308 ScopedUtfChars str(env, ifaceNameObj); in JHwBinder_native_getService() 317 ScopedUtfChars str(env, serviceNameObj); in JHwBinder_native_getService()
|
D | android_util_AssetManager.cpp | 359 const ScopedUtfChars package_name_utf8(env, package_name); in NativeGetOverlayableMap() 517 ScopedUtfChars locale_utf8(env, locale); in NativeSetConfiguration() 562 ScopedUtfChars path_utf8(env, path); in NativeList() 602 ScopedUtfChars asset_path_utf8(env, asset_path); in NativeOpenAsset() 628 ScopedUtfChars asset_path_utf8(env, asset_path); in NativeOpenAssetFd() 648 ScopedUtfChars asset_path_utf8(env, asset_path); in NativeOpenNonAsset() 682 ScopedUtfChars asset_path_utf8(env, asset_path); in NativeOpenNonAssetFd() 708 ScopedUtfChars asset_path_utf8(env, asset_path); in NativeOpenXmlAsset() 1024 ScopedUtfChars name_utf8(env, name); in NativeGetResourceIdentifier() 1032 ScopedUtfChars type_utf8(env, def_type); in NativeGetResourceIdentifier() [all …]
|
D | core_jni_helpers.h | 85 ScopedUtfChars chars(env, strObj.get()); in getStringField()
|
D | android_util_FileObserver.cpp | 120 ScopedUtfChars path(env, pathString); in android_os_fileobserver_startWatching()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_GraphicsStatsService.cpp | 54 ScopedUtfChars pathChars(env, jpath); in addToDump() 58 ScopedUtfChars packageChars(env, jpackage); in addToDump() 68 ScopedUtfChars pathChars(env, jpath); in addFileToDump() 85 ScopedUtfChars pathChars(env, jpath); in saveBuffer() 87 ScopedUtfChars packageChars(env, jpackage); in saveBuffer()
|
D | com_android_server_PersistentDataBlockService.cpp | 81 ScopedUtfChars path(env, jpath); in com_android_server_PersistentDataBlockService_getBlockDeviceSize() 95 ScopedUtfChars path(env, jpath); in com_android_server_PersistentDataBlockService_wipe()
|
D | com_android_server_TestNetworkService.cpp | 84 ScopedUtfChars iface(env, jIface); in create()
|
D | com_android_server_tv_TvUinputBridge.cpp | 190 ScopedUtfChars name(env, nameStr); in nativeOpen() 191 ScopedUtfChars uniqueId(env, uniqueIdStr); in nativeOpen()
|
D | com_android_server_power_PowerManagerService.cpp | 251 ScopedUtfChars name(env, nameStr); in nativeAcquireSuspendBlocker() 256 ScopedUtfChars name(env, nameStr); in nativeReleaseSuspendBlocker()
|
/frameworks/base/core/jni/android/graphics/fonts/ |
D | Font.cpp | 92 ScopedUtfChars str(env, path); in Font_Builder_getNativeAsset() 151 ScopedUtfChars fontPath(env, filePath); in Font_Builder_build()
|
D | FontFamily.cpp | 66 ScopedUtfChars str(env, langTags); in FontFamily_Builder_build()
|
/frameworks/base/media/jni/audioeffect/ |
D | android_media_SourceDefaultEffect.cpp | 50 ScopedUtfChars opPackageNameStr(env, opPackageName); in android_media_SourceDefaultEffect_native_setup()
|
D | android_media_StreamDefaultEffect.cpp | 50 ScopedUtfChars opPackageNameStr(env, opPackageName); in android_media_StreamDefaultEffect_native_setup()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 69 ScopedUtfChars str(env, langs); in FontFamily_initBuilder() 232 ScopedUtfChars str(env, jpath); in FontFamily_addFontFromAssetManager()
|