Searched refs:CodeUtils (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/ |
D | CodeUtilsTest.kt | 30 assertEquals(-1259556708, CodeUtils.hash("Test.java:50", "test", in hash() 36 assertEquals(15793504, CodeUtils.hash("Test.java:10", "test2", in hash_changeLocation() 42 assertEquals(-731772463, CodeUtils.hash("Test.java:50", "test", in hash_changeLevel() 48 assertEquals(-2026343204, CodeUtils.hash("Test.java:50", "test2", in hash_changeMessage() 54 assertEquals(1607870166, CodeUtils.hash("Test.java:50", "test2", in hash_changeGroup() 63 CodeUtils.checkWildcardStaticImported( in checkWildcardStaticImported_true() 72 CodeUtils.checkWildcardStaticImported( in checkWildcardStaticImported_notStatic() 81 CodeUtils.checkWildcardStaticImported( in checkWildcardStaticImported_differentClass() 90 CodeUtils.checkWildcardStaticImported( in checkWildcardStaticImported_notWildcard() 99 assertTrue(CodeUtils.isClassImportedOrSamePackage( in isClassImportedOrSamePackage_imported() [all …]
|
D | ViewerConfigBuilderTest.kt | 56 assertEquals(TEST1, parsedConfig[CodeUtils.hash(PATH, in processClass() 58 assertEquals(TEST2, parsedConfig[CodeUtils.hash(PATH, TEST2.messageString, in processClass() 60 assertEquals(TEST3, parsedConfig[CodeUtils.hash(PATH, TEST3.messageString, in processClass() 73 assertEquals(TEST1, parsedConfig[CodeUtils.hash(PATH, TEST1.messageString, in processClass_nonUnique() 87 assertEquals(TEST1, parsedConfig[CodeUtils.hash( in processClass_disabled() 89 assertEquals(TEST3, parsedConfig[CodeUtils.hash( in processClass_disabled()
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | ProtoLogCallProcessor.kt | 78 CodeUtils.checkWildcardStaticImported(code, protoLogClassName, fileName) in <lambda>() 79 CodeUtils.checkWildcardStaticImported(code, protoLogGroupClassName, fileName) in <lambda>() 81 val isLogClassImported = CodeUtils.isClassImportedOrSamePackage(code, protoLogClassName) in <lambda>() 82 val staticLogImports = CodeUtils.staticallyImportedMethods(code, protoLogClassName) in <lambda>() 83 val isGroupClassImported = CodeUtils.isClassImportedOrSamePackage(code, in <lambda>() 85 val staticGroupImports = CodeUtils.staticallyImportedMethods(code, protoLogGroupClassName) in <lambda>() 97 val messageString = CodeUtils.concatMultilineString(call.getArgument(1), in <lambda>()
|
D | CodeUtils.kt | 25 object CodeUtils { in <lambda>() object
|
D | ViewerConfigBuilder.kt | 122 fun key() = CodeUtils.hash(position, messageString, logLevel, logGroup) in <lambda>()
|
D | SourceTransformer.kt | 75 val hash = CodeUtils.hash(packagePath, messageString, level, group) in <lambda>()
|