/frameworks/base/test-runner/src/android/test/ |
H A D | ActivityInstrumentationTestCase.java | 43 * @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 D | ActivityInstrumentationTestCase2.java | 56 * @param pkg ignored - no longer in use. 63 public ActivityInstrumentationTestCase2(String pkg, Class<T> activityClass) { argument
|
H A D | SingleLaunchActivityTestCase.java | 38 * <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 D | NotificationManagerInternal.java | 22 void enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid, argument 25 void removeForegroundServiceFlagFromNotification(String pkg, int notificationId, int userId); argument
|
H A D | NotificationDelegate.java | 25 String pkg, String tag, int id, int userId); 27 String pkg, String tag, int id, 24 onNotificationClear(int callingUid, int callingPid, String pkg, String tag, int id, int userId) argument 26 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 D | InstrumentationTestCase.java | 80 * <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 D | DefaultContainerService.java | 102 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 313 copyPackageToContainerInner(PackageLite pkg, NativeLibraryHelper.Handle handle, String newCid, String key, boolean isExternal, boolean isForwardLocked, String abiOverride) argument 367 copyPackageInner(PackageLite pkg, IParcelFileDescriptorFactory target) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageSetting.java | 29 PackageParser.Package pkg; field in class:PackageSetting 49 pkg = orig.pkg;
|
H A D | SELinuxMMAC.java | 112 void putPkg(String pkg, String seinfoValue) { argument 113 pkgMap.put(pkg, seinfoValue); 231 String pkg = parser.getAttributeValue(null, "name"); 232 if (!validatePackageName(pkg)) { 241 policy.putPkg(pkg, seinfo); 342 * @param pkg object representing the package to be labeled. 347 public static boolean assignSeinfoValue(PackageParser.Package pkg) { argument 350 for (Signature s : pkg.mSignatures) { 356 String seinfo = policy.checkPolicy(pkg.packageName); 358 pkg [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | StartingData.java | 22 final String pkg; field in class:StartingData 34 pkg = _pkg;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | HwTests.java | 125 protected Intent activityIntent(String pkg, String componentName) { argument 127 result.setClassName(pkg, componentName);
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | VectorDrawableTest.java | 124 protected Intent activityIntent(String pkg, String componentName) { argument 126 result.setClassName(pkg, componentName);
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
H A D | UiAutomationShellWrapper.java | 88 public boolean activityStarting(Intent intent, String pkg) throws RemoteException { argument 94 public boolean activityResuming(String pkg) throws RemoteException { argument
|
/frameworks/base/core/java/android/app/admin/ |
H A D | DeviceAdminReceiver.java | 389 * @param pkg If entering, the authorized package using lock task mode, otherwise null. 391 public void onLockTaskModeEntering(Context context, Intent intent, String pkg) { argument 434 String pkg = intent.getStringExtra(EXTRA_LOCK_TASK_PACKAGE); 435 onLockTaskModeEntering(context, intent, pkg);
|
/frameworks/base/core/java/android/content/ |
H A D | ComponentName.java | 42 * @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 D | Condition.java | 162 public static boolean isValidId(Uri id, String pkg) { argument 163 return id != null && SCHEME.equals(id.getScheme()) && pkg.equals(id.getAuthority());
|
H A D | StatusBarNotification.java | 29 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 D | LocationBlacklist.java | 105 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/base/cmds/bmgr/src/com/android/commands/bmgr/ |
H A D | Bmgr.java | 160 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 D | NativeLibraryHelper.java | 87 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 D | MediaBrowserService.java | 86 String pkg; field in class:MediaBrowserService.ConnectionRecord 155 public void connect(final String pkg, final Bundle rootHints, argument 159 if (!isValidPackage(pkg, uid)) { 161 + " package=" + pkg); 173 connection.pkg = pkg; 177 connection.root = MediaBrowserService.this.onGetRoot(pkg, uid, rootHints); 181 Log.i(TAG, "No root for client " + pkg + " from service " 187 + "pkg=" + pkg); 388 isValidPackage(String pkg, int uid) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | IntentTile.java | 173 public PackageDrawableIcon(String pkg, int resId) { argument 174 mPackage = pkg; 190 Log.w(TAG, "Error loading package drawable pkg=" + mPackage + " id=" + mResId, t); 197 return String.format("PackageDrawableIcon[pkg=%s,id=0x%08x]", mPackage, mResId);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | ImmersiveModeConfirmation.java | 118 public void immersiveModeChanged(String pkg, boolean isImmersiveMode, argument 122 final boolean disabled = PolicyControl.disableImmersiveConfirmation(pkg);
|
H A D | PolicyControl.java | 107 public static boolean disableImmersiveConfirmation(String pkg) { argument 109 && sImmersivePreconfirmationsFilter.matches(pkg))
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
H A D | ClipboardService.java | 247 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...] |