Home
last modified time | relevance | path

Searched refs:package (Results 1 – 25 of 269) sorted by relevance

1234567891011

/frameworks/base/media/mca/
Dstructgen.py92 def ToJNIPackage(package, jclassname): argument
93 return "%s_%s" % (package.replace(".", "_"), jclassname)
107 def __init__(self, name, structname, jclassname, package, javatype, ctype, jtype, defval): argument
111 self.package = package
143 % (self.jtype, ToJNIPackage(self.package, self.jclassname), ToJavaName(self.name, 0))
150 "}\n" % (self.jtype, ToJNIPackage(self.package, self.jclassname), ToJavaName(self.name, 0),\
156 % (ToJNIPackage(self.package, self.jclassname), ToJavaName(self.name, 0), self.jtype)
167 "}\n" % (ToJNIPackage(self.package, self.jclassname), ToJavaName(self.name, 0),\
171 def __init__(self, name, structname, jclassname, package): argument
172 …FieldType_BasePOD.__init__(self, name, structname, jclassname, package, "float", "float", "jfloat"…
[all …]
/frameworks/base/tools/aapt/
DResourceIdCache.cpp49 static inline String16 makeHashableName(const android::String16& package, in makeHashableName() argument
55 hashable += package; in makeHashableName()
60 uint32_t ResourceIdCache::lookup(const android::String16& package, in lookup() argument
64 const String16 hashedName = makeHashableName(package, type, name, onlyPublic); in lookup()
86 uint32_t ResourceIdCache::store(const android::String16& package, in store() argument
92 const String16 hashedName = makeHashableName(package, type, name, onlyPublic); in store()
DResourceTable.h115 const String16& package,
121 const String16& package,
132 const String16& package,
142 const String16& package,
154 bool hasBagOrEntry(const String16& package,
158 bool hasBagOrEntry(const String16& package,
167 bool appendComment(const String16& package,
173 bool appendTypeComment(const String16& package,
179 const String16& package, const String16& type, const String16& name);
198 uint32_t getResId(const String16& package,
[all …]
DResourceIdCache.h14 static uint32_t lookup(const android::String16& package,
19 static uint32_t store(const android::String16& package,
DResourceTable.cpp1735 const String16& package, in addPublic() argument
1743 package.string(), package.size()); in addPublic()
1747 String8(package).string()); in addPublic()
1751 sp<Type> t = getType(package, type, sourcePos); in addPublic()
1759 const String16& package, in addEntry() argument
1774 package.string(), package.size()); in addEntry()
1787 sp<Entry> e = getEntry(package, type, name, sourcePos, overwrite, in addEntry()
1800 const String16& package, in startBag() argument
1815 package.string(), package.size()); in startBag()
1826 if (overlay && !mBundle->getAutoAddOverlay() && !hasBagOrEntry(package, type, name)) { in startBag()
[all …]
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.in71 /* Name of package */
74 /* Define to the address where bug reports for this package should be sent. */
77 /* Define to the full name of this package. */
80 /* Define to the full name and version of this package. */
83 /* Define to the one symbol short name of this package. */
86 /* Define to the home page for this package. */
89 /* Define to the version of this package. */
102 /* Version number of package */
/frameworks/base/tools/aidl/
Daidl.cpp40 printf("interface %s %s {\n", c->package, c->name.data); in test_document()
62 printf("parcelable %s %s;\n", b->package, b->name.data); in test_document()
65 printf("flattenable %s %s;\n", b->package, b->name.data); in test_document()
170 check_filename(const char* filename, const char* package, buffer_type* name) argument
195 if (package) {
196 expected = package;
254 err |= check_filename(filename, p->package, &p->name);
259 err |= check_filename(filename, c->package, &c->name);
307 type = new UserDataType(p->package ? p->package : "", p->name.data,
314 type = new InterfaceType(c->package ? c->package : "",
[all …]
Dgenerate_java.cpp75 if (iface->package) document->package = iface->package; in generate_java()
DType.cpp147 make_generic_type(const string& package, const string& name, in make_generic_type() argument
150 if (package == "java.util" && name == "List") { in make_generic_type()
173 Type::Type(const string& package, const string& name, in Type() argument
176 :m_package(package), in Type()
185 if (package.length() > 0) { in Type()
186 m_qualifiedName = package; in Type()
905 UserDataType::UserDataType(const string& package, const string& name, in UserDataType() argument
908 :Type(package, name, builtIn ? BUILT_IN : USERDATA, canWriteToParcel, canWriteToRpcData, in UserDataType()
1034 InterfaceType::InterfaceType(const string& package, const string& name, in InterfaceType() argument
1037 :Type(package, name, builtIn ? BUILT_IN : INTERFACE, true, false, false, in InterfaceType()
[all …]
Daidl_language_y.y37 package { }
39 | package imports { }
42 package:
89 … b->package = g_currentPackage ? strdup(g_currentPackage) : NULL;
110 … b->package = g_currentPackage ? strdup(g_currentPackage) : NULL;
170 … c->package = g_currentPackage ? strdup(g_currentPackage) : NULL;
Daidl_language.h90 char* package; member
101 char* package; member
DType.h28 Type(const string& package, const string& name,
357 UserDataType(const string& package, const string& name,
389 InterfaceType(const string& package, const string& name,
408 GenericType(const string& package, const string& name,
449 GenericListType(const string& package, const string& name,
479 void AddGenericType(const string& package, const string& name, int args);
483 Type* Find(const char* package, const char* name) const;
492 string package; member
/frameworks/base/docs/html/tools/testing/
Dtesting_android.jd116 manifest file, and directory structure for the test package.
156 Android test package. In JUnit, you use a test runner to execute test classes. In Android, you
157 use test tools to load the test package and the application under test, and the tools then
166 file, and other files for a test package. The Android SDK contains tools for Eclipse with ADT
168 directories you use for source code and resources and the manifest file for the test package.
177 Automatically set up your test package to use
182 Create an appropriate name for the test package. If the application
183 under test has a package name of <code>com.mydomain.myapp</code>, then the
184 Android tools set the test package name to <code>com.mydomain.myapp.test</code>. This
189 structure for the test project. This helps you to build the test package without
[all …]
Dtesting_otheride.jd102 Path to the project of the application under test, relative to the test package
147 with the package name <code>com.example.helloandroid</code>,
181 <em>Android</em> package name <code>com.example.helloandroid</code>.
200 <strong>Note:</strong> If you change the Android package name of the application under test,
202 attribute within the <code>AndroidManifest.xml</code> file of the test package.
240 Once you have created a test project, you populate it with a test package.
242 although you can define one if you wish. Although your test package can
254 To create a test package, start with one of Android's test classes in the Java package
340 If necessary, rebuild your main application and test package.
343 Install your test package and main application Android package files
[all …]
Dtesting_eclipse.jd35 <code>&lt;instrumentation&gt;</code> element in the test package's manifest file.
42 It lets you create run configurations for your test package and include in
46 It lets you run your test package without leaving Eclipse. ADT builds both the
47 application under test and the test package automatically, installs them if
48 necessary to your device or emulator, runs the test package, and displays the
62 source code, resources, a manifest file, and so forth. The test package you
93 it, and then use this as the test package project name.
131 Once you have created a test project, you populate it with a test package. This package does not
132 require an Activity, although you can define one if you wish. Although your test package can
138 Test packages do not need to have an Android GUI. When you run the package in
[all …]
/frameworks/base/tools/aapt/tests/plurals/
Drun.sh9 aapt package -v -x -m -z -J $TEST_OUT_DIR/java -M $TEST_DIR/AndroidManifest.xml \
10 -I out/target/common/obj/APPS/framework-res_intermediates/package-export.apk \
/frameworks/base/docs/html/tools/help/
Djobb.jd19 jobb [-d &lt;directory&gt;][-o &lt;filename&gt;][-pn &lt;package&gt;][-pv &lt;version&gt;] \
27 $ jobb -d /temp/assets/ -o my-app-assets.obb -k secret-key -pn com.my.app.package -pv 11
59 <td>{@code -pn &lt;package&gt;}</td>
60 <td>Specify the package name for the application that mounts the OBB file, which corresponds
61 to the {@code package} value specified in your application's manifest. This parameter is
78 the new package contents to be mounted into the same location as a previous package and is
Dbmgr.jd48 <pre class="no-pretty-print">adb shell bmgr backup <em>&lt;package&gt;</em></pre>
50 <p><code><em>&lt;package&gt;</em></code> is the formal package name of the application you wish to
87 <pre class="no-pretty-print">adb shell bmgr restore <em>&lt;package&gt;</em></pre>
89 <p><code><em>&lt;package&gt;</em></code> is the formal Java-style package name of the application
107 <pre class="no-pretty-print">adb shell bmgr wipe <em>&lt;package&gt;</em></pre>
109 <p><code><em>&lt;package&gt;</em></code> is the formal package name of the application whose data
/frameworks/compile/slang/
DRSCCOptions.td77 def java_reflection_package_name : Separate<["-"], "java-reflection-package-name">,
78 HelpText<"Specify the package name that reflected Java files belong to">;
86 def rs_package_name : Separate<["-"], "rs-package-name">,
88 HelpText<"package name for referencing RS classes">;
89 def rs_package_name_EQ : Joined<["-"], "rs-package-name=">, Alias<rs_package_name>;
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2474 : header(_header), package(_package), entryCount(count), in Type()
2477 const Package* const package; member
2487 : owner(_owner), header(_header), package(_package) { } in Package()
2499 const ResTable_package* const package; member
3109 const Package* const package = grp->packages[0]; in getResourceName() local
3113 ssize_t offset = getEntry(package, t, e, NULL, &type, &entry, NULL); in getResourceName()
3118 outName->package = grp->name.string(); in getResourceName()
3210 const Package* const package = grp->packages[ip]; in getResource() local
3211 if (package->header->resourceIDMap) { in getResource()
3213 status_t retval = idmapLookup(package->header->resourceIDMap, in getResource()
[all …]
/frameworks/base/docs/html/guide/topics/manifest/
Dmanifest-element.jd9 <a href="#package">package</a>="<i>string</i>"
40 and specify {@code xmlns:android} and {@code package} attributes.</dd>
49 <dt><a name="package"></a>{@code package}</dt>
50 <dd>A full Java-language-style package name for the application. The name should
53 package name parts may only start with letters.
56 basis for your package names (in reverse). For example, applications published by Google start with
61 The package name serves as a unique identifier for the application.
74 <strong>cannot change the package name</strong>. The package name defines your application's
Duses-library-element.jd37 loader for the package.
45 contains the package code.
69 documentation for the package you are using. An example of this is
70 &quot;<code>android.test.runner</code>&quot;, a package that contains Android test
/frameworks/base/docs/html/tools/building/
Dbuilding-cmdline.jd36 …final package for release &mdash; <em>release mode</em>. Regardless of which way you build your ap…
73 application with a debug key and optimize the package with {@code zipalign}.</p>
92 <p>Each time you change a source file or resource, you must run Ant again in order to package up
105 resulting application package with your private key, and should then align it using the {@code
106 zipalign} tool. There are two approaches to building in release mode: build an unsigned package
107 in release mode and then manually sign and align the package, or allow the build script to sign
108 and align the package for you.</p>
113 the package.</p>
144 your application package. To do so, you must provide the path to your keystore and the name of
147 mode and produce your final application package, which will be ready for distribution.</p>
[all …]
/frameworks/base/docs/html/guide/topics/resources/
Dstyle-resource.jd36 In XML: <code>@[package:]style/<em>style_name</em></code>
46 parent="@[package:]style/<em>style_to_inherit</em>">
48 name="<em>[package:]style_property_name</em>"
85 to be defined, with a package prefix if necessary (for example {@code android:textColor}).
/frameworks/compile/libbcc/tests/debuginfo/
Dbuild_test_apk.sh88 --package)
168 …reate project --target $TARGET --name $NAME --path $OUT_DIR --activity $ACTIVITY --package $PACKAGE

1234567891011