/frameworks/base/core/java/com/android/internal/app/ |
D | IMediaContainerService.aidl | 24 int copyPackage(String packagePath, in IParcelFileDescriptorFactory target); in copyPackage() argument 26 PackageInfoLite getMinimalPackageInfo(String packagePath, int flags, String abiOverride); in getMinimalPackageInfo() argument 28 long calculateInstalledSize(String packagePath, String abiOverride); in calculateInstalledSize() argument
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 1350 for (const auto& packagePath : packagePaths) { in createTestSdkData() local 1352 ASSERT_TRUE(mkdirs(packagePath + "/" + sdkName + "/cache", 0700)); in createTestSdkData() 1353 ASSERT_TRUE(mkdirs(packagePath + "/" + sdkName + "/code_cache", 0700)); in createTestSdkData() 1354 std::ofstream{packagePath + "/" + sdkName + "/cache/cachedTestData.txt"}; in createTestSdkData() 1355 std::ofstream{packagePath + "/" + sdkName + "/code_cache/cachedTestData.txt"}; in createTestSdkData() 1367 const std::string packagePath = kTestPath + "/misc_ce/0/sdksandbox/com.foo"; in TEST_F() local 1368 ASSERT_TRUE(is_empty(packagePath + "/shared/cache")); in TEST_F() 1369 ASSERT_TRUE(is_empty(packagePath + "/sdk1/cache")); in TEST_F() 1370 ASSERT_TRUE(is_empty(packagePath + "/sdk2/cache")); in TEST_F() 1379 const std::string packagePath = kTestPath + "/misc_ce/0/sdksandbox/com.foo"; in TEST_F() local [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | WebViewZygoteInit.java | 87 protected void handlePreloadPackage(String packagePath, String libsPath, String libFileName, in handlePreloadPackage() argument 95 packagePath, libsPath, cacheKey); in handlePreloadPackage() 98 String[] packageList = TextUtils.split(packagePath, File.pathSeparator); in handlePreloadPackage()
|
D | ZygoteConnection.java | 478 protected void handlePreloadPackage(String packagePath, String libsPath, String libFileName, in handlePreloadPackage() argument
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | SourceTransformer.kt | 66 packagePath: String, in <lambda>() 71 this.packagePath = packagePath in <lambda>() 87 private var packagePath: String = "" in <lambda>() variable 130 val hash = CodeUtils.hash(packagePath, messageString, level, group) in <lambda>()
|
D | ProtoLogTool.kt | 128 transformer.processClass(text, path, packagePath(file, code), code) in <lambda>() 380 findLogCalls(code, path, packagePath(file, code), processor) in <lambda>() 406 packagePath: String, in <lambda>() 417 val logCall = LogCall(messageString, level, group, packagePath) in <lambda>() 426 private fun packagePath(file: File, code: CompilationUnit): String { in <lambda>() method 429 val packagePath = pack.replace('.', '/') + '/' + file.name in <lambda>() constant 430 return packagePath in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 899 String packagePath, int flags, String abiOverride) { in getMinimalPackageInfo() argument 901 if (packagePath == null || pkg == null) { in getMinimalPackageInfo() 902 Slog.i(TAG, "Invalid package file " + packagePath); in getMinimalPackageInfo() 907 final File packageFile = new File(packagePath); in getMinimalPackageInfo() 962 public static long calculateInstalledSize(String packagePath, String abiOverride) { in calculateInstalledSize() argument 963 final File packageFile = new File(packagePath); in calculateInstalledSize() 1025 public static int copyPackage(String packagePath, File targetDir) { in copyPackage() argument 1026 if (packagePath == null) { in copyPackage() 1031 final File packageFile = new File(packagePath); in copyPackage() 1036 Slog.w(TAG, "Failed to parse package at " + packagePath); in copyPackage() [all …]
|
D | ShortcutService.java | 1428 final File packagePath = new File(getUserBitmapFilePath(userId), packageName); in cleanupBitmapsForPackage() local 1429 if (!packagePath.isDirectory()) { in cleanupBitmapsForPackage() 1433 if (!(FileUtils.deleteContents(packagePath) && packagePath.delete())) { in cleanupBitmapsForPackage() 1434 Slog.w(TAG, "Unable to remove directory " + packagePath); in cleanupBitmapsForPackage() 1500 final File packagePath = new File(getUserBitmapFilePath(userId), in openIconFileForWrite() local 1502 if (!packagePath.isDirectory()) { in openIconFileForWrite() 1503 packagePath.mkdirs(); in openIconFileForWrite() 1504 if (!packagePath.isDirectory()) { in openIconFileForWrite() 1505 throw new IOException("Unable to create directory " + packagePath); in openIconFileForWrite() 1507 SELinux.restorecon(packagePath); in openIconFileForWrite() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ApplicationLoaders.java | 264 public ClassLoader createAndCacheWebViewClassLoader(String packagePath, String libsPath, in createAndCacheWebViewClassLoader() argument 272 return getClassLoader(packagePath, Build.VERSION.SDK_INT, false, libsPath, null, null, in createAndCacheWebViewClassLoader()
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | ApkLiteParseUtils.java | 127 final String packagePath = packageFile.getAbsolutePath(); in parseMonolithicPackageLite() local 129 new PackageLite(packagePath, baseApk.getPath(), baseApk, null /* splitNames */, in parseMonolithicPackageLite() 153 final String packagePath = debugPathName; in parseMonolithicPackageLite() local 155 new PackageLite(packagePath, baseApk.getPath(), baseApk, null /* splitNames */, in parseMonolithicPackageLite()
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 943 auto packagePath = create_data_misc_sdk_sandbox_package_path(uuid_, isCeData, userId, in createSdkSandboxDataPackageDirectory() local 946 LOG(DEBUG) << "Creating app-level sdk data directory: " << packagePath; in createSdkSandboxDataPackageDirectory() 949 if (prepare_app_dir(packagePath, 0751, AID_SYSTEM, AID_SYSTEM, 0)) { in createSdkSandboxDataPackageDirectory() 950 return error("Failed to prepare " + packagePath); in createSdkSandboxDataPackageDirectory() 1062 const auto packagePath = create_data_misc_sdk_sandbox_package_path(uuid_, isCeData, userId, in reconcileSdkData() local 1068 const auto subDirHandler = [&packagePath, &expectedSubDirNames, in reconcileSdkData() 1073 auto path = packagePath + "/" + subDirName; in reconcileSdkData() 1080 const int ec = foreach_subdir(packagePath, subDirHandler); in reconcileSdkData() 1082 res = error("Failed to process subdirs for " + packagePath); in reconcileSdkData() 3475 const auto packagePath = in restoreconSdkDataLocked() local [all …]
|
/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 237 bool AssetManager::addOverlayPath(const String8& packagePath, int32_t* cookie) in addOverlayPath() argument 239 const String8 idmapPath = idmapPathForPackagePath(packagePath); in addOverlayPath() 266 if (overlayPath != packagePath) { in addOverlayPath() 268 idmapPath.c_str(), packagePath.c_str(), overlayPath.c_str()); in addOverlayPath()
|
/frameworks/base/core/java/android/os/ |
D | ZygoteProcess.java | 1137 String packagePath, String libsPath, String libFileName, String cacheKey, String abi) in preloadPackageForAbi() argument 1147 state.mZygoteOutputWriter.write(packagePath); in preloadPackageForAbi()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 981 final String packagePath = packageFile.getAbsolutePath(); in parseMonolithicPackageLite() local 983 return new PackageLite(packagePath, baseApk.codePath, baseApk, null, null, null, null, null, in parseMonolithicPackageLite()
|