/frameworks/base/services/core/java/com/android/server/pm/ |
ShortcutService.java | [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsApplication.java | 129 public SmsApplicationData(String packageName, int uid) { 130 mPackageName = packageName; 235 final String packageName = activityInfo.packageName; 236 if (!receivers.containsKey(packageName)) { 237 final SmsApplicationData smsApplicationData = new SmsApplicationData(packageName, 240 receivers.put(packageName, smsApplicationData); 257 final String packageName = activityInfo.packageName; 258 final SmsApplicationData smsApplicationData = receivers.get(packageName); [all...] |
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/ |
LaunchingActivity.java | 28 String packageName = getApplicationContext().getPackageName(); 29 newIntent.setComponent(new ComponentName(packageName, 30 packageName + "." + targetActivity));
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
PackageFilter.java | 35 * @param packageName 38 public boolean accept(String packageName) { 43 if (packageName.startsWith(filter)) {
|
/frameworks/base/core/java/android/app/usage/ |
IUsageStatsManager.aidl | 33 void setAppInactive(String packageName, boolean inactive, int userId); 34 boolean isAppInactive(String packageName, int userId); 35 void whitelistAppTemporarily(String packageName, long duration, int userId);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
RecentLocationApps.java | 78 String packageName = ops.getPackageName(); 82 (uid == Process.SYSTEM_UID) && ANDROID_SYSTEM_PACKAGE_NAME.equals(packageName); 104 String packageName = ops.getPackageName(); 127 Log.v(TAG, packageName + " hadn't used location within the time interval."); 141 ipm.getApplicationInfo(packageName, PackageManager.GET_META_DATA, userId); 143 Log.w(TAG, "Null application info retrieved for package " + packageName 158 request = new Request(packageName, userHandle, icon, appLabel, highBattery, 161 Log.w(TAG, "Error while retrieving application info for package " + packageName 169 public final String packageName; 176 private Request(String packageName, UserHandle userHandle, Drawable icon [all...] |
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
AndroidAppAsset.java | 117 String packageName = asset.optString(Utils.ANDROID_APP_ASSET_FIELD_PACKAGE_NAME); 118 if (packageName.equals("")) { 140 return new AndroidAppAsset(packageName, certFingerprints); 146 * @param packageName the package name of the Android app. 150 public static AndroidAppAsset create(String packageName, List<String> certFingerprints) { 151 if (packageName == null || packageName.equals("")) { 152 throw new AssertionError("Expected packageName to be set."); 161 return new AndroidAppAsset(packageName, lowerFps); 164 private AndroidAppAsset(String packageName, List<String> certFingerprints) [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
TokenCache.java | 50 public final String packageName; 54 public Key(Account account, String tokenType, String packageName, byte[] sigDigest) { 57 this.packageName = packageName; 66 && Objects.equals(packageName, cacheKey.packageName) 77 ^ packageName.hashCode() 184 * @param packageName 192 String packageName, 199 Key k = new Key(account, tokenType, packageName, sigDigest) [all...] |
/frameworks/support/compat/java/android/support/v4/app/ |
INotificationSideChannel.aidl | 31 void notify(String packageName, int id, String tag, in Notification notification); 36 void cancel(String packageName, int id, String tag); 41 void cancelAll(String packageName);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
WearPackageInstallerService.java | 159 final String packageName = WearPackageUtil.getSanitizedPackageName(packageUri); 160 if (packageName == null) { 175 WearPackageArgs.setPackageName(intentBundle, packageName); 190 final String packageName = WearPackageArgs.getPackageName(argsBundle); 201 Log.d(TAG, "Installing package: " + packageName + ", assetUri: " + assetUri + 216 existingPkgInfo = pm.getPackageInfo(packageName, 227 Log.d(TAG, "Replacing package:" + packageName); 239 parcelFd, packageName, compressionAlg); 241 Log.e(TAG, "Could not create a temp file from FD for " + packageName); 246 Log.e(TAG, "Could not parse apk information for " + packageName); [all...] |
/packages/apps/TV/common/src/com/android/tv/common/feature/ |
PackageVersionFeature.java | 34 public PackageVersionFeature(String packageName, int requiredVersionCode) { 35 mPackageName = packageName; 52 return "PackageVersionFeature[packageName=" + mPackageName + ",requiredVersion="
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CarrierAppUtils.java | 139 String packageName = ai.packageName; 141 telephonyManager.checkCarrierPrivilegesForPackageAnyPhone(packageName) == 152 Slog.i(TAG, "Update state(" + packageName + "): ENABLED for user " 155 packageName, 163 List<ApplicationInfo> associatedAppList = associatedApps.get(packageName); 170 Slog.i(TAG, "Update associated state(" + associatedApp.packageName 173 associatedApp.packageName, 183 enabledCarrierPackages.add(ai.packageName); 190 Slog.i(TAG, "Update state(" + packageName [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactDirectoryManager.java | 60 String packageName; 73 + " packageName=" + accountType 130 String packageName = cursor.getString(1); 132 String resourceName = getResourceNameById(packageName, resourceId); 149 private String getResourceNameById(String packageName, int resourceId) { 151 Resources resources = mPackageManager.getResourcesForApplication(packageName); 212 Log.d(TAG, "package=" + packageInfo.packageName); 223 ret.add(provider.packageName); 254 for (String packageName : getDirectoryProviderPackages(mPackageManager)) { 255 if (DEBUG) Log.d(TAG, "package=" + packageName); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
AppRestrictionsFragment.java | 325 String packageName = intent.getData().getSchemeSpecificPart(); 328 findPreference(getKeyForPackage(packageName)); 342 public void onDisableUiForPackage(String packageName) { 344 getKeyForPackage(packageName)); 393 String packageName = app.packageName; 394 if (packageName == null) continue; 395 final boolean isSettingsApp = packageName.equals(context.getPackageName()); 398 final boolean hasSettings = resolveInfoListHasPackage(receivers, packageName); 401 mHelper.setPackageSelected(packageName, true) [all...] |
/external/robolectric/v1/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/app/admin/ |
IDevicePolicyManager.aidl | 111 boolean packageHasActiveAdmins(String packageName, int userHandle); 129 void clearDeviceOwner(String packageName); 144 boolean isPackageSuspended(in ComponentName admin, String packageName); 164 void clearPackagePersistentPreferredActivities(in ComponentName admin, String packageName); 166 void setApplicationRestrictions(in ComponentName who, in String packageName, in Bundle settings); 167 Bundle getApplicationRestrictions(in ComponentName who, in String packageName); 168 boolean setApplicationRestrictionsManagingPackage(in ComponentName admin, in String packageName); 183 boolean isAccessibilityServicePermittedByAdmin(in ComponentName admin, String packageName, int userId); 188 boolean isInputMethodPermittedByAdmin(in ComponentName admin, String packageName, int userId); 190 boolean setApplicationHidden(in ComponentName admin, in String packageName, boolean hidden) [all...] |
/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 | 41 void deleteHost(String packageName, int hostId); 57 void notifyAppWidgetViewDataChanged(String packageName, in int[] appWidgetIds, int viewId); 61 boolean hasBindAppWidgetPermission(in String packageName, int userId); 62 void setBindAppWidgetPermission(in String packageName, int userId, in boolean permission); 69 boolean isBoundWidgetPackage(String packageName, int userId);
|
/frameworks/base/core/java/com/android/internal/content/ |
PackageMonitor.java | 117 boolean isPackageUpdating(String packageName) { 119 return mUpdatingPackages.contains(packageName); 129 public void onPackageAdded(String packageName, int uid) { 135 public void onPackageRemoved(String packageName, int uid) { 142 public void onPackageRemovedAllUsers(String packageName, int uid) { 145 public void onPackageUpdateStarted(String packageName, int uid) { 148 public void onPackageUpdateFinished(String packageName, int uid) { 157 * @param packageName The name of the package that is changing. 168 public boolean onPackageChanged(String packageName, int uid, String[] components) { 171 if (packageName.equals(name)) [all...] |
/frameworks/base/services/core/java/com/android/server/firewall/ |
SenderPackageFilter.java | 37 public SenderPackageFilter(String packageName) { 38 mPackageName = packageName; 67 String packageName = parser.getAttributeValue(null, ATTR_NAME); 69 if (packageName == null) { 74 return new SenderPackageFilter(packageName);
|
/frameworks/base/test-runner/src/android/test/ |
ClassPathPackageInfoSource.java | 76 private ClassPathPackageInfo createPackageInfo(String packageName) { 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, 110 String packagePrefix = packageName + '.'; 121 findClassesInApk(entryName, packageName, classNames, subpackageNames); 126 scanForApkFiles(file, packageName, classNames, subpackageNames); 137 private void scanForApkFiles(File source, String packageName, 140 findClassesInApk(source.getPath(), packageName, classNames, subpackageNames) [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/ |
DumpData.java | 32 String packageName; 51 public DumpData(String packageName, Map<String, String> dumpData, Date date) { 52 this.packageName = packageName; 60 return packageName;
|
/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/Launcher3/src/com/android/launcher3/util/ |
CursorIconInfo.java | 50 String packageName = c.getString(iconPackageIndex); 52 if (!TextUtils.isEmpty(packageName) || !TextUtils.isEmpty(resourceName)) { 54 info.iconResource.packageName = packageName; 56 icon = Utilities.createIconBitmap(packageName, resourceName, context);
|