Home
last modified time | relevance | path

Searched refs:FileVisibility (Results 1 – 16 of 16) sorted by relevance

/art/libartservice/service/javatests/com/android/server/art/
DDexUseManagerTest.java95 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 …]
DPrimaryDexopterTest.java131 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 …]
DSecondaryDexopterTest.java259 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()
DPrimaryDexopterParameterizedTest.java250 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()
DDumpHelperTest.java257 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/
DIArtd.aidl98 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()
DFileVisibility.aidl30 enum FileVisibility { enum
/art/libartservice/service/java/com/android/server/art/
DDexUseManagerLocal.java316 @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 …]
DDumpHelper.java160 @FileVisibility int visibility = info.fileVisibility(); in dumpSecondaryDex()
162 + (visibility == FileVisibility.NOT_FOUND in dumpSecondaryDex()
164 : (visibility == FileVisibility.OTHER_READABLE ? " (public)" in dumpSecondaryDex()
DSecondaryDexopter.java86 return dexInfo.fileVisibility() == FileVisibility.OTHER_READABLE; in isDexFilePublic()
DPrimaryDexopter.java124 != FileVisibility.NOT_FOUND; in isDexFileFound()
DDexopter.java217 != FileVisibility.NOT_FOUND) { in dexopt()
526 == FileVisibility.NOT_OTHER_READABLE) { in getDexoptTrigger()
DUtils.java394 artd.getProfileVisibility(refProfile) == FileVisibility.OTHER_READABLE; in getOrInitReferenceProfile()
/art/artd/
Dartd.h151 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;
Dartd.cc100 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()
Dartd_test.cc83 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()