/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | NavigatorTest.java | 1518 .setPackageName(CLIENT_APP_PACKAGE_NAME) in testGetRoot_returnHostAppRoot() 1522 .setPackageName(CLIENT_APP_PACKAGE_NAME) in testGetRoot_returnHostAppRoot() 1526 .setPackageName(CLIENT_APP_PACKAGE_NAME) in testGetRoot_returnHostAppRoot() 1532 .setPackageName(HOST_APP_PACKAGE_NAME) in testGetRoot_returnHostAppRoot() 1536 .setPackageName(HOST_APP_PACKAGE_NAME) in testGetRoot_returnHostAppRoot() 1541 .setPackageName(HOST_APP_PACKAGE_NAME) in testGetRoot_returnHostAppRoot() 1613 .setPackageName(CLIENT_APP_PACKAGE_NAME) in testFindFocusParkingViewInRoot() 1617 .setPackageName(CLIENT_APP_PACKAGE_NAME) in testFindFocusParkingViewInRoot() 1621 .setPackageName(CLIENT_APP_PACKAGE_NAME) in testFindFocusParkingViewInRoot() 1627 .setPackageName(HOST_APP_PACKAGE_NAME) in testFindFocusParkingViewInRoot() [all …]
|
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/ |
D | ParserConfigValidTest.kt | 54 .setPackageName("package") in validConfig_matchesExpected() 64 .setPackageName("package") in validConfig_matchesExpected() 80 .setPackageName("package") in validConfig_matchesExpected() 96 .setPackageName("package") in validConfig_matchesExpected() 106 .setPackageName("package") in validConfig_matchesExpected() 114 .setPackageName("package") in validConfig_matchesExpected() 157 .setPackageName("package") in validConfig_matchesExpected() 164 .setPackageName("package") in validConfig_matchesExpected() 180 .setPackageName("package") in validConfig_matchesExpected() 190 .setPackageName("package") in validConfig_matchesExpected()
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/ |
D | SafetySourceTest.kt | 282 .setPackageName(PACKAGE_NAME) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 304 .setPackageName(PACKAGE_NAME) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 319 .setPackageName("other") in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 334 .setPackageName(PACKAGE_NAME) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 349 .setPackageName(PACKAGE_NAME) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 364 .setPackageName(PACKAGE_NAME) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 379 .setPackageName(PACKAGE_NAME) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 394 .setPackageName(PACKAGE_NAME) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 401 .setPackageName(PACKAGE_NAME) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 416 .setPackageName(PACKAGE_NAME) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() [all …]
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppDeletionPreferenceTest.java | 53 .setPackageName(TEST_PACKAGE_NAME) in testPreferenceSummary() 72 .setPackageName(TEST_PACKAGE_NAME) in testTwoDayPreferenceSummary() 91 .setPackageName(TEST_PACKAGE_NAME) in testYesterdayPreferenceSummary() 110 .setPackageName(TEST_PACKAGE_NAME) in testTodayPreferenceSummary() 129 .setPackageName(TEST_PACKAGE_NAME) in testNeverUsedPreferenceSummary() 148 .setPackageName(TEST_PACKAGE_NAME) in testUnknownLastUsePreferenceSummary() 168 .setPackageName(TEST_PACKAGE_NAME) in testSizeSummary()
|
D | AppDeletionTypeTest.java | 61 .setPackageName(PACKAGE_NAME) in uncheckedAppNotReported() 80 .setPackageName(PACKAGE_NAME) in checkedAppIsReported() 120 .setPackageName(PACKAGE_NAME) in testLoadingState_completeOnDeletableContentFound()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/ |
D | StoragePreferenceControllerTest.java | 80 mPreferenceController.setPackageName(PACKAGE_NAME); in testCheckInitialized_noApplicationsEntry_throwException() 89 mPreferenceController.setPackageName(PACKAGE_NAME); in testCheckInitialized_noApplicationsState_throwException() 110 mPreferenceController.setPackageName(PACKAGE_NAME); in onCreate_nullSize_calculatingSummary() 125 mPreferenceController.setPackageName(PACKAGE_NAME); in onCreate_validApp_sizeSummary() 139 mPreferenceController.setPackageName(PACKAGE_NAME); in onCreate_lateAppLoad_updateSummary() 157 mPreferenceController.setPackageName(PACKAGE_NAME); in onCreate_packageSizeChange_updateSummary() 175 mPreferenceController.setPackageName(PACKAGE_NAME); in onCreate_otherPackageSizeChange_doesNotUpdateSummary()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/appinfo/ |
D | HibernationSwitchPreferenceControllerTest.java | 107 mController.setPackageName(VALID_PACKAGE_NAME); in getAvailabilityStatus_featureNotEnabled_shouldNotReturnAvailable() 116 mController.setPackageName(INVALID_PACKAGE_NAME); in getAvailabilityStatus_invalidPackage_shouldReturnNotAvailable() 123 mController.setPackageName(VALID_PACKAGE_NAME); in getAvailabilityStatus_validPackage_shouldReturnAvailable() 134 mController.setPackageName(EXEMPTED_PACKAGE_NAME); in updateState_exemptedByDefaultPackage_shouldNotCheck() 147 mController.setPackageName(EXEMPTED_PACKAGE_NAME); in updateState_exemptedPackageOverrideByUser_shouldCheck() 160 mController.setPackageName(UNEXEMPTED_PACKAGE_NAME); in updateState_unexemptedPackageOverrideByUser_shouldNotCheck()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragment.java | 79 .setAppEntry(mAppEntry).setAppState(mAppState).setPackageName(mPackageName); in onAttach() 83 R.string.pk_application_details_permissions).setPackageName(mPackageName); in onAttach() 86 .setAppEntry(mAppEntry).setAppState(mAppState).setPackageName(mPackageName); in onAttach() 92 .setPackageName(mPackageName); in onAttach()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppInfoDashboardFragment.java | 156 timeSpentInAppPreferenceController.setPackageName(packageName); in onAttach() 163 installer.setPackageName(packageName); in onAttach() 169 .setPackageName(packageName) in onAttach() 173 use(AppPermissionPreferenceController.class).setPackageName(packageName); in onAttach() 175 .setPackageName(packageName) in onAttach() 178 use(AppAllServicesPreferenceController.class).setPackageName(packageName); in onAttach() 200 pip.setPackageName(packageName); in onAttach() 205 externalSource.setPackageName(packageName); in onAttach() 210 acrossProfiles.setPackageName(packageName); in onAttach() 215 alarmsAndReminders.setPackageName(packageName); in onAttach()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | AbstractZenModeAutomaticRulePreferenceControllerTest.java | 64 rule.setPackageName(mContext.getPackageName()); in testGetSettingsActivity_configActivity() 80 rule.setPackageName(mContext.getPackageName()); in testGetSettingsActivity_configActivity_wrongPackage() 111 rule.setPackageName(mContext.getPackageName()); in testGetSettingsActivity_cps() 134 rule.setPackageName("other"); in testGetSettingsActivity_cps_wrongPackage() 179 rule.setPackageName(mContext.getPackageName()); in testGetRuleIntent()
|
/packages/apps/SecureElement/src/com/android/se/security/ |
D | ChannelAccess.java | 56 ca.setPackageName(mPackageName); in clone() 78 public void setPackageName(String name) { in setPackageName() method in ChannelAccess 139 ca.setPackageName(packageName); in getPrivilegeAccess() 152 ca.setPackageName(packageName); in getCarrierPrivilegeAccess()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | RestrictAppDetectorTest.java | 86 mAppInfo = new AppInfo.Builder().setPackageName(PACKAGE_NAME).build(); in setUp() 135 .setPackageName(RESTRICTED_PACKAGE_NAME) in testDetect_hasAutoHandledAnomaly_tipHandled() 149 .setPackageName(UNINSTALLED_PACKAGE_NAME) in testDetect_typeNewHasUninstalledAnomaly_removeIt() 164 .setPackageName(RESTRICTED_PACKAGE_NAME) in testDetect_typeNewHasRestrictedAnomaly_removeIt() 182 .setPackageName(UNRESTRICTED_PACKAGE_NAME) in testDetect_typeHandledHasUnRestrictedAnomaly_removeIt()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | TimeSpentInAppPreferenceControllerTest.java | 82 mController.setPackageName(null); in noPackageName_shouldBeDisabled() 90 mController.setPackageName(TEST_INTENT.getStringExtra(EXTRA_PACKAGE_NAME)); in noIntentHandler_shouldBeDisabled() 99 mController.setPackageName(TEST_INTENT.getStringExtra(EXTRA_PACKAGE_NAME)); in hasIntentHandler_notSystemApp_shouldBeDisabled() 112 mController.setPackageName(TEST_INTENT.getStringExtra(EXTRA_PACKAGE_NAME)); in hasIntentHandler_resolvedToSystemApp_shouldBeAvailable()
|
D | AppInstallerInfoPreferenceControllerTest.java | 85 mController.setPackageName("Package1"); in setUp() 112 mController.setPackageName(packageName); in getAvailabilityStatus_hasAppLabel_shouldReturnAvailable() 166 mController.setPackageName(packageName); in getAvailabilityStatus_isMainlineModule_shouldReturnDisabled()
|
D | AppSettingPreferenceControllerTest.java | 64 mController.setPackageName(TEST_PKG_NAME).setParentFragment(mParent); in setUp() 77 mController.setPackageName(null); in getAvailabilityStatus_noPackageName_shouldNotBeAvailable()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivityRoboTest.java | 311 .setPackageName(ADMIN_PACKAGE) in activity_profileOwner_adminIntegrated_returnsIntermediateResult() 313 .setPackageName(ADMIN_PACKAGE) in activity_profileOwner_adminIntegrated_returnsIntermediateResult() 340 .setPackageName(ADMIN_PACKAGE) in activity_deviceOwner_adminIntegrated_returnsIntermediateResult() 342 .setPackageName(ADMIN_PACKAGE) in activity_deviceOwner_adminIntegrated_returnsIntermediateResult() 366 .setPackageName(ADMIN_PACKAGE) in activity_deviceOwner_notAdminIntegrated_returnsOk() 368 .setPackageName(ADMIN_PACKAGE) in activity_deviceOwner_notAdminIntegrated_returnsOk()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/visibilitystore/ |
D | VisibilityCheckerImplTest.java | 211 .setPackageName(packageNameFoo).build(), in testSetVisibility_visibleToPackages() 226 .setPackageName(packageNameFoo).build(), in testSetVisibility_visibleToPackages() 241 .setPackageName(packageNameFoo).build(), in testSetVisibility_visibleToPackages() 255 .setPackageName(packageNameBar).build(), in testSetVisibility_visibleToPackages() 268 .setPackageName(packageNameFoo).build(), in testSetVisibility_visibleToPackages() 276 .setPackageName(packageNameBar).build(), in testSetVisibility_visibleToPackages()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/interactacrossprofiles/ |
D | InteractAcrossProfilesPreferenceControllerTest.java | 53 mController.setPackageName(CROSS_PROFILE_PACKAGE_NAME); in getAvailabilityStatus_requestedCrossProfilePermission_returnsAvailable() 67 mController.setPackageName(NOT_CROSS_PROFILE_PACKAGE_NAME); in getAvailabilityStatus_notRequestedCrossProfilePermission_returnsDisabled()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/ |
D | AppInfoTest.java | 50 .setPackageName(PACKAGE_NAME) in setUp() 75 .setPackageName(PACKAGE_NAME) in testCompareTo_hasCorrectOrder()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/ |
D | StorageApplicationActionButtonsPreferenceControllerTest.java | 125 mPreferenceController.setPackageName(PACKAGE_NAME).setAppsStorageStatsManager( in testCheckInitialized_noAppEntry_throwException() 143 mPreferenceController.setAppEntry(mMockAppEntry).setPackageName( in testCheckInitialized_noAppsStorageStatsManagerEntry_throwException() 152 mPreferenceController.setAppEntry(mMockAppEntry).setPackageName( in testCheckInitialized_noLoaderManager_throwException() 417 mPreferenceController.setAppEntry(mMockAppEntry).setPackageName( in setupAndAssignPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/ |
D | OpenRestrictAppFragmentActionTest.java | 71 .setPackageName(PACKAGE_NAME_1) in setUp() 75 .setPackageName(PACKAGE_NAME_2) in setUp()
|
D | RestrictAppActionTest.java | 67 .setPackageName(PACKAGE_NAME_1) in setUp() 71 .setPackageName(PACKAGE_NAME_2) in setUp()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | HighUsageDetector.java | 96 .setPackageName( in detect() 107 .setPackageName(SETTINGS_PACKAGE_NAME) in detect()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/statsconverters/ |
D | AnrOccurredConverterTest.java | 50 .setPackageName(PACKAGE_NAME_1) 58 .setPackageName(PACKAGE_NAME_2)
|
D | AppCrashOccurredConverterTest.java | 50 .setPackageName(PACKAGE_NAME_1) 58 .setPackageName(PACKAGE_NAME_2)
|