/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/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);
|
/packages/apps/Settings/src/com/android/settings/search/ |
DynamicIndexableContentMonitor.java | 65 String packageName = (String) msg.obj; 66 handlePackageAvailable(packageName); 70 String packageName = (String) msg.obj; 71 handlePackageUnavailable(packageName); 84 private static Intent getAccessibilityServiceIntent(String packageName) { 86 intent.setPackage(packageName); 90 private static Intent getPrintServiceIntent(String packageName) { 92 intent.setPackage(packageName); 96 private static Intent getIMEServiceIntent(String packageName) { 98 intent.setPackage(packageName); [all...] |
/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...] |
IOnAppsChangedListener.aidl | 25 void onPackageRemoved(in UserHandle user, String packageName); 26 void onPackageAdded(in UserHandle user, String packageName); 27 void onPackageChanged(in UserHandle user, String 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); 35 int checkPackage(int uid, String packageName); 37 List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, in int[] ops); 38 void setMode(int code, int uid, String packageName, int mode); 40 int checkAudioOperation(int code, int usage, int uid, String packageName);
|
/external/proguard/src/proguard/ |
GPL.java | 111 String packageName = (String)iterator.next(); 112 if (!containsPrefix(packageNames, packageName)) 114 buffer.append(packageName).append(", "); 160 private static boolean isKnown(String packageName) 162 return packageName.startsWith("java") || 163 packageName.startsWith("sun.reflect") || 164 packageName.startsWith("proguard") || 165 packageName.startsWith("org.apache.tools.ant") || 166 packageName.startsWith("org.apache.tools.maven") || 167 packageName.startsWith("org.gradle") | [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
RankingConfig.java | 19 int getPackagePriority(String packageName, int uid); 21 void setPackagePriority(String packageName, int uid, int priority); 23 int getPackageVisibilityOverride(String packageName, int uid); 25 void setPackageVisibilityOverride(String packageName, int uid, int visibility);
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
PackageInstallerCompat.java | 57 public abstract void recordPackageUpdate(String packageName, int state, int progress); 60 public final String packageName; 65 public PackageInstallInfo(String packageName) { 66 this.packageName = packageName; 69 public PackageInstallInfo(String packageName, int state, int progress) { 70 this.packageName = packageName;
|
/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...] |
/frameworks/support/v4/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 | 38 public final String packageName; 63 * {@link #packageName} package. 67 private InjectedSetting(String packageName, String className, 69 this.packageName = Preconditions.checkNotNull(packageName, "packageName"); 80 public static InjectedSetting newInstance(String packageName, String className, 82 if (packageName == null || className == null || 86 + packageName + ", class=" + className 91 return new InjectedSetting(packageName, className, title, iconId, userHandle [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...] |
/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();
|
/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); 62 return new String[] { mPackages.get(0).packageName }; 69 public ApplicationInfo getApplicationInfo(String packageName, int flags) { 71 Integer uid = mReverse.get(packageName); 86 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { 88 if (info.packageName.equals(packageName)) {
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
AppCompatibility.java | 97 String packageName = mArgs.getString(PACKAGE_TO_LAUNCH); 98 if (packageName != null) { 99 Log.d(TAG, "Launching app " + packageName); 100 ProcessErrorStateInfo err = launchActivity(packageName); 105 assertTrue("App crashed after launch.", processStillUp(packageName)); 129 * @param packageName name of the package 132 private String getProcessName(String packageName) { 134 PackageInfo pi = mPackageManager.getPackageInfo(packageName, 0); 137 return packageName; 144 * @param packageName {@link String} the package name of the application t [all...] |
/frameworks/native/libs/binder/ |
IAppOpsService.cpp | 39 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { 44 data.writeString16(packageName); 51 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) { 56 data.writeString16(packageName); 64 const String16& packageName) { 70 data.writeString16(packageName); 78 const String16& packageName) { 84 data.writeString16(packageName); 88 virtual void startWatchingMode(int32_t op, const String16& packageName, 93 data.writeString16(packageName); [all...] |
/frameworks/base/core/java/android/content/ |
IRestrictionsManager.aidl | 28 Bundle getApplicationRestrictions(in String packageName); 30 void requestPermission(in String packageName, in String requestType, in String requestId, 32 void notifyPermissionResponse(in String packageName, in PersistableBundle response);
|
/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/core/java/com/android/server/am/ |
CompatModePackages.java | 141 private int getPackageFlags(String packageName) { 142 Integer flags = mPackages.get(packageName); 146 public void handlePackageAddedLocked(String packageName, boolean updated) { 149 ai = AppGlobals.getPackageManager().getApplicationInfo(packageName, 0, 0); 162 if (!mayCompat && mPackages.containsKey(packageName)) { 163 mPackages.remove(packageName); 174 (getPackageFlags(ai.packageName)&COMPAT_FLAG_ENABLED) != 0); 175 //Slog.i(TAG, "*********** COMPAT FOR PKG " + ai.packageName + ": " + ci); 180 boolean enabled = (getPackageFlags(ai.packageName)&COMPAT_FLAG_ENABLED) != 0; 199 return getPackageAskCompatModeLocked(r.packageName); [all...] |