Home
last modified time | relevance | path

Searched refs:stub (Results 1 – 11 of 11) sorted by relevance

/tools/metalava/
DAndroid.bp34 name: "stub-annotations",
37 "stub-annotations/src/main/java/**/*.java",
50 name: "private-stub-annotations",
56 "stub-annotations/src/main/java/**/*.java",
58 cmd: "($(location metalava) --no-banner --copy-annotations tools/metalava/stub-annotations " +
59 …"$(genDir)/private-stub-annotations) && ($(location soong_zip) -o $(out) -C $(genDir) -D $(genDir)…
61 "private-stub-annotations.srcjar",
66 name: "private-stub-annotations-jar",
69 ":private-stub-annotations",
Dsettings.gradle1 include ':stub-annotations'
D.gitignore10 stub-annotations/out
DREADME.md10 * Allow extracting the API (into signature text files, into stub API files
41 signature files, the SDK stub files, external annotations etc.
153 stub sources that include documentation.
168 was some inconsistency. In metalava the stub files contain **exactly** the
366 signature or stub data:
DFORMAT.md348 present in the stub files (and therefore part of the API). In the v2 signature
/tools/metalava/src/test/java/com/android/tools/metalava/
DAnnotationsMergerTest.kt177 fun `Merge qualifier annotations from Java stub files`() { in Merge qualifier annotations from Java stub files()
214 fun `Merge type use qualifier annotations from Java stub files`() { in Merge type use qualifier annotations from Java stub files()
253 fun `Merge inclusion annotations from Java stub files`() { in Merge inclusion annotations from Java stub files()
312 fun `Merge inclusion annotations from Java stub files using --show-single-annotation`() { in Merge inclusion annotations from Java stub files using --show-single-annotation()
DDriverTest.kt1254 var stub = stubs[i].trimIndent() in <lambda>() variable
1258 if (stub.startsWith("[") && stub.contains("]")) { in <lambda>()
1259 val pathEnd = stub.indexOf("]\n") in <lambda>()
1260 targetPath = stub.substring(1, pathEnd) in <lambda>()
1263 stub = stub.substring(pathEnd + 2) in <lambda>()
1276 if (stub.startsWith("[") && stub.contains("]")) { in <lambda>()
1277 val pathEnd = stub.indexOf("]\n") in <lambda>()
1278 val path = stub.substring(1, pathEnd) in <lambda>()
1281 stub = stub.substring(pathEnd + 2) in <lambda>()
1302 assertEquals(stub, actualText) in <lambda>()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestSuiteStub.java191 TestSuiteStub stub = new TestSuiteStub(); in split() local
192 OptionCopier.copyOptionsNoThrow(this, stub); in split()
193 stub.mShardedTestToRun = new ArrayList<>(); in split()
194 stub.mShardedTestToRun.add(id); in split()
195 listTest.add(stub); in split()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java217 ITestDevice stub = Mockito.mock(ITestDevice.class); in testProcessClientOperations_processFree() local
218 doReturn(stub).when(mMockDeviceTracker).freeDevice(Mockito.eq("testserial")); in testProcessClientOperations_processFree()
229 .freeDevice(Mockito.eq(stub), Mockito.eq(FreeDeviceState.AVAILABLE)); in testProcessClientOperations_processFree()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt334 val stub = method.toStub(replacementMap) in <lambda>() constant
335 val psiMethod = codebase.createPsiMethod(stub, psiClass) in <lambda>()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java868 IDevice stub = new StubDevice("emulator-5554", true); in testStubDevice_NotReleased() local
869 mMockManager.setNumDevicesStub(1, TestDeviceState.NOT_AVAILABLE, stub); in testStubDevice_NotReleased()