/frameworks/base/cmds/idmap2/idmap2/ |
D | Commands.h | 25 android::idmap2::Result<android::idmap2::Unit> Create(const std::vector<std::string>& args); 26 android::idmap2::Result<android::idmap2::Unit> CreateMultiple(const std::vector<std::string>& args); 27 android::idmap2::Result<android::idmap2::Unit> Dump(const std::vector<std::string>& args); 28 android::idmap2::Result<android::idmap2::Unit> Lookup(const std::vector<std::string>& args);
|
D | Create.cpp | 34 using android::idmap2::BinaryStreamVisitor; 35 using android::idmap2::CommandLineOptions; 36 using android::idmap2::Error; 37 using android::idmap2::Idmap; 38 using android::idmap2::OverlayResourceContainer; 39 using android::idmap2::Result; 40 using android::idmap2::TargetResourceContainer; 41 using android::idmap2::Unit; 42 using android::idmap2::utils::kIdmapFilePermissionMask; 43 using android::idmap2::utils::PoliciesToBitmaskResult; [all …]
|
D | CreateMultiple.cpp | 38 using android::idmap2::BinaryStreamVisitor; 39 using android::idmap2::CommandLineOptions; 40 using android::idmap2::Error; 41 using android::idmap2::Idmap; 42 using android::idmap2::OverlayResourceContainer; 43 using android::idmap2::Result; 44 using android::idmap2::TargetResourceContainer; 45 using android::idmap2::Unit; 46 using android::idmap2::utils::kIdmapCacheDir; 47 using android::idmap2::utils::kIdmapFilePermissionMask; [all …]
|
D | Dump.cpp | 31 using android::idmap2::CommandLineOptions; 32 using android::idmap2::Error; 33 using android::idmap2::Idmap; 34 using android::idmap2::PrettyPrintVisitor; 35 using android::idmap2::RawPrintVisitor; 36 using android::idmap2::Result; 37 using android::idmap2::Unit;
|
D | CommandUtils.cpp | 28 using android::idmap2::Error; 29 using android::idmap2::IdmapHeader; 30 using android::idmap2::OverlayResourceContainer; 31 using android::idmap2::Result; 32 using android::idmap2::TargetResourceContainer; 33 using android::idmap2::Unit;
|
D | Lookup.cpp | 51 using android::idmap2::CommandLineOptions; 52 using android::idmap2::Error; 53 using android::idmap2::IdmapHeader; 54 using android::idmap2::OverlayResourceContainer; 55 using android::idmap2::ResourceId; 56 using android::idmap2::Result; 57 using android::idmap2::Unit;
|
D | Main.cpp | 31 using android::idmap2::CommandLineOptions; 32 using android::idmap2::Result; 33 using android::idmap2::Unit;
|
D | CommandUtils.h | 25 android::idmap2::Result<android::idmap2::Unit> Verify(
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | IdmapDaemon.java | 82 private Connection(IIdmap2 idmap2) { in Connection() argument 85 mIdmap2 = idmap2; in Connection() 134 final IIdmap2 idmap2 = c.getIdmap2(); in createIdmap() local 135 if (idmap2 == null) { in createIdmap() 142 return idmap2.createIdmap(targetPath, overlayPath, TextUtils.emptyIfNull(overlayName), in createIdmap() 149 final IIdmap2 idmap2 = c.getIdmap2(); in removeIdmap() local 150 if (idmap2 == null) { in removeIdmap() 156 return idmap2.removeIdmap(overlayPath, userId); in removeIdmap() 164 final IIdmap2 idmap2 = c.getIdmap2(); in verifyIdmap() local 165 if (idmap2 == null) { in verifyIdmap() [all …]
|
/frameworks/base/cmds/idmap2/tests/ |
D | BinaryStreamVisitorTests.cpp | 33 namespace android::idmap2 { namespace 49 const auto idmap2 = std::move(*result2); in TEST() local 52 idmap2->GetHeader()->GetFulfilledPolicies()); in TEST() 54 idmap2->GetHeader()->GetEnforceOverlayable()); in TEST() 55 ASSERT_EQ(idmap1->GetHeader()->GetTargetPath(), idmap2->GetHeader()->GetTargetPath()); in TEST() 56 ASSERT_EQ(idmap1->GetHeader()->GetTargetCrc(), idmap2->GetHeader()->GetTargetCrc()); in TEST() 57 ASSERT_EQ(idmap1->GetHeader()->GetTargetPath(), idmap2->GetHeader()->GetTargetPath()); in TEST() 59 ASSERT_EQ(idmap1->GetData().size(), idmap2->GetData().size()); in TEST() 66 const std::vector<std::unique_ptr<const IdmapData>>& data_blocks2 = idmap2->GetData(); in TEST()
|
D | PoliciesTests.cpp | 24 using android::idmap2::utils::BitmaskToPolicies; 25 using android::idmap2::utils::PoliciesToBitmaskResult; 30 namespace android::idmap2 { namespace
|
D | RawPrintVisitorTests.cpp | 36 namespace android::idmap2 { namespace 69 StringPrintf(ADDRESS "%s target crc\n", android::idmap2::TestConstants::TARGET_CRC_STRING), in TEST() 72 StringPrintf(ADDRESS "%s overlay crc\n", android::idmap2::TestConstants::OVERLAY_CRC_STRING), in TEST()
|
D | Main.cpp | 23 namespace android::idmap2 { namespace
|
D | TestConstants.h | 20 namespace android::idmap2::TestConstants {
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | SysTrace.h | 25 namespace android::idmap2::utils { 48 android::idmap2::utils::ScopedTraceNoStart _trace##__LINE__; \ 49 android::idmap2::utils::atrace_enabled() \ 50 && android::idmap2::utils::ScopedTraceMessageHelper().stream() 64 #define SYSTRACE android::idmap2::utils::DummyStream().stream()
|
D | FileUtils.h | 25 namespace android::idmap2::utils {
|
D | PolicyUtils.h | 29 namespace android::idmap2::utils {
|
/frameworks/base/cmds/idmap2/idmap2d/ |
D | Idmap2Service.cpp | 46 using android::idmap2::BinaryStreamVisitor; 47 using android::idmap2::FabricatedOverlayContainer; 48 using android::idmap2::Idmap; 49 using android::idmap2::IdmapHeader; 50 using android::idmap2::OverlayResourceContainer; 51 using android::idmap2::PrettyPrintVisitor; 52 using android::idmap2::TargetResourceContainer; 53 using android::idmap2::utils::kIdmapCacheDir; 54 using android::idmap2::utils::kIdmapFilePermissionMask; 55 using android::idmap2::utils::RandomStringForPath; [all …]
|
D | Idmap2Service.h | 88 std::unique_ptr<idmap2::TargetResourceContainer> apk; 100 using TargetResourceContainerPtr = MaybeUniquePtr<idmap2::TargetResourceContainer>; 101 idmap2::Result<TargetResourceContainerPtr> GetTargetContainer(const std::string& target_path);
|
/frameworks/base/cmds/idmap2/self_targeting/ |
D | SelfTargeting.cpp | 32 using android::idmap2::BinaryStreamVisitor; 33 using android::idmap2::Idmap; 34 using android::idmap2::OverlayResourceContainer; 46 android::idmap2::FabricatedOverlay::Builder builder(packageName, overlayName, in CreateFrroFile() 141 const auto target = idmap2::TargetResourceContainer::FromPath(targetPath); in CreateIdmapFile() 193 const auto overlay = idmap2::FabricatedOverlayContainer::FromPath(overlay_path); in GetFabricatedOverlayInfo()
|
/frameworks/base/cmds/idmap2/ |
D | Android.bp | 185 "idmap2", 226 ":idmap2", 241 name: "idmap2", 247 "idmap2/CommandUtils.cpp", 248 "idmap2/Create.cpp", 249 "idmap2/CreateMultiple.cpp", 250 "idmap2/Dump.cpp", 251 "idmap2/Lookup.cpp", 252 "idmap2/Main.cpp",
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | PolicyUtils.cpp | 26 using android::idmap2::policy::kPolicyStringToFlag; 28 namespace android::idmap2::utils { namespace
|
D | ResourceUtils.cpp | 27 using android::idmap2::Result; 30 namespace android::idmap2::utils { namespace
|
D | SysTrace.cpp | 22 namespace android::idmap2::utils { namespace
|
D | Result.cpp | 23 namespace android::idmap2 { namespace
|