/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/sharedlibrarysupport/ |
D | SharedLibrarySpecifierTest.java | 35 .setPackageName("com.android.car.testsharedlib").build(); in test_empty_sharedlibraryspecifier_matches_anything() 44 .setPackageName("com.android.car.testsharedlib") in test_sharedlibraryspecifier_doesnt_match_different_package_name() 48 .setPackageName("com.android.car.testsharedlib2").build(); in test_sharedlibraryspecifier_doesnt_match_different_package_name() 56 .setPackageName("com.android.car.testsharedlib") in test_sharedlibraryspecifier_matches_same_package_name() 60 .setPackageName("com.android.car.testsharedlib").build(); in test_sharedlibraryspecifier_matches_same_package_name() 68 .setPackageName("com.android.car.testsharedlib") in test_sharedlibraryspecifier_doesnt_match_versioncode() 73 .setPackageName("com.android.car.testsharedlib").build(); in test_sharedlibraryspecifier_doesnt_match_versioncode() 82 .setPackageName("com.android.car.testsharedlib") in test_sharedlibraryspecifier_matches_versioncode() 87 .setPackageName("com.android.car.testsharedlib").build(); in test_sharedlibraryspecifier_matches_versioncode()
|
/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/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/Settings/src/com/android/settings/applications/appinfo/ |
D | AppInfoDashboardFragment.java | 145 timeSpentInAppPreferenceController.setPackageName(packageName); in onAttach() 151 installer.setPackageName(packageName); in onAttach() 157 .setPackageName(packageName) in onAttach() 161 use(AppPermissionPreferenceController.class).setPackageName(packageName); in onAttach() 163 .setPackageName(packageName) in onAttach() 168 use(ExtraAppInfoPreferenceController.class).setPackageName(packageName); in onAttach() 187 pip.setPackageName(packageName); in onAttach() 192 externalSource.setPackageName(packageName); in onAttach() 197 acrossProfiles.setPackageName(packageName); in onAttach() 202 alarmsAndReminders.setPackageName(packageName); in onAttach()
|
D | ExtraAppInfoPreferenceController.java | 72 public void setPackageName(String packageName) { in setPackageName() method in ExtraAppInfoPreferenceController 74 mExtraAppInfoFeatureProvider.setPackageName(packageName); in setPackageName()
|
/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).setPackageName(mPackageName); in onAttach() 91 .setPackageName(mPackageName); in onAttach()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | TimeSpentInAppPreferenceControllerTest.java | 79 mController.setPackageName(null); in noPackageName_shouldBeDisabled() 87 mController.setPackageName(TEST_INTENT.getStringExtra(EXTRA_PACKAGE_NAME)); in noIntentHandler_shouldBeDisabled() 96 mController.setPackageName(TEST_INTENT.getStringExtra(EXTRA_PACKAGE_NAME)); in hasIntentHandler_notSystemApp_shouldBeDisabled() 109 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/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/fuelgauge/ |
D | BatteryDatabaseManagerTest.java | 70 .setPackageName(PACKAGE_NAME_NEW) in setUp() 75 .setPackageName(PACKAGE_NAME_OLD) in setUp() 80 .setPackageName(PACKAGE_NAME_NEW) in setUp() 122 final AppInfo appInfo = new AppInfo.Builder().setPackageName(PACKAGE_NAME_OLD).build(); in updateAnomalies_updateSuccessfully()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | AbstractZenModeAutomaticRulePreferenceControllerTest.java | 60 rule.setPackageName(mContext.getPackageName()); in testGetSettingsActivity_configActivity() 76 rule.setPackageName(mContext.getPackageName()); in testGetSettingsActivity_configActivity_wrongPackage() 107 rule.setPackageName(mContext.getPackageName()); in testGetSettingsActivity_cps() 130 rule.setPackageName("other"); in testGetSettingsActivity_cps_wrongPackage()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivityRoboTest.java | 312 .setPackageName(ADMIN_PACKAGE) in activity_profileOwner_adminIntegrated_returnsIntermediateResult() 314 .setPackageName(ADMIN_PACKAGE) in activity_profileOwner_adminIntegrated_returnsIntermediateResult() 341 .setPackageName(ADMIN_PACKAGE) in activity_deviceOwner_adminIntegrated_returnsIntermediateResult() 343 .setPackageName(ADMIN_PACKAGE) in activity_deviceOwner_adminIntegrated_returnsIntermediateResult() 367 .setPackageName(ADMIN_PACKAGE) in activity_deviceOwner_notAdminIntegrated_returnsOk() 369 .setPackageName(ADMIN_PACKAGE) in activity_deviceOwner_notAdminIntegrated_returnsOk()
|
/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/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/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/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/ |
D | RestrictAppActionTest.java | 66 .setPackageName(PACKAGE_NAME_1) in setUp() 70 .setPackageName(PACKAGE_NAME_2) in setUp()
|
D | OpenRestrictAppFragmentActionTest.java | 71 .setPackageName(PACKAGE_NAME_1) in setUp() 75 .setPackageName(PACKAGE_NAME_2) in setUp()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | HighUsageDetector.java | 93 .setPackageName( in detect() 104 .setPackageName(SETTINGS_PACKAGE_NAME) in detect()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicensesListPreferenceControllerTest.java | 55 moduleInfo.setPackageName(PACKAGE_NAME); in getAvailabilityStatus_validLicenses_returnsAvailable() 96 moduleInfo.setPackageName(PACKAGE_NAME); in getAvailabilityStatus_noLicenses_returnsConditionallyUnavailable()
|
D | ModuleLicensesPreferenceControllerTest.java | 67 mModuleOne.setPackageName(MODULE_1_PACKAGE_NAME); in setUp() 70 mModuleTwo.setPackageName(MODULE_2_PACKAGE_NAME); in setUp()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDataConverter.java | 180 .setPackageName(raw.packageName) in convertRaw() 253 .setPackageName(sir.packageName) in convertResource() 295 .setPackageName(sir.packageName) in convertResource()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CarModeTracker.java | 83 public void setPackageName(String packageName) { in setPackageName() method in CarModeTracker.CarModeApp 179 projectingApp.get().setPackageName(packageName); in handleSetAutomotiveProjection()
|