Home
last modified time | relevance | path

Searched refs:api (Results 1 – 25 of 80) sorted by relevance

1234

/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFileTest.kt73 api = """ in Basic class signature extraction()
102 api = """ in Parameter Names in Java()
136 api = """ in Default Values Names in Java()
196 api = """ in Default Values and Names in Kotlin()
280 api = """ in Default Values in Kotlin for expressions()
335 api = """ in Basic Kotlin class()
412 api = """ in Kotlin Reified Methods()
447 api = """ in Kotlin Reified Methods 2()
474 api = """ in Suspend functions()
500 api = """ in Var properties with private setters()
[all …]
DApiFromTextTest.kt41 api = source in Loading a signature file and writing the API back out()
63 api = source in Handle lambdas as default values()
84 api = source in Invoking function with multiple parameters as parameter default value()
119 api = source in Handle enum constants as default values()
153 api = source in Handle complex expressions as default values()
172 api = source in Annotation signatures requiring more complicated token matching()
191 api = source in Multiple extends()
208 api = """ in Native and strictfp keywords()
236 api = """ in Type use annotations()
282 api = """ in Infer fully qualified names from shorter names()
[all …]
DShowAnnotationTest.kt54 api = """ in Basic showAnnotation test()
111 api = """ in Basic showAnnotation with showUnannotated test()
171 api = """ in Check @TestApi handling()
243 api = """ in Include interface-inherited fields in stubs()
299 api = """ in No UnhiddenSystemApi warning for --show-single-annotations()
349 api = """ in showAnnotation with parameters()
407 api = """ in showAnnotation with default parameters()
438 api = """ in Testing parsing an annotation whose attribute references the annotated class()
504 api = """ in Testing that file order does not affect output()
584 api = """ in new class in the same package while parsing a class()
DAnnotationsMergerTest.kt63 api = """ in Signature files contain annotations()
123 api = """ in Merged class and method annotations with no arguments()
166 api = """ in Merge signature files()
203 api = """ in Merge qualifier annotations from Java stub files()
270 api = """ in Merge qualifier annotations from Java stub files onto stubs that are not in the API signature file()
308 api = """ in Merge type use qualifier annotations from Java stub files()
353 api = """ in Merge qualifier annotations from Java stub files making sure they apply to public members of hidden superclasses()
412 api = """ in Merge inclusion annotations from Java stub files()
457 api = """ in Merge inclusion annotations from Java stub files using --show-single-annotation()
DNullnessMigrationTest.kt44 api = """ in Test Kotlin-style null signatures()
88 api = """ in Method which is now marked null should be marked as recently migrated null()
136 api = """ in Parameter which is now marked null should be marked as recently migrated null()
192 api = """ in Comprehensive check of migration()
261 api = """ in Comprehensive check of migration, Kotlin-style output()
312 api = """ in Convert libcore nullness annotations to support()
357 api = if (SUPPORT_TYPE_USE_ANNOTATIONS) { in Check type use annotations()
411 api = if (SUPPORT_TYPE_USE_ANNOTATIONS) { in Check androidx package annotation()
702 api = """ in Merge nullness annotations in stubs that are not in the API signature file()
DExtractAnnotationsTest.kt513 fun `No typedef signatures in api files`() { in No typedef signatures in api files()
522 api = """ in No typedef signatures in api files()
549 fun `Inlining typedef signatures in api files`() { in Inlining typedef signatures in api files()
558 api = """ in Inlining typedef signatures in api files()
585 fun `Referencing typedef signatures in api files`() { in Referencing typedef signatures in api files()
594 api = """ in Referencing typedef signatures in api files()
DApiLintBaselineTest.kt50 fun `Test with api-lint specific baseline`() { in Test with api-lint specific baseline()
74 fun `Test with api-lint specific baseline with update`() { in Test with api-lint specific baseline with update()
100 fun `Test with non-api-lint specific baseline`() { in Test with non-api-lint specific baseline()
131 fun `Test api-lint error message`() { in Test api-lint error message()
164 fun `Test no api-lint error message`() { in Test no api-lint error message()
DCoreApiTest.kt77 api = in Hidden with --hide-annotation()
169 api = in Hidden with package javadoc and hiding default constructor explicitly()
254 api = in Complain if annotating a member and the surrounding class is not included()
327 api = in Hidden with --hide-meta-annotation()
DUnhideApisTest.kt88 api = """ in Report hidden API access rather than opening up access()
166 api = """ in Do not warn about package private access when generating package private stubs()
233 api = """ in Including private interfaces from types()
/tools/acloud/internal/lib/
Dgcompute_client.py150 api = self.service.globalOperations().get(
152 result = self.Execute(api)
154 api = self.service.zoneOperations().get(
158 result = self.Execute(api)
160 api = self.service.regionOperations().get(
164 result = self.Execute(api)
201 api = self.service.projects().get(project=self._project)
202 return self.Execute(api)
215 api = self.service.disks().get(
217 return self.Execute(api)
[all …]
Dandroid_build_client.py83 api = self.service.buildartifact().get_media(
94 fh, api, chunksize=self.DEFAULT_CHUNK_SIZE)
124 api = self.service.buildartifact().copyTo(
132 self.Execute(api)
155 api = self.service.build().get(buildId=build_id, target=build_target)
156 build = self.Execute(api)
176 api = self.service.build().list(
183 build = self.Execute(api)
209 api = self.service.build().get(buildId=build_id,
211 build = self.Execute(api) or {}
[all …]
Dbase_cloud_client.py152 def ExecuteOnce(self, api): argument
166 return api.execute()
171 api, argument
228 api=api)
330 api = api_resource(pageToken=next_page_token, *args, **kwargs)
331 response = self.Execute(api)
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DApiFile.java90 final TextCodebase api = new TextCodebase(files.get(0)); in parseApi() local
106 parseApiSingleFile(api, !first, file.getPath(), apiText, kotlinStyleNulls); in parseApi()
109 api.setDescription(description.toString()); in parseApi()
110 api.postProcess(); in parseApi()
111 return api; in parseApi()
127 final TextCodebase api = new TextCodebase(new File(filename)); in parseApi() local
128 api.setDescription("Codebase loaded from " + filename); in parseApi()
129 parseApiSingleFile(api, false, filename, apiText, kotlinStyleNulls); in parseApi()
130 api.postProcess(); in parseApi()
131 return api; in parseApi()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAndroidJarReader.java66 Api api; in getApi() local
73 api = new Api(max); in getApi()
76 readJar(api, apiLevel, jar); in getApi()
81 processCodebase(api, apiLevel); in getApi()
85 api = new Api(mCurrentApi); in getApi()
99 processCodebase(api, apiLevel); in getApi()
103 readJar(api, apiLevel, jar); in getApi()
107 api.inlineFromHiddenSuperClasses(); in getApi()
108 api.removeImplicitInterfaces(); in getApi()
109 api.removeOverridingMethods(); in getApi()
[all …]
DApiGenerator.java155 Api api = reader.getApi(); in generate() local
156 return createApiFile(new File(outPath), api); in generate()
163 Api api = reader.getApi(); in generate() local
164 return createApiFile(outputFile, api); in generate()
189 private static boolean createApiFile(File outFile, Api api) { in createApiFile() argument
200 api.print(stream); in createApiFile()
DApiClass.java82 public void updateHidden(int api, boolean hidden) { in updateHidden() argument
84 mPrivateUntil = -api; in updateHidden()
86 mPrivateUntil = Math.abs(api); in updateHidden()
98 public void setHiddenUntil(int api) { in setHiddenUntil() argument
99 mPrivateUntil = api; in setHiddenUntil()
293 public void removeHiddenSuperClasses(Map<String, ApiClass> api) { in removeHiddenSuperClasses() argument
301 ApiClass extendsClass = api.get(next.getName()); in removeHiddenSuperClasses()
/tools/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsTest.kt54 api: String? = null, in <lambda>()
70 api = api, in <lambda>()
567 api = """ in <lambda>()
1245 api = """ in <lambda>()
1428 api = if (SUPPORT_TYPE_USE_ANNOTATIONS) { in <lambda>()
1672 api = """ in <lambda>()
1800 api = """ in <lambda>()
1855 api = """ in <lambda>()
1888 api = """ in <lambda>()
1922 api = """ in <lambda>()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DRestApiHelper.java18 import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
19 import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
20 import com.google.api.client.http.ByteArrayContent;
21 import com.google.api.client.http.GenericUrl;
22 import com.google.api.client.http.HttpContent;
23 import com.google.api.client.http.HttpRequest;
24 import com.google.api.client.http.HttpRequestFactory;
25 import com.google.api.client.http.HttpResponse;
26 import com.google.api.client.http.HttpTransport;
27 import com.google.api.client.json.JsonFactory;
[all …]
DGoogleApiClientUtil.java22 import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
23 import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
24 import com.google.api.client.http.HttpBackOffUnsuccessfulResponseHandler;
25 import com.google.api.client.http.HttpRequest;
26 import com.google.api.client.http.HttpRequestInitializer;
27 import com.google.api.client.http.HttpResponse;
28 import com.google.api.client.http.HttpUnsuccessfulResponseHandler;
29 import com.google.api.client.json.jackson2.JacksonFactory;
30 import com.google.api.client.util.ExponentialBackOff;
DGCSCommon.java20 import com.google.api.client.googleapis.auth.oauth2.GoogleCredential;
21 import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
22 import com.google.api.client.json.jackson2.JacksonFactory;
23 import com.google.api.services.storage.Storage;
DGCSFileUploader.java21 import com.google.api.client.http.InputStreamContent;
22 import com.google.api.services.storage.Storage;
23 import com.google.api.services.storage.model.StorageObject;
/tools/metalava/src/main/java/com/android/tools/metalava/
DConvertJarsToSignatureFiles.kt44 var api = 1 in <lambda>() variable
48 if (api <= 3) in <lambda>()
49 "prebuilts/tools/common/api-versions/android-$api/android.jar" in <lambda>()
51 "prebuilts/sdk/$api/public/android.jar" in <lambda>()
56 val signatureFile = "prebuilts/sdk/$api/public/api/android.txt" in <lambda>()
57 val oldApiFile = File(root, "prebuilts/sdk/$api/public/api/android.txt") in <lambda>()
61 File(root, "prebuilts/sdk/$api/public/api/android.txt") in <lambda>()
71 if (api >= 28) { in <lambda>()
99 val oldRemovedFile = File(root, "prebuilts/sdk/$api/public/api/removed.txt") in <lambda>()
145 api++ in <lambda>()
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DPrefabPackageBuilder.kt19 import com.google.prefab.api.AndroidAbiMetadata in <lambda>()
20 import com.google.prefab.api.ModuleMetadataV1 in <lambda>()
21 import com.google.prefab.api.PackageMetadataV1 in <lambda>()
143 val api = abiToApiMap.getOrElse(abi) { in <lambda>() constant
153 api = api, in <lambda>()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java21 import com.google.api.client.googleapis.batch.BatchCallback;
22 import com.google.api.client.googleapis.batch.BatchRequest;
23 import com.google.api.client.http.HttpHeaders;
24 import com.google.api.client.http.InputStreamContent;
25 import com.google.api.services.storage.Storage;
26 import com.google.api.services.storage.Storage.Objects.List;
27 import com.google.api.services.storage.model.Objects;
28 import com.google.api.services.storage.model.StorageObject;
DRestApiHelperTest.java18 import com.google.api.client.http.GenericUrl;
19 import com.google.api.client.http.HttpRequestFactory;
20 import com.google.api.client.http.javanet.NetHttpTransport;

1234