Home
last modified time | relevance | path

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

12345

/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/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()
DAppSettingPreferenceControllerTest.java64 mController.setPackageName(TEST_PKG_NAME).setParentFragment(mParent); in setUp()
77 mController.setPackageName(null); in getAvailabilityStatus_noPackageName_shouldNotBeAvailable()
DAppInstallerInfoPreferenceControllerTest.java80 mController.setPackageName("Package1"); in setUp()
105 mController.setPackageName("Package1"); in getAvailabilityStatus_hasAppLabel_shouldReturnAvailable()
/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/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/
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/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragment.java140 use(TimeSpentInAppPreferenceController.class).setPackageName(packageName); in onAttach()
145 installer.setPackageName(packageName); in onAttach()
151 use(AppPermissionPreferenceController.class).setPackageName(packageName); in onAttach()
153 .setPackageName(packageName) in onAttach()
169 pip.setPackageName(packageName); in onAttach()
173 externalSource.setPackageName(packageName); in onAttach()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppInfoDashboardFragment.java140 use(TimeSpentInAppPreferenceController.class).setPackageName(packageName); in onAttach()
145 installer.setPackageName(packageName); in onAttach()
151 use(AppPermissionPreferenceController.class).setPackageName(packageName); in onAttach()
153 .setPackageName(packageName) in onAttach()
169 pip.setPackageName(packageName); in onAttach()
173 externalSource.setPackageName(packageName); in onAttach()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAppInfoTest.java49 .setPackageName(PACKAGE_NAME) in setUp()
74 .setPackageName(PACKAGE_NAME) in testCompareTo_hasCorrectOrder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/
DOpenRestrictAppFragmentActionTest.java71 .setPackageName(PACKAGE_NAME_1) in setUp()
75 .setPackageName(PACKAGE_NAME_2) in setUp()
DRestrictAppActionTest.java66 .setPackageName(PACKAGE_NAME_1) in setUp()
70 .setPackageName(PACKAGE_NAME_2) in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/
DHighUsageDetector.java85 .setPackageName( in detect()
96 .setPackageName(SETTINGS_PACKAGE_NAME) in detect()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DHighUsageDetector.java94 .setPackageName( in detect()
106 .setPackageName(SETTINGS_PACKAGE_NAME) in detect()
/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/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/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DAppPermissionsFragment.java70 return setPackageName(new AppPermissionsFragment(), packageName); in newInstance()
73 private static <T extends Fragment> T setPackageName(T fragment, String packageName) { in setPackageName() method in AppPermissionsFragment
230 setPackageName(frag, getArguments().getString(Intent.EXTRA_PACKAGE_NAME)); in loadPreferences()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java93 .setPackageName(cursor.getString(index++)) in fromCursor()
208 public abstract Builder setPackageName(String packageName); in setPackageName() method in RecordedProgram.Builder
342 .setPackageName("") in builder()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyboardAccessibilityNodeProvider.java142 event.setPackageName(mKeyboardView.getContext().getPackageName()); in createAccessibilityEvent()
238 info.setPackageName(mKeyboardView.getContext().getPackageName()); in createAccessibilityNodeInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/
DRestrictAppTipTest.java90 .setPackageName(PACKAGE_NAME) in setUp()
95 .setPackageName(UNINSTALL_PACKAGE_NAME) in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCard.java208 mBuilder.setPackageName(mPackageName); in ContextualCard()
320 public Builder setPackageName(String packageName) { in setPackageName() method in ContextualCard.Builder
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCard.java214 mBuilder.setPackageName(mPackageName); in ContextualCard()
329 public Builder setPackageName(String packageName) { in setPackageName() method in ContextualCard.Builder
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DAppPermissionsFragmentWear.java59 return setPackageName(new AppPermissionsFragmentWear(), packageName); in newInstance()
62 private static <T extends Fragment> T setPackageName(T fragment, String packageName) { in setPackageName() method in AppPermissionsFragmentWear

12345