Home
last modified time | relevance | path

Searched refs:indented (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/parcel/
DSaferParcelCheckerTest.kt56 ).indented(), in getDetector()
87 ).indented(), in testParcelDoesNotDetectSafeReadSerializable()
108 ).indented(), in testParcelDetectUnsafeReadArrayList()
138 ).indented(), in testParcelDoesNotDetectSafeReadArrayList()
162 ).indented(), in testParcelDetectUnsafeReadList()
194 ).indented(), in testDParceloesNotDetectSafeReadList()
216 ).indented(), in testParcelDetectUnsafeReadParcelable()
246 ).indented(), in testParcelDoesNotDetectSafeReadParcelable()
270 ).indented(), in testParcelDetectUnsafeReadParcelableList()
303 ).indented(), in testParcelDoesNotDetectSafeReadParcelableList()
[all …]
/frameworks/base/tools/lint/global/checks/src/test/java/com/google/android/lint/aidl/
DEnforcePermissionHelperDetectorTest.kt46 ).indented(), in getDetector()
84 ).indented(), in testFirstExpressionIsVariableDeclaration()
119 ).indented(), in testMethodIsEmpty()
148 ).indented(), in testOkay()
170 ).indented(), in testHelperWithoutSuperPrefix_Okay()
188 ).indented(), in testInterfaceDefaultMethod_notStubAncestor_error()
218 ).indented(), in testInheritance_callSuper_okay()
231 ).indented(), in testInheritance_callSuper_okay()
244 ).indented(), in testInheritance_callSuper_okay()
267 ).indented(), in testInheritance_callHelper_okay()
[all …]
DEnforcePermissionDetectorTest.kt50 """).indented(), in getDetector()
69 """).indented(), in testDoesNotDetectIssuesCorrectAnnotationAllOnMethod()
89 """).indented(), in testDoesNotDetectIssuesCorrectAnnotationAllLiteralOnMethod()
108 """).indented(), in testDoesNotDetectIssuesCorrectAnnotationAnyOnMethod()
127 """).indented(), in testDoesNotDetectIssuesCorrectAnnotationAnyLiteralOnMethod()
144 """).indented(), in testDetectIssuesMismatchingAnnotationOnMethod()
167 """).indented(), in testDetectIssuesAnnotationOnNonStubMethod()
187 """).indented(), java( in testDetectNoIssuesAnnotationOnNonStubMethod()
195 """).indented(), in testDetectNoIssuesAnnotationOnNonStubMethod()
212 """).indented(), in testDetectIssuesEmptyAnnotationOnMethod()
[all …]
DSimpleManualPermissionEnforcementDetectorTest.kt48 ).indented(), in getDetector()
86 ).indented(), in testClass_orSelfFalse_warning()
124 ).indented(), in testClass_enforcesFalse_warning()
165 ).indented(), in testAnonClass()
205 ).indented(), in testConstantEvaluation()
249 ).indented(), in testAllOf()
295 ).indented(), in testAllOf_mixedOrSelf_warning()
341 ).indented(), in testAllOf_mixedEnforces_warning()
383 ).indented(), in testPrecedingExpressions()
411 ).indented(), in testPermissionHelper()
[all …]
DStubs.kt16 ).indented()
32 ).indented()
41 ).indented()
57 ).indented()
76 ).indented()
DEnforcePermissionDetectorCodegenTest.kt333 ).indented(), in getDetector()
530 ).indented(), in test_generated_IProtectedInterface()
547 ).indented()
554 ).indented()
DEnforcePermissionHelperDetectorCodegenTest.kt334 ).indented(), in getDetector()
531 ).indented(), in test_generated_IProtectedInterface()
548 ).indented()
555 ).indented()
/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/
DCallingIdentityTokenDetectorTest.kt76 ).indented(), in getDetector()
112 ).indented(), in testDetectsUnusedTokens()
163 ).indented(), in testDetectsUnusedTokensInScopes()
203 ).indented(), in testDoesNotDetectUsedTokensInScopes()
231 ).indented(), in testDetectsUnusedTokensWithSimilarNamesInScopes()
282 ).indented(), in testDetectsNonFinalTokens()
337 ).indented(), in testDetectsNestedClearCallingIdentityCalls()
408 ).indented(), in testDetectsClearIdentityCallNotFollowedByTryFinally()
493 ).indented(), in testDetectsRestoreCallingIdentityCallNotInFinally()
571 ).indented(), in testDetectsRestoreCallingIdentityCallNotInFinallyInScopes()
[all …]
DPackageVisibilityDetectorTest.kt47 """).indented(), *stubs in getDetector()
83 ).indented(), *stubs).run().expectClean() in testDoesNotDetectIssuesApiInvokesAppOps()
108 ).indented(), *stubs).run().expectClean() in testDoesNotDetectIssuesApiInvokesEnforcePermission()
136 ).indented(), *stubs).run().expectClean() in testDoesNotDetectIssuesApiInvokesPackageManager()
168 """).indented(), *stubs in testDetectIssuesApiInvokesPackageManagerAndClearCallingIdentify()
195 ).indented(), *stubs).run().expectClean() in testDoesNotDetectIssuesApiNotSystemPackagePrefix()
206 ).indented()
217 ).indented()
232 ).indented()
239 ).indented()
[all …]
DPermissionAnnotationDetectorTest.kt47 ).indented(), in getDetector()
62 ).indented(), in testMissingAnnotation()
87 """).indented(), in testNoIssueWhenExtendingWithAnotherSubclass()
94 """).indented(), in testNoIssueWhenExtendingWithAnotherSubclass()
120 ).indented()
131 ).indented()
DCallingSettingsNonUserGetterMethodsIssueDetectorTest.kt48 ).indented(), in getDetector()
68 ).indented(), in testDetectsNonUserGetterCalledFromSecure()
97 ).indented(), in testDetectsNonUserGetterCalledFromSystem()
127 ).indented(), in testDetectsNonUserGetterCalledFromSettings()
160 ).indented(), in testDetectsNonUserGettersCalledFromSystemAndSecure()
211 ).indented()
/frameworks/base/packages/SystemUI/checks/tests/com/android/internal/systemui/lint/
DDumpableNotRegisteredDetectorTest.kt159 .indented(), in classIsDumpable_noRegister_violation()
196 .indented(), in classIsDumpable_usesNotDumpManagerMethod_violation()
234 .indented(), in classIsDumpableAndCoreStartable_noRegister_noViolation()
261 .indented(), in classIsAbstract_noRegister_noViolation()
283 .indented()
297 .indented()
309 .indented()
321 .indented()
DDemotingTestWithoutBugDetectorTest.kt47 .indented(), in getDetector()
68 .indented(), in getDetector()
92 .indented(), in testMarkFlaky_withoutBugId()
120 .indented(), in testMarkFlaky_withoutBugId()
151 .indented(), in testExcludeDevices_withBugId()
175 .indented(), in testExcludeDevices_withoutBugId()
206 .indented(), in testIgnore_withBug()
230 .indented(), in testIgnore_withoutBug()
258 .indented(), in testIgnore_withoutBug()
DBroadcastSentViaContextDetectorTest.kt47 .indented(), in getDetector()
80 .indented(), in testSendBroadcastAsUser()
114 .indented(), in testSendBroadcastInActivity()
149 .indented(), in testSuppressSendBroadcastInActivity()
176 .indented(), in testSendBroadcastInBroadcastSender()
201 .indented(), in testNoopIfNoCall()
DBindServiceOnMainThreadDetectorTest.kt49 .indented(), in getDetector()
84 .indented(), in testBindServiceAsUser()
116 .indented(), in testUnbindService()
149 .indented(), in testSuppressUnbindService()
183 .indented(), in testWorkerMethod()
221 .indented(), in testWorkerClass()
DSlowUserQueryDetectorTest.kt50 .indented(), in getDetector()
84 .indented(), in testGetUserInfo()
119 .indented(), in testSuppressGetUserInfo()
146 .indented(), in testUserTrackerGetUserId()
173 .indented(), in testUserTrackerGetUserInfo()
197 .indented()
DNonInjectedServiceDetectorTest.kt45 .indented(), in getDetector()
77 .indented(), in testGetServiceWithClass()
110 .indented(), in testSuppressGetServiceWithClass()
135 .indented(), in testGetAccountManager()
DRegisterReceiverViaContextDetectorTest.kt48 .indented(), in getDetector()
82 .indented(), in testSuppressRegisterReceiver()
109 .indented(), in testRegisterReceiverAsUser()
143 .indented(), in testRegisterReceiverForAllUsers()
DNonInjectedMainThreadDetectorTest.kt47 .indented(), in getDetector()
80 .indented(), in testSuppressGetMainThreadHandler()
105 .indented(), in testGetMainLooper()
137 .indented(), in testGetMainExecutor()
DStaticSettingsProviderDetectorTest.kt86 .indented(), in getDetector()
227 .indented(), in testGetServiceWithString()
DSoftwareBitmapDetectorTest.kt46 .indented(), in getDetector()
81 .indented(), in testSuppressSoftwareBitmap()
/frameworks/base/tools/lint/utils/checks/src/test/java/com/google/android/lint/aidl/
DAnnotatedAidlCounterTest.kt47 """).indented(), in getDetector()
66 ).indented()
79 ).indented()
88 ).indented()
95 ).indented()
/frameworks/base/tools/streaming_proto/cpp/
Dmain.cpp80 const string indented = indent + INDENT; in write_message() local
88 write_enum(text, message.enum_type(i), indented); in write_message()
94 write_message(text, message.nested_type(i), indented); in write_message()
100 write_field(text, message.field(i), indented); in write_message()
105 text << indented << "static const int _FIELD_COUNT = " << N << ";" << endl; in write_message()
106 text << indented << "static const char* _FIELD_NAMES[" << N << "] = {" << endl; in write_message()
108 text << indented << INDENT << "\"" << message.field(i).name() << "\"," << endl; in write_message()
110 text << indented << "};" << endl; in write_message()
111 text << indented << "static const uint64_t _FIELD_IDS[" << N << "] = {" << endl; in write_message()
113 … text << indented << INDENT << make_constant_name(message.field(i).name()) << "," << endl; in write_message()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DParseableCommand.kt201 ipw.indented { usage(ipw) } in help()
204 ipw.indented { ipw.println(description) } in help()
211 ipw.indented { in help()
304 pw.indented { in Iterable()
356 pw.indented { pw.println(description) } in describe()
391 fun IndentingPrintWriter.indented(block: () -> Unit) { in indented() method
/frameworks/base/tools/streaming_proto/java/
Djava_proto_stream_code_generator.cpp148 const string indented = indent_more(indent); in write_message() local
157 write_enum(text, message.enum_type(i), indented); in write_message()
163 write_message(text, message.nested_type(i), indented); in write_message()
169 write_field(text, message.field(i), indented); in write_message()
175 write_field(text, message.extension(i), indented); in write_message()
217 const string indented = generate_outer ? indent_more("") : string(); in write_file() local
221 write_enum(text, enums[i], indented); in write_file()
226 write_message(text, messages[i], indented); in write_file()

12