summaryrefslogtreecommitdiffstats
path: root/sched
Commit message (Collapse)AuthorAgeFilesLines
...
* Add new MessageDigestFSBenoit Lamarche2015-01-238-4/+474
| | | | Change-Id: I494ba2024f731e8324f62e52a710a90b972392a3
* Add VDir.isEmpty() methodJean-Philippe Lesot2015-01-227-8/+40
| | | | | | | | | - Add also in VFSBase - Add implementations everywhere - Use in CaseInsensitiveFS to differentiate between a clean new VFS or a VFS without the index file Change-Id: I699afbb6c0ca5985a2e6424ebcc0899033a6f6a7
* Add CaseInsensitive VFS, and re-work VFS frameworkJean-Philippe Lesot2015-01-2118-189/+1103
| | | | | | | | | | | | - Make NotFileOrDirectoryException hierarchy use Location, and rework messages - Extract and modify DirectVFile and DirectVDir from DirectFS to ParentVFile and ParentVDir. Remove getNativePath() method - Add a InMemoryVDir which keep sub-element in memory - Add in BaseVFS multiples methods to get locations - Add isClosed support in BaseVFS and use it Change-Id: Ic74dae42fc3a2cd20579fb2737068c3d17d54fe8
* Remove parallel and sequential OutputVFS interfacesBenoit Lamarche2015-01-197-108/+13
| | | | Change-Id: I710d96b80863f7820c6076c1225934810fea92d4
* Add method "needsSequentialWriting" to VFSBenoit Lamarche2015-01-1911-0/+52
| | | | Change-Id: I61a1994284503ab17adfb71102cb6f6c8f44dfa9
* Update VFSTestBenoit Lamarche2015-01-161-52/+153
| | | | Change-Id: I932eeff99153ca62c2e14eef1d72d52ca4ced701
* Merge "Use Ant script to run schedlib tests" into ub-jackJean-Marie Henaff2015-01-162-15/+4
|\
| * Use Ant script to run schedlib testsJean-Marie Henaff2015-01-162-15/+4
| | | | | | | | Change-Id: Ia02cf6d5c51ddffa157baccdee31fc6f460d3c09
* | Merge "Fix concurency issue in Directory.create()" into ub-jackJean-Philippe Lesot2015-01-161-1/+3
|\ \ | |/ |/|
| * Fix concurency issue in Directory.create()Jean-Philippe Lesot2015-01-161-1/+3
| | | | | | | | Change-Id: I9f8a220fbb295984ac70c3a31f03ea59915943f1
* | Merge "Use generic VElements in list methods" into ub-jackBenoit Lamarche2015-01-162-4/+22
|\ \
| * | Use generic VElements in list methodsBenoit Lamarche2015-01-162-4/+22
| |/ | | | | | | Change-Id: I47a5db47571687f12c514b326f65bb1984ceeacd
* | Fix bug in DirectFS list methodBenoit Lamarche2015-01-161-2/+2
|/ | | | Change-Id: Ie16d6492c2c2de142fea855614207504e09f3209
* Switch DirectDirInputOutputVDirCodec to use a DirectFSJean-Philippe Lesot2015-01-161-3/+4
| | | | Change-Id: If52f869b132c3d4e4662ca954ff8ea51d30ca29e
* Add a VFS framework which is simpler to implement and interceptJean-Philippe Lesot2015-01-1624-10/+1541
| | | | | | | | | | | | | - Remove old VFS class - Add VFS, VFile, VDir and VElement as a public interface of a non-input/output VFS - Add BaseVFS, BaseVFile, BaseVDir and BaseVElement as base implementation classes for a VFS - Add Generic* to map InputVFS, OutputVFS and InputOutputVFS to a VFS - Add a DirectFS as a VFS which is backed by a file system - Add a DeflateFS as a filter VFS which deflate/inflate file Change-Id: Ifb9e1b0d801d52719e57b48d65ae9aab58f6f7df
* Extract static helper methods in FileOrDirectory hierarchyJean-Philippe Lesot2015-01-1513-78/+95
| | | | | | Rework also NotFileOrDirException to be more precise. Change-Id: I35770254b2471a88c5d3660a89907d02c3da0072
* Add VFSTestBenoit Lamarche2015-01-142-3/+176
| | | | Change-Id: Ic9b884d1a3543f63ded96b0ffc9fcbd59ef650f9
* Add subclasses to NotFileOrDirectoryExceptionBenoit Lamarche2015-01-1324-58/+140
| | | | Change-Id: I20004e103fec70b236c7e80f099eb0c6a3bbaa26
* Add relative VPath support to MessageDigestInputVFSBenoit Lamarche2015-01-131-5/+11
| | | | Change-Id: I9d6b5481a127ff203e49b6f1db9f3aa16b7d3f5f
* Add missing support for Prefixed VFS in OutputJackLibraryBenoit Lamarche2015-01-094-2/+50
| | | | Change-Id: Iac6fa25a4eb200b9e9a195d37db7540f28016432
* Fix invalid check in InputOutputZipVDir.getInputVDirBenoit Lamarche2015-01-091-1/+1
| | | | | | | This fixes mm test-jack Bug: 18952869 Change-Id: Ib6cff264ee794cfb6c9fa2abbacdf13cd2583b3f
* Use PrefixedOutputVFS in OutputJackLibraryBenoit Lamarche2015-01-084-2/+65
| | | | Change-Id: Ic3047eacf866e4ca73570f8a755d969ae72ca36c
* Use PrefixedInputVFS in InputJackLibraryBenoit Lamarche2015-01-081-0/+53
| | | | Change-Id: I7b9eba05508390ebeacdc5ff70b3e4e98a90a042
* Add preliminary support of digest in library.Jean-Philippe Lesot2015-01-083-103/+363
| | | | | | | | - Add a MessageDigestOutputVFS, a VFS filter which add digest to a file - Add a MessageDigestIntputVFS, a VFS filter which read digest from file - Add a getDigest() method in InputLibrary and implementations Change-Id: I3315011b8c1fd5d455ddb71f90c267078ed3462b
* Refactor StreamFile hierarchy to throw less exceptionsBenoit Lamarche2014-12-229-179/+216
| | | | Change-Id: Id1c233e6534fdc44f8d603d8ca9d7e8d2de0dd1e
* Add exception handling during ScheduleInstance.processJean-Philippe Lesot2014-12-199-221/+226
| | | | Change-Id: If9ddf3d0a8f9d8a9bf8e937b15ff699e9616ea2d
* Improve logs during schedule instance executionJean-Philippe Lesot2014-12-181-9/+10
| | | | | | - Add a log of the data processed Change-Id: I31c7837c39bad79872b46fbb27e43ff14159e9a4
* Make close methods of VFS and Libaries idempotentBenoit Lamarche2014-12-164-15/+31
| | | | | | | This is the expected behaviour according to the Closeable spec. Bug: 18761333 Change-Id: Ia136fc26d2ecc81c09328865f879c5c56b42ea9d
* Correct some problems in MessageDigestInputOutputVFSJean-Philippe Lesot2014-12-161-5/+28
| | | | | | | - Add synchronizeds to handle concurrent createOutputVFile/close calls. - Make that class multiple closeable in respect of Closeable contract. Change-Id: Ifc3da3da178d4c95a3f4c44b54525b84d51478bb
* Fix getPath() in InputZipVFS to support prefixBenoit Lamarche2014-12-152-2/+13
| | | | | | - Also add delete() method in MessageDigestInputOutputVFS. Change-Id: I36f080e6e8f57ac4429241dcd40e62b69fc4fde6
* Rework VFS Codec and add {Input,Output}JackLibrary{Codec,PropertyId}Jean-Philippe Lesot2014-12-1518-143/+334
| | | | | | | | | | | | | | - Remove auto close on shutdown hook for VFS created with codec - Correct formatValue() in VFS Codec - Rework on code for getUsage in VFS Codec - Add {Input,Output}JackLibraryCodec - Add {Input,Output}JackLibraryPropertyId - Fix LibraryException inheritance - Add support of ShutdownRunnable on propertyId - Use shutdown porpertyId support to auto close library - Add a MessageDigestOutputVFS Change-Id: Ic5b3fc582156a81630a9d5fc3bdaadf410f74aca
* Merge "Add toString into AbstractFVS for debugging purpose" into ub-jackmikaelpeltier2014-12-051-0/+8
|\
| * Add toString into AbstractFVS for debugging purposemikaelpeltier2014-12-051-0/+8
| | | | | | | | Change-Id: I7033481c6dd0a5f798cfcf1ab707ebea18a926f4
* | Merge "Add API in Lib / VFS to remove files" into ub-jackmikaelpeltier2014-12-055-0/+71
|\ \ | |/ |/|
| * Add API in Lib / VFS to remove filesmikaelpeltier2014-12-055-0/+71
| | | | | | | | | | Bug: 18425643 Change-Id: Ib5373e05fd655c6f503819319cfda446e1947106
* | Merge "Fix command line parsing of empty argument" into ub-jackYohann Roussel2014-12-052-2/+60
|\ \ | |/ |/|
| * Fix command line parsing of empty argumentYohann Roussel2014-12-042-2/+60
| | | | | | | | | | | | | | Without this fix the added test was failing with a StringIndexOutOfBoundsException. Change-Id: Ie312d237e6cbf5365b6167168faac6f1f945b755
* | Fix ZipEntries in VFSBenoit Lamarche2014-12-039-40/+39
|/ | | | Change-Id: I7872ed1e01ffc6d18db7cdde3c538dec9127c670
* Merge "Allow creating an InputZipVFS with a prefix" into ub-jackBenoit Lamarche2014-12-033-19/+59
|\
| * Allow creating an InputZipVFS with a prefixBenoit Lamarche2014-12-033-19/+59
| | | | | | | | | | | | Bug: 18585706 Change-Id: I9d101f2a28740da743faf286e51ddaccd1427093
* | Set VPath splitter as staticBenoit Lamarche2014-12-021-1/+3
|/ | | | Change-Id: Ib758c5ca8b4cc0f5f36ab49db1d4e1d786ee7ba9
* Replace getRootDir() by getRootInputVDir(), getRootOutputVDir()...Benoit Lamarche2014-11-288-13/+28
| | | | | | | | Also add getRootInputOutputVDir(). This is due to a bug with Javac 6 which does not support this kind of double interface inheritence with a common factor return type. Change-Id: Iaee73b316562b1201771eafa2f88c2851386bc45
* Some re-works on VFSJean-Philippe Lesot2014-11-2838-282/+693
| | | | | | | | | | | | - Introduce symetry between Input and Output - Generalize Root, use only Root outside - Rename RootVDir as VFS - Remove inheritance between RootVDir and VDir - Reduce number of implements/extends Bug: 18503990 Change-Id: I6a7c873d40be6170de6ec468455a7d0e5831d518
* Fix typo in DefaultFactoryJean-Philippe Lesot2014-11-264-6/+6
| | | | Change-Id: I254f707922be880ac32efbab27a4601fc5858201
* Merge "Add a MessageDigest codec/factory/propertyId" into ub-jackJean-Philippe Lesot2014-11-265-3/+298
|\
| * Add a MessageDigest codec/factory/propertyIdJean-Philippe Lesot2014-11-255-3/+298
| | | | | | | | Change-Id: I58fed949a567962b033b5e8ad5182c3d2f7c1e7f
* | Fix getInputVDir with empty pathBenoit Lamarche2014-11-171-0/+6
| | | | | | | | | | | | Occurs only when using a Jack library V0.0 Change-Id: I7097fde5fdf1b5e4b2ed079230236277e3bcfce1
* | Jack generates lib version 1.1mikaelpeltier2014-11-171-1/+4
| | | | | | | | | | | | | | | | | | | | - All jayce files are into a folder jayce - All intermediates dex files are into a folder dex - All .jpp files are into a folder jpp - All resource files are into a folder rsc - Disable usage of dex from library when jarjar and obfuscation is enabled Change-Id: Id0f92b4519953a0bc41c76a55700a2c6f6ce5ec3
* | Add getInputVDir and getInputVFile into InputVDir interfacemikaelpeltier2014-11-147-41/+118
|/ | | | Change-Id: I290bd7cacbdfd38e176512ba630e89a974ea0753
* Add clone method to VPathBenoit Lamarche2014-11-131-2/+17
| | | | Change-Id: Iecda5c4f315bf2177703dd4717737bb116559858