/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Partner.java | 79 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()
|
D | AllAppsList.java | 142 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/ |
D | AppDeletionPreferenceTest.java | 63 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/ |
D | UsageStatsActivity.java | 68 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()
|
D | SettingsActivity.java | 221 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/ |
D | VirtualKeyboardPreferenceControllerTest.java | 95 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/ |
D | FillService.java | 92 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/ |
D | UseOpenWifiPreferenceControllerTest.java | 95 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/ |
D | ImplicitIntentsUtil.java | 80 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/ |
D | NotificationActionUtils.java | 366 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/ |
D | UncachedInputMethodManagerUtils.java | 41 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/ |
D | Avrcp.java | 1610 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/ |
D | AllAppsList.java | 106 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/ |
D | SystemActivityMonitoringServiceTest.java | 84 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/ |
D | ExternalAccountTypeTest.java | 63 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/ |
D | InCallControllerTests.java | 147 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/ |
D | SimulatorVoicemail.java | 86 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/ |
D | CalendarAppWidgetService.java | 202 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/ |
D | DbModifierWithNotification.java | 304 || 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/ |
D | StorageManagerRobolectricTestRunner.java | 59 getPackageName(), in getAppManifest() 63 getPackageName(), in getAppManifest() 67 getPackageName(), in getAppManifest()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAccountLoader.java | 154 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/ |
D | DefaultAssistPicker.java | 76 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/ |
D | PackageUserKey.java | 19 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/ |
D | CarSettingsRobolectricTestRunner.java | 67 getPackageName(), in getAppManifest() 71 getPackageName(), in getAppManifest() 75 getPackageName(), in getAppManifest()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/ |
D | Action.java | 55 public abstract @Nullable String getPackageName(); in getPackageName() method in Action 59 String packageName = getPackageName(); in getAppIcon() 75 String packageName = getPackageName(); in getAppName()
|