HomeSort by relevance Sort by last modified time
    Searched full:packagename (Results 1 - 25 of 827) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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);
AllAppsList.java 87 * Add the icons for the supplied apk called packageName.
89 public void addPackage(Context context, String packageName) {
90 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName);
100 * Remove the apps for the given apk identified by packageName.
102 public void removePackage(String packageName) {
107 if (packageName.equals(component.getPackageName())) {
119 public void updatePackage(Context context, String packageName) {
120 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName);
127 if (packageName.equals(component.getPackageName())) {
142 info.activityInfo.applicationInfo.packageName,
    [all...]
  /external/robolectric/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);
  /cts/tools/signature-tools/templates/
ClassChangedLink.st 1 $Link(url={$it.packageName$.$it.name$.html}, name={<tt>$it.name$</tt>})$
  /packages/apps/Launcher3/src/com/android/launcher3/
PackageChangedReceiver.java 10 final String packageName = intent.getData().getSchemeSpecificPart();
12 if (packageName == null || packageName.length() == 0) {
19 WidgetPreviewLoader.removePackageFromDb(app.getWidgetPreviewCacheDb(), packageName);
AllAppsList.java 93 * Add the icons for the supplied apk called packageName.
95 public void addPackage(Context context, String packageName) {
96 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName);
106 * Remove the apps for the given apk identified by packageName.
108 public void removePackage(String packageName) {
113 if (packageName.equals(component.getPackageName())) {
125 public void updatePackage(Context context, String packageName) {
126 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName);
133 if (packageName.equals(component.getPackageName())) {
148 info.activityInfo.applicationInfo.packageName,
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
IAppOpsService.aidl 25 int checkOperation(int code, int uid, String packageName);
26 int noteOperation(int code, int uid, String packageName);
27 int startOperation(IBinder token, int code, int uid, String packageName);
28 void finishOperation(IBinder token, int code, int uid, String packageName);
29 void startWatchingMode(int op, String packageName, IAppOpsCallback callback);
34 int checkPackage(int uid, String packageName);
36 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops);
37 void setMode(int code, int uid, String packageName, int mode);
  /external/robolectric/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/android/content/pm/
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();
VerifierInfo.java 32 public final String packageName;
40 * @param packageName the package name in Java-style. Must not be {@code
46 public VerifierInfo(String packageName, PublicKey publicKey) {
47 if (packageName == null || packageName.length() == 0) {
48 throw new IllegalArgumentException("packageName must not be null or empty");
53 this.packageName = packageName;
58 packageName = source.readString();
69 dest.writeString(packageName);
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
TargetPackageInfoGetterTask.java 31 public static PackageInfo getCachedPackageInfo(final String packageName) {
32 if (null == packageName) return null;
33 return sCache.get(packageName);
36 public static void removeCachedPackageInfo(final String packageName) {
37 sCache.remove(packageName);
54 protected PackageInfo doInBackground(final String... packageName) {
58 final PackageInfo packageInfo = pm.getPackageInfo(packageName[0], 0 /* flags */);
59 sCache.put(packageName[0], packageInfo);
  /packages/apps/Settings/src/com/android/settings/location/
InjectedSetting.java 37 public final String packageName;
57 * {@link #packageName} package.
61 private InjectedSetting(String packageName, String className,
63 this.packageName = Preconditions.checkNotNull(packageName, "packageName");
73 public static InjectedSetting newInstance(String packageName, String className,
75 if (packageName == null || className == null ||
79 + packageName + ", class=" + className
84 return new InjectedSetting(packageName, className, title, iconId, settingsActivity)
    [all...]
  /frameworks/base/test-runner/src/android/test/
ClassPathPackageInfo.java 33 private final String packageName;
37 ClassPathPackageInfo(ClassPathPackageInfoSource source, String packageName,
40 this.packageName = packageName;
70 return (this.packageName).equals(that.packageName);
77 return packageName.hashCode();
  /frameworks/native/libs/binder/
IAppOpsService.cpp 40 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) {
45 data.writeString16(packageName);
52 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) {
57 data.writeString16(packageName);
65 const String16& packageName) {
71 data.writeString16(packageName);
79 const String16& packageName) {
85 data.writeString16(packageName);
89 virtual void startWatchingMode(int32_t op, const String16& packageName,
94 data.writeString16(packageName);
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
StartedMatcher.java 22 public StartedMatcher(String packageName, Class<? extends Activity> expectedActivityClass) {
23 this(createIntent(packageName, expectedActivityClass));
80 String packageName = activityClass.getPackage().getName();
81 return createIntent(packageName, activityClass);
84 public static Intent createIntent(String packageName, Class<? extends Activity> activityClass) {
86 intent.setClassName(packageName, activityClass.getName());
  /frameworks/base/services/java/com/android/server/am/
CompatModePackages.java 114 private int getPackageFlags(String packageName) {
115 Integer flags = mPackages.get(packageName);
119 public void handlePackageAddedLocked(String packageName, boolean updated) {
122 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0);
135 if (!mayCompat && mPackages.containsKey(packageName)) {
136 mPackages.remove(packageName);
147 (getPackageFlags(ai.packageName)&COMPAT_FLAG_ENABLED) != 0);
148 //Slog.i(TAG, "*********** COMPAT FOR PKG " + ai.packageName + ": " + ci);
153 boolean enabled = (getPackageFlags(ai.packageName)&COMPAT_FLAG_ENABLED) != 0;
172 return getPackageAskCompatModeLocked(r.packageName);
    [all...]
  /frameworks/base/core/java/android/accounts/
AuthenticatorDescription.java 45 final public String packageName;
51 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId,
54 if (packageName == null) throw new IllegalArgumentException("packageName cannot be null");
56 this.packageName = packageName;
64 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId,
66 this(type, packageName, labelId, iconId, smallIconId, prefId, false);
81 this.packageName = null;
91 this.packageName = source.readString()
    [all...]
  /external/proguard/src/proguard/
GPL.java 110 String packageName = (String)iterator.next();
111 if (!containsPrefix(packageNames, packageName))
113 buffer.append(packageName).append(", ");
159 private static boolean isKnown(String packageName)
161 return packageName.startsWith("java") ||
162 packageName.startsWith("sun.reflect") ||
163 packageName.startsWith("proguard") ||
164 packageName.startsWith("org.apache.tools.ant") ||
165 packageName.startsWith("org.apache.tools.maven") ||
166 packageName.startsWith("org.eclipse") |
    [all...]
  /packages/apps/Settings/src/com/android/settings/users/
AppRestrictionsFragment.java 143 String packageName;
151 return packageName + ": appName=" + appName + "; activityName=" + activityName
332 String packageName = intent.getData().getSchemeSpecificPart();
335 findPreference(getKeyForPackage(packageName));
369 String packageName = entry.getKey();
371 applyUserAppState(packageName, enabled);
375 private void applyUserAppState(String packageName, boolean enabled) {
380 ApplicationInfo info = mIPm.getApplicationInfo(packageName,
384 mIPm.installExistingPackageAsUser(packageName, mUser.getIdentifier());
386 Log.d(TAG, "Installing " + packageName);
    [all...]
  /frameworks/base/core/java/android/app/
ApplicationPackageManager.java 71 public PackageInfo getPackageInfo(String packageName, int flags)
74 PackageInfo pi = mPM.getPackageInfo(packageName, flags, mContext.getUserId());
82 throw new NameNotFoundException(packageName);
104 public Intent getLaunchIntentForPackage(String packageName) {
110 intentToResolve.setPackage(packageName);
118 intentToResolve.setPackage(packageName);
126 intent.setClassName(ris.get(0).activityInfo.packageName,
132 public int[] getPackageGids(String packageName)
135 int[] gids = mPM.getPackageGids(packageName);
143 throw new NameNotFoundException(packageName);
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
PkgUsageStats.java 31 public String packageName;
50 + " " + packageName + "}";
54 packageName = pkgName;
61 packageName = source.readString();
74 packageName = pStats.packageName;
85 dest.writeString(packageName);
  /frameworks/base/core/jni/
android_content_res_ObbScanner.cpp 33 jfieldID packageName;
55 jstring packageName = env->NewStringUTF(packageNameStr);
56 if (packageName == NULL) {
61 env->SetObjectField(obbInfo, gObbInfoClassInfo.packageName, packageName);
96 GET_FIELD_ID(gObbInfoClassInfo.packageName, clazz,
97 "packageName", "Ljava/lang/String;");
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/
ApplicationResolver.java 22 String packageName = config.getPackageName();
26 application = newApplicationInstance(packageName, applicationName);
32 shadowApplication.setPackageName(packageName);
68 private Application newApplicationInstance(String packageName, String applicationName) {
72 new ClassNameResolver<Application>(packageName, applicationName).resolve();
  /frameworks/base/test-runner/src/android/test/mock/
MockPackageManager.java 62 public PackageInfo getPackageInfo(String packageName, int flags)
78 public Intent getLaunchIntentForPackage(String packageName) {
83 public int[] getPackageGids(String packageName) throws NameNotFoundException {
89 public int getPackageUid(String packageName, int userHandle)
118 public ApplicationInfo getApplicationInfo(String packageName, int flags)
186 public void grantPermission(String packageName, String permissionName) {
192 public void revokePermission(String packageName, String permissionName) {
320 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) {
346 public Drawable getApplicationIcon(String packageName) throws NameNotFoundException {
366 public Drawable getApplicationLogo(String packageName) throws NameNotFoundException
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
StubPackageManager.java 25 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException {
37 @Override public Intent getLaunchIntentForPackage(String packageName) {
41 @Override public int[] getPackageGids(String packageName) throws NameNotFoundException {
65 public ApplicationInfo getApplicationInfo(String packageName, int flags) throws NameNotFoundException {
182 @Override public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) {
202 @Override public Drawable getApplicationIcon(String packageName) throws NameNotFoundException {
222 @Override public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) {
226 @Override public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) {
249 @Override public String getInstallerPackageName(String packageName) {
253 @Override public void addPackageToPreferred(String packageName) {
    [all...]

Completed in 1001 milliseconds

1 2 3 4 5 6 7 8 91011>>