/frameworks/wilhelm/tests/examples/ |
H A D | xaVideoDecoderCapabilities.cpp | 57 // Use a table of [integer, string] entries to map an integer to a string 64 const char *id_to_string(XAuint32 id, const id_to_string_t *table, size_t numEntries) argument 68 if (id == table[i].id) { 69 return table[i].string; 75 // Use a table of [integer, table] entries to map a pair of integers to a string 83 const char *id_pair_to_string(XAuint32 id1, XAuint32 id2, const id_pair_to_string_t *table, argument 88 if (id1 == table[i].id1) { 89 return id_to_string(id2, table[i].id2_table, table[ 148 static const id_pair_to_string_t table[] = { local 212 static const id_pair_to_string_t table[] = { local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccServiceTable.java | 27 protected IccServiceTable(byte[] table) { argument 28 mServiceTable = table;
|
H A D | UsimServiceTable.java | 124 public UsimServiceTable(byte[] table) { argument 125 super(table);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | IccServiceTableTest.java | 37 public TestIccServiceTable(byte[] table) { argument 38 super(table);
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.cpp | 1164 char table[16]; local 1165 // Each line has an integer (the table number), a space, and a string (the table name). We only 1166 // need the table number. It's a 32-bit unsigned number, so max 10 chars. Skip the table name. 1168 for (int i = 0; i < 64 && fscanf(fp, " %10s %*s", table) == 1; ++i) { 1169 run_command("ROUTE TABLE IPv4", 10, "ip", "-4", "route", "show", "table", table, NULL); 1170 run_command("ROUTE TABLE IPv6", 10, "ip", "-6", "route", "show", "table", table, NUL [all...] |
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 46 | base col1 | base col2 | table | table |diff|flip| 61 | base col 1 | dcol 2 | table | table |diff|flip| 81 Add table 3.17.2: Intensity modifier sets for ETC1 compressed textures: 83 table codeword modifier table 95 Add table 3.17.3 Mapping from pixel index values to modifier values for 167 void decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table, argument 189 int delta = table[offse [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 896 // alpha. This allows us to reencode the color table more 1584 ResourceTable* table, const sp<AaptFile>& file) 1592 return compileXmlFile(bundle, assets, resourceName, file, table); 1583 postProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets, ResourceTable* table, const sp<AaptFile>& file) argument
|
H A D | Resource.cpp | 298 ResourceTable* table, 329 table->addEntry(SourcePos(it.getPath(), 0), String16(assets->getPackage()), 476 static int validateAttr(const String8& path, const ResTable& table, argument 490 if ((strIdx=table.resolveReference(&value, 0x10000000, NULL, &specFlags)) < 0) { 498 pool = table.getTableStringBlock(strIdx); 954 const ResTable& table = assets.getResources(true); local 956 ssize_t idx = table.getResource(0x01010000, &val, true); 960 ssize_t cnt = table.lockBag(0x01010000, &entry); 964 table.unlockBag(entry); 970 return table 297 makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets, ResourceTable* table, const sp<ResourceTypeSet>& set, const char* resType) argument 1087 generateAndroidManifestForSplit(Bundle* bundle, const sp<AaptAssets>& assets, const sp<ApkSplit>& split, sp<AaptFile>& outFile, ResourceTable* table) argument [all...] |
H A D | ResourceTable.cpp | 46 ResourceTable* table, 54 return compileXmlFile(bundle, assets, resourceName, root, target, table, options); 62 ResourceTable* table, 70 return compileXmlFile(bundle, assets, resourceName, root, outTarget, table, options); 78 ResourceTable* table, 91 if (table->processBundleFormat(bundle, resourceName, target, root) != NO_ERROR) { 97 status_t err = root->assignResourceIds(assets, table); 104 status_t err = root->parseValues(assets, table); 114 if (table->modifyForCompat(bundle, resourceName, target, root) != NO_ERROR) { 515 enumOrFlagsComment.append(String16("</p>\n<table>\ 42 compileXmlFile(const Bundle* bundle, const sp<AaptAssets>& assets, const String16& resourceName, const sp<AaptFile>& target, ResourceTable* table, int options) argument 57 compileXmlFile(const Bundle* bundle, const sp<AaptAssets>& assets, const String16& resourceName, const sp<AaptFile>& target, const sp<AaptFile>& outTarget, ResourceTable* table, int options) argument 73 compileXmlFile(const Bundle* bundle, const sp<AaptAssets>& assets, const String16& resourceName, const sp<XMLNode>& root, const sp<AaptFile>& target, ResourceTable* table, int options) argument 1786 findLargestTypeIdForPackage(const ResTable& table, const String16& packageName) argument 2873 const ResTable& table = mAssets->getIncludedResources(); local 3591 generateAttributes(ResourceTable* table, const String16& package) argument 3639 assignResourceIds(ResourceTable* table, const String16& ) argument 3676 prepareFlatten(StringPool* strings, ResourceTable* table, const String8* configTypeName, const ConfigDescription* config) argument [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Debug.cpp | 119 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);
|
H A D | ResourceParser.cpp | 83 static bool addResourcesToTable(ResourceTable* table, IDiagnostics* diag, ParsedResource* res) { argument 95 if (!table->setSymbolState(res->name, res->id, symbol, diag)) { 105 if (!table->addResource(res->name, res->id, res->config, res->product, 113 error |= !addResourcesToTable(table, diag, &child); 124 ResourceParser::ResourceParser(IDiagnostics* diag, ResourceTable* table, const Source& source, argument 127 mDiag(diag), mTable(table), mSource(source), mConfig(config), mOptions(options) { 496 // name.package can be empty here, as it will assume the package name of the table. 1225 // Create the ParsedResource that will add the attribute to the table.
|
H A D | ResourceParser_test.cpp | 36 ResourceTable table; local 37 ResourceParser parser(context->getDiagnostics(), &table, Source{ "test" }, {});
|
H A D | ResourceTable_test.cpp | 32 ResourceTable table; local 34 EXPECT_FALSE(table.addResource( 40 EXPECT_FALSE(table.addResource( 48 ResourceTable table; local 50 EXPECT_TRUE(table.addResource(test::parseNameOrDie(u"@android:attr/id"), 57 ASSERT_NE(nullptr, test::getValue<Id>(&table, u"@android:attr/id")); 61 ResourceTable table; local 67 EXPECT_TRUE(table.addResource( 74 EXPECT_TRUE(table.addResource( 81 EXPECT_TRUE(table 105 ResourceTable table; local 123 ResourceTable table; local [all...] |
H A D | ValueVisitor.h | 155 inline void visitAllValuesInTable(ResourceTable* table, RawValueVisitor* visitor) { argument 156 for (auto& pkg : table->packages) {
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Compile.cpp | 187 ResourceTable table; local 205 ResourceParser resParser(context->getDiagnostics(), &table, pathData.source, 219 if (!pseudolocaleGenerator.consume(context, &table)) { 225 table.createPackage(context->getCompilationPackage()); 228 for (auto& pkg : table.packages) { 241 std::unique_ptr<pb::ResourceTable> pbTable = serializeTableToPb(&table);
|
H A D | IdAssigner.cpp | 29 bool IdAssigner::consume(IAaptContext* context, ResourceTable* table) { argument 33 for (auto& package : table->packages) {
|
H A D | IdAssigner_test.cpp | 26 ::testing::AssertionResult verifyIds(ResourceTable* table); 29 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local 39 ASSERT_TRUE(assigner.consume(context.get(), table.get())); 40 ASSERT_TRUE(verifyIds(table.get())); 44 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local 56 ASSERT_TRUE(assigner.consume(context.get(), table.get())); 57 ASSERT_TRUE(verifyIds(table.get())); 61 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local 71 ASSERT_FALSE(assigner.consume(context.get(), table.get())); 74 ::testing::AssertionResult verifyIds(ResourceTable* table) { argument [all...] |
H A D | PseudolocaleGenerator.cpp | 243 bool PseudolocaleGenerator::consume(IAaptContext* context, ResourceTable* table) { argument 244 for (auto& package : table->packages) { 251 &table->stringPool, entry.get()); 253 &table->stringPool, entry.get());
|
H A D | PseudolocaleGenerator_test.cpp | 76 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() local 85 String* val = test::getValue<String>(table.get(), u"@android:string/four"); 90 ASSERT_TRUE(generator.consume(context.get(), table.get())); 93 ASSERT_NE(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/one", 95 ASSERT_NE(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/one", 99 ASSERT_EQ(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/two", 101 ASSERT_EQ(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/two", 106 val = test::getValueForConfig<String>(table.get(), u"@android:string/three", 111 ASSERT_NE(nullptr, test::getValueForConfig<String>(table.get(), u"@android:string/three", 115 ASSERT_EQ(nullptr, test::getValueForConfig<String>(table [all...] |
/frameworks/base/tools/aapt2/dump/ |
H A D | Dump.cpp | 49 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 D | TableFlattener.cpp | 440 // The binary resource table lists resource entries for each configuration. 442 // configuration available. Here we reverse this to match the binary table. 467 bool TableFlattener::consume(IAaptContext* context, ResourceTable* table) { argument 469 table->stringPool.sort([](const StringPool::Entry& a, const StringPool::Entry& b) -> bool { 478 table->stringPool.prune(); 483 tableHeader->packageCount = util::hostToDevice32(table->packages.size()); 486 StringPool::flattenUtf8(tableWriter.getBuffer(), table->stringPool); 491 for (auto& package : table->packages) {
|
H A D | TableFlattener_test.cpp | 39 ::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/java/ |
H A D | JavaClassGenerator.cpp | 37 JavaClassGenerator::JavaClassGenerator(IAaptContext* context, ResourceTable* table, argument 39 mContext(context), mTable(table), mOptions(options) { 162 processor->appendComment("<table>\n<colgroup align=\"left\" />\n" 173 processor->appendComment("</table>"); 271 "<table>\n" 316 styleableComment << "</table>\n";
|
H A D | JavaClassGenerator_test.cpp | 27 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...] |