HomeSort by relevance Sort by last modified time
    Searched full:packagename (Results 51 - 75 of 773) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/os/
IVibratorService.aidl 23 void vibrate(int uid, String packageName, long milliseconds, IBinder token);
24 void vibratePattern(int uid, String packageName, in long[] pattern, int repeat, IBinder token);
IUserManager.aidl 45 void setApplicationRestrictions(in String packageName, in Bundle restrictions,
47 Bundle getApplicationRestrictions(in String packageName);
48 Bundle getApplicationRestrictionsForUser(in String packageName, int userHandle);
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
FilterFactory.java 77 public void addPackage(String packageName) {
78 if (mLogVerbose) Log.v(TAG, "Adding package " + packageName);
80 Package pkg = Package.getPackage(packageName);
82 throw new IllegalArgumentException("Unknown filter package '" + packageName + "'!");
85 mPackages.add(packageName);
93 for (String packageName : mPackages) {
95 if (mLogVerbose) Log.v(TAG, "Trying "+packageName + "." + className);
97 filterClass = mCurrentClassLoader.loadClass(packageName + "." + className);
  /packages/apps/MusicFX/src/com/android/musicfx/
ControlPanelReceiver.java 43 final String packageName = intent.getStringExtra(AudioEffect.EXTRA_PACKAGE_NAME);
48 Log.v(TAG, "Package name: " + packageName);
52 if (packageName == null) {
67 final boolean isGlobalEnabled = context.getSharedPreferences(packageName,
72 ControlPanelEffect.openSession(context, packageName, audioSession);
78 ControlPanelEffect.closeSession(context, packageName, audioSession);
87 ControlPanelEffect.setParameterBoolean(context, packageName, audioSession,
97 final Boolean value = ControlPanelEffect.getParameterBoolean(context, packageName,
  /sdk/templates/other/CustomView/root/res/layout/
sample.xml.ftl 4 xmlns:app="http://schemas.android.com/apk/res/${packageName}"
11 <${packageName}.${viewClass}
  /cts/tests/tests/content/src/android/content/pm/cts/
ApplicationInfo_DisplayNameComparatorTest.java 51 info1.packageName = PACKAGE_NAME;
52 info2.packageName = PACKAGE_NAME;
56 info2.packageName = PACKAGE_NAME + ".2";
60 info1.packageName = PACKAGE_NAME + ".1";
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
PackagesMonitor.java 62 String packageName = intent.getData().getSchemeSpecificPart();
64 PicasaSource.onPackageAdded(context, packageName);
66 PicasaSource.onPackageRemoved(context, packageName);
68 PicasaSource.onPackageChanged(context, packageName);
  /sdk/templates/other/Notification/
globals.xml.ftl 3 <global id="srcOut" value="src/${slashedPackageName(packageName)}" />
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
MockPackageManager.java 41 private ResolveInfo createResolveInfo(String packageName) {
43 activityInfo.packageName = packageName;
  /frameworks/base/core/java/android/app/
WallpaperInfo.java 134 "Unable to create context for: " + si.packageName);
157 return mService.serviceInfo.packageName;
180 return new ComponentName(mService.serviceInfo.packageName,
213 return pm.getDrawable(mService.serviceInfo.packageName,
223 String packageName = mService.resolvePackageName;
225 if (packageName == null) {
226 packageName = mService.serviceInfo.packageName;
229 return pm.getText(packageName, mAuthorResource, applicationInfo);
236 String packageName = mService.resolvePackageName
    [all...]
AppOpsManager.java 249 public PackageOps(String packageName, int uid, List<OpEntry> entries) {
250 mPackageName = packageName;
382 public void opChanged(int op, String packageName);
407 * @param packageName The name of the application of interest.
410 public List<AppOpsManager.PackageOps> getOpsForPackage(int uid, String packageName, int[] ops) {
412 return mService.getOpsForPackage(uid, packageName, ops);
418 public void setMode(int code, int uid, String packageName, int mode) {
420 mService.setMode(code, uid, packageName, mode);
433 public void startWatchingMode(int op, String packageName, final Callback callback) {
438 public void opChanged(int op, String packageName) {
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactDirectoryManager.java 60 String packageName;
73 + " packageName=" + accountType
143 String packageName = cursor.getString(1);
145 String resourceName = getResourceNameById(packageName, resourceId);
162 private String getResourceNameById(String packageName, int resourceId) {
164 Resources resources = mPackageManager.getResourcesForApplication(packageName);
226 ret.add(provider.packageName);
256 for (String packageName : getDirectoryProviderPackages(mPackageManager)) {
257 if (DEBUG) Log.d(TAG, "package=" + packageName);
261 if (mContext.getPackageName().equals(packageName)) {
    [all...]
VoicemailPermissions.java 71 public boolean packageHasOwnVoicemailAccess(String packageName) {
72 return packageHasPermission(packageName,
77 public boolean packageHasFullAccess(String packageName) {
79 packageName, android.Manifest.permission.ADD_VOICEMAIL) &&
80 packageHasPermission(packageName, Manifest.permission.READ_WRITE_ALL_VOICEMAIL);
84 private boolean packageHasPermission(String packageName, String permission) {
85 return mContext.getPackageManager().checkPermission(permission, packageName)
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowRemoteViews.java 24 private String packageName;
28 public void __constructor__(String packageName, int layoutId) {
29 this.packageName = packageName;
35 return packageName;
  /frameworks/base/core/java/android/content/res/
ObbInfo.java 39 public String packageName;
66 sb.append(" packageName=");
67 sb.append(packageName);
82 dest.writeString(packageName);
101 packageName = source.readString();
  /frameworks/base/core/java/com/android/internal/appwidget/
IAppWidgetService.aidl 33 int[] startListening(IAppWidgetHost host, String packageName, int hostId,
36 int allocateAppWidgetId(String packageName, int hostId, int userId);
54 boolean hasBindAppWidgetPermission(in String packageName, int userId);
55 void setBindAppWidgetPermission(in String packageName, in boolean permission, int userId);
57 boolean bindAppWidgetIdIfAllowed(in String packageName, int appWidgetId,
  /frameworks/base/test-runner/src/android/test/
ClassPathPackageInfoSource.java 75 private ClassPathPackageInfo createPackageInfo(String packageName) {
79 findClasses(packageName, classNames, subpackageNames);
98 return new ClassPathPackageInfo(this, packageName, subpackageNames,
103 * Finds all classes and sub packages that are below the packageName and
107 private void findClasses(String packageName, Set<String> classNames,
109 String packagePrefix = packageName + '.';
120 findClassesInApk(entryName, packageName, classNames, subpackageNames);
125 scanForApkFiles(file, packageName, classNames, subpackageNames);
136 private void scanForApkFiles(File source, String packageName,
139 findClassesInApk(source.getPath(), packageName, classNames, subpackageNames)
    [all...]
  /packages/apps/Launcher2/res/xml-sw720dp/
default_workspace.xml 22 launcher:packageName="com.android.settings"
32 launcher:packageName="com.android.deskclock"
40 launcher:packageName="com.android.camera"
48 launcher:packageName="com.android.gallery3d"
54 launcher:packageName="com.android.settings"
  /packages/apps/Launcher2/src/com/android/launcher2/
UserInitializeReceiver.java 42 final String packageName = resources.getResourcePackageName(R.array.wallpapers);
44 addWallpapers(resources, packageName, R.array.wallpapers, list);
45 addWallpapers(resources, packageName, R.array.extra_wallpapers, list);
60 private void addWallpapers(Resources resources, String packageName, int resid,
64 int res = resources.getIdentifier(extra, "drawable", packageName);
  /packages/apps/Settings/src/com/android/settings/applications/
InstalledAppDetails.java 202 mState.requestSize(mAppEntry.info.packageName);
214 public void onRemoveCompleted(final String packageName, final boolean succeeded) {
222 public void onRemoveCompleted(final String packageName, final boolean succeeded) {
230 public void packageMoved(String packageName, int returnCode) throws RemoteException {
248 || mDpm.packageHasActiveAdmins(mPackageInfo.packageName)) {
327 intent.setPackage(mAppEntry.info.packageName);
373 if (mDpm.packageHasActiveAdmins(mPackageInfo.packageName)) {
388 enabled = nm.areNotificationsEnabledForPackage(mAppEntry.info.packageName,
497 } else if (mPackageInfo == null || mDpm.packageHasActiveAdmins(mPackageInfo.packageName)) {
511 uninstallPkg(mAppEntry.info.packageName, true, false)
    [all...]
  /cts/tools/signature-tools/src/signature/model/util/
ModelUtil.java 99 * @param packageName
103 public static IPackage getPackage(IApi api, String packageName) {
105 if (packageName.equals(aPackage.getName())) {
120 String packageName = null;
122 packageName = "";
124 packageName = classIdentifier.substring(0, lastIndexOfSlash);
126 return packageName;
  /frameworks/base/core/java/android/provider/
Applications.java 85 * "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) {
113 .appendPath(packageName)
  /dalvik/dx/src/com/android/dx/command/annotool/
AnnotationLister.java 171 String packageName = cf.getThisClass().getClassType().getClassName();
173 int slashIndex = packageName.lastIndexOf('/');
176 packageName = "";
178 packageName
179 = packageName.substring(0, slashIndex);
187 printMatchPackage(packageName);
197 * @param packageName {@code non-null;} name of package
199 private void printMatchPackage(String packageName) {
205 matchPackages.add(packageName);
208 System.out.println(packageName.replace('/','.'))
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
ApkInstallManager.java 54 public ApkInstall(IProject project, String packageName, IDevice device) {
56 this.packageName = packageName;
66 packageName.equals(apkObj.packageName));
74 return (device.getSerialNumber() + project.getName() + packageName).hashCode();
78 final String packageName;
119 * @param packageName the package name of the apk
122 public void registerInstallation(IProject project, String packageName, IDevice device) {
124 mInstallList.add(new ApkInstall(project, packageName, device))
    [all...]
  /frameworks/base/core/java/com/android/internal/content/
PackageMonitor.java 123 boolean isPackageUpdating(String packageName) {
125 return mUpdatingPackages.contains(packageName);
135 public void onPackageAdded(String packageName, int uid) {
141 public void onPackageRemoved(String packageName, int uid) {
148 public void onPackageRemovedAllUsers(String packageName, int uid) {
151 public void onPackageUpdateStarted(String packageName, int uid) {
154 public void onPackageUpdateFinished(String packageName, int uid) {
163 * @param packageName The name of the package that is changing.
174 public boolean onPackageChanged(String packageName, int uid, String[] components) {
177 if (packageName.equals(name))
    [all...]

Completed in 987 milliseconds

1 23 4 5 6 7 8 91011>>