Home
last modified time | relevance | path

Searched refs:INVALID_PACKAGE_NAME (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/appinfo/
DHibernationSwitchPreferenceControllerTest.java62 private static final String INVALID_PACKAGE_NAME = "invalid_package"; field in HibernationSwitchPreferenceControllerTest
94 when(mPackageManager.getPackageUid(eq(INVALID_PACKAGE_NAME), anyInt())) in setUp()
151 mController.setPackageName(INVALID_PACKAGE_NAME); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable()
159 mController.setPackageName(INVALID_PACKAGE_NAME); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable_zoneWrite()
168 mController.setPackageName(INVALID_PACKAGE_NAME); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable_zoneRead()
177 mController.setPackageName(INVALID_PACKAGE_NAME); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable_zoneHidden()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/
DAnalyticsUtilsTest.java49 private static final String INVALID_PACKAGE_NAME = "invalid-package-name"; field in AnalyticsUtilsTest
69 when(mockPackageManager.getInstallerPackageName(INVALID_PACKAGE_NAME)) in testGetInstallerPackageName_invalidPackage()
72 assertNull(AnalyticsUtils.getInstallerPackageName(mockContext, INVALID_PACKAGE_NAME)); in testGetInstallerPackageName_invalidPackage()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/appinfo/
DHibernationSwitchPreferenceControllerTest.java58 private static final String INVALID_PACKAGE_NAME = "invalid_package"; field in HibernationSwitchPreferenceControllerTest
85 when(mPackageManager.getPackageUid(eq(INVALID_PACKAGE_NAME), anyInt())) in setUp()
119 mController.setPackage(INVALID_PACKAGE_NAME); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable()
/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/
DAdIdServiceImplTest.java92 private static final String INVALID_PACKAGE_NAME = "com.do_not_exists"; field in AdIdServiceImplTest
259 when(mMockFlags.getAdIdApiAppBlockList()).thenReturn(INVALID_PACKAGE_NAME); in testGetAdId_enforceCallingPackage_invalidPackage()
264 setupPermissions(INVALID_PACKAGE_NAME, ACCESS_ADSERVICES_AD_ID); in testGetAdId_enforceCallingPackage_invalidPackage()
269 .setAppPackageName(INVALID_PACKAGE_NAME) in testGetAdId_enforceCallingPackage_invalidPackage()
/packages/modules/AdServices/adservices/tests/cts/ui/odp/common/src/com/android/adservices/tests/ui/common/
DCommonServicesTest.java76 private static final String INVALID_PACKAGE_NAME = "invalidPackage"; field in CommonServicesTest
279 UiUtils.setGetAdservicesCommonStatesAllowList(INVALID_PACKAGE_NAME); in testGetAdservicesCommonStatesNotAllowed()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsetid/src/com/android/adservices/service/appsetid/
DAppSetIdServiceImplTest.java88 private static final String INVALID_PACKAGE_NAME = "com.do_not_exists"; field in AppSetIdServiceImplTest
236 .setAppPackageName(INVALID_PACKAGE_NAME) in testGetAppSetId_enforceCallingPackage_invalidPackage()
/packages/apps/TV/src/com/android/tv/data/
DChannelImpl.java54 private static final String INVALID_PACKAGE_NAME = "packageName"; field in ChannelImpl
473 mChannel.mPackageName = INVALID_PACKAGE_NAME; in Builder()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesCommonServiceImplTest.java124 private static final String INVALID_PACKAGE_NAME = "com.do_not_exists"; field in AdServicesCommonServiceImplTest
854 doReturn(INVALID_PACKAGE_NAME).when(mFlags).getAdServicesCommonStatesAllowList(); in testGetAdservicesCommonStates_notAllowed()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicsServiceImplTest.java140 private static final String INVALID_PACKAGE_NAME = "com.do_not_exists"; field in TopicsServiceImplTest
893 .setAppPackageName(INVALID_PACKAGE_NAME) in testGetTopics_enforceCallingPackage_invalidPackage()