Lines Matching refs:bundle
27 int doVersion(Bundle* bundle) in doVersion() argument
29 if (bundle->getFileSpecCount() != 0) { in doVersion()
250 int handleCommand(Bundle* bundle) in handleCommand() argument
257 switch (bundle->getCommand()) { in handleCommand()
258 case kCommandVersion: return doVersion(bundle); in handleCommand()
259 case kCommandList: return doList(bundle); in handleCommand()
260 case kCommandDump: return doDump(bundle); in handleCommand()
261 case kCommandAdd: return doAdd(bundle); in handleCommand()
262 case kCommandRemove: return doRemove(bundle); in handleCommand()
263 case kCommandPackage: return doPackage(bundle); in handleCommand()
264 case kCommandCrunch: return doCrunch(bundle); in handleCommand()
265 case kCommandSingleCrunch: return doSingleCrunch(bundle); in handleCommand()
266 case kCommandDaemon: return runInDaemonMode(bundle); in handleCommand()
279 Bundle bundle; in main() local
285 bundle.setCompressionMethod(ZipEntry::kCompressDeflated); in main()
293 bundle.setCommand(kCommandVersion); in main()
295 bundle.setCommand(kCommandDump); in main()
297 bundle.setCommand(kCommandList); in main()
299 bundle.setCommand(kCommandAdd); in main()
301 bundle.setCommand(kCommandRemove); in main()
303 bundle.setCommand(kCommandPackage); in main()
305 bundle.setCommand(kCommandCrunch); in main()
307 bundle.setCommand(kCommandSingleCrunch); in main()
309 bundle.setCommand(kCommandDaemon); in main()
328 bundle.setVerbose(true); in main()
331 bundle.setAndroidList(true); in main()
341 bundle.addConfigurations(argv[0]); in main()
344 bundle.setForce(true); in main()
355 bundle.setGrayscaleTolerance(tolerance); in main()
359 bundle.setJunkPath(true); in main()
362 bundle.setMakePackageDirs(true); in main()
366 bundle.setPseudolocalize(true); in main()
370 bundle.setUpdate(true); in main()
373 bundle.setExtending(true); in main()
376 bundle.setRequireLocalization(true); in main()
387 bundle.addJarFile(argv[0]); in main()
398 bundle.addAssetSourceDir(argv[0]); in main()
409 bundle.setProguardFile(argv[0]); in main()
420 bundle.setMainDexProguardFile(argv[0]); in main()
431 bundle.addPackageInclude(argv[0]); in main()
442 bundle.setOutputAPKFile(argv[0]); in main()
453 bundle.setRClassDir(argv[0]); in main()
464 bundle.setAndroidManifestFile(argv[0]); in main()
475 bundle.setPublicOutputFile(argv[0]); in main()
486 bundle.addResourceSourceDir(argv[0]); in main()
497 bundle.setCrunchedOutputDir(argv[0]); in main()
508 bundle.setSingleCrunchInputFile(argv[0]); in main()
519 bundle.setSingleCrunchOutputFile(argv[0]); in main()
530 bundle.addNoCompressExtension(argv[0]); in main()
532 bundle.setCompressionMethod(ZipEntry::kCompressStored); in main()
537 bundle.setDebugMode(true); in main()
546 bundle.setMinSdkVersion(argv[0]); in main()
555 bundle.setTargetSdkVersion(argv[0]); in main()
564 bundle.setMaxSdkVersion(argv[0]); in main()
573 bundle.setMaxResVersion(argv[0]); in main()
582 bundle.setVersionCode(argv[0]); in main()
591 bundle.setVersionName(argv[0]); in main()
593 bundle.setReplaceVersion(true); in main()
595 bundle.setValues(true); in main()
597 bundle.setIncludeMetaData(true); in main()
606 bundle.setCustomPackage(argv[0]); in main()
615 bundle.setExtraPackages(argv[0]); in main()
617 bundle.setGenDependencies(true); in main()
619 bundle.setWantUTF16(true); in main()
628 bundle.setPreferredDensity(argv[0]); in main()
637 bundle.addSplitConfigurations(argv[0]); in main()
646 bundle.setFeatureOfPackage(argv[0]); in main()
655 bundle.setFeatureAfterPackage(argv[0]); in main()
664 bundle.setManifestPackageNameOverride(argv[0]); in main()
673 bundle.setInstrumentationPackageNameOverride(argv[0]); in main()
675 bundle.setAutoAddOverlay(true); in main()
677 bundle.setErrorOnFailedInsert(true); in main()
679 bundle.setErrorOnMissingConfigEntry(true); in main()
688 bundle.setOutputTextSymbols(argv[0]); in main()
697 bundle.setProduct(argv[0]); in main()
699 bundle.setNonConstantId(true); in main()
701 bundle.setSkipSymbolsWithoutDefaultLocalization(true); in main()
703 bundle.setNonConstantId(true); in main()
704 bundle.setBuildSharedLibrary(true); in main()
706 bundle.setNonConstantId(true); in main()
707 bundle.setBuildAppAsSharedLibrary(true); in main()
709 bundle.setUseCrunchCache(true); in main()
720 bundle.setPseudolocalize(PSEUDO_ACCENTED | PSEUDO_BIDI); in main()
722 bundle.setNoVersionVectors(true); in main()
724 bundle.setNoVersionTransitions(true); in main()
734 bundle.setPrivateSymbolsPackage(String8(argv[0])); in main()
757 bundle.setFileSpec(argv, argc); in main()
759 result = handleCommand(&bundle); in main()