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

1234567891011>>

/frameworks/base/core/java/android/content/pm/
H A DFallbackCategoryProvider.java66 public static int getFallbackCategory(String packageName) { argument
67 return sFallbacks.getOrDefault(packageName, ApplicationInfo.CATEGORY_UNDEFINED);
H A DAuxiliaryResolveInfo.java37 public final String packageName; field in class:AuxiliaryResolveInfo
58 this.packageName = resolveInfo.getPackageName();
67 public AuxiliaryResolveInfo(@NonNull String packageName, argument
72 this.packageName = packageName;
H A DPackageCleanItem.java25 public final String packageName; field in class:PackageCleanItem
28 public PackageCleanItem(int userId, String packageName, boolean andCode) { argument
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();
H A DVerifierInfo.java32 public final String packageName; field in class:VerifierInfo
40 * @param packageName the package name in Java-style. Must not be {@code
46 public VerifierInfo(String packageName, PublicKey publicKey) { argument
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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
H A DPackagesChangedEvent.java31 public final String packageName; field in class:PackagesChangedEvent
34 public PackagesChangedEvent(RecentsPackageMonitor monitor, String packageName, int userId) { argument
36 this.packageName = packageName;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPersistentPreferredIntentResolver.java29 protected boolean isPackageForFilter(String packageName, PersistentPreferredActivity filter) { argument
30 return packageName.equals(filter.mComponent.getPackageName());
H A DCrossProfileIntentResolver.java35 protected boolean isPackageForFilter(String packageName, CrossProfileIntentFilter filter) { argument
H A DIntentFilterVerificationKey.java27 public String packageName; field in class:IntentFilterVerificationKey
30 public IntentFilterVerificationKey(String[] domains, String packageName, String className) { argument
36 this.packageName = packageName;
50 if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null)
59 result = 31 * result + (packageName != null ? packageName
[all...]
H A DPreferredIntentResolver.java31 protected boolean isPackageForFilter(String packageName, PreferredActivity filter) { argument
32 return packageName.equals(filter.mPref.mComponent.getPackageName());
/frameworks/av/include/media/
H A DMmapStreamInterface.h44 String16 packageName; member in class:android::MmapStreamInterface::Client
/frameworks/base/core/java/android/app/admin/
H A DNetworkEvent.java35 String packageName; field in class:NetworkEvent
46 NetworkEvent(String packageName, long timestamp) { argument
47 this.packageName = packageName;
56 return packageName;
/frameworks/base/core/java/android/os/storage/
H A DStorageManagerInternal.java34 * @param packageName The package in the UID for making the call.
42 public int getMountMode(int uid, String packageName); argument
48 * @param packageName The package in the UID for making the call.
53 public boolean hasExternalStorage(int uid, String packageName); argument
69 * @param packageName The package in the UID for making the call.
71 public abstract void onExternalStoragePolicyChanged(int uid, String packageName); argument
78 * @param packageName The package in the UID for making the call.
81 public abstract int getExternalStorageMountMode(int uid, String packageName); argument
/frameworks/base/core/java/android/security/
H A DNetworkSecurityPolicy.java108 * Returns an {@link ApplicationConfig} based on the configuration for {@code packageName}.
113 String packageName) throws PackageManager.NameNotFoundException {
114 Context appContext = context.createPackageContext(packageName, 0);
112 getApplicationConfigForPackage(Context context, String packageName) argument
/frameworks/base/core/java/android/service/restrictions/
H A DRestrictionsReceiver.java55 * @param packageName the application requesting permission.
65 String packageName, String requestType, String requestId, PersistableBundle request);
77 String packageName = intent.getStringExtra(RestrictionsManager.EXTRA_PACKAGE_NAME);
82 onRequestPermission(context, packageName, requestType, requestId, request);
64 onRequestPermission(Context context, String packageName, String requestType, String requestId, PersistableBundle request) argument
/frameworks/base/core/java/android/util/
H A DPackageUtils.java41 * @param packageName The package for which to generate the digest.
47 @NonNull String packageName, int userId) {
50 packageInfo = packageManager.getPackageInfoAsUser(packageName,
45 computePackageCertSha256Digest( @onNull PackageManager packageManager, @NonNull String packageName, int userId) argument
/frameworks/base/core/java/android/webkit/
H A DWebViewProviderInfo.java31 public WebViewProviderInfo(String packageName, String description, argument
33 this.packageName = packageName;
53 packageName = in.readString();
67 out.writeString(packageName);
75 public final String packageName; field in class:WebViewProviderInfo
/frameworks/base/core/java/com/android/server/
H A DAppWidgetBackupBridge.java40 public static byte[] getWidgetState(String packageName, int userId) { argument
42 ? sAppWidgetService.getWidgetState(packageName, userId)
52 public static void restoreWidgetState(String packageName, byte[] restoredState, int userId) { argument
54 sAppWidgetService.restoreWidgetState(packageName, restoredState, userId);
H A DWidgetBackupProvider.java30 public byte[] getWidgetState(String packageName, int userId); argument
32 public void restoreWidgetState(String packageName, byte[] restoredState, int userId); argument
/frameworks/base/libs/hwui/tests/unit/
H A DGraphicsStatsServiceTests.cpp59 std::string packageName = "com.test.saveLoad"; local
72 GraphicsStatsService::saveBuffer(path, packageName, 5, 3000, 7000, &mockData);
78 EXPECT_EQ(packageName, loadedProto.package_name());
105 std::string packageName = "com.test.merge"; local
118 GraphicsStatsService::saveBuffer(path, packageName, 5, 3000, 7000, &mockData);
127 GraphicsStatsService::saveBuffer(path, packageName, 5, 7050, 10000, &mockData);
134 EXPECT_EQ(packageName, loadedProto.package_name());
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DAndroidPackageInfoFetcher.java63 * @throws NameNotFoundException if an app with packageName is not installed on the device.
65 public List<String> getCertFingerprints(String packageName) throws NameNotFoundException { argument
66 return Utils.getCertFingerprintsFromPackageManager(packageName, mContext);
74 public List<String> getStatements(String packageName) throws NameNotFoundException { argument
76 packageName, PackageManager.GET_META_DATA);
87 mContext.getPackageManager().getResourcesForApplication(packageName)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsPackageMonitor.java56 public void onPackageRemoved(String packageName, int uid) { argument
59 EventBus.getDefault().post(new PackagesChangedEvent(this, packageName, eventUserId));
63 public boolean onPackageChanged(String packageName, int uid, String[] components) { argument
64 onPackageModified(packageName);
69 public void onPackageModified(String packageName) { argument
72 EventBus.getDefault().post(new PackagesChangedEvent(this, packageName, eventUserId));
/frameworks/base/telecomm/java/android/telecom/
H A DDefaultDialerManager.java50 public static boolean setDefaultDialerApplication(Context context, String packageName) { argument
51 return setDefaultDialerApplication(context, packageName, ActivityManager.getCurrentUser());
64 public static boolean setDefaultDialerApplication(Context context, String packageName, argument
70 if (packageName != null && oldPackageName != null && packageName.equals(oldPackageName)) {
78 if (packageNames.contains(packageName)) {
81 Settings.Secure.DIALER_DEFAULT_APPLICATION, packageName, user);
166 if (activityInfo != null && !packageNames.contains(activityInfo.packageName)) {
167 packageNames.add(activityInfo.packageName);
185 * @param packageName o
192 isDefaultOrSystemDialer(Context context, String packageName) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DClassPathPackageInfo.java34 private final String packageName; field in class:ClassPathPackageInfo
38 ClassPathPackageInfo(ClassPathPackageInfoSource source, String packageName, argument
41 this.packageName = packageName;
71 return (this.packageName).equals(that.packageName);
78 return packageName.hashCode();
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDumpData.java32 String packageName; field in class:DumpData
51 public DumpData(String packageName, Map<String, String> dumpData, Date date) { argument
52 this.packageName = packageName;
60 return packageName;
/frameworks/native/libs/binder/
H A DIAppOpsCallback.cpp39 virtual void opChanged(int32_t op, const String16& packageName) { argument
43 data.writeString16(packageName);
59 String16 packageName = data.readString16(); local
60 opChanged(op, packageName);

Completed in 259 milliseconds

1234567891011>>