Home
last modified time | relevance | path

Searched refs:UnsupportedFormatException (Results 1 – 23 of 23) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DBinaryDictOffdeviceUtils.java27 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
127 throws IOException, UnsupportedFormatException; in process()
133 UnsupportedFormatException { in process()
145 throw new UnsupportedFormatException("Input stream not at the expected format"); in process()
155 UnsupportedFormatException { in process()
159 throw new UnsupportedFormatException("File too short, not a dictionary"); in process()
171 throw new UnsupportedFormatException("Wrong magic number"); in process()
177 throw new UnsupportedFormatException("Only versions 2, 201, 202 are supported"); in process()
184 throw new UnsupportedFormatException("Header too large"); in process()
196 final byte[] outBuffer) throws IOException, UnsupportedFormatException { in readStreamExhaustively()
[all …]
H A DDictionaryMaker.java26 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
199 throws FileNotFoundException, IOException, UnsupportedFormatException { in main()
212 throws IOException, UnsupportedFormatException, FileNotFoundException { in readInputFromParsedArgs()
232 throws FileNotFoundException, IOException, UnsupportedFormatException { in readBinaryFile()
265 throws FileNotFoundException, IOException, UnsupportedFormatException, in writeOutputToParsedArgs()
288 throws FileNotFoundException, IOException, UnsupportedFormatException { in writeBinaryDictionary()
H A DHeader.java21 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
38 public void run() throws UnsupportedFormatException { in run()
55 throw new UnsupportedFormatException(filename in run()
H A DMakedict.java19 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
36 public void run() throws FileNotFoundException, IOException, UnsupportedFormatException { in run()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DAbstractDictDecoder.java36 throws IOException, UnsupportedFormatException { in getTerminalPosition()
47 throws IOException, UnsupportedFormatException { in readUnigramsAndBigramsBinary()
64 } catch (UnsupportedFormatException e) { in checkHeader()
78 UnsupportedFormatException { in openDictBuffer()
H A DDictDecoder.java42 public DictionaryHeader readHeader() throws IOException, UnsupportedFormatException; in readHeader()
63 throws FileNotFoundException, IOException, UnsupportedFormatException; in readDictionaryBinary()
76 throws IOException, UnsupportedFormatException; in getTerminalPosition()
92 throws IOException, UnsupportedFormatException; in readUnigramsAndBigramsBinary()
118 UnsupportedFormatException; in openDictBuffer()
H A DVer4DictEncoder.java51 throws IOException, UnsupportedFormatException { in writeDictionary()
53 throw new UnsupportedFormatException("File header has a wrong version number : " in writeDictionary()
57 throw new UnsupportedFormatException("Given path is not a directory."); in writeDictionary()
H A DVer4DictDecoder.java42 public DictionaryHeader readHeader() throws IOException, UnsupportedFormatException { in readHeader()
58 throws FileNotFoundException, IOException, UnsupportedFormatException { in readDictionaryBinary()
H A DBinaryDictDecoderEncoderTests.java176 } catch (UnsupportedFormatException e) { in timeWritingDictToFile()
226 } catch (UnsupportedFormatException e) { in timeReadingAndCheckDict()
277 public void testCharacterTableIsPresent() throws IOException, UnsupportedFormatException { in testCharacterTableIsPresent()
422 } catch (UnsupportedFormatException e) {
499 } catch (UnsupportedFormatException e) {
517 } catch (UnsupportedFormatException e) {
546 } catch (UnsupportedFormatException e) {
562 } catch (UnsupportedFormatException e) {
H A DBinaryDictDecoderUtils.java20 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
376 throws UnsupportedFormatException { in decodeHeaderAttributes()
396 throw new UnsupportedFormatException("Odd number of attributes"); in decodeHeaderAttributes()
H A DDictEncoder.java32 throws IOException, UnsupportedFormatException; in writeDictionary()
H A DBinaryDictIOUtils.java151 UnsupportedFormatException { in readUnigramsAndBigramsBinary()
170 final String word) throws IOException, UnsupportedFormatException { in getTerminalPosition()
H A DVer2DictEncoder.java126 throws IOException, UnsupportedFormatException { in writeDictionary()
129 throw new UnsupportedFormatException( in writeDictionary()
H A DBinaryDictEncoderUtils.java745 throws IOException, UnsupportedFormatException { in writeDictionaryHeader()
753 throw new UnsupportedFormatException("Requested file format version " + version in writeDictionaryHeader()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DDictionaryHeader.java62 @Nonnull final FormatOptions formatOptions) throws UnsupportedFormatException { in DictionaryHeader()
68 throw new UnsupportedFormatException("Cannot create a FileHeader without a locale"); in DictionaryHeader()
72 throw new UnsupportedFormatException( in DictionaryHeader()
77 throw new UnsupportedFormatException("Cannot create a FileHeader without an ID"); in DictionaryHeader()
H A DUnsupportedFormatException.java22 public final class UnsupportedFormatException extends Exception { class
23 public UnsupportedFormatException(String description) { in UnsupportedFormatException() method in UnsupportedFormatException
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DBinaryDictionaryUtils.java23 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
50 throws IOException, UnsupportedFormatException { in getHeader()
55 final long offset, final long length) throws IOException, UnsupportedFormatException { in getHeaderWithOffsetAndLength()
H A DDictionaryInfoUtils.java37 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
412 } catch (UnsupportedFormatException e) {
/aosp12/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
H A DBinaryDictOffdeviceUtilsTests.java35 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
77 public void testGetRawDictWorks() throws IOException, UnsupportedFormatException { in testGetRawDictWorks()
155 throws IOException, UnsupportedFormatException { in runTestHeaderReaderProcessorWithOneSpec()
207 public void testHeaderReaderProcessor() throws IOException, UnsupportedFormatException { in testHeaderReaderProcessor()
/aosp12/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
H A DInstallationAsyncTask.java64 private class UnsupportedFormatException extends Exception { class in InstallationAsyncTask
65 private UnsupportedFormatException(String message) { in UnsupportedFormatException() method in InstallationAsyncTask.UnsupportedFormatException
240 } else if (detail instanceof UnsupportedFormatException) { in onPostExecute()
281 throw new UnsupportedFormatException( in verifyAndPrepare()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DBinaryDictionaryGetter.java27 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
225 } catch (UnsupportedFormatException e) { in hackCanUseDictionaryFile()
H A DExpandableBinaryDictionary.java29 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
704 } catch (final UnsupportedFormatException e) { in dumpAllWordsForDebug()
H A DBinaryDictionary.java33 import com.android.inputmethod.latin.makedict.UnsupportedFormatException;
243 public DictionaryHeader getHeader() throws UnsupportedFormatException { in getHeader()