Searched defs:table (Results 26 - 50 of 79) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DHorizontalGravityTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.HorizontalGravity;
28 * {@link android.widget.layout.table.HorizontalGravity} is
H A DVerticalGravityTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.VerticalGravity;
29 * {@link android.widget.layout.table.VerticalGravity} is
H A DWeightTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.Weight;
27 * {@link android.widget.layout.table.Weight} is
/frameworks/base/graphics/java/android/graphics/
H A DTableMaskFilter.java24 public TableMaskFilter(byte[] table) { argument
25 if (table.length < 256) {
26 throw new RuntimeException("table.length must be >= 256");
28 native_instance = nativeNewTable(table);
43 private static native long nativeNewTable(byte[] table); argument
/frameworks/base/libs/androidfw/tests/
H A DSplit_test.cpp31 * Include a binary resource table. This table
32 * is a base table for an APK split.
39 * Include a binary resource table. This table
40 * is a configuration split table for an APK split.
50 * Include a binary resource table. This table
51 * is a feature split table for an APK split.
66 ResTable table; local
74 ResTable table; local
99 ResTable table; local
120 ResTable table; local
150 ResTable table; local
175 ResTable table; local
197 ResTable table; local
213 ResTable table; local
234 ResTable table; local
[all...]
H A DResTable_test.cpp36 * Include a binary resource table.
43 * Include a binary library resource table.
50 * Include a system resource table.
57 ResTable table; local
58 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len));
62 ResTable table; local
63 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len));
65 EXPECT_TRUE(IsStringEqual(table, base::R::string::test1, "test1"));
69 ResTable table; local
70 ASSERT_EQ(NO_ERROR, table
82 ResTable table; local
102 ResTable table; local
122 ResTable table; local
142 ResTable table; local
158 ResTable table; local
186 ResTable table; local
212 ResTable table; local
320 ResTable table; local
345 ResTable table; local
[all...]
/frameworks/base/tools/aapt2/compile/
H A DIdAssigner.cpp29 bool IdAssigner::consume(IAaptContext* context, ResourceTable* table) { argument
33 for (auto& package : table->packages) {
/frameworks/base/tools/aapt2/java/
H A DJavaClassGenerator_test.cpp27 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
33 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get()))
36 JavaClassGenerator generator(context.get(), table.get(), {});
43 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
55 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get()))
58 JavaClassGenerator generator(context.get(), table.get(), {});
76 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
83 .addSymbolSource(util::make_unique<ResourceTableSymbolSource>(table.get()))
86 JavaClassGenerator generator(context.get(), table.get(), {});
98 std::unique_ptr<ResourceTable> table local
119 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
200 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
229 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
268 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
297 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
[all...]
/frameworks/base/tools/aapt2/link/
H A DAutoVersioner.cpp62 bool AutoVersioner::consume(IAaptContext* context, ResourceTable* table) { argument
63 for (auto& package : table->packages) {
117 std::unique_ptr<Style> newStyle(style->clone(&table->stringPool));
H A DAutoVersioner_test.cpp55 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
81 ASSERT_TRUE(versioner.consume(context.get(), table.get()));
83 Style* style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo",
91 style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo",
102 style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo",
116 style = test::getValueForConfig<Style>(table.get(), u"@app:style/Foo",
H A DPrivateAttributeMover.cpp56 bool PrivateAttributeMover::consume(IAaptContext* context, ResourceTable* table) { argument
57 for (auto& package : table->packages) {
H A DProductFilter.cpp77 bool ProductFilter::consume(IAaptContext* context, ResourceTable* table) { argument
79 for (auto& pkg : table->packages) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccServiceTable.java27 protected IccServiceTable(byte[] table) { argument
28 mServiceTable = table;
/frameworks/av/media/libeffects/testlibs/
H A DAudioCoefInterpolator.cpp29 const audio_coef_t * table) {
33 mTable = table;
26 AudioCoefInterpolator(size_t nInDims, const size_t inDims[], size_t nOutDims, const audio_coef_t * table) argument
/frameworks/base/tools/aapt2/proto/
H A DTableProtoSerializer_test.cpp29 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
41 ASSERT_TRUE(table->setSymbolState(test::parseNameOrDie(u"@com.app.a:layout/main"),
45 Id* id = test::getValue<Id>(table.get(), u"@com.app.a:id/foo");
50 plural->values[Plural::One] = util::make_unique<String>(table->stringPool.makeRef(u"one"));
51 ASSERT_TRUE(table->addResource(test::parseNameOrDie(u"@com.app.a:plurals/hey"),
56 ASSERT_TRUE(table->addResource(test::parseNameOrDie(u"@com.app.a:integer/one"),
60 ASSERT_TRUE(table->addResource(test::parseNameOrDie(u"@com.app.a:integer/one"),
66 // The reference should point to a resource outside of this table to test that both
71 ASSERT_TRUE(table->addResource(test::parseNameOrDie(u"@com.app.a:layout/abc"),
76 std::unique_ptr<pb::ResourceTable> pbTable = serializeTableToPb(table
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DIccServiceTableTest.java37 public TestIccServiceTable(byte[] table) { argument
38 super(table);
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { argument
100 return query(db, table, columns, null, null, orderBy, null);
106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, argument
108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having,
115 public int update(SQLiteDatabase db, String table, ContentValues values) { argument
116 return db.update(table, values, getSelection(), getSelectionArgs());
122 public int delete(SQLiteDatabase db, String table) { argument
123 return db.delete(table, getSelection(), getSelectionArgs());
/frameworks/base/core/tests/coretests/src/android/provider/
H A DSettingsProviderTest.java100 private void testRowNameContentUri(Uri table, String nameField, String valueField, argument
108 r.insert(table, v);
109 Uri uri = Uri.parse(table.toString() + "/" + testKey);
131 c = r.query(table, null, "name='" + testKey + "'", null, null);
195 // The bookmarks table (and everything else) uses standard row number content URIs.
/frameworks/base/tools/aapt2/
H A DValueVisitor.h155 inline void visitAllValuesInTable(ResourceTable* table, RawValueVisitor* visitor) { argument
156 for (auto& pkg : table->packages) {
H A DDebug.cpp119 void Debug::printTable(ResourceTable* table, const DebugPrintTableOptions& options) { argument
122 for (auto& package : table->packages) {
185 void Debug::printStyleGraph(ResourceTable* table, const ResourceName& targetStyle) { argument
198 Maybe<ResourceTable::SearchResult> result = table->findResource(styleName);
/frameworks/base/tools/aapt2/dump/
H A DDump.cpp49 std::unique_ptr<ResourceTable> table = deserializeTableFromPb(pbTable, source, local
51 if (!table) {
55 Debug::printTable(table.get());
78 std::unique_ptr<ResourceTable> table = deserializeTableFromPb( local
80 if (table) {
83 Debug::printTable(table.get(), debugPrintTableOptions);
97 // Try as a compiled table.
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener_test.cpp39 ::testing::AssertionResult flatten(ResourceTable* table, ResTable* outTable) { argument
42 if (!flattener.consume(mContext.get(), table)) {
53 ::testing::AssertionResult flatten(ResourceTable* table, ResourceTable* outTable) { argument
56 if (!flattener.consume(mContext.get(), table)) {
68 ::testing::AssertionResult exists(ResTable* table, argument
76 table->setParameters(&expectedConfig);
81 if (table->getResource(expectedId.id, &val, false, 0, &specFlags, &config) < 0) {
107 if (!table->getResourceName(expectedId.id, false, &actualName)) {
145 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
161 ASSERT_TRUE(flatten(table
194 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
214 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local
[all...]
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.h110 * to the symbol table.
139 explicit ResourceTableSymbolSource(ResourceTable* table) : mTable(table) { argument
/frameworks/base/tools/aapt2/test/
H A DCommon.h79 template <typename T> T* getValueForConfigAndProduct(ResourceTable* table, argument
83 Maybe<ResourceTable::SearchResult> result = table->findResource(parseNameOrDie(resName));
93 template <typename T> T* getValueForConfig(ResourceTable* table, const StringPiece16& resName, argument
95 return getValueForConfigAndProduct<T>(table, resName, config, {});
98 template <typename T> T* getValue(ResourceTable* table, const StringPiece16& resName) { argument
99 return getValueForConfig<T>(table, resName, {});
/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java191 private List<String> listForUser(IContentProvider provider, int userHandle, String table) { argument
192 final Uri uri = "system".equals(table) ? Settings.System.CONTENT_URI
193 : "secure".equals(table) ? Settings.Secure.CONTENT_URI
194 : "global".equals(table) ? Settings.Global.CONTENT_URI
214 System.err.println("List failed in " + table + " for user " + userHandle);
229 final String table, final String key) {
231 if ("system".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SYSTEM;
232 else if ("secure".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_SECURE;
233 else if ("global".equals(table)) callGetCommand = Settings.CALL_METHOD_GET_GLOBAL;
235 System.err.println("Invalid table; n
228 getForUser(IContentProvider provider, int userHandle, final String table, final String key) argument
253 putForUser(IContentProvider provider, int userHandle, final String table, final String key, final String value) argument
274 deleteForUser(IContentProvider provider, int userHandle, final String table, final String key) argument
[all...]

Completed in 6710 milliseconds

1234