Home
last modified time | relevance | path

Searched refs:setPackageName (Results 1 – 25 of 112) sorted by relevance

12345

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/sharedlibrarysupport/
DSharedLibrarySpecifierTest.java35 .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/
DAppDeletionPreferenceTest.java53 .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()
DAppDeletionTypeTest.java61 .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/
DHibernationSwitchPreferenceControllerTest.java107 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/
DAppInfoDashboardFragment.java145 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()
DExtraAppInfoPreferenceController.java72 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/
DApplicationDetailsFragment.java79 .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/
DTimeSpentInAppPreferenceControllerTest.java79 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()
DAppInstallerInfoPreferenceControllerTest.java85 mController.setPackageName("Package1"); in setUp()
112 mController.setPackageName(packageName); in getAvailabilityStatus_hasAppLabel_shouldReturnAvailable()
166 mController.setPackageName(packageName); in getAvailabilityStatus_isMainlineModule_shouldReturnDisabled()
DAppSettingPreferenceControllerTest.java64 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/
DChannelAccess.java56 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/
DRestrictAppDetectorTest.java86 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/
DBatteryDatabaseManagerTest.java70 .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/
DAbstractZenModeAutomaticRulePreferenceControllerTest.java60 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/
DProvisioningActivityRoboTest.java312 .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/
DInteractAcrossProfilesPreferenceControllerTest.java53 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/
DStorageApplicationActionButtonsPreferenceControllerTest.java125 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/
DAppInfoTest.java50 .setPackageName(PACKAGE_NAME) in setUp()
75 .setPackageName(PACKAGE_NAME) in testCompareTo_hasCorrectOrder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/
DRestrictAppActionTest.java66 .setPackageName(PACKAGE_NAME_1) in setUp()
70 .setPackageName(PACKAGE_NAME_2) in setUp()
DOpenRestrictAppFragmentActionTest.java71 .setPackageName(PACKAGE_NAME_1) in setUp()
75 .setPackageName(PACKAGE_NAME_2) in setUp()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DHighUsageDetector.java93 .setPackageName( in detect()
104 .setPackageName(SETTINGS_PACKAGE_NAME) in detect()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicensesListPreferenceControllerTest.java55 moduleInfo.setPackageName(PACKAGE_NAME); in getAvailabilityStatus_validLicenses_returnsAvailable()
96 moduleInfo.setPackageName(PACKAGE_NAME); in getAvailabilityStatus_noLicenses_returnsConditionallyUnavailable()
DModuleLicensesPreferenceControllerTest.java67 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/
DIndexDataConverter.java180 .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/
DCarModeTracker.java83 public void setPackageName(String packageName) { in setPackageName() method in CarModeTracker.CarModeApp
179 projectingApp.get().setPackageName(packageName); in handleSetAutomotiveProjection()

12345