Lines Matching refs:classpath
202 std::string classpath = class_loader_spec.substr(type_str_size + 1, in ParseClassLoaderSpec() local
209 Split(classpath, kClasspathSeparator, &info->classpath); in ParseClassLoaderSpec()
212 Split(classpath, kClasspathSeparator, &classpath_elements); in ParseClassLoaderSpec()
228 info->classpath.push_back(dex_file_with_checksum[0]); in ParseClassLoaderSpec()
436 for (const std::string& cp_elem : info->classpath) { in OpenDexFiles()
510 info->original_classpath = std::move(info->classpath); in OpenDexFiles()
511 info->classpath.clear(); in OpenDexFiles()
515 info->classpath.push_back(dex->GetLocation()); in OpenDexFiles()
551 size_t initial_size = info->classpath.size(); in RemoveLocationsFromClassPaths()
553 info->classpath.begin(), in RemoveLocationsFromClassPaths()
554 info->classpath.end(), in RemoveLocationsFromClassPaths()
559 info->classpath.erase(kept_it, info->classpath.end()); in RemoveLocationsFromClassPaths()
560 if (initial_size != info->classpath.size()) { in RemoveLocationsFromClassPaths()
598 for (const std::string& path : class_loader_chain_->classpath) { in EncodeClassPathContexts()
691 remap.Put(info.original_classpath[k], stored_info->classpath[k]); in EncodeContextInternal()
772 static std::string FlattenClasspath(const std::vector<std::string>& classpath) { in FlattenClasspath() argument
773 return android::base::Join(classpath, ':'); in FlattenClasspath()
788 auto search = canonicalized_libraries.find(FlattenClasspath(info.classpath)); in CreateClassLoaderInternal()
851 canonicalized_libraries[FlattenClasspath(info.classpath)] = in CreateClassLoaderInternal()
923 for (const std::string& dex_path : info->classpath) { in FlattenDexPaths()
1141 info->classpath.push_back((type == kInMemoryDexClassLoader) in CreateInfoFromClassLoader()
1253 class_loader_chain_->classpath.size() == 0) { in VerifyClassLoaderContextMatch()
1333 if (info.classpath.size() != expected_info.classpath.size()) { in ClassLoaderInfoMatch()
1335 << ". expected=" << expected_info.classpath.size() in ClassLoaderInfoMatch()
1336 << ", found=" << info.classpath.size() in ClassLoaderInfoMatch()
1342 DCHECK_EQ(info.classpath.size(), info.checksums.size()); in ClassLoaderInfoMatch()
1343 DCHECK_EQ(expected_info.classpath.size(), expected_info.checksums.size()); in ClassLoaderInfoMatch()
1347 for (size_t k = 0; k < info.classpath.size(); k++) { in ClassLoaderInfoMatch()
1348 bool dex_names_match = AreDexNameMatching(info.classpath[k], expected_info.classpath[k]); in ClassLoaderInfoMatch()
1353 << ". expected=" << expected_info.classpath[k] in ClassLoaderInfoMatch()
1354 << ", found=" << info.classpath[k] in ClassLoaderInfoMatch()
1425 for (size_t k = 0; k < info->classpath.size(); k++) { in CheckForDuplicateDexFiles()
1428 && AreDexNameMatching(info->classpath[k], dex_file->GetLocation())) { in CheckForDuplicateDexFiles()