Searched defs:packageName (Results 1 - 25 of 73) sorted by relevance

123

/frameworks/base/core/java/android/accounts/
H A DAccountAuthenticatorCache.java52 String packageName, AttributeSet attrs) {
69 return new AuthenticatorDescription(accountType, packageName, labelId, iconId,
51 parseServiceAttributes(Resources res, String packageName, AttributeSet attrs) argument
H A DAuthenticatorDescription.java45 final public String packageName; field in class:AuthenticatorDescription
48 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
51 if (packageName == null) throw new IllegalArgumentException("packageName cannot be null");
53 this.packageName = packageName;
72 this.packageName = null;
81 this.packageName = source.readString();
113 dest.writeString(packageName);
/frameworks/base/core/java/android/app/backup/
H A DBackupManager.java104 * @param packageName The package name identifying the application to back up.
106 public static void dataChanged(String packageName) { argument
110 sService.dataChanged(packageName);
H A DRestoreSession.java98 * @param packageName The name of the package whose data to restore. If this is
104 public int restorePackage(String packageName, RestoreObserver observer) { argument
112 err = mBinder.restorePackage(packageName, mObserver);
/frameworks/base/core/java/android/content/pm/
H A DPackageInfoLite.java32 public String packageName; field in class:PackageInfoLite
50 + " " + packageName + "}";
58 dest.writeString(packageName);
75 packageName = source.readString();
H A DPackageStats.java29 public String packageName; field in class:PackageStats
48 + " " + packageName + "}";
52 packageName = pkgName;
56 packageName = source.readString();
63 packageName = pStats.packageName;
74 dest.writeString(packageName);
H A DPackageInfo.java31 public String packageName; field in class:PackageInfo
191 + " " + packageName + "}";
199 dest.writeString(packageName);
236 packageName = source.readString();
H A DPackageItemInfo.java48 public String packageName; field in class:PackageItemInfo
82 packageName = orig.packageName;
106 CharSequence label = pm.getText(packageName, labelRes, getApplicationInfo());
114 return packageName;
131 Drawable dr = pm.getDrawable(packageName, icon, getApplicationInfo());
171 return pm.getXml(packageName, resid, getApplicationInfo());
181 pw.println(prefix + "packageName=" + packageName);
195 dest.writeString(packageName);
[all...]
H A DRegisteredServicesCache.java383 ComponentName componentName = new ComponentName(si.packageName, si.name);
408 si.packageName, attrs);
418 "Unable to load resources for pacakge " + si.packageName);
509 String packageName, AttributeSet attrs);
508 parseServiceAttributes(Resources res, String packageName, AttributeSet attrs) argument
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfo.java33 private final String packageName; field in class:ClassPathPackageInfo
37 ClassPathPackageInfo(ClassPathPackageInfoSource source, String packageName, argument
40 this.packageName = packageName;
70 return (this.packageName).equals(that.packageName);
77 return packageName.hashCode();
H A DClassPathPackageInfoSource.java76 private ClassPathPackageInfo createPackageInfo(String packageName) { argument
80 findClasses(packageName, classNames, subpackageNames);
99 return new ClassPathPackageInfo(this, packageName, subpackageNames,
104 * Finds all classes and sub packages that are below the packageName and
108 private void findClasses(String packageName, Set<String> classNames, argument
110 String packagePrefix = packageName + '.';
121 findClassesInApk(entryName, packageName, classNames, subpackageNames);
127 scanForApkFiles(file, packageName, classNames, subpackageNames);
147 private void scanForApkFiles(File source, String packageName, argument
150 findClassesInApk(source.getPath(), packageName, className
217 findClassesInApk(String apkPath, String packageName, Set<String> classNames, Set<String> subpackageNames) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSyncAdaptersCache.java47 String packageName, AttributeSet attrs) {
46 parseServiceAttributes(Resources res, String packageName, AttributeSet attrs) argument
/frameworks/base/core/java/com/android/internal/os/
H A DPkgUsageStats.java28 public String packageName; field in class:PkgUsageStats
46 + " " + packageName + "}";
50 packageName = pkgName;
56 packageName = source.readString();
62 packageName = pStats.packageName;
72 dest.writeString(packageName);
/frameworks/base/core/java/android/provider/
H A DApplications.java85 * "content://applications/applications/&lt;packageName&gt;/&lt;className&gt;".
97 String packageName = pathSegments.get(1);
99 return new ComponentName(packageName, name);
105 * @param packageName The name of the application's package.
108 * "content://applications/applications/&lt;packageName&gt;/&lt;className&gt;".
110 public static Uri componentNameToUri(String packageName, String className) { argument
113 .appendPath(packageName)
/frameworks/base/core/java/android/test/
H A DAndroidTestCase.java85 * @param packageName The package name of the activity to launch.
90 String packageName, String className, String permission) {
92 intent.setClassName(packageName, className);
89 assertActivityRequiresPermission( String packageName, String className, String permission) argument
/frameworks/base/core/java/android/webkit/
H A DPluginManager.java135 pkgInfo = pm.getPackageInfo(serviceInfo.packageName,
139 Log.w(LOGTAG, "Can't find plugin: " + serviceInfo.packageName);
201 Class<?> cls = getPluginClass(serviceInfo.packageName, serviceInfo.name);
212 Log.e(LOGTAG, "Can't find plugin: " + serviceInfo.packageName);
240 return pkgInfo.packageName;
254 Class<?> getPluginClass(String packageName, String className) argument
256 Context pluginContext = mContext.createPackageContext(packageName,
/frameworks/base/services/java/com/android/server/
H A DAttributeCache.java77 public void removePackage(String packageName) { argument
79 mPackages.remove(packageName);
97 public Entry get(String packageName, int resId, int[] styleable) { argument
99 Package pkg = mPackages.get(packageName);
113 context = mContext.createPackageContext(packageName, 0);
121 mPackages.put(packageName, pkg);
/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java215 public String packageName; field in class:EditorInfo
257 pw.println(prefix + "packageName=" + packageName
280 dest.writeString(packageName);
302 res.packageName = source.readString();
H A DInputMethodInfo.java83 mId = new ComponentName(si.packageName, si.name).flattenToShortString();
121 "Unable to create context for: " + si.packageName);
140 public InputMethodInfo(String packageName, String className, argument
145 ai.packageName = packageName;
149 si.packageName = packageName;
155 mId = new ComponentName(si.packageName, si.name).flattenToShortString();
172 return mService.serviceInfo.packageName;
196 return new ComponentName(mService.serviceInfo.packageName,
[all...]
/frameworks/base/libs/rs/
H A Drsg_ScriptJavaClass.cpp61 static void genHeader(FILE *f, const char *packageName) argument
63 fprintf(f, "package %s;\n", packageName);
134 bool rsGenerateElementClass(const Element *e, const char *packageName, FILE *f) argument
136 genHeader(f, packageName);
187 bool rsGenerateElementClassFile(Element *e, const char *packageName) argument
193 bool ret = rsGenerateElementClass(e, packageName, f);
202 bool rsGenerateScriptClass(const ScriptC *script, const char *packageName, FILE *f)
204 genHeader(f, packageName);
/frameworks/base/services/java/com/android/server/status/
H A DNotificationViewList.java72 ArrayList<StatusBarNotification> notificationsForPackage(String packageName) { argument
76 if (matchPackage(mOngoing.get(i), packageName)) {
82 if (matchPackage(mLatest.get(i), packageName)) {
89 private final boolean matchPackage(StatusBarNotification snb, String packageName) { argument
91 if (snb.data.contentIntent.getTargetPackage().equals(packageName)) {
94 } else if (snb.data.pkg != null && snb.data.pkg.equals(packageName)) {
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java114 for (String packageName : packageNames) {
115 List<Class<? extends TestCase>> addedClasses = testCaseClassesInPackage(packageName);
117 Log.w("TestGrouping", "Invalid Package: '" + packageName
122 firstIncludedPackage = packageName;
136 for (String packageName : packageNames) {
137 testCaseClasses.removeAll(testCaseClassesInPackage(packageName));
150 private List<Class<? extends TestCase>> testCaseClassesInPackage(String packageName) { argument
152 ClassPathPackageInfo packageInfo = source.getPackageInfo(packageName);
/frameworks/base/core/java/android/app/
H A DApplicationErrorReport.java85 public String packageName; field in class:ApplicationErrorReport
142 String packageName, int appFlags) {
153 String candidate = pm.getInstallerPackageName(packageName);
154 ComponentName result = getErrorReportReceiver(pm, packageName, candidate);
163 result = getErrorReportReceiver(pm, packageName, candidate);
171 return getErrorReportReceiver(pm, packageName, candidate);
205 dest.writeString(packageName);
226 packageName = in.readString();
497 pw.println(prefix + "packageName: " + packageName);
141 getErrorReportReceiver(Context context, String packageName, int appFlags) argument
[all...]
H A DLauncherActivity.java67 public String packageName; field in class:LauncherActivity.ListItem
83 packageName = ci.applicationInfo.packageName;
119 intent.setClassName(item.packageName, item.className);
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java153 public boolean packageHasActiveAdmins(String packageName) { argument
156 return mService.packageHasActiveAdmins(packageName);

Completed in 827 milliseconds

123