Lines Matching defs:split
907 // Generate split name if feature is present.
912 status_t err = root->addAttribute(String16(), String16("split"), splitName);
914 ALOGE("Failed to insert split name into AndroidManifest.xml");
1060 const sp<ApkSplit>& split, sp<AaptFile>& outFile, ResourceTable* table) {
1091 // Add the 'split' attribute which describes the configurations included.
1093 splitName.append(split->getPackageSafeName());
1094 manifest->addAttribute(String16(), String16("split"), String16(splitName));
1591 sp<ApkSplit>& split = splits.editItemAt(i);
1594 err = table.flatten(bundle, split->getResourceFilter(),
1595 flattenedTable, split->isBase());
1597 fprintf(stderr, "Failed to generate resource table for split '%s'\n",
1598 split->getPrintableName().string());
1601 split->addEntry(String8("resources.arsc"), flattenedTable);
1603 if (split->isBase()) {
1614 fprintf(stderr, "Generated resource table for split '%s' is corrupt.\n",
1615 split->getPrintableName().string());
1620 const std::set<ConfigDescription>& splitConfigs = split->getConfigs();
1626 // Each density only split must contain all
1642 SourcePos().error("%s has no definition for density split '%s'",
1667 // Generate the AndroidManifest for this split.
1670 err = generateAndroidManifestForSplit(bundle, assets, split,
1673 fprintf(stderr, "Failed to generate AndroidManifest.xml for split '%s'\n",
1674 split->getPrintableName().string());
1677 split->addEntry(String8("AndroidManifest.xml"), generatedManifest);