Searched refs:VALID_PACKAGE_NAME (Results 1 – 4 of 4) sorted by relevance
39 private static final String VALID_PACKAGE_NAME = "test.package"; field in UpdateAdCounterHistogramInputTest48 VALID_PACKAGE_NAME) in testBuildValidInput_success()55 expect.that(originalInput.getCallerPackageName()).isEqualTo(VALID_PACKAGE_NAME); in testBuildValidInput_success()65 VALID_PACKAGE_NAME) in testParcelInput_success()78 expect.that(requestFromParcel.getCallerPackageName()).isEqualTo(VALID_PACKAGE_NAME); in testParcelInput_success()88 VALID_PACKAGE_NAME) in testEqualsIdentical()95 VALID_PACKAGE_NAME) in testEqualsIdentical()109 VALID_PACKAGE_NAME) in testEqualsDifferent()116 VALID_PACKAGE_NAME) in testEqualsDifferent()130 VALID_PACKAGE_NAME) in testEqualsNull()[all …]
64 private static final String VALID_PACKAGE_NAME = "package"; field in HibernationSwitchPreferenceControllerTest92 when(mPackageManager.getPackageUid(eq(VALID_PACKAGE_NAME), anyInt())) in setUp()109 mController.setPackageName(VALID_PACKAGE_NAME); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable()119 mController.setPackageName(VALID_PACKAGE_NAME); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable_zoneWrite()130 mController.setPackageName(VALID_PACKAGE_NAME); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable_zoneRead()141 mController.setPackageName(VALID_PACKAGE_NAME); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable_zoneHidden()185 mController.setPackageName(VALID_PACKAGE_NAME); in getAvailabilityStatus_validPackage_shouldReturnAvailable()193 mController.setPackageName(VALID_PACKAGE_NAME); in getAvailabilityStatus_validPackage_shouldReturnAvailable_zoneWrite()202 mController.setPackageName(VALID_PACKAGE_NAME); in getAvailabilityStatus_validPackage_shouldReturnAvailable_zoneRead()211 mController.setPackageName(VALID_PACKAGE_NAME); in getAvailabilityStatus_validPackage_shouldReturnAvailable_zoneHidden()
60 private static final String VALID_PACKAGE_NAME = "package"; field in HibernationSwitchPreferenceControllerTest83 when(mPackageManager.getPackageUid(eq(VALID_PACKAGE_NAME), anyInt())) in setUp()110 mController.setPackage(VALID_PACKAGE_NAME); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable()126 mController.setPackage(VALID_PACKAGE_NAME); in getAvailabilityStatus_validPackage_shouldReturnAvailable()133 mController.setPackage(VALID_PACKAGE_NAME); in onPreferenceChange_unhibernatesWhenExempted()136 verify(mAppHibernationManager).setHibernatingForUser(VALID_PACKAGE_NAME, false); in onPreferenceChange_unhibernatesWhenExempted()137 verify(mAppHibernationManager).setHibernatingGlobally(VALID_PACKAGE_NAME, false); in onPreferenceChange_unhibernatesWhenExempted()
50 private static final String VALID_PACKAGE_NAME = "valid-package-name"; field in AnalyticsUtilsTest77 when(mockPackageManager.getInstallerPackageName(VALID_PACKAGE_NAME)) in testGetInstallerPackageName_validPackage()81 AnalyticsUtils.getInstallerPackageName(mockContext, VALID_PACKAGE_NAME)); in testGetInstallerPackageName_validPackage()