/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 cancelNotificationWithTag(String pkg, String tag, int id);
|
NotificationManager.java | 108 String pkg = mContext.getPackageName(); local 109 if (localLOGV) Log.v(TAG, pkg + ": notify(" + id + ", " + notification + ")"); 111 service.enqueueNotificationWithTag(pkg, tag, id, notification, idOut); 137 String pkg = mContext.getPackageName(); local 138 if (localLOGV) Log.v(TAG, pkg + ": cancel(" + id + ")"); 140 service.cancelNotificationWithTag(pkg, tag, id); 152 String pkg = mContext.getPackageName(); local 153 if (localLOGV) Log.v(TAG, pkg + ": cancelAll()"); 155 service.cancelAllNotifications(pkg);
|
IActivityController.aidl | 33 boolean activityStarting(in Intent intent, String pkg); 39 boolean activityResuming(String pkg);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
StatusBarNotification.java | 38 public String pkg; field in class:StatusBarNotification 48 public StatusBarNotification(String pkg, int id, String tag, 50 if (pkg == null) throw new NullPointerException(); 53 this.pkg = pkg; 66 this.pkg = in.readString(); 79 out.writeString(this.pkg); 111 return new StatusBarNotification(this.pkg, this.id, this.tag, 116 return "StatusBarNotification(package=" + pkg + " id=" + id + " tag=" + tag
|
IStatusBarService.aidl | 29 void disable(int what, IBinder token, String pkg); 39 void onNotificationClick(String pkg, String tag, int id); 40 void onNotificationError(String pkg, String tag, int id,
|
/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);
|
/frameworks/base/tests/backup/ |
test_backup.sh | 27 for pkg in $b_pkgs; do 28 a shell bmgr wipe "$pkg"
|
/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...] |
/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/chromium/third_party/icu/source/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...] |
/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...] |
/external/chromium/third_party/icu/source/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);
|
/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);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
LocalSdkParser.java | 81 Package pkg = scanDoc(dir, log);
local 82 if (pkg != null) {
83 packages.add(pkg);
88 pkg = scanTools(dir, log);
89 if (pkg != null) {
90 packages.add(pkg);
104 pkg = new PlatformPackage(target, props);
122 pkg = new AddonPackage(target, props);
128 if (pkg != null) {
129 packages.add(pkg);
163 ExtraPackage pkg = new ExtraPackage( local 212 SamplePackage pkg = new SamplePackage(dir.getAbsolutePath(), props); local 245 ToolPackage pkg = new ToolPackage( local 276 DocPackage pkg = new DocPackage( local [all...] |
/build/tools/droiddoc/src/ |
NavTree.java | 25 for (PackageInfo pkg: DroidDoc.choosePackages()) { 26 children.add(makePackageNode(pkg)); 46 private static Node makePackageNode(PackageInfo pkg) { 49 children.add(new Node("Description", pkg.fullDescriptionHtmlPage(), null, null)); 51 addClassNodes(children, "Interfaces", pkg.interfaces()); 52 addClassNodes(children, "Classes", pkg.ordinaryClasses()); 53 addClassNodes(children, "Enums", pkg.enums()); 54 addClassNodes(children, "Exceptions", pkg.exceptions()); 55 addClassNodes(children, "Errors", pkg.errors()); 57 return new Node(pkg.name(), pkg.htmlPage(), children, pkg.getSince()) [all...] |
/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,
|
/frameworks/base/services/java/com/android/server/ |
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));
|
NotificationManagerService.java | 155 String pkg; local 169 final String pkg; field in class:NotificationManagerService.NotificationRecord 179 NotificationRecord(String pkg, String tag, int id, int uid, int initialPid, 182 this.pkg = pkg; 193 + " / " + idDebugString(baseContext, this.pkg, notification.icon)); 212 + " pkg=" + pkg 221 final String pkg; field in class:NotificationManagerService.ToastRecord 225 ToastRecord(int pid, String pkg, ITransientNotification callback, int duration [all...] |
/external/chromium/third_party/icu/source/tools/toolutil/ |
pkg_icu.h | 16 const char *sourcePath, const char *addList, U_NAMESPACE_QUALIFIER Package *pkg,
|
pkg_icu.cpp | 150 writePackageDatFile(const char *outFilename, const char *outComment, const char *sourcePath, const char *addList, Package *pkg, char outType) { 154 if (pkg == NULL) { 155 pkg = new Package; 156 if(pkg == NULL) { 163 pkg->addItems(*addListPkg); 171 pkg->writePackage(outFilename, outType, outComment); 174 delete pkg;
|
/external/icu4c/tools/toolutil/ |
pkg_icu.h | 16 const char *sourcePath, const char *addList, U_NAMESPACE_QUALIFIER Package *pkg,
|
pkg_icu.cpp | 150 writePackageDatFile(const char *outFilename, const char *outComment, const char *sourcePath, const char *addList, Package *pkg, char outType) { 154 if (pkg == NULL) { 155 pkg = new Package; 156 if(pkg == NULL) { 163 pkg->addItems(*addListPkg); 171 pkg->writePackage(outFilename, outType, outComment); 174 delete pkg;
|