Searched refs:isAppVisibleForUser (Results 1 – 2 of 2) sorted by relevance
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PackageVisibilityTest.java | 93 assertTrue(isAppVisibleForUser(TINY_PKG, mPrimaryUserId, MATCH_NORMAL)); in testUninstalledPackageVisibility() 94 assertTrue(isAppVisibleForUser(TINY_PKG, mPrimaryUserId, MATCH_UNINSTALLED)); in testUninstalledPackageVisibility() 103 assertFalse(isAppVisibleForUser(TINY_PKG, userId, MATCH_NORMAL)); in testUninstalledPackageVisibility() 104 assertFalse(isAppVisibleForUser(TINY_PKG, userId, MATCH_UNINSTALLED)); in testUninstalledPackageVisibility() 121 assertTrue(isAppVisibleForUser(TINY_PKG, userId, MATCH_NORMAL)); in testUninstalledPackageVisibility() 122 assertTrue(isAppVisibleForUser(TINY_PKG, userId, MATCH_UNINSTALLED)); in testUninstalledPackageVisibility() 125 assertFalse(isAppVisibleForUser(TINY_PKG, mPrimaryUserId, MATCH_NORMAL)); in testUninstalledPackageVisibility() 126 assertFalse(isAppVisibleForUser(TINY_PKG, mPrimaryUserId, MATCH_UNINSTALLED)); in testUninstalledPackageVisibility() 132 assertFalse(isAppVisibleForUser(TINY_PKG, userId, MATCH_NORMAL)); in testUninstalledPackageVisibility() 133 assertTrue(isAppVisibleForUser(TINY_PKG, userId, MATCH_UNINSTALLED)); in testUninstalledPackageVisibility()
|
D | BaseAppSecurityTest.java | 82 protected boolean isAppVisibleForUser(String packageName, int userId, in isAppVisibleForUser() method in BaseAppSecurityTest
|