/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-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...] |
/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,
|
SingleLaunchActivityTestCase.java | 40 * <b>NOTE:</b> The parameter <i>pkg</i> must refer to the package identifier of the 44 * @param pkg The package hosting the activity to be launched. 47 public SingleLaunchActivityTestCase(String pkg, Class<T> activityClass) { 48 mPackage = pkg;
|
/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...] |
PackageManagerService.java | 609 res.pkg.applicationInfo.packageName, 613 res.pkg.applicationInfo.packageName, 1061 PackageParser.Package pkg = mPackages.get(ps.name); local 2084 PackageParser.Package pkg = mPackages.get(pkgName); local 2274 PackageParser.Package pkg = mPackages.get(pkgName); local 2317 PackageParser.Package pkg = mPackages.get(pkgName); local 2514 PackageParser.Package pkg = scanPackageLI(file, local 2589 final PackageParser.Package pkg = pp.parsePackage(scanFile, local 4731 PackageParser.Package pkg = mPackages.get(packageName); local 5498 PackageParser.Package pkg; field in class:PackageManagerService.PackageInstalledInfo 5837 final PackageParser.Package pkg = pp.parsePackage(tmpPackageFile, local 6198 PackageParser.Package pkg = mPackages.get(packageName); local 6689 PackageParser.Package pkg = mPackages.get(packageName); local 6877 PackageSetting pkg = mSettings.mPackages.get(packageName); local 6887 PackageSetting pkg = mSettings.mPackages.get(appPackageName); local 6898 PackageSetting pkg = mSettings.mPackages.get(packageNameStr); local 7844 PackageParser.Package pkg; field in class:PackageManagerService.PackageSetting 9833 final PackageParser.Package pkg = scanPackageLI(new File(codePath), local 9976 PackageParser.Package pkg = mPackages.get(packageName); local [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;
|
/cts/tools/host/src/com/android/cts/ |
TestSession.java | 197 TestPackage pkg = null; local 208 pkg = searchTestPackage(testFullName); 209 if (pkg == null) { 214 mTestThread = new TestSessionThread(this, pkg, testFullName); 264 for (TestPackage pkg : mSessionLog.getTestPackages()) { 265 test = pkg.searchTest(testFullName); 281 for (TestPackage pkg : mSessionLog.getTestPackages()) { 282 Collection<Test> tests = pkg.getTests(); 290 return pkg; 380 final TestPackage pkg, final String javaPkgName) 397 TestPackage pkg = mTest.getTestPackage(); local [all...] |