Home
last modified time | relevance | path

Searched refs:getPackageName (Results 1 – 25 of 492) sorted by relevance

12345678910>>...20

/packages/apps/Launcher3/src/com/android/launcher3/
DPartner.java79 public String getPackageName() { in getPackageName() method in Partner
89 "xml", getPackageName()); in hasDefaultLayout()
95 "xml", getPackageName()); in hasFolder()
101 getPackageName()); in hideDefaultWallpaper()
107 getPackageName()); in getWallpaperDirectory()
113 getPackageName()); in requiresFirstRunFlow()
124 "integer", getPackageName()); in applyInvariantDeviceProfileOverrides()
130 "integer", getPackageName()); in applyInvariantDeviceProfileOverrides()
136 "dimen", getPackageName()); in applyInvariantDeviceProfileOverrides()
DAllAppsList.java142 if (info.user.equals(user) && packageName.equals(info.componentName.getPackageName())) { in removePackage()
166 if (info.user.equals(user) && packages.contains(info.componentName.getPackageName())) { in updateIconsAndLabels()
186 && packageName.equals(applicationInfo.componentName.getPackageName())) { in updatePackage()
211 && packageName.equals(applicationInfo.componentName.getPackageName())) { in updatePackage()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppDeletionPreferenceTest.java63 assertThat(preference.getPackageName()).isEqualTo(TEST_PACKAGE_NAME); in testPreferenceSummary()
82 assertThat(preference.getPackageName()).isEqualTo(TEST_PACKAGE_NAME); in testTwoDayPreferenceSummary()
101 assertThat(preference.getPackageName()).isEqualTo(TEST_PACKAGE_NAME); in testYesterdayPreferenceSummary()
120 assertThat(preference.getPackageName()).isEqualTo(TEST_PACKAGE_NAME); in testTodayPreferenceSummary()
139 assertThat(preference.getPackageName()).isEqualTo(TEST_PACKAGE_NAME); in testNeverUsedPreferenceSummary()
159 assertThat(preference.getPackageName()).isEqualTo(TEST_PACKAGE_NAME); in testUnknownLastUsePreferenceSummary()
179 assertThat(preference.getPackageName()).isEqualTo(TEST_PACKAGE_NAME); in testSizeSummary()
/packages/apps/Settings/src/com/android/settings/
DUsageStatsActivity.java68 String alabel = mAppLabelList.get(a.getPackageName()); in compare()
69 String blabel = mAppLabelList.get(b.getPackageName()); in compare()
127 ApplicationInfo appInfo = mPm.getApplicationInfo(pkgStats.getPackageName(), 0); in UsageStatsAdapter()
129 mAppLabelMap.put(pkgStats.getPackageName(), label); in UsageStatsAdapter()
132 map.get(pkgStats.getPackageName()); in UsageStatsAdapter()
134 map.put(pkgStats.getPackageName(), pkgStats); in UsageStatsAdapter()
193 String label = mAppLabelMap.get(pkgStats.getPackageName()); in getView()
DSettingsActivity.java221 if (name.equals(getPackageName() + "_preferences")) { in getSharedPreferences()
769 String packageName = getPackageName(); in doUpdateTilesList()
873 if (packageName.equals(component.getPackageName()) in doUpdateTilesList()
896 if (UserHandle.MU_ENABLED && !isAdmin && getPackageName().equals(component.getPackageName()) in setTileEnabled()
984 .get(0 /* index */).baseActivity.getPackageName(); in isSettingsRunOnTop()
985 return TextUtils.equals(getPackageName(), taskPkgName); in isSettingsRunOnTop()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DVirtualKeyboardPreferenceControllerTest.java95 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName()); in updateState_singleIme_setImeLabelToSummary()
116 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName()); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
118 when(imis.get(1).getPackageName()).thenReturn(componentName.getPackageName()); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
/packages/experimental/FillService/src/foo/bar/fill/
DFillService.java92 RemoteViews presentation = new RemoteViews(getPackageName(), R.layout.pathology); in onFillRequest()
115 RemoteViews presentation1 = new RemoteViews(getPackageName(), R.layout.list_item); in onFillRequest()
118 RemoteViews presentation2 = new RemoteViews(getPackageName(), R.layout.list_item); in onFillRequest()
121 RemoteViews presentation3 = new RemoteViews(getPackageName(), R.layout.list_item); in onFillRequest()
124 RemoteViews presentation4 = new RemoteViews(getPackageName(), R.layout.list_item); in onFillRequest()
127 RemoteViews presentation5 = new RemoteViews(getPackageName(), R.layout.list_item); in onFillRequest()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DUseOpenWifiPreferenceControllerTest.java95 ENABLE_ACTIVITY_COMPONENT.getPackageName()); in setupScorers()
171 ENABLE_ACTIVITY_COMPONENT.getPackageName()); in onPreferenceChange_matchingKeyAndAvailable_disableShouldUpdateSetting()
215 .isEqualTo(ENABLE_ACTIVITY_COMPONENT.getPackageName()); in onActivityResult_matchingRequestCode_okResult_updatesSetting()
225 ENABLE_ACTIVITY_COMPONENT.getPackageName()); in updateState_noEnableActivity_preferenceDisabled_summaryChanged()
241 ENABLE_ACTIVITY_COMPONENT.getPackageName()); in updateState_noScorer_preferenceDisabled_summaryChanged()
257 ENABLE_ACTIVITY_COMPONENT.getPackageName()); in updateState_enableActivityExists_preferenceEnabled()
/packages/apps/Contacts/src/com/android/contacts/util/
DImplicitIntentsUtil.java80 String packageName = context.getPackageName(); in startActivityInApp()
123 intent.setPackage(activity.getPackageName()); in startQuickContact()
181 intent.setPackage(context.getPackageName()); in getIntentForQuickContactLauncherShortcut()
208 intentCopy.setPackage(context.getPackageName()); in getIntentInAppIfExists()
219 intentCopy.setClassName(context.getPackageName(), in getIntentInAppIfExists()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationActionUtils.java366 intent.setPackage(context.getPackageName()); in getNotificationActionPendingIntent()
380 intent.setPackage(context.getPackageName()); in getNotificationActionPendingIntent()
393 intent.setPackage(context.getPackageName()); in getNotificationActionPendingIntent()
403 intent.setPackage(context.getPackageName()); in getNotificationActionPendingIntent()
437 intent.setPackage(context.getPackageName()); in getWearNotificationActionPendingIntent()
454 intent.setPackage(context.getPackageName()); in getWearNotificationActionPendingIntent()
641 new RemoteViews(context.getPackageName(), R.layout.undo_notification); in createUndoNotification()
645 final String packageName = context.getPackageName(); in createUndoNotification()
723 intent.setPackage(context.getPackageName()); in createUndoTimeoutPendingIntent()
873 intent.setPackage(context.getPackageName()); // Make sure we only deliver this to ourselves in resendNotifications()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DUncachedInputMethodManagerUtils.java41 final String packageName = context.getPackageName(); in isThisImeEnabled()
43 if (packageName.equals(imi.getPackageName())) { in isThisImeEnabled()
60 final InputMethodInfo imi = getInputMethodInfoOf(context.getPackageName(), imm); in isThisImeCurrent()
78 if (packageName.equals(imi.getPackageName())) { in getInputMethodInfoOf()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DAvrcp.java1610 Intent launch = mPackageManager.getLaunchIntentForPackage(info.getPackageName()); in setAddressedPlayer()
1635 String browsedPackage = getPackageName(selectedId); in setBrowsedPlayer()
1668 String packageName = controller.getPackageName();
1679 setAddressedMediaSessionPackage(newControllers.get(0).getPackageName());
1696 if (getPackageName(mCurrAddrPlayerID).equals(packageName)) return; in setAddressedMediaSessionPackage()
1705 if (entry.getValue().getPackageName().equals(packageName)) { in setAddressedMediaSessionPackage()
1721 if (activeController.getPackageName().equals("com.android.server.telecom")) { in setActiveMediaSession()
1725 if (DEBUG) Log.v(TAG, "Set active media session " + activeController.getPackageName()); in setActiveMediaSession()
1727 setAddressedMediaSessionPackage(activeController.getPackageName()); in setActiveMediaSession()
1847 String packageName = controller.getPackageName(); in addMediaPlayerController()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsList.java106 if (info.user.equals(user) && packageName.equals(component.getPackageName())) { in removePackage()
130 && packageName.equals(component.getPackageName())) { in updatePackage()
145 info.getComponentName().getPackageName(), in updatePackage()
163 && packageName.equals(component.getPackageName())) { in updatePackage()
211 if (user.equals(info.user) && packageName.equals(component.getPackageName()) in findApplicationInfoLocked()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DSystemActivityMonitoringServiceTest.java84 verifyTopActivityPolling(taskList, 0, new ComponentName(getContext().getPackageName(), in testActivityLaunch()
88 verifyTopActivityPolling(taskList, 1, new ComponentName(getContext().getPackageName(), in testActivityLaunch()
92 verifyTopActivityPolling(taskList, 2, new ComponentName(getContext().getPackageName(), in testActivityLaunch()
103 ComponentName blackListedActivity = new ComponentName(getContext().getPackageName(), in testActivityBlocking()
105 ComponentName blockingActivity = new ComponentName(getContext().getPackageName(), in testActivityBlocking()
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/
DExternalAccountTypeTest.java63 final String packageName = getInstrumentation().getContext().getPackageName(); in testResolveExternalResId()
102 getInstrumentation().getContext().getPackageName(), false); in testEditSchema()
128 getInstrumentation().getContext().getPackageName(), false, in testEditSchema_fallback()
156 getInstrumentation().getContext().getPackageName(), false, in checkEditSchema_mustHaveChecks()
168 getInstrumentation().getContext().getPackageName(), false, in testReadOnlyDefinition()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java147 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_NoServicesFound_IncomingCall()
180 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_NoServicesFound_OutgoingCall()
230 assertEquals(DEF_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_DefaultDialer_NoEmergency()
286 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_SystemDialer_Emergency()
354 assertEquals(DEF_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_DefaultDialer_FallBackToSystem()
385 assertEquals(SYS_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_DefaultDialer_FallBackToSystem()
421 assertEquals(DEF_PKG, bindIntent.getComponent().getPackageName()); in testBindToService_IncludeExternal()
527 packageName = componentName.getPackageName();
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorVoicemail.java86 Voicemails.buildSourceUri(context.getPackageName()), in populateVoicemail()
98 values.put(Status.SOURCE_PACKAGE, handle.getComponentName().getPackageName()); in enableVoicemail()
105 context.getContentResolver().insert(Status.buildSourceUri(context.getPackageName()), values); in enableVoicemail()
131 values.put(Voicemails.SOURCE_PACKAGE, context.getPackageName()); in getAsContentValues()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java202 RemoteViews views = new RemoteViews(mContext.getPackageName(),
215 RemoteViews views = new RemoteViews(mContext.getPackageName(),
224 RemoteViews views = new RemoteViews(mContext.getPackageName(),
234 RemoteViews views = new RemoteViews(mContext.getPackageName(),
243 views = new RemoteViews(mContext.getPackageName(),
246 views = new RemoteViews(mContext.getPackageName(), R.layout.widget_item);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDbModifierWithNotification.java304 || callingPackages.contains(mContext.getPackageName())); in isSelfModifyingOrInternal()
321 if (!modifiedPackages.contains(component.getPackageName()) && in notifyVoicemailChange()
323 component.getPackageName())) { in notifyVoicemailChange()
331 callingPackages.contains(component.getPackageName())); in notifyVoicemailChange()
333 String permissionNeeded = modifiedPackages.contains(component.getPackageName()) ? in notifyVoicemailChange()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/testing/
DStorageManagerRobolectricTestRunner.java59 getPackageName(), in getAppManifest()
63 getPackageName(), in getAppManifest()
67 getPackageName(), in getAppManifest()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountLoader.java154 if(D) Log.d(TAG,"Finding accounts for app "+app.getPackageName()); in parseAccounts()
162 throw new RemoteException("Failed to acquire provider for " + app.getPackageName()); in parseAccounts()
177 if(D)Log.d(TAG,"Could not establish ContentProviderClient for "+app.getPackageName()+ in parseAccounts()
208 app.getPackageName(), in parseAccounts()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DDefaultAssistPicker.java76 final String packageName = info.component.getPackageName(); in getCandidates()
111 final Info info = findAssistantByPackageName(cn.getPackageName()); in setDefaultKey()
160 if (TextUtils.equals(info.component.getPackageName(), packageName)) { in findAssistantByPackageName()
180 serviceInfo.component.getPackageName(), in setAssistService()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageUserKey.java19 return new PackageUserKey(info.getTargetComponent().getPackageName(), info.user); in fromItemInfo()
23 return new PackageUserKey(notification.getPackageName(), notification.getUser()); in fromNotification()
42 update(info.getTargetComponent().getPackageName(), info.user); in updateFromItemInfo()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/
DCarSettingsRobolectricTestRunner.java67 getPackageName(), in getAppManifest()
71 getPackageName(), in getAppManifest()
75 getPackageName(), in getAppManifest()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DAction.java55 public abstract @Nullable String getPackageName(); in getPackageName() method in Action
59 String packageName = getPackageName(); in getAppIcon()
75 String packageName = getPackageName(); in getAppName()

12345678910>>...20