Home
last modified time | relevance | path

Searched refs:statements (Results 1 – 25 of 56) sorted by relevance

123

/aosp12/system/tools/aidl/
H A Dgenerate_java_binder.cpp131 ctor->statements->Add(stability); in StubClass()
137 ctor->statements->Add(attach); in StubClass()
274 m->statements->Add(ifstatement); in make_as_interface()
281 m->statements->Add(iinVd); in make_as_interface()
432 auto& statements = statement_block; in generate_stub_code() local
435 statements->Add(tryStatement); in generate_stub_code()
437 statements = tryStatement->statements; in generate_stub_code()
496 statements->Add(realCall); in generate_stub_code()
501 statements->Add(ex); in generate_stub_code()
511 statements->Add(ex); in generate_stub_code()
[all …]
H A Dast_java.cpp144 int N = this->statements.size(); in Write()
146 this->statements[i]->Write(to); in Write()
153 this->statements.push_back(statement); in Add()
157 this->statements.push_back(std::make_shared<ExpressionStatement>(expression)); in Add()
273 this->statements->Write(to); in Write()
290 this->statements->Write(to); in Write()
295 this->statements->Write(to); in Write()
314 statements->Write(to); in Write()
370 if (this->statements == nullptr) { in Write()
374 this->statements->Write(to); in Write()
H A Dgenerate_java.cpp486 write_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
491 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
506 write_method->statements->Add(std::make_shared<LiteralStatement>(code)); in generate_parcel_class()
515 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
523 constructor->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
539 constructor->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
553 read_or_create_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
559 read_or_create_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
575 read_or_create_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
589 read_or_create_method->statements->Add(sizeCheck); in generate_parcel_class()
[all …]
H A Dast_java.h141 std::vector<std::shared_ptr<Statement>> statements; member
241 std::shared_ptr<StatementBlock> statements = std::make_shared<StatementBlock>();
258 std::shared_ptr<StatementBlock> statements = std::make_shared<StatementBlock>();
266 std::shared_ptr<StatementBlock> statements = std::make_shared<StatementBlock>();
275 std::shared_ptr<StatementBlock> statements = std::make_shared<StatementBlock>();
300 std::shared_ptr<StatementBlock> statements = nullptr; member
/aosp12/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/
H A DStatementParser.kt45 val statements: MutableList<Statement> = ArrayList()
57 statements.addAll(result.value.statements)
63 return Result.Success(ParsedStatement(statements, delegates))
101 val statements = (0 until relations.length()) regex
105 return Result.Success(ParsedStatement(statements, listOfNotNull(delegate)))
108 data class ParsedStatement(val statements: List<Statement>, val delegates: List<String>)
H A DStatementRetriever.kt55 val statements: List<Statement>,
62 constructor(statements: List<Statement>, webResult: UrlFetcher.Response) : this(
63 statements,
110 val (statements, delegates) = StatementParser.parseStatementList(content, source)
114 .map { async { retrieve(it, maxIncludeLevel - 1, source).statements } }
118 Result(statements + delegatedStatements, webResponse)
/aosp12/packages/apps/Car/DebuggingRestrictionController/server/functions/
H A D.eslintrc.json32 // Warn if return statements do not either always or never specify values
35 // Warn if no return statements in callbacks of array methods
68 // Warn against function declarations and expressions inside loop statements
86 // Enforce return statements in getters
101 // Enforce return statements in callbacks of array methods
120 // Warn against nested then() or catch() statements
/aosp12/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
H A DViewerConfigBuilder.kt33 if (statements.containsKey(key)) {
34 if (statements[key] != logCall) {
41 statements[key] = logCall
46 private val statements: MutableMap<Int, LogCall> = mutableMapOf()
87 statements.toSortedMap().forEach { (key, value) ->
/aosp12/art/tools/checker/file_format/checker/
H A Dtest.py36 self.assertNotEqual(len(check_file.test_cases[0].statements), 0)
41 self.assertEqual(len(check_file.test_cases[0].statements), 0)
84 self.assertEqual(len(test_case.statements), 1)
85 return test_case.statements[0]
327 self.assertEqual(len(checker_file.test_cases[0].statements), 9)
344 self.assertEqual(len(checker_file.test_cases[0].statements), 9)
388 self.assertEqual(len(test_case.statements), 1)
389 statement = test_case.statements[0]
396 self.assertEqual(len(test_case.statements), 1)
397 statement = test_case.statements[0]
H A Dstruct.py46 self.statements = []
61 self.statements.append(new_statement)
66 and self.statements == other.statements)
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DDbDowngradeHelper.java80 JSONArray statements = obj.getJSONArray(KEY_DOWNGRADE_TO + version); in parse() local
81 String[] parsed = new String[statements.length()]; in parse()
83 parsed[i] = statements.getString(i); in parse()
/aosp12/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/
H A DRethrowFromSystemChecker.java88 final List<? extends StatementTree> statements = catchTree.getBlock() in matchTry() local
90 if (statements.size() != 1 in matchTry()
91 || !RETHROW_FROM_SYSTEM.matches(statements.get(0), state)) { in matchTry()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowTestRunner.java24 import org.junit.internal.runners.statements.RunAfters;
25 import org.junit.internal.runners.statements.RunBefores;
/aosp12/art/tools/checker/
H A DREADME3 against a set of statements specified alongside the tests.
6 Optimizing compiler. "Check lines" are statements formatted as comments of the
51 The following statements can be placed in a Java source file:
89 Branching is possible thanks to the following statements:
149 It is possible to combine IF, (multiple) ELIF and ELSE statements together. Nested branching is
/aosp12/system/sepolicy/prebuilts/api/26.0/private/
H A Dport_contexts1 # portcon statements go here, e.g.
/aosp12/system/sepolicy/prebuilts/api/27.0/private/
H A Dport_contexts1 # portcon statements go here, e.g.
/aosp12/system/sepolicy/prebuilts/api/30.0/private/
H A Dport_contexts1 # portcon statements go here, e.g.
/aosp12/system/sepolicy/prebuilts/api/31.0/private/
H A Dport_contexts1 # portcon statements go here, e.g.
/aosp12/system/sepolicy/prebuilts/api/28.0/private/
H A Dport_contexts1 # portcon statements go here, e.g.
/aosp12/system/sepolicy/prebuilts/api/29.0/private/
H A Dport_contexts1 # portcon statements go here, e.g.
/aosp12/system/sepolicy/prebuilts/api/32.0/private/
H A Dport_contexts1 # portcon statements go here, e.g.
/aosp12/system/sepolicy/private/
H A Dport_contexts1 # portcon statements go here, e.g.
/aosp12/build/make/tools/
H A Djava-layers.py202 statements = [s.strip() for s in text.split(";")]
206 m = PACKAGE.match(statements[0])
214 for statement in statements[1:]:
/aosp12/bootable/recovery/edify/
H A DREADME.md68 look like if/else statements:
101 - The purpose of ";" is to simulate imperative statements, of course,
/aosp12/packages/modules/Wifi/framework/tests/
H A DREADME.md30 statements and use logcat to view them. The beginning and end of every tests is automatically logged

123