HomeSort by relevance Sort by last modified time
    Searched refs:pkg (Results 1 - 25 of 146) sorted by null

1 2 3 4 5 6

  /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 107 String pkg = mContext.getPackageName(); local
108 if (localLOGV) Log.v(TAG, pkg + ": notify(" + id + ", " + notification + ")");
110 service.enqueueNotificationWithTag(pkg, tag, id, notification, idOut);
136 String pkg = mContext.getPackageName(); local
137 if (localLOGV) Log.v(TAG, pkg + ": cancel(" + id + ")");
139 service.cancelNotificationWithTag(pkg, tag, id);
151 String pkg = mContext.getPackageName(); local
152 if (localLOGV) Log.v(TAG, pkg + ": cancelAll()");
154 service.cancelAllNotifications(pkg);
IActivityController.aidl 33 boolean activityStarting(in Intent intent, String pkg);
39 boolean activityResuming(String pkg);
IStatusBar.aidl 25 void disable(int what, IBinder token, String pkg);
  /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/services/java/com/android/server/status/
NotificationData.java 23 public String pkg; field in class:NotificationData
38 return "NotificationData(package=" + pkg + " id=" + id + " tickerText=" + tickerText
  /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/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/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...]
DroidDoc.java 182 for (String pkg: a[1].split(":")) {
183 stubPackages.add(pkg);
479 PackageInfo pkg = cl.containingPackage(); local
481 if (pkg == null) {
484 name = pkg.name();
486 sorted.put(name, pkg);
491 PackageInfo pkg = sorted.get(s); local
493 if (pkg.isHidden()) {
502 classesToCheck = pkg.ordinaryClasses();
505 classesToCheck = pkg.enums()
597 PackageInfo pkg = cl.containingPackage(); local
614 PackageInfo pkg = (PackageInfo)o; local
699 PackageInfo pkg = cl.containingPackage(); local
712 PackageInfo pkg = sorted.get(s); local
857 PackageInfo pkg = ((ClassInfo)sorted[j].data).containingPackage(); local
    [all...]
  /dalvik/tests/060-reflection-security/src/
Enforcer.java 34 public void checkPackageAccess(String pkg) {
35 System.out.println("checkPackageAccess: " + pkg);
37 super.checkPackageAccess(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,
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 149 String pkg; local
163 final String pkg; field in class:NotificationManagerService.NotificationRecord
171 NotificationRecord(String pkg, String tag, int id, Notification notification)
173 this.pkg = pkg;
182 + " / " + idDebugString(baseContext, this.pkg, notification.icon));
201 + " pkg=" + pkg
210 final String pkg; field in class:NotificationManagerService.ToastRecord
214 ToastRecord(int pid, String pkg, ITransientNotification callback, int duration
    [all...]
PackageManagerService.java 589 res.pkg.applicationInfo.packageName,
593 res.pkg.applicationInfo.packageName,
1030 PackageParser.Package pkg = mPackages.get(ps.name); local
2054 PackageParser.Package pkg = mPackages.get(pkgName); local
2244 PackageParser.Package pkg = mPackages.get(pkgName); local
2287 PackageParser.Package pkg = mPackages.get(pkgName); local
2479 PackageParser.Package pkg = scanPackageLI(file, local
2554 final PackageParser.Package pkg = pp.parsePackage(scanFile, local
4857 PackageParser.Package pkg = mPackages.get(packageName); local
5555 PackageParser.Package pkg; field in class:PackageManagerService.PackageInstalledInfo
5872 final PackageParser.Package pkg = pp.parsePackage(tmpPackageFile, local
6221 PackageParser.Package pkg = mPackages.get(packageName); local
6706 PackageParser.Package pkg = mPackages.get(packageName); local
6893 PackageSetting pkg = mSettings.mPackages.get(packageName); local
6903 PackageSetting pkg = mSettings.mPackages.get(appPackageName); local
6914 PackageSetting pkg = mSettings.mPackages.get(packageNameStr); local
7768 PackageParser.Package pkg; field in class:PackageManagerService.PackageSetting
9663 final PackageParser.Package pkg = scanPackageLI(new File(codePath), local
9794 PackageParser.Package pkg = mPackages.get(packageName); local
    [all...]
  /external/icu4c/tools/toolutil/
pkg_icu.h 16 const char *sourcePath, const char *addList, Package *pkg,
pkg_icu.cpp 148 writePackageDatFile(const char *outFilename, const char *outComment, const char *sourcePath, const char *addList, Package *pkg, char outType) {
152 if (pkg == NULL) {
153 pkg = new Package;
154 if(pkg == NULL) {
161 pkg->addItems(*addListPkg);
169 pkg->writePackage(outFilename, outType, outComment);
172 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...]
  /frameworks/base/tests/CoreTests/android/core/
ClassTest.java 251 String pkg = (clazz.getPackage() == null ? "" : clazz.getPackage().getName() + "."); local
255 assertEquals("Top-level class name must be correct", pkg + "ClassTest", clazz.getName());
257 assertEquals("Top-level class canonical name must be correct", pkg + "ClassTest", clazz.getCanonicalName());
261 assertEquals("Member class name must be correct", pkg + "ClassTest$MemberClass", clazz.getName());
263 assertEquals("Member class canonical name must be correct", pkg + "ClassTest.MemberClass", clazz.getCanonicalName());
271 assertEquals("Local class name must be correct", pkg + "ClassTest$1LocalClass", clazz.getName());
277 assertEquals("Anonymous class name must be correct", pkg + "ClassTest$1", clazz.getName());
285 assertEquals("Top-level class name must be correct", pkg + "Mou$$aka", clazz.getName());
287 assertEquals("Top-level class canonical name must be correct", pkg + "Mou$$aka", clazz.getCanonicalName());
291 assertEquals("Member class name must be correct", pkg + "ClassTest$Mi$o$oup", clazz.getName())
    [all...]
  /sdk/eclipse/scripts/
collect_sources_for_sdk.py 111 pkg = checkJavaFile(fp)
112 if pkg:
113 pkg = pkg.replace(".", os.path.sep) # e.g. android.view => android/view
114 copy(p, fp, f, pkg)
143 def copy(p, fp, f, pkg):
144 dstdir = os.path.join(p.DST, pkg)

Completed in 575 milliseconds

1 2 3 4 5 6