HomeSort by relevance Sort by last modified time
    Searched full:packagename (Results 101 - 125 of 2230) sorted by null

1 2 3 45 6 7 8 91011>>

  /frameworks/base/services/core/java/com/android/server/location/
LocationRequestStatistics.java 23 * @param packageName Name of package that has requested locations.
27 public void startRequesting(String packageName, String providerName, long intervalMs) {
28 PackageProviderKey key = new PackageProviderKey(packageName, providerName);
40 * @param packageName Name of package that has stopped requesting locations.
43 public void stopRequesting(String packageName, String providerName) {
44 PackageProviderKey key = new PackageProviderKey(packageName, providerName);
61 public final String packageName;
67 public PackageProviderKey(String packageName, String providerName) {
68 this.packageName = packageName;
    [all...]
  /frameworks/base/test-runner/src/android/test/mock/
MockPackageManager.java 71 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException {
77 public PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId)
93 public Intent getLaunchIntentForPackage(String packageName) {
98 public Intent getLeanbackLaunchIntentForPackage(String packageName) {
103 public int[] getPackageGids(String packageName) throws NameNotFoundException {
108 public int[] getPackageGids(String packageName, int flags) throws NameNotFoundException {
113 public int getPackageUid(String packageName, int flags) throws NameNotFoundException {
119 public int getPackageUidAsUser(String packageName, int flags, int userHandle)
126 public int getPackageUidAsUser(String packageName, int userHandle)
155 public ApplicationInfo getApplicationInfo(String packageName, int flags
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AllAppsList.java 85 * Add the icons for the supplied apk called packageName.
87 public void addPackage(Context context, String packageName, UserHandle user) {
90 final List<LauncherActivityInfo> matches = launcherApps.getActivityList(packageName,
99 * Remove the apps for the given apk identified by packageName.
101 public void removePackage(String packageName, UserHandle user) {
106 if (info.user.equals(user) && packageName.equals(component.getPackageName())) {
118 public void updatePackage(Context context, String packageName, UserHandle user) {
121 final List<LauncherActivityInfo> matches = launcherApps.getActivityList(packageName,
130 && packageName.equals(component.getPackageName())) {
163 && packageName.equals(component.getPackageName()))
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
DefaultBrowserPreference.java 73 final CharSequence packageName = newValue;
74 if (TextUtils.isEmpty(packageName)) {
78 packageName.toString(), mUserId);
96 String packageName = pm.getDefaultBrowserPackageNameAsUser(mUserId);
97 if (!TextUtils.isEmpty(packageName)) {
100 .setPackage(packageName);
104 setValue(packageName);
125 if (info.activityInfo == null || result.contains(info.activityInfo.packageName)
130 result.add(info.activityInfo.packageName);
156 public void onPackageAdded(String packageName, int uid)
    [all...]
  /build/blueprint/
mangle.go 17 func packageNamespacePrefix(packageName string) string {
18 return "g." + packageName + "."
  /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
MyVpnService.java 40 String packageName = getPackageName();
41 String cmd = intent.getStringExtra(packageName + ".cmd");
45 start(packageName, intent);
51 private void start(String packageName, Intent intent) {
54 String addresses = intent.getStringExtra(packageName + ".addresses");
70 String routes = intent.getStringExtra(packageName + ".routes");
86 String allowed = intent.getStringExtra(packageName + ".allowedapplications");
101 String disallowed = intent.getStringExtra(packageName + ".disallowedapplications");
  /cts/tests/tests/provider/src/android/provider/cts/
ProviderTestUtils.java 41 static void setDefaultSmsApp(boolean setToSmsApp, String packageName, UiAutomation uiAutomation)
44 "appops set %s WRITE_SMS %s", packageName, setToSmsApp ? "allow" : "default");
108 static void runBackup(String packageName, UiAutomation uiAutomation) throws Exception {
109 executeShellCommand("bmgr backupnow " + packageName, uiAutomation);
113 static void runRestore(String packageName, UiAutomation uiAutomation) throws Exception {
114 executeShellCommand("bmgr restore 1 " + packageName, uiAutomation);
118 static void wipeBackup(String backupTransport, String packageName, UiAutomation uiAutomation)
120 executeShellCommand("bmgr wipe " + backupTransport + " " + packageName, uiAutomation);
  /development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
MyBaseListFragment.java 106 protected final String getAppLabel(String packageName) {
107 String name = mAppNames.get(packageName);
113 final ApplicationInfo ai = pm.getApplicationInfo(packageName, 0);
116 return packageName;
124 public void onPackageRemoved(String packageName, UserHandle user) {
129 public void onPackageAdded(String packageName, UserHandle user) {
134 public void onPackageChanged(String packageName, UserHandle user) {
150 public void onShortcutsChanged(String packageName,
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
TableCompactConstructor.java 20 public TableCompactConstructor(String packageName) {
21 super(packageName);
  /frameworks/base/core/java/android/os/storage/
MountServiceInternal.java 34 * @param packageName The package in the UID for making the call.
42 public int getMountMode(int uid, String packageName);
48 * @param packageName The package in the UID for making the call.
53 public boolean hasExternalStorage(int uid, String packageName);
69 * @param packageName The package in the UID for making the call.
71 public abstract void onExternalStoragePolicyChanged(int uid, String packageName);
78 * @param packageName The package in the UID for making the call.
81 public abstract int getExternalStorageMountMode(int uid, String packageName);
  /frameworks/base/location/java/android/location/
ILocationManager.aidl 42 in PendingIntent intent, String packageName);
43 void removeUpdates(in ILocationListener listener, in PendingIntent intent, String packageName);
46 in PendingIntent intent, String packageName);
47 void removeGeofence(in Geofence fence, in PendingIntent intent, String packageName);
49 Location getLastLocation(in LocationRequest request, String packageName);
51 boolean registerGnssStatusCallback(IGnssStatusListener callback, String packageName);
64 boolean addGnssMeasurementsListener(in IGnssMeasurementsListener listener, in String packageName);
69 in String packageName);
  /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);
  /frameworks/base/services/core/java/com/android/server/pm/
PersistentPreferredIntentResolver.java 29 protected boolean isPackageForFilter(String packageName, PersistentPreferredActivity filter) {
30 return packageName.equals(filter.mComponent.getPackageName());
  /frameworks/base/services/core/java/com/android/server/vr/
VrManagerInternal.java 37 * @param packageName The package name to check.
42 public abstract boolean isCurrentVrListener(String packageName, int userId);
51 * @param packageName The package name of the requested VrListenerService to bind.
55 public abstract void setVrMode(boolean enabled, @NonNull ComponentName packageName,
62 * @param packageName The package name of the requested VrListenerService to bind.
66 public abstract void setVrModeImmediate(boolean enabled, @NonNull ComponentName packageName,
74 * @param packageName the name of the package to check, or null to select the default package.
78 public abstract int hasVrPackage(@NonNull ComponentName packageName, int userId);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
FilterFactory.java 71 public void addPackage(String packageName) {
72 if (mLogVerbose) Log.v(TAG, "Adding package " + packageName);
75 Package pkg = Package.getPackage(packageName);
77 throw new IllegalArgumentException("Unknown filter package '" + packageName + "'!");
80 mPackages.add(packageName);
126 for (String packageName : mPackages) {
128 if (mLogVerbose) Log.v(TAG, "Trying "+ packageName + "." + name);
130 filterClass = mCurrentClassLoader.loadClass(packageName + "." + name);
  /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,
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
MoveAppActivity.java 42 private static final String ARG_PACKAGE_NAME = "packageName";
65 public static Intent getLaunchIntent(Context context, String packageName, String packageDesc) {
67 i.putExtra(ARG_PACKAGE_NAME, packageName);
83 final String packageName = getIntent().getStringExtra(ARG_PACKAGE_NAME);
85 final Fragment fragment = MoveAppStepFragment.newInstance(packageName, packageDesc);
105 public void onRequestMovePackageToVolume(String packageName, VolumeInfo destination) {
106 mAppMoveId = mPackageManager.movePackage(packageName, destination);
110 .getApplicationInfo(packageName, 0);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
VoicemailPermissions.java 92 public boolean packageHasOwnVoicemailAccess(String packageName) {
93 return packageHasPermission(packageName,
98 public boolean packageHasReadAccess(String packageName) {
99 return packageHasPermission(packageName, android.Manifest.permission.READ_VOICEMAIL);
103 public boolean packageHasWriteAccess(String packageName) {
104 return packageHasPermission(packageName, android.Manifest.permission.WRITE_VOICEMAIL);
108 private boolean packageHasPermission(String packageName, String permission) {
109 return ContactsPermissions.hasPackagePermission(mContext, permission, packageName);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
RealSystemFacade.java 81 public boolean userOwnsPackage(int uid, String packageName) throws NameNotFoundException {
82 return mContext.getPackageManager().getApplicationInfo(packageName, 0).uid == uid;
96 for (String packageName : packageNames) {
97 if (isCleartextTrafficPermitted(packageName)) {
105 public SSLContext getSSLContextForPackage(Context context, String packageName)
109 appConfig = NetworkSecurityPolicy.getApplicationConfigForPackage(context, packageName);
122 private boolean isCleartextTrafficPermitted(String packageName) {
126 packageInfo = packageManager.getPackageInfo(packageName, 0);
  /packages/services/Telephony/src/com/android/phone/
VisualVoicemailSmsFilterConfig.java 64 String packageName, int subId) {
65 Reader reader = new Reader(context, packageName, subId);
83 private static String makePerPhoneAccountKeyPrefix(String packageName, int subId) {
87 return VVM_SMS_FILTER_COFIG_SHARED_PREFS_KEY_PREFIX + packageName + "_"
96 public Editor(Context context, String packageName, int subId) {
98 mKeyPrefix = makePerPhoneAccountKeyPrefix(packageName, subId);
136 public Reader(Context context, String packageName, int subId) {
138 mKeyPrefix = makePerPhoneAccountKeyPrefix(packageName, subId);
  /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";
  /frameworks/base/core/java/android/content/pm/
LauncherApps.java 89 * @param packageName The name of the package that was removed.
92 abstract public void onPackageRemoved(String packageName, UserHandle user);
100 * @param packageName The name of the package that was added.
103 abstract public void onPackageAdded(String packageName, UserHandle user);
110 * @param packageName The name of the package that has changed.
113 abstract public void onPackageChanged(String packageName, UserHandle user);
174 * @param packageName The name of the package that has the shortcuts.
182 public void onShortcutsChanged(@NonNull String packageName,
286 public ShortcutQuery setPackage(@Nullable String packageName) {
287 mPackage = packageName;
    [all...]
  /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);
  /packages/apps/Launcher3/src/com/android/launcher3/
AllAppsList.java 96 * Add the icons for the supplied apk called packageName.
98 public void addPackage(Context context, String packageName, UserHandleCompat user) {
100 final List<LauncherActivityInfoCompat> matches = launcherApps.getActivityList(packageName,
109 * Remove the apps for the given apk identified by packageName.
111 public void removePackage(String packageName, UserHandleCompat user) {
116 if (info.user.equals(user) && packageName.equals(component.getPackageName())) {
124 * Updates the apps for the given packageName and user based on {@param op}.
151 public void updatePackage(Context context, String packageName, UserHandleCompat user) {
153 final List<LauncherActivityInfoCompat> matches = launcherApps.getActivityList(packageName,
162 && packageName.equals(component.getPackageName()))
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/model/
PackageItemInfo.java 43 public String packageName;
53 PackageItemInfo(String packageName) {
54 this.packageName = packageName;

Completed in 1451 milliseconds

1 2 3 45 6 7 8 91011>>