/frameworks/support/tv-provider/src/android/support/media/tv/ |
H A D | BaseProgram.java | 533 * @param packageName The package name for the program. 539 public T setPackageName(String packageName) { argument 540 mValues.put(BaseTvColumns.COLUMN_PACKAGE_NAME, packageName);
|
H A D | Channel.java | 595 * @param packageName The value of {@link Channels#COLUMN_PACKAGE_NAME} for the channel. 600 Builder setPackageName(String packageName) { argument 601 mValues.put(Channels.COLUMN_PACKAGE_NAME, packageName);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/ |
H A D | Settings.java | 118 public Customizations(Resources resources, String packageName) { argument 120 mPackageName = packageName; 137 String packageName = null; 139 packageName = info.activityInfo.packageName; 140 if (DEBUG) Log.v(TAG, "got package " + packageName); 141 if (packageName != null && isSystemApp(info)) try { 142 resources = pm.getResourcesForApplication(packageName); 147 if (DEBUG) Log.v(TAG, "found customization package: " + packageName); 151 return resources == null ? null : new Customizations(resources, packageName); [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouter.java | 1699 String packageName = getPackageName(); 1700 Context context = sGlobal.getProviderContext(packageName); 1705 + packageName); 1732 return "MediaRouter.RouteProviderInfo{ packageName=" + getPackageName() 2006 public Context getProviderContext(String packageName) { argument 2007 if (packageName.equals(SystemMediaRouteProvider.PACKAGE_NAME)) { 2012 packageName, Context.CONTEXT_RESTRICTED);
|
H A D | RegisteredMediaRouteProvider.java | 159 public boolean hasComponentName(String packageName, String className) { argument 160 return mComponentName.getPackageName().equals(packageName)
|
H A D | RegisteredMediaRouteProviderWatcher.java | 100 int sourceIndex = findProvider(serviceInfo.packageName, serviceInfo.name); 104 new ComponentName(serviceInfo.packageName, serviceInfo.name)); 128 private int findProvider(String packageName, String className) { argument 132 if (provider.hasComponentName(packageName, className)) {
|
/frameworks/support/compat/java/android/support/v4/app/ |
H A D | AppOpsManagerCompat.java | 77 * @param packageName The name of the application attempting to perform the operation. 84 @NonNull String packageName) { 87 return appOpsManager.noteOp(op, uid, packageName); 83 noteOp(@onNull Context context, @NonNull String op, int uid, @NonNull String packageName) argument
|
H A D | NotificationCompatSideChannelService.java | 61 public abstract void notify(String packageName, int id, String tag, Notification notification); argument 66 public abstract void cancel(String packageName, int id, String tag); argument 71 public abstract void cancelAll(String packageName); argument 78 public void notify(String packageName, int id, String tag, Notification notification) argument 80 checkPermission(getCallingUid(), packageName); 83 NotificationCompatSideChannelService.this.notify(packageName, id, tag, notification); 90 public void cancel(String packageName, int id, String tag) throws RemoteException { argument 91 checkPermission(getCallingUid(), packageName); 94 NotificationCompatSideChannelService.this.cancel(packageName, id, tag); 101 public void cancelAll(String packageName) { argument 112 checkPermission(int callingUid, String packageName) argument [all...] |
H A D | NotificationManagerCompat.java | 417 if (!enabledPackages.contains(resolveInfo.serviceInfo.packageName)) { 421 resolveInfo.serviceInfo.packageName, resolveInfo.serviceInfo.name); 587 final String packageName; field in class:NotificationManagerCompat.NotifyTask 592 NotifyTask(String packageName, int id, String tag, Notification notif) { argument 593 this.packageName = packageName; 601 service.notify(packageName, id, tag, notif); 607 sb.append("packageName:").append(packageName); 616 final String packageName; field in class:NotificationManagerCompat.CancelTask 621 CancelTask(String packageName) argument 628 CancelTask(String packageName, int id, String tag) argument [all...] |
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 2891 * @param packageName The package name. 2894 public void setPackageName(CharSequence packageName) { argument 2895 mInfo.setPackageName(packageName); 3770 builder.append("; packageName: ").append(getPackageName());
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
H A D | PermissionChecker.java | 87 * @param packageName The package name for which to check. If null the 93 int pid, int uid, String packageName) { 103 if (packageName == null) { 108 packageName = packageNames[0]; 111 if (AppOpsManagerCompat.noteProxyOp(context, op, packageName) 140 * @param packageName The package name making the IPC. If null the 146 @NonNull String permission, String packageName) { 151 Binder.getCallingUid(), packageName); 165 String packageName = (Binder.getCallingPid() == Process.myPid()) 168 Binder.getCallingUid(), packageName); 92 checkPermission(@onNull Context context, @NonNull String permission, int pid, int uid, String packageName) argument 145 checkCallingPermission(@onNull Context context, @NonNull String permission, String packageName) argument [all...] |
/frameworks/support/customtabs/src/android/support/customtabs/ |
H A D | CustomTabsClient.java | 59 * @param packageName Package name to set on the {@link Intent} for binding. 67 String packageName, CustomTabsServiceConnection connection) { 69 if (!TextUtils.isEmpty(packageName)) intent.setPackage(packageName); 106 String packageName = defaultViewHandlerInfo.activityInfo.packageName; 108 packageNames.add(packageName); 114 for (String packageName : packageNames) { 115 serviceIntent.setPackage(packageName); 116 if (pm.resolveService(serviceIntent, 0) != null) return packageName; 66 bindCustomTabsService(Context context, String packageName, CustomTabsServiceConnection connection) argument 135 connectAndInitialize(Context context, String packageName) argument [all...] |
H A D | PostMessageServiceConnection.java | 45 * @param packageName The name of the package to be bound to. 48 public boolean bindSessionToPostMessageService(Context context, String packageName) { argument 50 intent.setClassName(packageName, PostMessageService.class.getName());
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
H A D | ViewStructureImpl.java | 103 public void setId(int id, String packageName, String typeName, String entryName) { argument
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | PackageValidator.java | 66 String packageName = parser.getAttributeValue(null, "package"); 70 CallerInfo info = new CallerInfo(name, packageName, isRelease, certificate); 78 + info.packageName + " release=" + info.release + " certificate=" 130 if (callingPackage.equals(info.packageName)) { 131 Log.v(TAG, "Valid caller: " + info.name + " package=" + info.packageName 135 expectedPackages.append(info.packageName).append(' '); 148 final String packageName; field in class:PackageValidator.CallerInfo 152 public CallerInfo(String name, String packageName, boolean release, argument 155 this.packageName = packageName; [all...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
H A D | CarHelper.java | 34 public static boolean isValidCarPackage(String packageName) { argument 35 return AUTO_APP_PACKAGE_NAME.equals(packageName);
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
H A D | MediaSessionCompat.java | 2578 public void adjustVolume(int direction, int flags, String packageName) { argument 2583 public void setVolumeTo(int value, int flags, String packageName) { argument 3475 public void adjustVolume(int direction, int flags, String packageName) { argument 3481 public void setVolumeTo(int value, int flags, String packageName) { argument
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | PackageValidator.java | 66 String packageName = parser.getAttributeValue(null, "package"); 70 CallerInfo info = new CallerInfo(name, packageName, isRelease, certificate); 78 + info.packageName + " release=" + info.release + " certificate=" 130 if (callingPackage.equals(info.packageName)) { 131 Log.v(TAG, "Valid caller: " + info.name + " package=" + info.packageName 135 expectedPackages.append(info.packageName).append(' '); 148 final String packageName; field in class:PackageValidator.CallerInfo 152 public CallerInfo(String name, String packageName, boolean release, argument 155 this.packageName = packageName; [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
H A D | CarHelper.java | 34 public static boolean isValidCarPackage(String packageName) { argument 35 return AUTO_APP_PACKAGE_NAME.equals(packageName);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | AppSmsManager.java | 157 mPackageMap.remove(info.packageName); 162 mPackageMap.put(info.packageName, info); 166 public final String packageName; field in class:AppSmsManager.AppRequestInfo 170 AppRequestInfo(String packageName, PendingIntent pendingIntent, String token) { argument 171 this.packageName = packageName;
|
H A D | CarrierServiceBindHelper.java | 335 public void onPackageAdded(String packageName, int reason) { argument 336 evaluateBinding(packageName, true /* forceUnbind */); 340 public void onPackageRemoved(String packageName, int reason) { argument 341 evaluateBinding(packageName, true /* forceUnbind */); 345 public void onPackageUpdateFinished(String packageName, int uid) { argument 346 evaluateBinding(packageName, true /* forceUnbind */); 350 public void onPackageModified(String packageName) { argument 351 evaluateBinding(packageName, false /* forceUnbind */); 357 for (String packageName : packages) { 358 evaluateBinding(packageName, tru [all...] |
H A D | CarrierServicesSmsFilter.java | 126 private void filterWithPackage(String packageName, FilterAggregator filterAggregator) { argument 130 smsFilter.filterSms(packageName, smsFilterCallback); 144 String packageName = info.serviceInfo.packageName; 145 if (packageManager.checkPermission(carrierFilterSmsPerm, packageName) 147 packages.add(packageName); 148 if (DBG) log("getSystemAppForIntent: added package " + packageName);
|
H A D | IccSmsInterfaceManager.java | 563 public int getPremiumSmsPermission(String packageName) { argument 564 return mDispatcher.getPremiumSmsPermission(packageName); 568 public void setPremiumSmsPermission(String packageName, int permission) { argument 569 mDispatcher.setPremiumSmsPermission(packageName, permission);
|
H A D | SMSDispatcher.java | 997 if (!mUsageMonitor.check(appInfo.packageName, SINGLE_PART_SMS)) { 1058 tracker.mAppInfo.packageName); 1130 CharSequence appLabel = getAppLabel(tracker.mAppInfo.packageName, tracker.mUserId); 1166 CharSequence appLabel = getAppLabel(tracker.mAppInfo.packageName, tracker.mUserId); 1210 * @param packageName the name of the package to query permission 1216 public int getPremiumSmsPermission(String packageName) { argument 1217 return mUsageMonitor.getPremiumSmsPermission(packageName); 1223 * @param packageName the name of the package to set permission 1228 public void setPremiumSmsPermission(String packageName, int permission) { argument 1229 mUsageMonitor.setPremiumSmsPermission(packageName, permissio [all...] |
H A D | SmsUsageMonitor.java | 460 String packageName = parser.getAttributeValue(null, ATTR_PACKAGE_NAME); 462 if (packageName == null) { 467 mPremiumSmsPolicy.put(packageName, Integer.parseInt(policy)); 536 * @param packageName the name of the package to query permission 543 public int getPremiumSmsPermission(String packageName) { argument 544 checkCallerIsSystemOrPhoneOrSameApp(packageName); 546 Integer policy = mPremiumSmsPolicy.get(packageName); 558 * @param packageName the name of the package to set permission 564 public void setPremiumSmsPermission(String packageName, int permission) { argument 571 mPremiumSmsPolicy.put(packageName, permissio [all...] |