/frameworks/base/core/java/android/app/ |
INotificationManager.aidl | 28 void enqueueNotification(String pkg, int id, in Notification notification, inout int[] idReceived); 30 void cancelNotification(String pkg, int id); 31 void cancelAllNotifications(String pkg); 33 void enqueueToast(String pkg, ITransientNotification callback, int duration); 34 void cancelToast(String pkg, ITransientNotification callback); 35 void enqueueNotificationWithTag(String pkg, String tag, int id, in Notification notification, inout int[] idReceived); 36 void enqueueNotificationWithTagPriority(String pkg, String tag, int id, int priority, in Notification notification, inout int[] idReceived); 37 void cancelNotificationWithTag(String pkg, String tag, int id);
|
NotificationManager.java | 121 String pkg = mContext.getPackageName(); local 122 if (localLOGV) Log.v(TAG, pkg + ": notify(" + id + ", " + notification + ")"); 124 service.enqueueNotificationWithTag(pkg, tag, id, notification, idOut); 150 String pkg = mContext.getPackageName(); local 151 if (localLOGV) Log.v(TAG, pkg + ": cancel(" + id + ")"); 153 service.cancelNotificationWithTag(pkg, tag, id); 165 String pkg = mContext.getPackageName(); local 166 if (localLOGV) Log.v(TAG, pkg + ": cancelAll()"); 168 service.cancelAllNotifications(pkg);
|
IActivityController.aidl | 33 boolean activityStarting(in Intent intent, String pkg); 39 boolean activityResuming(String pkg);
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiCoverage.java | 29 public void addPackage(ApiPackage pkg) { 30 mPackages.put(pkg.getName(), pkg); local
|
XmlReport.java | 57 for (ApiPackage pkg : packages) { 58 if (pkg.getName().startsWith("android") 59 && pkg.getTotalMethods() > 0) { 60 out.println("<package name=\"" + pkg.getName() 61 + "\" numCovered=\"" + pkg.getNumCoveredMethods() 62 + "\" numTotal=\"" + pkg.getTotalMethods() 64 + Math.round(pkg.getCoveragePercentage()) 67 List<ApiClass> classes = new ArrayList<ApiClass>(pkg.getClasses());
|
/cts/tools/cts-reference-app-lib/src/android/cts/refapp/ |
ReferenceAppTestCase.java | 40 * @param pkg the java package the class is contained in. 44 public ReferenceAppTestCase(String pkg, Class<T> activityClass, int maxStartupTimeMs) { 45 super(pkg, activityClass); 52 * @param pkg the java package the class is contained in. 55 public ReferenceAppTestCase(String pkg, Class<T> activityClass) { 56 this(pkg, activityClass, DEFAULT_MAX_STATUP_TIME_MS);
|
/external/chromium/build/linux/ |
pkg-config-wrapper | 6 # This program wraps around pkg-config to generate the correct include and 18 echo "usage: $0 /path/to/sysroot [pkg-config-arguments] package" >&2 30 # /path/to/chroot/build/x86-generic/usr/lib/pkgconfig/pkg.pc may have all paths 34 # pkg-config's |prefix| variable. 35 prefix=`PKG_CONFIG_PATH=$config_path pkg-config --variable=prefix "$package" | sed -e 's|/usr$||'` 36 result=`PKG_CONFIG_PATH=$config_path pkg-config "$@"`
|
/frameworks/base/tests/backup/ |
test_backup.sh | 27 for pkg in $b_pkgs; do 28 a shell bmgr wipe "$pkg"
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
RemoveReceiver.java | 31 String pkg = uri != null ? uri.getSchemeSpecificPart() : null; local 32 if (pkg != null) { 36 if (prefs.getBoolean(pkg, false)) { 37 prefs.edit().remove(pkg).apply();
|
/frameworks/base/core/java/android/content/ |
ComponentName.java | 40 * @param pkg The name of the package that the component exists in. Can 42 * @param cls The name of the class inside of <var>pkg</var> that 45 public ComponentName(String pkg, String cls) { 46 if (pkg == null) throw new NullPointerException("package name is null"); 48 mPackage = pkg; 55 * @param pkg A Context for the package implementing the component, 57 * @param cls The name of the class inside of <var>pkg</var> that 60 public ComponentName(Context pkg, String cls) { 62 mPackage = pkg.getPackageName(); 69 * @param pkg A Context for the package implementing the component, fro 164 String pkg = str.substring(0, sep); local 252 String pkg = in.readString(); local [all...] |
/frameworks/base/services/java/com/android/server/ |
NotificationManagerService.java | 129 String pkg; local 143 final String pkg; field in class:NotificationManagerService.NotificationRecord 152 NotificationRecord(String pkg, String tag, int id, int uid, int initialPid, int priority, 155 this.pkg = pkg; 167 + " / " + idDebugString(baseContext, this.pkg, notification.icon)); 186 + " pkg=" + pkg 197 final String pkg; field in class:NotificationManagerService.ToastRecord 201 ToastRecord(int pid, String pkg, ITransientNotification callback, int duration [all...] |
AttributeCache.java | 99 Package pkg = mPackages.get(packageName); local 102 if (pkg != null) { 103 map = pkg.mMap.get(resId); 120 pkg = new Package(context); 121 mPackages.put(packageName, pkg); 126 pkg.mMap.put(resId, map); 130 ent = new Entry(pkg.context, 131 pkg.context.obtainStyledAttributes(resId, styleable));
|
/development/build/tools/ |
sdk_repo.mk | 13 define sdk-repo-pkg-zip 28 define mk-sdk-repo-pkg-1 29 $(call sdk-repo-pkg-zip,$(1),$(2),$(3)): $(2) 32 zip -9rq ../$(notdir $(call sdk-repo-pkg-zip,$(1),$(2),$(3))) $(3)/* 33 $(call dist-for-goals, sdk_repo, $(call sdk-repo-pkg-zip,$(1),$(2),$(3))) 35 $(call sdk-repo-pkg-zip,$(1),$(2),$(3)):$(notdir $(call sdk-repo-pkg-zip,$(1),$(2),$(3))) 49 define mk-sdk-repo-pkg-2 50 $(call sdk-repo-pkg-zip,$(1),$(2),$(3)): $(2) 53 zip -9rq ../../$(notdir $(call sdk-repo-pkg-zip,$(1),$(2),$(3))) [all...] |
/external/icu4c/tools/icupkg/ |
icupkg.cpp | 228 Package *pkg, *listPkg, *addListPkg; local 246 pkg=new Package; 247 if(pkg==NULL) { 272 pkg->readPackage(inFilename); 276 pkg->addFile(sourcePath, inFilename); 318 isModified|=(UBool)(!isPackage || outType!=pkg->getInType()); 320 outType=pkg->getInType(); // default to input type 346 pkg->extractItem(destPath, outFilename, 0, outType); 349 delete pkg; 365 pkg->setMatchMode(Package::MATCH_NOSLASH) [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
PackageMonitor.java | 185 String pkg = uri != null ? uri.getSchemeSpecificPart() : null; local 186 return pkg; 198 String pkg = getPackageName(intent); local 204 if (pkg != null) { 206 mTempArray[0] = pkg; 210 onPackageUpdateFinished(pkg, uid); 211 onPackageModified(pkg); 214 onPackageAdded(pkg, uid); 216 onPackageAppeared(pkg, mChangeType); 219 mUpdatingPackages.remove(pkg); 224 String pkg = getPackageName(intent); local 247 String pkg = getPackageName(intent); local [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/sdkman2/ |
AdtUpdateDialog.java | 233 for (Package pkg : packages) {
234 mPackageFilter.visit(pkg);
239 public boolean acceptPackage(Package pkg) {
241 return mPackageFilter.accept(pkg);
291 abstract void visit(Package pkg);
294 abstract boolean accept(Package pkg);
305 boolean accept(Package pkg) {
306 if (pkg instanceof ExtraPackage) {
307 ExtraPackage ep = (ExtraPackage) pkg;
315 void visit(Package pkg) {
[all...] |
PkgItem.java | 119 public int compareTo(PkgItem pkg) { 120 return getMainPackage().compareTo(pkg.getMainPackage()); 150 public boolean isSameMainPackageAs(Package pkg) { 151 if (mMainPkg.canBeUpdatedBy(pkg) == UpdateInfo.NOT_UPDATE) { 153 return mMainPkg.getRevision() == pkg.getRevision(); 206 * Check whether the 'pkg' argument is an update for this package. 214 public boolean mergeUpdate(Package pkg) { 215 if (mUpdatePkg == pkg) { 218 if (mMainPkg.canBeUpdatedBy(pkg) == UpdateInfo.UPDATE) { 220 mUpdatePkg = pkg; [all...] |
/frameworks/base/core/java/com/android/internal/statusbar/ |
StatusBarNotification.java | 43 public String pkg; field in class:StatusBarNotification 54 public StatusBarNotification(String pkg, int id, String tag, 56 if (pkg == null) throw new NullPointerException(); 59 this.pkg = pkg; 74 this.pkg = in.readString(); 88 out.writeString(this.pkg); 121 return new StatusBarNotification(this.pkg, this.id, this.tag, 126 return "StatusBarNotification(package=" + pkg + " id=" + id + " tag=" + tag
|
IStatusBarService.aidl | 29 void disable(int what, IBinder token, String pkg); 42 void onNotificationClick(String pkg, String tag, int id); 43 void onNotificationError(String pkg, String tag, int id, 46 void onNotificationClear(String pkg, String tag, int id);
|
/external/icu4c/common/ |
servrbf.cpp | 60 char pkg[20]; local 62 length=_bundleName.extract(0, INT32_MAX, pkg, (int32_t)sizeof(pkg), US_INV); 63 if(length>=(int32_t)sizeof(pkg)) { 66 return new ResourceBundle(pkg, loc, status);
|
/frameworks/base/services/java/com/android/server/pm/ |
PackageSetting.java | 28 PackageParser.Package pkg; field in class:PackageSetting 45 pkg = orig.pkg;
|
/frameworks/base/test-runner/src/android/test/ |
ActivityInstrumentationTestCase.java | 45 * @param pkg ignored - no longer in use. 49 public ActivityInstrumentationTestCase(String pkg, Class<T> activityClass) { 50 this(pkg, activityClass, false); 56 * @param pkg ignored - no longer in use. 61 public ActivityInstrumentationTestCase(String pkg, Class<T> activityClass,
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
TestResultsTest.java | 67 TestPackageResult pkg = parser.getPackages().iterator().next(); local 68 assertEquals("pkgName", pkg.getName()); 69 assertEquals("appPkgName", pkg.getAppPackageName()); 70 assertEquals("digValue", pkg.getDigest()); 94 TestPackageResult pkg = parser.getPackages().iterator().next(); local 95 TestSuite comSuite = pkg.getTestSuites().iterator().next();
|
/frameworks/base/services/java/com/android/server/wm/ |
StartingData.java | 22 final String pkg; field in class:StartingData 33 pkg = _pkg;
|
/external/doclava/src/com/google/doclava/ |
NavTree.java | 28 for (PackageInfo pkg : Doclava.choosePackages()) { 29 children.add(makePackageNode(pkg)); 49 private static Node makePackageNode(PackageInfo pkg) { 52 addClassNodes(children, "Interfaces", pkg.interfaces()); 53 addClassNodes(children, "Classes", pkg.ordinaryClasses()); 54 addClassNodes(children, "Enums", pkg.enums()); 55 addClassNodes(children, "Exceptions", pkg.exceptions()); 56 addClassNodes(children, "Errors", pkg.errors()); 58 return new Node(pkg.name(), pkg.htmlPage(), children, pkg.getSince()) [all...] |