Home
last modified time | relevance | path

Searched refs:GetPath (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/androidfw/
DApkAssets.cpp167 if (!map->create(GetPath(), fd, entry.offset + fd_offset, entry.compressed_length, in OpenInternal()
182 if (!map->create(GetPath(), fd, entry.offset + fd_offset, entry.uncompressed_length, in OpenInternal()
189 if (!GetPath()) { in OpenInternal()
220 const char* GetPath() const { in GetPath() function in android::ZipAssetsProvider
DAssetManager2.cpp171 apk_assets_package_ids.insert(std::make_pair(apk_assets->GetPath(), package_id)); in BuildDynamicRefTable()
193 base::StringAppendF(&list, "%s,", apk_assets->GetPath().c_str()); in DumpToLog()
362 non_system_overlays.insert(apk_assets_[overlay.cookie]->GetPath()); in GetNonSystemOverlayPaths()
386 && non_system_overlays.find(apk_assets->GetPath()) == non_system_overlays.end()) { in GetResourceConfigurations()
413 && non_system_overlays.find(apk_assets->GetPath()) == non_system_overlays.end()) { in GetResourceLocales()
454 info.setSourceName(String8(apk_assets->GetPath().c_str())); in OpenDir()
1561 if (src_asset->GetPath() == dest_asset->GetPath()) { in SetTo()
1573 << " LoadedArsc " << src_asset->GetPath() << " differs number of packages."; in SetTo()
/frameworks/native/cmds/dumpstate/
Ddumpstate.h324 std::string GetPath(const std::string& directory, const std::string& suffix) const;
328 std::string GetPath(const std::string& suffix) const;
Ddumpstate.cpp2250 ds.screenshot_path_ = ds.GetPath(ds.CalledByApi() ? "-png.tmp" : ".png"); in PrepareToWriteToFile()
2252 ds.tmp_path_ = ds.GetPath(".tmp"); in PrepareToWriteToFile()
2253 ds.log_path_ = ds.GetPath("-dumpstate_log-" + std::to_string(ds.pid_) + ".txt"); in PrepareToWriteToFile()
2269 ds.path_ = ds.GetPath(ds.CalledByApi() ? "-zip.tmp" : ".zip"); in PrepareToWriteToFile()
2299 final_path = ds.GetPath(ds.options_->out_dir, ".zip"); in FinalizeFile()
3125 std::string Dumpstate::GetPath(const std::string& suffix) const { in GetPath() function in Dumpstate
3126 return GetPath(bugreport_internal_dir_, suffix); in GetPath()
3129 std::string Dumpstate::GetPath(const std::string& directory, const std::string& suffix) const { in GetPath() function in Dumpstate
/frameworks/native/cmds/installd/
Dotapreopt_chroot.cpp78 const std::string& package_path = apex_file.GetPath(); in DeactivateApexPackages()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp323 const std::string& target_apk_path = target_apk_assets.GetPath(); in FromApkAssets()
324 const std::string& overlay_apk_path = overlay_apk_assets.GetPath(); in FromApkAssets()
/frameworks/base/libs/androidfw/include/androidfw/
DApkAssets.h122 const std::string& GetPath() const { in GetPath() function
/frameworks/base/core/jni/
Dandroid_content_res_ApkAssets.cpp323 return env->NewStringUTF(apk_assets->GetPath().c_str()); in NativeGetAssetPath()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp230 return ds.GetPath(".zip"); in getZipFilePath()