Home
last modified time | relevance | path

Searched full:service (Results 1 – 25 of 95) sorted by relevance

1234

/test/vts/testcases/template/hal_hidl_gtest/
Dhal_hidl_gtest.py29 # The pattern indicating a full hal test name including the service name info.
44 _target_hals: List of String, the targeting hal service of the test.
81 # Extend timeout if there are multiple service instance combinations.
115 Support testing against different service names by first executing a
117 query the service name(s) for each registered service with lshal.
118 For each service name, create a new test case each with the service
141 # parse the results to get the registered service list.
149 service = line[len("hal_service: "):]
150 registered_services.append(service)
154 # If no service registered, return the initial test cases directly.
[all …]
/test/mlts/benchmark/src/com/android/nn/crashtest/core/
DCrashTestCoordinator.java75 Log.w(TAG, "Keep alive service connection is not bound."); in isServiceAlive()
86 Log.w(TAG, "Test service crashed, unbinding and notifying listener"); in onServiceCrashed()
92 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected() argument
93 Log.d(TAG, String.format("Service '%s' connected with binder %s", name, service)); in onServiceConnected()
95 mService = service; in onServiceConnected()
96 mMessenger = new Messenger(service); in onServiceConnected()
99 service.linkToDeath(this::onServiceCrashed, 0); in onServiceConnected()
137 Log.w(TAG, "Unable to talk to service, it might have been shut down", in onServiceConnected()
147 Log.d(TAG, "Service disconnected"); in onServiceDisconnected()
156 * @throws IllegalStateException if unable to start the service
[all …]
DCrashTestService.java19 import android.app.Service;
36 public class CrashTestService extends Service {
61 Log.w(TAG, "Shutting down service!");
90 Log.d(TAG, "Service is bound"); in onBind()
DOutOfProcessCrashTestService.java32 "Model list is frozen. Probably re-instantiating service in an already " in onCreate()
40 throw new RuntimeException("Cannot initialize service. Could not load models.", e); in onCreate()
/test/vts/testcases/template/hal_hidl_host_test/
Dhal_hidl_host_test.py38 """Get the service combination according to the registered test HAL."""
104 param: a list of service instances. e.g [s1/n1, s2/n2]
107 a string of concatenated service names. e.g. n1/n2
115 The current parameter should be a list of service instances with the
123 the list of service instances.
126 service, name = instance.split("/")
127 if service == hal_service:
132 "Could not find the service name for %s, using default name instead",
145 for service in registered_services:
147 self.shell, service, self.abi_bitness,
[all …]
/test/vts/runners/target/vts_hal_hidl_target/
DVtsHalHidlTargetTestEnvBase.h30 // Get the full permutation of all the registered service instances.
31 // E.g. Hal service s1 with instances (n1, n2) and s2 with instances (n3, n4),
35 // Get the registered service instances with the same service name.
36 // E.g. Hal service s1 with instances (n1, n2) and s2 with instances (n1, n2),
39 // Do not return the service instance combinations. This is used in cases when
89 * Gets the service name for a hal instance. Returns defaultName if the hal
102 * --list_registered_services to print all registered service.
103 * --hal_service_instance to pass a running service instance. e.g.
106 * mutliple hal service is used in the test.
118 * Internal method to get the service name for a hal instance.
[all …]
DVtsHalHidlTargetTestEnvBase.cpp105 // Fail the process if trying to pass multiple service names for the same in addHalServiceInstance()
106 // service instance. in addHalServiceInstance()
121 cerr << "Does not find service name for " << instanceName in getServiceName()
131 for (const string& service : registeredHalServices_) { in listRegisteredServices() local
132 cout << "hal_service: " << service << endl; in listRegisteredServices()
/test/vts-testcase/nbu/src/
Dble_test.py20 # UUID for test service.
106 # Service data in json format for Ble Server.
107 SERVICE = { variable
126 for service in result['ScanRecord']['Services']:
127 if service[UUID] == TEST_BLE_SERVICE_UUID and service['Data'] == DATA:
159 for service in result['ScanRecord']['Services']:
160 if service[UUID] == TEST_BLE_SERVICE_UUID and service['Data'] == DATA:
163 if (service[UUID] == TEST_SCAN_RESPONSE_UUID and
164 service['Data'] == SCAN_RESPONSE_DATA):
199 1. Server starts and service added properly.
[all …]
/test/vti/test_serving/gae/script/
Dbuild.sh23 SERVICE="vtslab-schedule-prod.appspot.com"
25 SERVICE="vtslab-schedule.appspot.com"
27 SERVICE="vtslab-schedule-test.appspot.com"
30 echo "Building the webapp for $SERVICE ..."
32 …ts/endpointscfg.py get_openapi_spec webapp.src.endpoint.build_info.BuildInfoApi --hostname $SERVICE
33 …ints/endpointscfg.py get_openapi_spec webapp.src.endpoint.host_info.HostInfoApi --hostname $SERVICE
34 …pointscfg.py get_openapi_spec webapp.src.endpoint.schedule_info.ScheduleInfoApi --hostname $SERVICE
35 …points/endpointscfg.py get_openapi_spec webapp.src.endpoint.lab_info.LabInfoApi --hostname $SERVICE
Ddeploy-endpoint.sh23 SERVICE="vtslab-schedule"
25 SERVICE="vtslab-schedule-$1"
28 echo "Creating OpenAPI spec files for $SERVICE.appspot.com ..."
29 …fo.ScheduleInfoApi webapp.src.endpoint.job_queue.JobQueueApi --hostname $SERVICE.appspot.com --x-g…
31 echo "Depolying the endpoint API implementation to $SERVICE ..."
33 …on hostv1openapi.json labv1openapi.json schedulev1openapi.json jobv1openapi.json --project=$SERVICE
34 gcloud endpoints configs list --service=$SERVICE.appspot.com
Ddeploy-webapp.sh56 SERVICE="vtslab-schedule"
61 SERVICE="vtslab-schedule-$1"
64 echo "Fetching endpoints service version of $SERVICE ..."
65 ENDPOINTS=$(gcloud endpoints configs list --service=$SERVICE.appspot.com)
87 echo "Deploying the web app to $SERVICE ..."
89 gcloud app deploy app.yaml cron.yaml index.yaml queue.yaml worker.yaml --project=$SERVICE ${@:2}
/test/vts/testcases/template/hal_hidl_replay_test/
Dhal_hidl_replay_test.py52 # Extend timeout if there are multiple service instance combinations.
190 A list of all service instance combinations.
206 # parse the results to get the registered service list.
210 service = line[len('hal_service: '):]
211 registered_services.append(service)
213 for service in registered_services:
215 self.shell, service, self.abi_bitness,
219 "skip all tests." % service)
222 service_instances[service] = service_names
223 self._test_hal_services.add(service)
[all …]
/test/vts/utils/python/web/
Ddashboard_rest_client.py32 service_json_path: String, The path to the service account keyfile
54 logging.error("Error reading service json keyfile: %s", e)
57 logging.error("Invalid service json keyfile: %s", e)
63 """Gets an OAuth2 token using from a service account json keyfile.
65 Uses the service account keyfile located at 'service_json_path', provided
69 String, an OAuth2 token using the service account credentials.
/test/vts/utils/python/build/api/
Dartifact_fetcher.py41 service: object, initialized and authorized service object for the
74 oauth2_service_json: Path to service account json file.
81 self.service = build(
90 # 503 (Service Unavailable)
141 api = self.service.buildartifact().get_media(
258 builds = self.service.build().list(
/test/mlts/benchmark/dogfood/
DAndroidManifest.xml22 <service
24 android:label="Benchmark Service"
27 </service>
/test/vts/proto/
DAndroidSystemControlMessage.proto33 // To check whether fuzzer's binder service is available.
35 // To start a fuzzer binary service and select a HAL module.
98 // the binder service name
133 // Specify if a HAL service is test HAL.
137 // the name of a HW Binder service to use (only needed for HIDL HAL).
/test/vts-testcase/hal/usb/gadget/V1_0/host/src/com/android/tests/usbgadget/
DHalUsbGadgetV1_0HostTest.java100 assumeTrue(String.format("The device doesn't have service %s", HAL_SERVICE), mHasService); in testAndroidUSB()
112 assumeTrue(String.format("The device doesn't have service %s", HAL_SERVICE), mHasService); in testMtp()
126 assumeTrue(String.format("The device doesn't have service %s", HAL_SERVICE), mHasService); in testPtp()
142 assumeTrue(String.format("The device doesn't have service %s", HAL_SERVICE), mHasService); in testMIDI()
158 assumeTrue(String.format("The device doesn't have service %s", HAL_SERVICE), mHasService); in testRndis()
/test/vts-testcase/hal/treble/vintf/
DVtsTrebleVintfTestBase.h48 // Retrieves an existing HAL service.
60 static vector<string> GetInterfaceChain(const sp<IBase> &service);
66 // Default service manager.
DVtsTrebleVintfTestBase.cpp85 << "Failed to get default service manager." << endl; in SetUp()
155 // getService blocks until a service is available. In 100% of other cases in GetHidlService()
158 // declared, it must make a couple of precautions in case the service isn't in GetHidlService()
207 const sp<IBase> &service) { in GetInterfaceChain() argument
209 service->interfaceChain([&iface_chain](const hidl_vec<hidl_string> &chain) { in GetInterfaceChain()
DSingleManifestTest.cpp278 // Tests that all HALs specified in the VINTF are available through service
282 // Returns a function that verifies that HAL is available through service in TEST_P()
304 // This is the standard pattern for making a service work in TEST_P()
329 << "transport is " << transport << "but HAL service is " in TEST_P()
332 << "transport is " << transport << "but HAL service is " in TEST_P()
364 auto service = in TEST_P() local
369 ASSERT_NE(service, nullptr); in TEST_P()
371 Partition partition = GetPartition(service); in TEST_P()
408 ADD_FAILURE() << "Could not get service " << fq_name.string() << "/" in TEST_P()
/test/vts-testcase/performance/fmq_benchmark/
DFmqPerformanceTest.py81 # Start the benchmark service.
82 logging.info("Start the benchmark service(%s bit mode)", bits)
93 "Failed to start the benchmark service.")
105 # Stop the benchmark service.
/test/vts/testcases/template/param_test/
Dparam_test.py31 An example use case of parameterized test is service name aware HAL testing
32 which we expect to run the same test logic against all service instances
33 through their corresponding service names. e.g to test graphics.composer HAL
/test/vts/utils/python/mirror/
Dmirror_tracker.py307 This will initiate a driver service for a HAL on the target side, create
319 hw_binder_service_name: string, the name of a HW binder service.
327 is_test_hal: bool, whether the HAL service is a test HAL
331 USERError if user doesn't provide a version of the HAL service.
360 This will initiate a driver service for a lib on the target side, create
383 USERError if user doesn't provide a version of the HAL service.
401 This will initiate a driver service for a shell on the target side,
421 logging.debug("Init the driver service for shell, %s", instance_name)
429 "Failed to launch shell driver service %s" % instance_name)
Dmirror_object.py124 is_test_hal: bool, whether the HAL service is a test HAL
140 logging.debug("Init the driver service for %s", target_type)
160 "Failed to launch driver service %s from file path %s" %
/test/mlts/benchmark/crashtest/
DAndroidManifest.xml22 <service android:name="com.android.nn.crashtest.core.OutOfProcessCrashTestService"
24 <service android:name="com.android.nn.crashtest.core.InProcessCrashTestService"

1234