Home
last modified time | relevance | path

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

123456

/test/vts/compilation_tools/vtsc/code_gen/driver/
DLibSharedCodeGen.cpp43 for (auto const& api : message.interface().api()) { in GenerateCppBodyFuzzFunction() local
46 out << "if (!strcmp(func_name, \"" << api.name() << "\")) {" << "\n"; in GenerateCppBodyFuzzFunction()
50 for (auto const& arg : api.arg()) { in GenerateCppBodyFuzzFunction()
112 out << "func_type_" << api.name() << ")(..."; in GenerateCppBodyFuzzFunction()
116 if (!api.has_return_type() || api.return_type().type() == TYPE_VOID) { in GenerateCppBodyFuzzFunction()
122 out << "((func_type_" << api.name() << ") " in GenerateCppBodyFuzzFunction()
123 << "target_loader_.GetLoaderFunction(\"" << api.name() << "\"))("; in GenerateCppBodyFuzzFunction()
135 if (api.has_return_type() || api.return_type().type() != TYPE_VOID) { in GenerateCppBodyFuzzFunction()
DHalCodeGen.cpp313 for (auto const& api : message.interface().api()) { in GenerateCppBodyFuzzFunction() local
314 out << "if (!strcmp(func_name, \"" << api.name() << "\")) {" << "\n"; in GenerateCppBodyFuzzFunction()
319 for (auto const& arg : api.arg()) { in GenerateCppBodyFuzzFunction()
364 << " of " << api.name() << "\n"; in GenerateCppBodyFuzzFunction()
442 << api.name() << " == NULL" << ") {" << "\n"; in GenerateCppBodyFuzzFunction()
454 if (!api.has_return_type() || api.return_type().type() == TYPE_VOID) { in GenerateCppBodyFuzzFunction()
459 out << "local_device->" << api.name() << "("; in GenerateCppBodyFuzzFunction()
469 if (api.has_return_type() && api.return_type().type() != TYPE_VOID) { in GenerateCppBodyFuzzFunction()
478 for (auto const& arg : api.arg()) { in GenerateCppBodyFuzzFunction()
523 for (auto const& api : message.api()) { in GenerateCppBodyFuzzFunction() local
[all …]
DHalHidlCodeGen.cpp41 for (const auto& api : message.interface().api()) { in GenerateCppBodyInterfaceImpl() local
43 if (CanElideCallback(api)) { in GenerateCppBodyInterfaceImpl()
45 << GetCppVariableType(api.return_type_hidl(0)) << "> "; in GenerateCppBodyInterfaceImpl()
51 "Vts_" + component_fq_name.tokenName() + "::" + api.name(); in GenerateCppBodyInterfaceImpl()
54 for (int index = 0; index < api.arg_size(); index++) { in GenerateCppBodyInterfaceImpl()
55 const auto& arg = api.arg(index); in GenerateCppBodyInterfaceImpl()
58 if (index != (api.arg_size() - 1)) out << ",\n"; in GenerateCppBodyInterfaceImpl()
60 if (api.return_type_hidl_size() == 0 || CanElideCallback(api)) { in GenerateCppBodyInterfaceImpl()
63 out << (api.arg_size() != 0 ? ", " : ""); in GenerateCppBodyInterfaceImpl()
65 for (int index = 0; index < api.return_type_hidl_size(); index++) { in GenerateCppBodyInterfaceImpl()
[all …]
/test/vti/dashboard/src/main/java/com/android/vts/api/
DUserFavoriteRestServlet.java17 package com.android.vts.api;
21 import com.google.appengine.api.datastore.DatastoreService;
22 import com.google.appengine.api.datastore.DatastoreServiceFactory;
23 import com.google.appengine.api.datastore.Entity;
24 import com.google.appengine.api.datastore.EntityNotFoundException;
25 import com.google.appengine.api.datastore.Key;
26 import com.google.appengine.api.datastore.KeyFactory;
27 import com.google.appengine.api.datastore.Query;
28 import com.google.appengine.api.datastore.Query.CompositeFilterOperator;
29 import com.google.appengine.api.datastore.Query.Filter;
[all …]
DTestAcknowledgmentRestServlet.java17 package com.android.vts.api;
21 import com.google.appengine.api.datastore.DatastoreFailureException;
22 import com.google.appengine.api.datastore.DatastoreService;
23 import com.google.appengine.api.datastore.DatastoreServiceFactory;
24 import com.google.appengine.api.datastore.DatastoreTimeoutException;
25 import com.google.appengine.api.datastore.Entity;
26 import com.google.appengine.api.datastore.Key;
27 import com.google.appengine.api.datastore.KeyFactory;
28 import com.google.appengine.api.datastore.Query;
29 import com.google.appengine.api.datastore.Transaction;
[all …]
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsSpreadSheetSyncServlet.java21 import com.google.api.client.auth.oauth2.Credential;
22 import com.google.api.client.extensions.appengine.datastore.AppEngineDataStoreFactory;
23 import com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp;
24 import com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver;
25 import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow;
26 import com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets;
27 import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport;
28 import com.google.api.client.http.javanet.NetHttpTransport;
29 import com.google.api.client.json.JsonFactory;
30 import com.google.api.client.json.jackson2.JacksonFactory;
[all …]
DVtsInactivityJobServlet.java26 import com.google.appengine.api.datastore.DatastoreService;
27 import com.google.appengine.api.datastore.DatastoreServiceFactory;
28 import com.google.appengine.api.datastore.Entity;
29 import com.google.appengine.api.datastore.EntityNotFoundException;
30 import com.google.appengine.api.datastore.FetchOptions;
31 import com.google.appengine.api.datastore.Key;
32 import com.google.appengine.api.datastore.KeyFactory;
33 import com.google.appengine.api.datastore.Query;
34 import com.google.appengine.api.datastore.Query.Filter;
35 import com.google.appengine.api.datastore.Query.SortDirection;
[all …]
DVtsProfilingStatsJobServlet.java27 import com.google.appengine.api.datastore.DatastoreFailureException;
28 import com.google.appengine.api.datastore.DatastoreService;
29 import com.google.appengine.api.datastore.DatastoreServiceFactory;
30 import com.google.appengine.api.datastore.DatastoreTimeoutException;
31 import com.google.appengine.api.datastore.Entity;
32 import com.google.appengine.api.datastore.EntityNotFoundException;
33 import com.google.appengine.api.datastore.Key;
34 import com.google.appengine.api.datastore.KeyFactory;
35 import com.google.appengine.api.datastore.Query;
36 import com.google.appengine.api.datastore.Transaction;
[all …]
DVtsCoverageAlertJobServlet.java26 import com.google.appengine.api.datastore.DatastoreService;
27 import com.google.appengine.api.datastore.DatastoreServiceFactory;
28 import com.google.appengine.api.datastore.Entity;
29 import com.google.appengine.api.datastore.EntityNotFoundException;
30 import com.google.appengine.api.datastore.Key;
31 import com.google.appengine.api.datastore.KeyFactory;
32 import com.google.appengine.api.datastore.Query;
33 import com.google.appengine.api.taskqueue.Queue;
34 import com.google.appengine.api.taskqueue.QueueFactory;
35 import com.google.appengine.api.taskqueue.TaskOptions;
DVtsAlertJobServlet.java31 import com.google.appengine.api.datastore.DatastoreFailureException;
32 import com.google.appengine.api.datastore.DatastoreService;
33 import com.google.appengine.api.datastore.DatastoreServiceFactory;
34 import com.google.appengine.api.datastore.DatastoreTimeoutException;
35 import com.google.appengine.api.datastore.Entity;
36 import com.google.appengine.api.datastore.EntityNotFoundException;
37 import com.google.appengine.api.datastore.FetchOptions;
38 import com.google.appengine.api.datastore.Key;
39 import com.google.appengine.api.datastore.KeyFactory;
40 import com.google.appengine.api.datastore.Query;
[all …]
DVtsPerformanceJobServlet.java26 import com.google.appengine.api.datastore.DatastoreService;
27 import com.google.appengine.api.datastore.DatastoreServiceFactory;
28 import com.google.appengine.api.datastore.Entity;
29 import com.google.appengine.api.datastore.Key;
30 import com.google.appengine.api.datastore.KeyFactory;
31 import com.google.appengine.api.datastore.Query;
32 import com.google.appengine.api.taskqueue.Queue;
33 import com.google.appengine.api.taskqueue.QueueFactory;
34 import com.google.appengine.api.taskqueue.TaskOptions;
/test/vti/dashboard/src/main/java/com/android/vts/util/
DDatastoreHelper.java44 import com.google.appengine.api.datastore.DatastoreFailureException;
45 import com.google.appengine.api.datastore.DatastoreService;
46 import com.google.appengine.api.datastore.DatastoreServiceFactory;
47 import com.google.appengine.api.datastore.DatastoreTimeoutException;
48 import com.google.appengine.api.datastore.Entity;
49 import com.google.appengine.api.datastore.EntityNotFoundException;
50 import com.google.appengine.api.datastore.FetchOptions;
51 import com.google.appengine.api.datastore.Key;
52 import com.google.appengine.api.datastore.KeyFactory;
53 import com.google.appengine.api.datastore.Query;
[all …]
DEmailHelper.java19 import com.google.appengine.api.datastore.DatastoreService;
20 import com.google.appengine.api.datastore.DatastoreServiceFactory;
21 import com.google.appengine.api.datastore.Entity;
22 import com.google.appengine.api.datastore.Key;
23 import com.google.appengine.api.datastore.Query;
24 import com.google.appengine.api.datastore.Query.Filter;
25 import com.google.appengine.api.datastore.Query.FilterOperator;
26 import com.google.appengine.api.datastore.Query.FilterPredicate;
/test/vti/test_serving/gae/webapp/src/endpoint/
Dbuild_info_test.py49 api = build_info.BuildInfoApi()
50 response = api.set(container)
74 api = build_info.BuildInfoApi()
75 response = api.set(container)
89 api = build_info.BuildInfoApi()
90 response = api.set(container)
114 api = build_info.BuildInfoApi()
115 response = api.set(container)
130 api = build_info.BuildInfoApi()
131 response = api.set(container)
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DCodeCoverageEntity.java22 import com.google.appengine.api.datastore.KeyFactory;
69 com.google.appengine.api.datastore.Key testRunKey, in CodeCoverageEntity()
82 com.google.appengine.api.datastore.Key testRunKey, in CodeCoverageEntity()
101 private Key getParentKey(com.google.appengine.api.datastore.Key testRunKey) { in getParentKey()
120 public com.google.appengine.api.datastore.Entity toEntity() { in toEntity()
121 com.google.appengine.api.datastore.Key testKey = in toEntity()
123 com.google.appengine.api.datastore.Key testRunKey = in toEntity()
125 com.google.appengine.api.datastore.Key codeCoverageKey = in toEntity()
128 com.google.appengine.api.datastore.Entity codeCoverageEntity = in toEntity()
129 new com.google.appengine.api.datastore.Entity(codeCoverageKey); in toEntity()
DTestEntity.java21 import com.google.appengine.api.datastore.Key;
22 import com.google.appengine.api.datastore.KeyFactory;
83 public com.google.appengine.api.datastore.Entity toEntity() { in toEntity()
84 …com.google.appengine.api.datastore.Entity testEntity = new com.google.appengine.api.datastore.Enti… in toEntity()
139 public static TestEntity fromEntity(com.google.appengine.api.datastore.Entity e) { in fromEntity()
/test/vts/specification/lib/ndk/bionic/1.0/
DlibcV1.vts13 api: {
33 api: {
55 api: {
77 api: {
99 api: {
115 api: {
139 api: {
163 api: {
182 api: {
205 api: {
[all …]
DlibcutilsV1.vts12 api: {
32 api: {
44 api: {
60 api: {
76 api: {
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DDashboardMainServlet.java22 import com.google.appengine.api.datastore.DatastoreService;
23 import com.google.appengine.api.datastore.DatastoreServiceFactory;
24 import com.google.appengine.api.datastore.Entity;
25 import com.google.appengine.api.datastore.Key;
26 import com.google.appengine.api.datastore.KeyFactory;
27 import com.google.appengine.api.datastore.PropertyProjection;
28 import com.google.appengine.api.datastore.Query;
29 import com.google.appengine.api.datastore.Query.Filter;
30 import com.google.appengine.api.datastore.Query.FilterOperator;
31 import com.google.appengine.api.datastore.Query.FilterPredicate;
[all …]
/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp116 FunctionSpecificationMessage* api = call_msg->mutable_api(); in CallFunction() local
120 LOG(DEBUG) << "Call Function " << api->name(); in CallFunction()
123 for (int index = 0; index < api->arg_size(); index++) { in CallFunction()
124 auto* arg = api->mutable_arg(index); in CallFunction()
132 if (!driver->CallFunction(*api, callback_socket_name_, &result_msg)) { in CallFunction()
133 LOG(ERROR) << "Failed to call function: " << api->DebugString(); in CallFunction()
137 if (!driver->Fuzz(api, &result, callback_socket_name_)) { in CallFunction()
138 LOG(ERROR) << "Failed to call function: " << api->DebugString(); in CallFunction()
142 LOG(DEBUG) << "Called function " << api->name(); in CallFunction()
145 driver->FunctionCallEnd(api); in CallFunction()
[all …]
/test/vts-testcase/hal/treble/platform_version/
DVtsTreblePlatformVersionTest.py24 from vts.utils.python.android import api
73 asserts.assertTrue(launchApiLevel >= api.PLATFORM_API_LEVEL_O,
76 if launchApiLevel >= api.PLATFORM_API_LEVEL_P:
81 asserts.assertTrue(firstApiLevel >= api.PLATFORM_API_LEVEL_P,
94 asserts.assertTrue(sdkVersion >= api.PLATFORM_API_LEVEL_O,
111 if firstApiLevel > api.PLATFORM_API_LEVEL_O_MR1:
/test/vti/dashboard/src/test/java/com/android/vts/job/
DVtsAlertJobServletTest.java26 import com.google.appengine.api.datastore.Key;
27 import com.google.appengine.api.datastore.KeyFactory;
28 import com.google.appengine.api.users.User;
29 import com.google.appengine.api.users.UserServiceFactory;
37 import org.junit.jupiter.api.AfterEach;
38 import org.junit.jupiter.api.Test;
39 import org.junit.jupiter.api.BeforeEach;
/test/vti/test_serving/gae/testing/
Dtest-endpoint.sh3 …status": 1}], "hostname": "hc1"}' https://vtslab-schedule-prod.appspot.com/_ah/api/host_info/v1/set
5 …sh", "build_type": "userdebug"}' https://vtslab-schedule-prod.appspot.com/_ah/api/build_info/v1/set
7 …index": 1}], "host_name": "hc1"}' https://vtslab-schedule-prod.appspot.com/_ah/api/host_info/v1/set
9 … '{"hostname": "vtslab-mtv43-2"}' https://vtslab-schedule-prod.appspot.com/_ah/api/job_queue/v1/get
/test/vts/utils/python/profiling/
Dprofiling_utils.py333 for api in spec_proto.interface.api:
334 if not api.is_inherited:
335 total_apis.add(api.name)
441 for api, latences in data.values.items():
442 if merged_profiling_data.values.get(api):
443 merged_profiling_data.values[api].extend(latences)
445 merged_profiling_data.values[api] = latences
446 for api, latencies in merged_profiling_data.values.items():
451 api,
/test/vts/compilation_tools/vtsc/code_gen/profiler/
DProfilerCodeGenBase.cpp121 for (const FunctionSpecificationMessage& api : interface.api()) { in GenerateSourceFile() local
122 out << "if (strcmp(method, \"" << api.name() << "\") == 0) {\n"; in GenerateSourceFile()
124 GenerateProfilerForMethod(out, api); in GenerateSourceFile()
301 for (const FunctionSpecificationMessage& api : interface.api()) { in IncludeHidlNativeType() local
302 for (const VariableSpecificationMessage& arg : api.arg()) { in IncludeHidlNativeType()
308 api.return_type_hidl()) { in IncludeHidlNativeType()

123456