Searched refs:smaliFile (Results 1 – 4 of 4) sorted by relevance
109 … SmaliFile smaliFile = (SmaliFile)configureByText(SmaliFileType.INSTANCE, completionTestClass); in testCompletion() local111 PsiElement context = smaliFile.getPsiClass().getMethods()[0].getInstructions().get(0); in testCompletion()115 context = smaliFile.getPsiClass().getMethods()[0].getInstructions().get(2); in testCompletion()119 context = smaliFile.getPsiClass().getMethods()[0].getInstructions().get(6); in testCompletion()204 SmaliFile smaliFile = (SmaliFile)configureByText(SmaliFileType.INSTANCE, in testRegisterType() local209 PsiElement context = smaliFile.findElementAt(refOffset); in testRegisterType()216 SmaliFile smaliFile = (SmaliFile)configureByText(SmaliFileType.INSTANCE, in testUnknownClass() local221 PsiElement context = smaliFile.findElementAt(refOffset); in testUnknownClass()
194 File smaliFile = fileNameHandler.getUniqueFilenameForClass(classDescriptor); in disassembleClass() local203 File smaliParent = smaliFile.getParentFile(); in disassembleClass()214 if (!smaliFile.exists()){ in disassembleClass()215 if (!smaliFile.createNewFile()) { in disassembleClass()216 … System.err.println("Unable to create file " + smaliFile.toString() + " - skipping class"); in disassembleClass()222 new FileOutputStream(smaliFile), "UTF8")); in disassembleClass()230 smaliFile.delete(); in disassembleClass()239 … System.err.println("\n\nError occurred while closing file " + smaliFile.toString()); in disassembleClass()
135 String smaliFile = String.format("LexerTest%s%s.smali", File.separatorChar, test); in runTest() local158 InputStream smaliStream = LexerTest.class.getClassLoader().getResourceAsStream(smaliFile); in runTest()160 Assert.fail("Could not load " + smaliFile); in runTest()
309 …private static boolean assembleSmaliFile(File smaliFile, DexBuilder dexBuilder, SmaliOptions optio… in assembleSmaliFile() argument315 FileInputStream fis = new FileInputStream(smaliFile); in assembleSmaliFile()319 ((smaliFlexLexer)lexer).setSourceFile(smaliFile); in assembleSmaliFile()