/packages/apps/Settings/src/com/android/settings/vpn2/ |
AppVpnInfo.java | 10 * Holds packageName:userId pairs without any heavyweight fields. 15 public final String packageName; 17 public AppVpnInfo(int userId, @NonNull String packageName) { 19 this.packageName = Preconditions.checkNotNull(packageName); 26 int result = packageName.compareTo(that.packageName); 37 return userId == that.userId && Objects.equals(packageName, that.packageName); 44 return Objects.hash(packageName, userId) [all...] |
/frameworks/base/core/java/android/content/pm/ |
IShortcutService.aidl | 26 boolean setDynamicShortcuts(String packageName, in ParceledListSlice shortcutInfoList, 29 ParceledListSlice getDynamicShortcuts(String packageName, int userId); 31 ParceledListSlice getManifestShortcuts(String packageName, int userId); 33 boolean addDynamicShortcuts(String packageName, in ParceledListSlice shortcutInfoList, 36 void removeDynamicShortcuts(String packageName, in List shortcutIds, int userId); 38 void removeAllDynamicShortcuts(String packageName, int userId); 40 ParceledListSlice getPinnedShortcuts(String packageName, int userId); 42 boolean updateShortcuts(String packageName, in ParceledListSlice shortcuts, int userId); 44 void disableShortcuts(String packageName, in List shortcutIds, CharSequence disabledMessage, 47 void enableShortcuts(String packageName, in List shortcutIds, int userId) [all...] |
PackageCleanItem.java | 25 public final String packageName; 28 public PackageCleanItem(int userId, String packageName, boolean andCode) { 30 this.packageName = packageName; 42 return userId == other.userId && packageName.equals(other.packageName) 54 result = 31 * result + packageName.hashCode(); 65 dest.writeString(packageName); 82 packageName = source.readString();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PackageChangedReceiver.java | 10 final String packageName = intent.getData().getSchemeSpecificPart(); 12 if (packageName == null || packageName.length() == 0) { 17 WidgetPreviewLoader.removeFromDb(app.getWidgetPreviewCacheDb(), packageName);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/ |
ClassNameResolver.java | 4 private String packageName; 7 public ClassNameResolver(String packageName, String className) { 8 this.packageName = packageName; 17 aClass = safeClassForName(packageName + "." + className); 19 aClass = safeClassForName(packageName + className); 25 + packageName + " and class name: " + className);
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/match/ |
TypeName.java | 24 private final String packageName; 28 public TypeName(String packageName, String className) { 29 this.packageName = packageName; 33 public String packageName() { 34 return packageName; 43 String packageName; 46 packageName = ""; 49 packageName = fullyQualifiedClassName.substring(0, packageSeparatorIndex); 52 return new TypeName(packageName, className) [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
RankingConfig.java | 20 int getPriority(String packageName, int uid); 22 void setPriority(String packageName, int uid, int priority); 24 int getVisibilityOverride(String packageName, int uid); 26 void setVisibilityOverride(String packageName, int uid, int visibility); 28 void setImportance(String packageName, int uid, int importance); 30 int getImportance(String packageName, int uid);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
TestSystemImpl.java | 61 public void killPackageDependents(String packageName) {} 74 public void uninstallAndDisablePackageForAllUsers(Context context, String packageName) { 75 enablePackageForAllUsers(context, packageName, false); 79 public void enablePackageForAllUsers(Context context, String packageName, boolean enable) { 80 enablePackageForUser(packageName, enable, 0); 84 public void enablePackageForUser(String packageName, boolean enable, int userId) { 85 PackageInfo packageInfo = mPackages.get(packageName); 87 throw new IllegalArgumentException("There is no package called " + packageName); 99 PackageInfo ret = mPackages.get(info.packageName); 100 if (ret == null) throw new NameNotFoundException(info.packageName); [all...] |
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AuthenticatorDescriptionTest.java | 10 private String packageName = "com.android.my.app"; 15 desc = new AuthenticatorDescription(accountType, packageName, 1, 1, 1, 1, true); 20 new AuthenticatorDescription(null, packageName, 1, 1, 1, 1); 35 new AuthenticatorDescription(accountType, packageName, -1, 0, -1, 1); 36 new AuthenticatorDescription(accountType, packageName, -1, 0, -1, 1, true);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
IntentFilterVerificationKey.java | 27 public String packageName; 30 public IntentFilterVerificationKey(String[] domains, String packageName, String className) { 36 this.packageName = packageName; 50 if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null) 59 result = 31 * result + (packageName != null ? packageName.hashCode() : 0) [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
PackageInstallerImpl.java | 64 String packageName = sessionInfo.getAppPackageName(); 65 PackageInstaller.SessionInfo oldInfo = mSessionInfoMap.put(packageName, sessionInfo); 69 Log.w(TAG, "Multiple sessions for " + packageName + " found. Removing " + oldInfo 104 public void install(final String packageName, ParcelFileDescriptor parcelFileDescriptor, 113 PackageInstaller.SessionInfo sessionInfo = mSessionInfoMap.get(packageName); 116 session = getSession(packageName); 122 innerCreateSession(packageName); 124 Log.e(TAG, "Can't create session for " + packageName + ": " + ioe.getMessage()); 127 mSessionInfoMap.remove(packageName); 130 sessionInfo = mSessionInfoMap.get(packageName); [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowResolveInfo.java | 27 * @param packageName 30 public static ResolveInfo newResolveInfo( String displayName, String packageName ) { 31 return newResolveInfo( displayName, packageName, null); 37 * @param packageName 40 public static ResolveInfo newResolveInfo( String displayName, String packageName, String activityName ) { 44 actInfo.packageName = packageName;
|
/frameworks/base/core/java/com/android/internal/app/ |
IAppOpsService.aidl | 26 int checkOperation(int code, int uid, String packageName); 27 int noteOperation(int code, int uid, String packageName); 28 int startOperation(IBinder token, int code, int uid, String packageName); 29 void finishOperation(IBinder token, int code, int uid, String packageName); 30 void startWatchingMode(int op, String packageName, IAppOpsCallback callback); 38 int checkPackage(int uid, String packageName); 40 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); 42 void setMode(int code, int uid, String packageName, int mode); 44 int checkAudioOperation(int code, int usage, int uid, String packageName);
|
/frameworks/base/services/core/java/com/android/server/am/ |
CompatModePackages.java | 147 private int getPackageFlags(String packageName) { 148 Integer flags = mPackages.get(packageName); 152 public void handlePackageDataClearedLocked(String packageName) { 154 removePackage(packageName); 157 public void handlePackageUninstalledLocked(String packageName) { 160 removePackage(packageName); 163 private void removePackage(String packageName) { 164 if (mPackages.containsKey(packageName)) { 165 mPackages.remove(packageName); 170 public void handlePackageAddedLocked(String packageName, boolean updated) [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
AppRestrictionsHelper.java | 72 public void setPackageSelected(String packageName, boolean selected) { 73 mSelectedPackages.put(packageName, selected); 76 public boolean isPackageSelected(String packageName) { 77 return mSelectedPackages.get(packageName); 95 String packageName = entry.getKey(); 97 applyUserAppState(packageName, enabled, listener); 101 public void applyUserAppState(String packageName, boolean enabled, 107 ApplicationInfo info = mIPm.getApplicationInfo(packageName, 111 mIPm.installExistingPackageAsUser(packageName, mUser.getIdentifier()); 113 Log.d(TAG, "Installing " + packageName); [all...] |
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
PackageMatcher.java | 27 protected final String packageName; 29 public PackageMatcher(String packageName) { 30 this.packageName = packageName; 40 return cuPackageName.equals(packageName); 46 "packageName='" + packageName + '\'' + 51 return packageName;
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
PackageManagerHelper.java | 35 public static boolean isAppOnSdcard(PackageManager pm, String packageName) { 36 return isAppEnabled(pm, packageName, PackageManager.GET_UNINSTALLED_PACKAGES); 39 public static boolean isAppEnabled(PackageManager pm, String packageName) { 40 return isAppEnabled(pm, packageName, 0); 43 public static boolean isAppEnabled(PackageManager pm, String packageName, int flags) { 45 ApplicationInfo info = pm.getApplicationInfo(packageName, flags); 52 public static boolean isAppSuspended(PackageManager pm, String packageName) { 54 ApplicationInfo info = pm.getApplicationInfo(packageName, 0);
|
/packages/apps/Settings/src/com/android/settings/search/ |
DynamicIndexableContentMonitor.java | 73 String packageName = (String) msg.obj; 74 handlePackageAvailable(packageName); 78 String packageName = (String) msg.obj; 79 handlePackageUnavailable(packageName); 92 private static Intent getAccessibilityServiceIntent(String packageName) { 94 intent.setPackage(packageName); 98 private static Intent getIMEServiceIntent(String packageName) { 100 intent.setPackage(packageName); 132 mAccessibilityServices.add(resolveInfo.serviceInfo.packageName); 149 mImeServices.add(serviceInfo.packageName); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
TargetPackageInfoGetterTask.java | 32 public static PackageInfo getCachedPackageInfo(final String packageName) { 33 if (null == packageName) return null; 34 return sCache.get(packageName); 37 public static void removeCachedPackageInfo(final String packageName) { 38 sCache.remove(packageName); 51 protected PackageInfo doInBackground(final String... packageName) { 55 final PackageInfo packageInfo = pm.getPackageInfo(packageName[0], 0 /* flags */); 56 sCache.put(packageName[0], packageInfo);
|
/device/moto/shamu/ShamuLayout/res/xml/ |
partner_default_layout.xml | 28 packageName="com.google.android.dialer" 37 packageName="com.google.android.apps.messaging" 46 packageName="com.android.chrome" 55 packageName="com.google.android.GoogleCamera" 71 packageName="com.google.android.googlequicksearchbox" 76 packageName="com.google.android.apps.maps" 81 packageName="com.google.android.gm" 86 packageName="com.google.android.apps.plus" 91 packageName="com.google.android.calendar" 97 packageName="com.google.android.apps.photos [all...] |
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/ |
SourceFileCoverageImpl.java | 22 private final String packagename; field in class:SourceFileCoverageImpl 29 * @param packagename 32 public SourceFileCoverageImpl(final String name, final String packagename) { 34 this.packagename = packagename; 40 return packagename;
|
/frameworks/support/compat/java/android/support/v4/app/ |
NotificationCompatSideChannelService.java | 61 public abstract void notify(String packageName, int id, String tag, Notification notification); 66 public abstract void cancel(String packageName, int id, String tag); 71 public abstract void cancelAll(String packageName); 75 public void notify(String packageName, int id, String tag, Notification notification) 77 checkPermission(getCallingUid(), packageName); 80 NotificationCompatSideChannelService.this.notify(packageName, id, tag, notification); 87 public void cancel(String packageName, int id, String tag) throws RemoteException { 88 checkPermission(getCallingUid(), packageName); 91 NotificationCompatSideChannelService.this.cancel(packageName, id, tag); 98 public void cancelAll(String packageName) { [all...] |
/packages/apps/Settings/src/com/android/settings/location/ |
InjectedSetting.java | 39 public final String packageName; 64 * {@link #packageName} package. 68 private InjectedSetting(String packageName, String className, 70 this.packageName = Preconditions.checkNotNull(packageName, "packageName"); 81 public static InjectedSetting newInstance(String packageName, String className, 83 if (packageName == null || className == null || 87 + packageName + ", class=" + className 92 return new InjectedSetting(packageName, className, title, iconId, userHandle [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsMockPackageManager.java | 49 public void addPackage(int packageUid, String packageName) { 50 mForward.put(packageUid, packageName); 51 mReverse.put(packageName, packageUid); 55 final String packageName = mForward.remove(packageUid); 56 if (packageName != null) { 57 mReverse.remove(packageName); 68 final String packageName = mForward.get(uid); 69 if (packageName != null) { 70 return new String[] {packageName}; 72 return new String[] { mPackages.get(0).packageName }; [all...] |
/device/htc/flounder/VolantisLayout/res/xml/ |
partner_default_layout.xml | 28 packageName="com.google.android.talk" 37 packageName="com.google.android.gm" 46 packageName="com.android.chrome" 55 packageName="com.google.android.youtube" 64 packageName="com.google.android.apps.photos" 73 packageName="com.google.android.GoogleCamera" 89 packageName="com.google.android.googlequicksearchbox" 94 packageName="com.google.android.apps.maps" 99 packageName="com.google.android.apps.plus" 104 packageName="com.google.android.calendar [all...] |