/frameworks/base/telecomm/java/android/telecom/ |
D | DefaultDialerManager.java | 76 List<String> packageNames = getInstalledDialerApplications(context); in setDefaultDialerApplication() local 78 if (packageNames.contains(packageName)) { in setDefaultDialerApplication() 121 final List<String> packageNames = getInstalledDialerApplications(context); in getDefaultDialerApplication() local 124 if (packageNames.contains(defaultPackageName)) { in getDefaultDialerApplication() 136 if (packageNames.contains(systemDialerPackageName)) { in getDefaultDialerApplication() 162 List<String> packageNames = new ArrayList<>(); in getInstalledDialerApplications() local 166 if (activityInfo != null && !packageNames.contains(activityInfo.packageName)) { in getInstalledDialerApplications() 167 packageNames.add(activityInfo.packageName); in getInstalledDialerApplications() 173 return filterByIntent(context, packageNames, dialIntentWithTelScheme); in getInstalledDialerApplications() 209 private static List<String> filterByIntent(Context context, List<String> packageNames, in filterByIntent() argument [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 117 abstract public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable() argument 131 abstract public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() argument 143 public void onPackagesSuspended(String[] packageNames, UserHandle user) { in onPackagesSuspended() argument 155 public void onPackagesUnsuspended(String[] packageNames, UserHandle user) { in onPackagesUnsuspended() argument 746 public void onPackagesAvailable(UserHandle user, String[] packageNames, boolean replacing) 749 Log.d(TAG, "onPackagesAvailable " + user.getIdentifier() + "," + packageNames); 753 callback.postOnPackagesAvailable(packageNames, user, replacing); 759 public void onPackagesUnavailable(UserHandle user, String[] packageNames, boolean replacing) 762 Log.d(TAG, "onPackagesUnavailable " + user.getIdentifier() + "," + packageNames); 766 callback.postOnPackagesUnavailable(packageNames, user, replacing); [all …]
|
D | IOnAppsChangedListener.aidl | 29 void onPackagesAvailable(in UserHandle user, in String[] packageNames, boolean replacing); in onPackagesAvailable() argument 30 void onPackagesUnavailable(in UserHandle user, in String[] packageNames, boolean replacing); in onPackagesUnavailable() argument 31 void onPackagesSuspended(in UserHandle user, in String[] packageNames); in onPackagesSuspended() argument 32 void onPackagesUnsuspended(in UserHandle user, in String[] packageNames); in onPackagesUnsuspended() argument
|
D | IPackageManager.aidl | 273 String[] setPackagesSuspendedAsUser(in String[] packageNames, boolean suspended, int userId); in setPackagesSuspendedAsUser() argument 556 void grantDefaultPermissionsToEnabledCarrierApps(in String[] packageNames, int userId); in grantDefaultPermissionsToEnabledCarrierApps() argument
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
D | CustomTabsClient.java | 94 List<String> packageNames = packages == null ? new ArrayList<String>() : packages; in getPackageName() local 101 packageNames = new ArrayList<String>(packageNames.size() + 1); in getPackageName() 102 packageNames.add(packageName); in getPackageName() 103 if (packages != null) packageNames.addAll(packages); in getPackageName() 108 for (String packageName : packageNames) { in getPackageName()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | PermissionChecker.java | 99 String[] packageNames = context.getPackageManager().getPackagesForUid(uid); in checkPermission() local 100 if (packageNames == null || packageNames.length <= 0) { in checkPermission() 103 packageName = packageNames[0]; in checkPermission()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityServiceInfo.java | 363 public String[] packageNames; field in AccessibilityServiceInfo 495 packageNames = packageNamez.split("(\\s)*,(\\s)*"); in AccessibilityServiceInfo() 560 packageNames = other.packageNames; in updateDynamicallyConfigurableProperties() 707 parcel.writeStringArray(packageNames); in writeToParcel() 721 packageNames = parcel.readStringArray(); in initFromParcel() 765 appendPackageNames(stringBuilder, packageNames); in toString() 797 private static void appendPackageNames(StringBuilder stringBuilder, String[] packageNames) { in appendPackageNames() argument 800 if (packageNames != null) { in appendPackageNames() 801 final int packageNameCount = packageNames.length; in appendPackageNames() 803 stringBuilder.append(packageNames[i]); in appendPackageNames()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | UidDetailProvider.java | 146 final String[] packageNames = pm.getPackagesForUid(uid); in buildUidDetail() local 147 final int length = packageNames != null ? packageNames.length : 0; in buildUidDetail() 153 final ApplicationInfo info = ipm.getApplicationInfo(packageNames[0], in buildUidDetail() 164 final String packageName = packageNames[i]; in buildUidDetail()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestSuiteBuilder.java | 99 public TestSuiteBuilder includePackages(String... packageNames) { in includePackages() argument 100 testGrouping.addPackagesRecursive(packageNames); in includePackages() 110 public TestSuiteBuilder excludePackages(String... packageNames) { in excludePackages() argument 111 testGrouping.removePackagesRecursive(packageNames); in excludePackages()
|
D | TestGrouping.java | 115 public TestGrouping addPackagesRecursive(String... packageNames) { in addPackagesRecursive() argument 116 for (String packageName : packageNames) { in addPackagesRecursive() 137 public TestGrouping removePackagesRecursive(String... packageNames) { in removePackagesRecursive() argument 138 for (String packageName : packageNames) { in removePackagesRecursive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/ |
D | PipManager.java | 169 String[] packageNames = intent.getStringArrayExtra(Intent.EXTRA_PACKAGES); 172 if (packageNames != null && packageNames.length > 0 174 handleMediaResourceGranted(packageNames); 446 private void handleMediaResourceGranted(String[] packageNames) { in handleMediaResourceGranted() argument 448 mLastPackagesResourceGranted = packageNames; in handleMediaResourceGranted() 453 for (String newPackageName : packageNames) { in handleMediaResourceGranted() 461 mLastPackagesResourceGranted = packageNames; in handleMediaResourceGranted()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 147 String[] packageNames = new String[enabledCarrierPackages.size()]; in disableCarrierAppsUntilPrivileged() local 148 enabledCarrierPackages.toArray(packageNames); in disableCarrierAppsUntilPrivileged() 149 packageManager.grantDefaultPermissionsToEnabledCarrierApps(packageNames, userId); in disableCarrierAppsUntilPrivileged()
|
/frameworks/base/core/java/android/app/backup/ |
D | IBackupManager.aidl | 172 boolean doCompress, in String[] packageNames); in fullBackup() argument 180 void fullTransportBackup(in String[] packageNames); in fullTransportBackup() argument
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | Trampoline.java | 229 boolean allIncludesSystem, boolean doCompress, String[] packageNames) in fullBackup() argument 234 allApps, allIncludesSystem, doCompress, packageNames); in fullBackup() 239 public void fullTransportBackup(String[] packageNames) throws RemoteException { in fullTransportBackup() argument 242 svc.fullTransportBackup(packageNames); in fullTransportBackup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | CarNavigationBarController.java | 163 private void initFacetFilterMaps(int id, String[] packageNames, String[] categories) { in initFacetFilterMaps() argument 169 mFacetPackages.add(packageNames); in initFacetFilterMaps() 170 for (int i = 0; i < packageNames.length; i++) { in initFacetFilterMaps() 171 mFacetPackageMap.put(packageNames[i], id); in initFacetFilterMaps()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SMSDispatcher.java | 969 String[] packageNames = pm.getPackagesForUid(Binder.getCallingUid()); in sendRawPdu() local 971 if (packageNames == null || packageNames.length == 0) { in sendRawPdu() 982 appInfo = pm.getPackageInfo(packageNames[0], PackageManager.GET_SIGNATURES); in sendRawPdu() 1559 String[] packageNames = pm.getPackagesForUid(Binder.getCallingUid()); in getSmsTracker() local 1563 if (packageNames != null && packageNames.length > 0) { in getSmsTracker() 1566 appInfo = pm.getPackageInfo(packageNames[0], PackageManager.GET_SIGNATURES); in getSmsTracker()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | NotificationManagerCompat.java | 339 Set<String> packageNames = new HashSet<String>(components.length); in getEnabledListenerPackages() local 343 packageNames.add(componentName.getPackageName()); in getEnabledListenerPackages() 346 sEnabledNotificationListenerPackages = packageNames; in getEnabledListenerPackages()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 922 String[] packageNames = ActivityThread.getPackageManager().getPackagesForUid( in getVolumeList() local 924 if (packageNames == null || packageNames.length <= 0) { in getVolumeList() 927 packageName = packageNames[0]; in getVolumeList()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | VrManagerService.java | 205 public void update(Collection<String> packageNames) { in update() argument 226 if (!packageNames.contains(pkg)) { in update() 232 for (String pkg : packageNames) { in update() 241 allowed.addAll(packageNames); in update()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | AccessibilityManagerTest.java | 82 accessibilityServiceInfo.packageNames = new String[] { "foo.bar" }; in testGetAccessibilityServiceList()
|
D | MockAccessibilityService.java | 69 defaultInfo.packageNames = new String[] { in createDefaultInfo()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 3906 public String[] setPackagesSuspended(@NonNull ComponentName admin, String[] packageNames, in setPackagesSuspended() argument 3911 return mService.setPackagesSuspended(admin, packageNames, suspended); in setPackagesSuspended() 3916 return packageNames; in setPackagesSuspended() 4599 List<String> packageNames) { in setPermittedAccessibilityServices() argument 4603 return mService.setPermittedAccessibilityServices(admin, packageNames); in setPermittedAccessibilityServices() 4700 … public boolean setPermittedInputMethods(@NonNull ComponentName admin, List<String> packageNames) { in setPermittedInputMethods() argument 4704 return mService.setPermittedInputMethods(admin, packageNames); in setPermittedInputMethods() 4815 @NonNull List<String> packageNames) { in setKeepUninstalledPackages() argument 4819 mService.setKeepUninstalledPackages(admin, packageNames); in setKeepUninstalledPackages()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 345 List<String> packageNames = null; in runCompile() local 347 packageNames = mInterface.getAllPackages(); in runCompile() 354 packageNames = Collections.singletonList(packageName); in runCompile() 358 for (String packageName : packageNames) { in runCompile()
|
D | DefaultPermissionGrantPolicy.java | 681 public void grantDefaultPermissionsToEnabledCarrierAppsLPr(String[] packageNames, int userId) { in grantDefaultPermissionsToEnabledCarrierAppsLPr() argument 683 if (packageNames == null) { in grantDefaultPermissionsToEnabledCarrierAppsLPr() 686 for (String packageName : packageNames) { in grantDefaultPermissionsToEnabledCarrierAppsLPr()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | RecentTasks.java | 260 final Set<String> packageNames = Sets.newHashSet(packages); in onPackagesSuspendedChanged() local 264 && packageNames.contains(tr.realActivity.getPackageName()) in onPackagesSuspendedChanged()
|