Searched refs:isPackageStillInstalled (Results 1 – 2 of 2) sorted by relevance
722 private void validateConsentWhenPackageUidAbsent(Intent intent, boolean isPackageStillInstalled) in validateConsentWhenPackageUidAbsent() argument740 doReturn(isPackageStillInstalled) in validateConsentWhenPackageUidAbsent()742 .isPackageStillInstalled(any(), anyString()); in validateConsentWhenPackageUidAbsent()753 .isEqualTo(!isPackageStillInstalled); in validateConsentWhenPackageUidAbsent()975 assertThat(receiver.isPackageStillInstalled(context, packageNamePrefix + 0)).isTrue(); in testIsPackageStillInstalled()976 assertThat(receiver.isPackageStillInstalled(context, packageNamePrefix + count)).isFalse(); in testIsPackageStillInstalled()1023 doReturn(false).when(spyReceiver).isPackageStillInstalled(any(), anyString()); in testAppConsentDeletion_onR()1044 doReturn(false).when(spyReceiver).isPackageStillInstalled(any(), anyString()); in testClearConsentNotCalled_WhenPackageUidInvalid_OnTPlus()
344 if (!isPackageStillInstalled(context, packageName)) { in consentOnPackageFullyRemoved()372 boolean isPackageStillInstalled(@NonNull Context context, @NonNull String packageName) { in isPackageStillInstalled() method in PackageChangedReceiver