/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/appinfo/ |
D | HibernationSwitchPreferenceControllerTest.java | 62 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/ |
D | AnalyticsUtilsTest.java | 49 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/ |
D | HibernationSwitchPreferenceControllerTest.java | 58 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/ |
D | AdIdServiceImplTest.java | 92 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/ |
D | CommonServicesTest.java | 76 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/ |
D | AppSetIdServiceImplTest.java | 88 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/ |
D | ChannelImpl.java | 54 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/ |
D | AdServicesCommonServiceImplTest.java | 124 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/ |
D | TopicsServiceImplTest.java | 140 private static final String INVALID_PACKAGE_NAME = "com.do_not_exists"; field in TopicsServiceImplTest 893 .setAppPackageName(INVALID_PACKAGE_NAME) in testGetTopics_enforceCallingPackage_invalidPackage()
|