Searched defs:pkg (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase.java43 * @param pkg ignored - no longer in use.
47 public ActivityInstrumentationTestCase(String pkg, Class<T> activityClass) { argument
48 this(pkg, activityClass, false);
54 * @param pkg ignored - no longer in use.
59 public ActivityInstrumentationTestCase(String pkg, Class<T> activityClass, argument
H A DActivityInstrumentationTestCase2.java56 * @param pkg ignored - no longer in use.
63 public ActivityInstrumentationTestCase2(String pkg, Class<T> activityClass) { argument
H A DSingleLaunchActivityTestCase.java38 * <b>NOTE:</b> The parameter <i>pkg</i> must refer to the package identifier of the
42 * @param pkg The package hosting the activity to be launched.
45 public SingleLaunchActivityTestCase(String pkg, Class<T> activityClass) { argument
46 mPackage = pkg;
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerInternal.java22 void enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid, argument
25 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId); argument
H A DNotificationDelegate.java24 String pkg, String tag, int id, int userId);
26 String pkg, String tag, int id,
23 onNotificationClear(int callingUid, int callingPid, String pkg, String tag, int id, int userId) argument
25 onNotificationError(int callingUid, int callingPid, String pkg, String tag, int id, int uid, int initialPid, String message, int userId) argument
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java80 * <p><b>NOTE:</b> The parameter <i>pkg</i> must refer to the package identifier of the
84 * @param pkg The package hosting the activity to be launched.
90 String pkg,
97 return launchActivityWithIntent(pkg, activityCls, intent);
103 * <p><b>NOTE:</b> The parameter <i>pkg</i> must refer to the package identifier of the
107 * @param pkg The package hosting the activity to be launched.
114 String pkg,
117 intent.setClassName(pkg, activityCls.getName());
89 launchActivity( String pkg, Class<T> activityCls, Bundle extras) argument
113 launchActivityWithIntent( String pkg, Class<T> activityCls, Intent intent) argument
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java102 PackageLite pkg = null;
106 pkg = PackageParser.parsePackageLite(packageFile, 0);
107 handle = NativeLibraryHelper.Handle.create(pkg);
108 return copyPackageToContainerInner(pkg, handle, containerId, key, isExternal,
133 PackageLite pkg = null;
136 pkg = PackageParser.parsePackageLite(packageFile, 0);
137 return copyPackageInner(pkg, target);
165 final PackageParser.PackageLite pkg;
168 pkg = PackageParser.parsePackageLite(packageFile, 0);
169 sizeBytes = PackageHelper.calculateInstalledSize(pkg, isForwardLocke
310 copyPackageToContainerInner(PackageLite pkg, NativeLibraryHelper.Handle handle, String newCid, String key, boolean isExternal, boolean isForwardLocked, String abiOverride) argument
364 copyPackageInner(PackageLite pkg, IParcelFileDescriptorFactory target) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java124 private Drawable getPackageDrawable(String pkg, int id) { argument
126 return mContext.createPackageContext(pkg, 0).getDrawable(id);
128 Log.w(TAG, "Error loading package drawable pkg=" + pkg + " id=" + id, t);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageSetting.java29 PackageParser.Package pkg; field in class:PackageSetting
49 pkg = orig.pkg;
/frameworks/base/services/core/java/com/android/server/wm/
H A DStartingData.java22 final String pkg; field in class:StartingData
34 pkg = _pkg;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DHwTests.java125 protected Intent activityIntent(String pkg, String componentName) { argument
127 result.setClassName(pkg, componentName);
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DVectorDrawableTest.java124 protected Intent activityIntent(String pkg, String componentName) { argument
126 result.setClassName(pkg, componentName);
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
H A DMainActivity.java92 private Intent createActivityIntent(String pkg, String componentName) { argument
94 result.setClassName(pkg, componentName);
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminReceiver.java390 * @param pkg If entering, the authorized package using lock task mode, otherwise null.
392 public void onLockTaskModeEntering(Context context, Intent intent, String pkg) { argument
435 String pkg = intent.getStringExtra(EXTRA_LOCK_TASK_PACKAGE);
436 onLockTaskModeEntering(context, intent, pkg);
/frameworks/base/core/java/android/content/
H A DComponentName.java42 * @param pkg The name of the package that the component exists in. Can
44 * @param cls The name of the class inside of <var>pkg</var> that
47 public ComponentName(String pkg, String cls) { argument
48 if (pkg == null) throw new NullPointerException("package name is null");
50 mPackage = pkg;
57 * @param pkg A Context for the package implementing the component,
59 * @param cls The name of the class inside of <var>pkg</var> that
62 public ComponentName(Context pkg, String cls) { argument
64 mPackage = pkg.getPackageName();
71 * @param pkg
76 ComponentName(Context pkg, Class<?> cls) argument
334 ComponentName(String pkg, Parcel in) argument
[all...]
/frameworks/base/core/java/android/service/notification/
H A DCondition.java162 public static boolean isValidId(Uri id, String pkg) { argument
163 return id != null && id.getScheme().equals(SCHEME) && id.getAuthority().equals(pkg);
H A DStatusBarNotification.java29 private final String pkg; field in class:StatusBarNotification
45 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, argument
47 this(pkg, opPkg, id, tag, uid, initialPid, score, notification, user,
51 public StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, argument
54 if (pkg == null) throw new NullPointerException();
57 this.pkg = pkg;
72 this.pkg = in.readString();
91 return user.getIdentifier() + "|" + pkg + "|" + id + "|" + tag + "|" + uid;
101 return user.getIdentifier() + "|" + pkg
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationBlacklist.java105 private boolean inWhitelist(String pkg) { argument
108 if (pkg.startsWith(white)) return true;
137 for (String pkg : splitStrings) {
138 pkg = pkg.trim();
139 if (pkg.isEmpty()) {
142 result.add(pkg);
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/core/
H A DUiAutomationShellWrapper.java88 public boolean activityStarting(Intent intent, String pkg) throws RemoteException { argument
94 public boolean activityResuming(String pkg) throws RemoteException { argument
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java160 String pkg = nextArg();
161 if (pkg == null) {
167 mBmgr.dataChanged(pkg);
177 String pkg;
179 while ((pkg = nextArg()) != null) {
180 allPkgs.add(pkg);
220 String pkg = nextArg();
221 if (pkg == null) {
227 mBmgr.clearBackupData(transport, pkg);
228 System.out.println("Wiped backup data for " + pkg
379 doRestorePackage(String pkg) argument
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java87 public static Handle create(Package pkg) throws IOException { argument
88 return create(pkg.getAllCodePaths(),
89 (pkg.applicationInfo.flags & ApplicationInfo.FLAG_MULTIARCH) != 0);
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java86 String pkg; field in class:MediaBrowserService.ConnectionRecord
156 public void connect(final String pkg, final Bundle rootHints, argument
160 if (!isValidPackage(pkg, uid)) {
162 + " package=" + pkg);
174 connection.pkg = pkg;
178 connection.root = MediaBrowserService.this.onGetRoot(pkg, uid, rootHints);
182 Log.i(TAG, "No root for client " + pkg + " from service "
188 + "pkg=" + pkg);
371 isValidPackage(String pkg, int uid) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DImmersiveModeConfirmation.java118 public void immersiveModeChanged(String pkg, boolean isImmersiveMode, argument
122 final boolean disabled = PolicyControl.disableImmersiveConfirmation(pkg);
H A DPolicyControl.java107 public static boolean disableImmersiveConfirmation(String pkg) { argument
109 && sImmersivePreconfirmationsFilter.matches(pkg))
/frameworks/base/services/core/java/com/android/server/clipboard/
H A DClipboardService.java247 public ClipData getPrimaryClip(String pkg) { argument
250 pkg) != AppOpsManager.MODE_ALLOWED) {
253 addActiveOwnerLocked(Binder.getCallingUid(), pkg);
341 private final void grantUriLocked(Uri uri, String pkg, int userId) { argument
346 mAm.grantUriPermissionFromOwner(mPermissionOwner, Process.myUid(), pkg,
354 private final void grantItemLocked(ClipData.Item item, String pkg, int userId) { argument
356 grantUriLocked(item.getUri(), pkg, userId);
360 grantUriLocked(intent.getData(), pkg, userId);
364 private final void addActiveOwnerLocked(int uid, String pkg) { argument
369 PackageInfo pi = pm.getPackageInfo(pkg,
[all...]

Completed in 553 milliseconds

123