/test/vts/utils/python/hal/ |
D | hal_service_name_utils.py | 28 """Determine whether to run a VTS test against a HAL and get the service 33 hal: string, the FQName of a HAL service, e.g., 40 a set containing all service names for the given HAL. 66 """Enum for service name combination mode""" 79 service_instances: dictionary, mapping of each service and the 80 corresponding service name(s). 85 A list of service instance combinations. 100 Create full permutation for registered service instances, e.g. 107 service_instances: dictionary, mapping of each service and the 108 corresponding service name(s). [all …]
|
/test/vts/testcases/template/hal_hidl_gtest/ |
D | hal_hidl_gtest.py | 29 # 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/vts/testcases/template/hal_hidl_host_test/ |
D | hal_hidl_host_test.py | 38 """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/ |
D | VtsHalHidlTargetTestEnvBase.h | 30 // 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 …]
|
D | VtsHalHidlTargetTestEnvBase.cpp | 105 // 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/vti/test_serving/gae/script/ |
D | build.sh | 23 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
|
D | deploy-endpoint.sh | 23 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
|
D | deploy-webapp.sh | 56 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-testcase/nbu/src/ |
D | ble_test.py | 20 # 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/framework/harnesses/host_controller/command_processor/ |
D | command_dut_test.py | 43 mock.call("service call audio 3 i32 0 i32 5 i32 1"), 44 mock.call("service call audio 3 i32 2 i32 5 i32 1"), 45 mock.call("service call audio 3 i32 3 i32 5 i32 1"), 46 mock.call("service call audio 3 i32 4 i32 5 i32 1"), 53 mock.call("service call audio 3 i32 0 i32 0 i32 1"), 54 mock.call("service call audio 3 i32 2 i32 0 i32 1"), 55 mock.call("service call audio 3 i32 3 i32 0 i32 1"), 56 mock.call("service call audio 3 i32 4 i32 0 i32 1"), 61 mock.call("service call audio 7 i32 0 i32 10 i32 1"), 62 mock.call("service call audio 7 i32 2 i32 10 i32 1"), [all …]
|
/test/vts/testcases/host/fmq_hidl_test/ |
D | AndroidTest.xml | 25 …service-test/android.hardware.tests.msgq@1.0-service-test->/data/nativetest/android.hardware.tests… 26 …service-test/android.hardware.tests.msgq@1.0-service-test->/data/nativetest64/android.hardware.tes…
|
/test/vts/testcases/template/hal_hidl_replay_test/ |
D | hal_hidl_replay_test.py | 52 # 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/testcases/codelab/hidl_handle_test/ |
D | VtsCodelabHidlHandleTest.py | 35 SERVICE_NAME: string, dumpstate HAL full service name. 36 START_COMMAND: string, command to start dumpstate HAL service 38 CHECK_COMMAND: string, command to check if dumpstate HAL service 40 MAX_RETRY: int, number of times to check if dumpstate HAL service 63 We need to start dumpstate HAL service manually because it is a lazy 64 HAL service, then load it in our target-side driver. 72 # Execute shell command to start dumpstate HAL service because 73 # it is a lazy HAL service. 77 # Wait until service is started. 85 # Dumpstate HAL service is still not started after waiting for [all …]
|
/test/framework/harnesses/host_controller/tfc/ |
D | tfc_client.py | 37 _service: The TFC service. 40 def __init__(self, service): argument 41 self._service = service 150 """Builds an object of TFC service from a given URL. 153 api_root: The URL to the service. 154 oauth2_service_json: The path to service account key file. 161 logging.info("Build service from: %s", discovery_url) 172 service = discovery.build( 176 return TfcClient(service)
|
/test/vts/utils/python/web/ |
D | dashboard_rest_client.py | 32 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/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | BusinessLogicPreparer.java | 76 /* Placeholder in the service URL for the suite to be configured */ 92 /* Default amount of time to attempt connection to the business logic service, in seconds */ 94 /* Time to wait between connection attempts to the business logic service, in millis */ 106 "business logic service, parameters not included", mandatory = true) 110 "the business logic service.", mandatory = true) 131 "connection to the business logic service, in seconds.") 193 CLog.i("Attempting to connect to business logic service..."); in setUp() 208 CLog.e("Failed to connect to business logic service.\nProceeding with test " in setUp() 213 + "service for config %s.\nIf this problem persists, re-invoking with " in setUp() 247 /** Helper to populate the business logic service request with info about the device. */ [all …]
|
/test/vts-testcase/hal/treble/vintf/ |
D | vts_treble_vintf_test_o_mr1.cpp | 81 << "Failed to get default service manager." << endl; in SetUp() 85 << "Failed to get passthrough service manager." << endl; in SetUp() 94 // Retrieves an existing HAL service. 98 // Default service manager. 100 // Passthrough service manager. 131 cout << "Getting service of: " << fq_iface_name << endl; in GetHalService() 167 // Tests that all HALs specified in the VINTF are available through service 170 // Verifies that HAL is available through service manager. in TEST_F()
|
D | VtsTrebleVintfTestBase.h | 45 // Retrieves an existing HAL service. 56 static vector<string> GetInterfaceChain(const sp<IBase> &service); 62 // Default service manager.
|
/test/vts/utils/python/build/api/ |
D | artifact_fetcher.py | 41 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/vts-testcase/performance/fmq_benchmark/ |
D | AndroidTest.xml | 26 …DATA/nativetest/android.hardware.tests.msgq@1.0-service-benchmark/android.hardware.tests.msgq@1.0-… 27 …TA/nativetest64/android.hardware.tests.msgq@1.0-service-benchmark/android.hardware.tests.msgq@1.0-…
|
D | FmqPerformanceTest.py | 81 # 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/proto/ |
D | AndroidSystemControlMessage.proto | 33 // 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/testcases/codelab/hidl_memory_test/ |
D | VtsCodelabHidlMemoryTest.py | 34 We use a test HAL service IMemoryTest.hal in this script. 43 CHECK_COMMAND: string, command to check if memory HAL service 60 """Do necessary setup including starting the HAL service. 62 This method starts the HAL service and loads it in the target-side 73 # Wait until service is started. 82 # memory HAL service is still not started after waiting for 85 logging.error("Failed to start hidl_memory HAL service.")
|
/test/vts/agents/hal/ |
D | BinderClientToDriver.cpp | 36 // Returns a VtsFuzzer binder service's client. 40 cerr << "can't get the default service manager." << std::endl; in GetBinderClient() 46 cerr << "can't find the " << service_name << " binder service." in GetBinderClient()
|
/test/vts/testcases/template/param_test/ |
D | param_test.py | 31 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
|