Searched refs:FileVisibility (Results 1 – 16 of 16) sorted by relevance
/art/libartservice/service/javatests/com/android/server/art/ |
D | DexUseManagerTest.java | 95 private final @FileVisibility int mDefaultFileVisibility = FileVisibility.OTHER_READABLE; 269 .thenReturn(FileVisibility.OTHER_READABLE); in verifyPrimaryDexMultipleEntries() 272 .thenReturn(FileVisibility.OTHER_READABLE); in verifyPrimaryDexMultipleEntries() 335 false /* isUsedByOtherApps */, FileVisibility.OTHER_READABLE)); in testSecondaryDexOwned() 351 true /* isUsedByOtherApps */, FileVisibility.OTHER_READABLE)); in testSecondaryDexOwnedIsolated() 366 true /* isUsedByOtherApps */, FileVisibility.OTHER_READABLE)); in testSecondaryDexOthers() 381 true /* isUsedByOtherApps */, FileVisibility.OTHER_READABLE)); in testSecondaryDexUnsupportedClc() 400 true /* isUsedByOtherApps */, FileVisibility.OTHER_READABLE)); in testSecondaryDexVariableClc() 433 false /* isUsedByOtherApps */, FileVisibility.OTHER_READABLE)); in testSecondaryDexNativeAbiSetChange() 470 .thenReturn(FileVisibility.OTHER_READABLE); in verifySecondaryDexMultipleEntries() [all …]
|
D | PrimaryDexopterTest.java | 131 lenient().when(mArtd.getArtifactsVisibility(any())).thenReturn(FileVisibility.NOT_FOUND); in setUp() 148 .thenReturn(FileVisibility.OTHER_READABLE); in setUp() 151 .thenReturn(FileVisibility.OTHER_READABLE); in setUp() 231 .thenReturn(FileVisibility.NOT_OTHER_READABLE); in testDexoptUsesRefProfile() 270 .thenReturn(FileVisibility.OTHER_READABLE); in testDexoptUsesPublicRefProfile() 325 .thenReturn(FileVisibility.OTHER_READABLE); in checkDexoptMergesProfiles() 385 .thenReturn(FileVisibility.OTHER_READABLE); in testDexoptMergesProfilesMergeFailed() 422 .thenReturn(FileVisibility.OTHER_READABLE); in testDexoptMergesProfilesForceMerge() 604 .thenReturn(FileVisibility.NOT_OTHER_READABLE); in testDexoptNeedsToBeShared() 644 .thenReturn(FileVisibility.OTHER_READABLE); in testDexoptNeedsToBeSharedArtifactsArePublic() [all …]
|
D | SecondaryDexopterTest.java | 259 lenient().when(dex1Info.fileVisibility()).thenReturn(FileVisibility.OTHER_READABLE); in createSecondaryDexInfo() 268 lenient().when(dex2Info.fileVisibility()).thenReturn(FileVisibility.OTHER_READABLE); in createSecondaryDexInfo() 277 lenient().when(dex3Info.fileVisibility()).thenReturn(FileVisibility.NOT_OTHER_READABLE); in createSecondaryDexInfo() 287 .thenReturn(FileVisibility.NOT_OTHER_READABLE); in prepareProfiles() 293 .thenReturn(FileVisibility.NOT_OTHER_READABLE); in prepareProfiles() 297 .thenReturn(FileVisibility.NOT_OTHER_READABLE); in prepareProfiles()
|
D | PrimaryDexopterParameterizedTest.java | 250 lenient().when(mArtd.getProfileVisibility(any())).thenReturn(FileVisibility.OTHER_READABLE); in setUp() 256 lenient().when(mArtd.getArtifactsVisibility(any())).thenReturn(FileVisibility.NOT_FOUND); in setUp() 318 doReturn(FileVisibility.OTHER_READABLE) in testDexopt() 321 doReturn(FileVisibility.OTHER_READABLE) in testDexopt()
|
D | DumpHelperTest.java | 257 lenient().when(info1.fileVisibility()).thenReturn(FileVisibility.NOT_FOUND); in setUpForFoo() 271 lenient().when(info2.fileVisibility()).thenReturn(FileVisibility.OTHER_READABLE); in setUpForFoo()
|
/art/artd/binder/com/android/server/art/ |
D | IArtd.aidl | 98 com.android.server.art.FileVisibility getProfileVisibility( in getProfileVisibility() 126 com.android.server.art.FileVisibility getArtifactsVisibility( in getArtifactsVisibility() 134 com.android.server.art.FileVisibility getDexFileVisibility(@utf8InCpp String dexFile); in getDexFileVisibility() 141 com.android.server.art.FileVisibility getDmFileVisibility( in getDmFileVisibility()
|
D | FileVisibility.aidl | 30 enum FileVisibility { enum
|
/art/libartservice/service/java/com/android/server/art/ |
D | DexUseManagerLocal.java | 316 @FileVisibility in getSecondaryDexInfoImpl() 318 : FileVisibility.OTHER_READABLE; in getSecondaryDexInfoImpl() 319 if (visibility == FileVisibility.NOT_FOUND && excludeObsoleteDexesAndLoaders) { in getSecondaryDexInfoImpl() 324 if (visibility == FileVisibility.OTHER_READABLE in getSecondaryDexInfoImpl() 633 private @FileVisibility int getDexFileVisibility(@NonNull String dexPath) { in getDexFileVisibility() 638 return FileVisibility.NOT_FOUND; in getDexFileVisibility() 669 dexFileVisibilityByName.put(dexFile, FileVisibility.NOT_FOUND); in cleanup() 672 dexFileVisibilityByName.put(dexFile, FileVisibility.NOT_FOUND); in cleanup() 728 @FileVisibility int visibility = dexFileVisibilityByName.get(dexFile); in cleanupPrimaryDexUsesLocked() 730 if (visibility == FileVisibility.NOT_FOUND) { in cleanupPrimaryDexUsesLocked() [all …]
|
D | DumpHelper.java | 160 @FileVisibility int visibility = info.fileVisibility(); in dumpSecondaryDex() 162 + (visibility == FileVisibility.NOT_FOUND in dumpSecondaryDex() 164 : (visibility == FileVisibility.OTHER_READABLE ? " (public)" in dumpSecondaryDex()
|
D | SecondaryDexopter.java | 86 return dexInfo.fileVisibility() == FileVisibility.OTHER_READABLE; in isDexFilePublic()
|
D | PrimaryDexopter.java | 124 != FileVisibility.NOT_FOUND; in isDexFileFound()
|
D | Dexopter.java | 217 != FileVisibility.NOT_FOUND) { in dexopt() 526 == FileVisibility.NOT_OTHER_READABLE) { in getDexoptTrigger()
|
D | Utils.java | 394 artd.getProfileVisibility(refProfile) == FileVisibility.OTHER_READABLE; in getOrInitReferenceProfile()
|
/art/artd/ |
D | artd.h | 151 aidl::com::android::server::art::FileVisibility* _aidl_return) override; 163 aidl::com::android::server::art::FileVisibility* _aidl_return) override; 167 aidl::com::android::server::art::FileVisibility* _aidl_return) override; 171 aidl::com::android::server::art::FileVisibility* _aidl_return) override;
|
D | artd.cc | 100 using ::aidl::com::android::server::art::FileVisibility; 277 Result<FileVisibility> GetFileVisibility(const std::string& file) { in GetFileVisibility() 284 return FileVisibility::NOT_FOUND; in GetFileVisibility() 289 FileVisibility::OTHER_READABLE : in GetFileVisibility() 290 FileVisibility::NOT_OTHER_READABLE; in GetFileVisibility() 782 FileVisibility* _aidl_return) { in getProfileVisibility() 790 FileVisibility* _aidl_return) { in getArtifactsVisibility() 798 FileVisibility* _aidl_return) { in getDexFileVisibility() 805 FileVisibility* _aidl_return) { in getDmFileVisibility()
|
D | artd_test.cc | 83 using ::aidl::com::android::server::art::FileVisibility; 1716 using Method = ndk::ScopedAStatus (Artd::*)(const PathType&, FileVisibility*); 1726 FileVisibility result; in TestGetVisibilityOtherReadable() 1728 EXPECT_EQ(result, FileVisibility::OTHER_READABLE); in TestGetVisibilityOtherReadable() 1739 FileVisibility result; in TestGetVisibilityNotOtherReadable() 1741 EXPECT_EQ(result, FileVisibility::NOT_OTHER_READABLE); in TestGetVisibilityNotOtherReadable() 1746 FileVisibility result; in TestGetVisibilityNotFound() 1748 EXPECT_EQ(result, FileVisibility::NOT_FOUND); in TestGetVisibilityNotFound() 1760 FileVisibility result; in TestGetVisibilityPermissionDenied()
|