Searched refs:getInstallReason (Results 1 – 3 of 3) sorted by relevance
30 assertEquals(PackageManager.INSTALL_REASON_UNKNOWN, getInstallReason(PACKAGE_NAME)); in testInstallReason()35 assertEquals(PackageManager.INSTALL_REASON_POLICY, getInstallReason(TEST_APP_PKG)); in testInstallReason()
212 protected int getInstallReason(String packageName) { in getInstallReason() method in BasePackageInstallTest213 return mPackageManager.getInstallReason(packageName, Process.myUserHandle()); in getInstallReason()
262 installReason.ifPresent(i -> assertThat(info.getInstallReason()).isEqualTo(i)); in checkSessionParams()