/tools/test/connectivity/acts_tests/tests/google/bt/pts/ |
D | GattPtsTest.py | 208 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1')) 214 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1')) 220 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1')) 226 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1')) 232 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1')) 238 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1')) 244 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1')) 250 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1')) 256 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1')) 262 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1')) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/netstack/ |
D | NetstackIfaceTest.py | 40 for item in interfaces.get("result"): 41 identifier = item.get('id') 71 if interfaces.get('error') is not None: 73 interfaces.get('error'))) 74 if len(interfaces.get('result')) < 1: 76 self.log.info("Interfaces found: {}".format(interfaces.get('result'))) 97 if interfaces.get('error') is not None: 99 interfaces.get('error'))) 100 for item in interfaces.get("result"): 101 identifier = item.get('id') [all …]
|
/tools/asuite/atest-py2/ |
D | module_info.py | 49 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 63 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, '/') 64 out_dir = os.environ.get(constants.ANDROID_PRODUCT_OUT, root_dir) 77 os.environ.get(constants.ANDROID_PRODUCT_OUT), _MODULE_INFO) 124 if mod_name != mod_info.get(constants.MODULE_NAME, ''): 126 for path in mod_info.get(constants.MODULE_PATH, []): 141 info = self.name_to_module_info.get(name) 143 return info.get(constants.MODULE_PATH, []) 155 return [m.get(constants.MODULE_NAME) 156 for m in self.path_to_module_info.get(rel_module_path, [])] [all …]
|
D | atest_execution_info.py | 109 total_summary = result.get(_TOTAL_SUMMARY_KEY, {}) 115 'atest '+result.get(_ARGS_KEY, ''), 132 print("\natest {}".format(result.get(_ARGS_KEY, ''))) 134 total_summary = result.get(_TOTAL_SUMMARY_KEY, {}) 137 fail_num = total_summary.get(_STATUS_FAILED_KEY) 143 test_runner = result.get(_TEST_RUNNER_KEY, {}) 145 test_dict = test_runner.get(runner_name, {}) 147 test_details = test_dict.get(test_name, {}) 148 for fail in test_details.get(_STATUS_FAILED_KEY): 150 fail.get(_TEST_NAME_KEY)), constants.RED)) [all …]
|
/tools/asuite/atest/ |
D | module_info.py | 63 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 78 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, '/') 79 out_dir = os.environ.get(constants.ANDROID_PRODUCT_OUT, root_dir) 92 os.environ.get(constants.ANDROID_PRODUCT_OUT), _MODULE_INFO) 153 if mod_name != mod_info.get(constants.MODULE_NAME, ''): 155 for path in mod_info.get(constants.MODULE_PATH, []): 174 return info.get(constants.MODULE_PATH, []) 186 return [m.get(constants.MODULE_NAME) 187 for m in self.path_to_module_info.get(rel_module_path, [])] 191 module_info = self.name_to_module_info.get(mod_name) [all …]
|
D | atest_execution_info.py | 120 total_summary = result.get(_TOTAL_SUMMARY_KEY, {}) 123 test_result_url = result.get(_TEST_RESULT_LINK, '') 130 result.get(_ARGS_KEY, ''), 139 result.get(_ARGS_KEY, ''), 156 print("\natest {}".format(result.get(_ARGS_KEY, ''))) 157 test_result_url = result.get(_TEST_RESULT_LINK, '') 161 total_summary = result.get(_TOTAL_SUMMARY_KEY, {}) 164 fail_num = total_summary.get(_STATUS_FAILED_KEY) 170 test_runner = result.get(_TEST_RUNNER_KEY, {}) 172 test_dict = test_runner.get(runner_name, {}) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/abstract_devices/ |
D | bluetooth_device.py | 446 peer_info = self.peer_mapping.get(peer_identifier) 454 peer_info.get('bluetooth_gatt'), self.discovered_services_index, 458 peer_info.get('gatt_callback')) 476 peer_info = self.peer_mapping.get(peer_identifier) 484 peer_info.get('bluetooth_gatt'), self.discovered_services_index, 488 peer_info.get('gatt_callback')) 504 peer_info = self.peer_mapping.get(peer_identifier) 512 peer_info.get('bluetooth_gatt'), self.discovered_services_index, 516 peer_info.get('gatt_callback')) 536 peer_info = self.peer_mapping.get(peer_identifier) [all …]
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ExtraFieldTest.java | 98 StoredEntry foo = zf.get("foo"); in readEntryWithNoExtraField() 126 StoredEntry foo = zf.get("foo"); in readSingleExtraField() 132 assertEquals(0x0A0B, segments.get(0).getHeaderId()); in readSingleExtraField() 134 segments.get(0).write(ByteBuffer.wrap(segData)); in readSingleExtraField() 173 StoredEntry foo = zf.get("foo"); in readMultipleExtraFields() 180 assertEquals(0x0A01, segments.get(0).getHeaderId()); in readMultipleExtraFields() 182 segments.get(0).write(ByteBuffer.wrap(segData)); in readMultipleExtraFields() 185 assertEquals(0x0A02, segments.get(1).getHeaderId()); in readMultipleExtraFields() 187 segments.get(1).write(ByteBuffer.wrap(segData)); in readMultipleExtraFields() 190 assertEquals(0x0A02, segments.get(2).getHeaderId()); in readMultipleExtraFields() [all …]
|
D | ZFileTest.java | 106 StoredEntry z = azf.get("z/"); in readAlmostEmptyZip() 119 StoredEntry e0 = azf.get("dir/"); in readZipWithTwoFilesOneDirectory() 123 StoredEntry e1 = azf.get("dir/inside"); in readZipWithTwoFilesOneDirectory() 132 StoredEntry e2 = azf.get("file.txt"); in readZipWithTwoFilesOneDirectory() 325 StoredEntry file2 = zf.get("file2"); 336 file2 = zf.get("file2"); 342 StoredEntry file2 = zf2.get("file2"); 365 StoredEntry file3 = zf.get("file3"); 377 file3 = zf.get("file3"); 383 StoredEntry file3 = zf2.get("file3"); [all …]
|
D | AlignmentTest.java | 94 StoredEntry se0 = zf.get("file0.txt"); 98 StoredEntry se1 = zf.get("file1.txt"); 107 StoredEntry se1 = zf.get("file1.txt"); 112 StoredEntry se0 = zf.get("file0.txt"); 116 se1 = zf.get("file1.txt"); 146 StoredEntry se0 = zf.get("file0.txt"); 150 StoredEntry se1 = zf.get("file1.txt"); 185 StoredEntry entry = zf.get("test.txt"); 211 StoredEntry se0 = zf.get("file0.txt"); 214 StoredEntry se1 = zf.get("file1.txt"); [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/ |
D | SoftApTest.py | 77 profile = config.get('profile', DEFAULT_AP_PROFILE) 78 ssid = config.get( 80 channel = config.get('channel', hostapd_constants.AP_DEFAULT_CHANNEL_2G) 81 security_mode = config.get('security_mode', None) 82 password = config.get('password', None) 109 ssid = config.get( 111 connectivity_mode = config.get('connectivity_mode', 113 operating_band = config.get('operating_band', OPERATING_BAND_2G) 114 security_type = config.get('security_type', SECURITY_OPEN) 115 password = config.get('password', '') [all …]
|
/tools/acloud/internal/lib/ |
D | cvd_runtime_config.py | 112 self._x_res = self._config_dict.get(_CFG_KEY_X_RES) 113 self._y_res = self._config_dict.get(_CFG_KEY_Y_RES) 114 self._dpi = self._config_dict.get(_CFG_KEY_DPI) 115 crosvm_bin = self._config_dict.get(_CFG_KEY_CROSVM_BINARY) 121 self._instance_dir = self._config_dict.get(_CFG_KEY_INSTANCE_DIR) 122 self._vnc_port = self._config_dict.get(_CFG_KEY_VNC_PORT) 123 self._adb_port = self._config_dict.get(_CFG_KEY_ADB_PORT) 124 self._adb_ip_port = self._config_dict.get(_CFG_KEY_ADB_IP_PORT) 125 self._virtual_disk_paths = self._config_dict.get( 127 self._enable_webrtc = self._config_dict.get(_CFG_KEY_ENABLE_WEBRTC) [all …]
|
/tools/treble/build/sandbox/ |
D | config.py | 179 name = config_elem.get('name') 181 name=name, android_target=config_elem.get('android_target', name)) 184 android_target=config_elem.get('android_target', 186 name=config_elem.get('name', base_config.name), 187 allowed_projects_file=config_elem.get( 206 config.get('name'): config.get('value') 224 return base + [(goal.get('name'), set(goal.get('contexts').split(',')) 225 if goal.get('contexts') else None) 239 tags = config_elem.get('tags') 255 value = config_elem.get('allow_readwrite_all') [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | LazyDelegateByteSource.java | 69 private CloseableByteSource get() throws IOException { in get() method in LazyDelegateByteSource 71 CloseableByteSource r = delegate.get(); in get() 87 return get().asCharSource(charset); in asCharSource() 95 return get().openBufferedStream(); in openBufferedStream() 101 return get().slice(offset, length); in slice() 109 return get().isEmpty(); in isEmpty() 114 return get().size(); in size() 119 return get().copyTo(output); in copyTo() 124 return get().copyTo(sink); in copyTo() 129 return get().read(); in read() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/ |
D | TelephonyBaseTest.py | 108 tries = int(self.user_params.get("telephony_auto_rerun", 1)) 134 if self.user_params.get("check_crash", True): 155 self.wifi_network_ssid = self.user_params.get( 156 "wifi_network_ssid") or self.user_params.get( 157 "wifi_network_ssid_2g") or self.user_params.get( 159 self.wifi_network_pass = self.user_params.get( 160 "wifi_network_pass") or self.user_params.get( 161 "wifi_network_pass_2g") or self.user_params.get( 165 self.qxdm_log = self.user_params.get("qxdm_log", True) 166 self.sdm_log = self.user_params.get("sdm_log", False) [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/ |
D | CloseableDelegateByteSource.java | 68 private synchronized ByteSource get() { in get() method in CloseableDelegateByteSource 100 return get().asCharSource(charset); in asCharSource() 105 return get().openBufferedStream(); in openBufferedStream() 110 return get().slice(offset, length); in slice() 115 return get().isEmpty(); in isEmpty() 120 return get().size(); in size() 125 return get().copyTo(output); in copyTo() 130 return get().copyTo(sink); in copyTo() 135 return get().read(); in read() 140 return get().read(processor); in read() [all …]
|
/tools/asuite/atest/test_finders/ |
D | module_finder.py | 51 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 81 module_srcs = mod_info.get(constants.MODULE_SRCS, []) 90 mod_info.get(constants.MODULE_NAME)) 92 testable_modules.append(mod_info.get(constants.MODULE_NAME)) 102 suites = mod_info.get('compatibility_suites', []) 124 out_dir = os.environ.get(constants.ANDROID_HOST_OUT) 125 custom_out_dir = os.environ.get(constants.ANDROID_OUT_DIR) 196 if (mod_info.get(constants.MODULE_TEST_CONFIG, []).index(rel_config) 223 module_name).get(constants.MODULE_COMPATIBILITY_SUITES, []): 226 module_name).get(constants.MODULE_COMPATIBILITY_SUITES, []): [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/performance/ |
D | ChannelSweepTest.py | 75 return settings.get('test_name') 91 'channel_sweep_test_params'].get( 119 self.channel_sweep_test_params = self.user_params.get( 123 if not self.channel_sweep_test_params.get('skip_performance'): 188 if country_code_response.get('error'): 196 if phy_ids_response.get('error'): 205 if get_country_response.get('error'): 554 test_security = settings.get('test_security', None) 555 test_name = settings.get('test_name', self.test_name) 556 base_test_name = settings.get('base_test_name', 'test') [all …]
|
/tools/test/connectivity/acts_tests/tests/google/bt/sdp/ |
D | SdpSetupTest.py | 57 if result.get("error") is None: 61 "Failed to initialize SDP with {}".format(result.get("error"))) 66 if result.get("error") is not None: 69 result.get("error"))) 77 if result.get("error") is not None: 79 result.get("error"))) 96 if result.get("error") is not None: 98 result.get("error"))) 113 if result.get("error") is not None: 116 result.get("error"))) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/ |
D | bt_test_utils.py | 212 identifier = json_conversion.get("identifier") 213 device_name = json_conversion.get("name") 216 json_conversion.get("address").get("value")) 226 if json_conversion.get("bredr") is not None: 228 json_conversion.get("bredr").get("linkKey").get("value")) 231 if json_conversion.get("le") is not None: 233 json_conversion.get("le").get("localLtk").get("key").get(
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/ |
D | wlan_policy_controller.py | 62 if not response.get('error'): 75 if response.get('error'): 82 if response.get('error'): 125 if start_response.get('error'): 138 if stop_response.get('error'): 253 if save_response.get('error'): 272 if remove_response.get('error'): 286 if remove_all_response.get('error'): 303 if saved_networks_response.get('error'): 324 if connect_response.get('error'): [all …]
|
D | wlan_controller.py | 53 if response.get('error'): 58 iface_ids = response.get('result', []) 61 if query_response.get('error'): 66 if query_response['result'].get('role').lower() == 'client': 82 if query_response.get('error'): 86 query_response['result'].get('mac_addr')) 111 err = self.device.netstack_lib.init().get('error') 117 if response.get('error'): 142 if country_code_response.get('error'): 150 if phy_ids_response.get('error'): [all …]
|
/tools/asuite/aidegen/idea/ |
D | iml.py | 153 if content_type.get(constant.KEY_SRCS, None): 155 if content_type.get(constant.KEY_DEP_SRCS, None): 157 if content_type.get(constant.KEY_JARS, None): 159 if content_type.get(constant.KEY_SRCJARS, None): 161 if content_type.get(constant.KEY_DEPENDENCIES, None): 177 for src in self._mod_info.get(constant.KEY_SRCS, []): 186 for test in self._mod_info.get(constant.KEY_TESTS, []): 195 self._excludes = self._mod_info.get(constant.KEY_EXCLUDES, '') 207 for src in self._mod_info.get(constant.KEY_SRCS, []): 211 for test in self._mod_info.get(constant.KEY_TESTS, []): [all …]
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | MetricSummary.java | 63 loopCount = (int) metrics.get("loop_count").getMeasurements().getSingleInt(); in parseRunMetrics() 75 summaries.get(type).add(loopSummary); in parseRunMetrics() 80 metrics.get("load_time").getMeasurements().getSingleInt(), in parseRunMetrics() 89 return summaries.get(TimeType.PRESENT); in getLoopSummaries() 106 LoopSummary summary = summaries.get(type).get(i); in addToMetricData() 147 if (summaries.get(TimeType.PRESENT).get(i).getCount() == 0) { in toString() 156 sb.append(summaries.get(type).get(i)); in toString() 185 List<LoopSummary.Builder> list = summaries.get(type); in getLatestSummary() 186 return list.get(list.size() - 1); in getLatestSummary() 201 summaries.get(type).add(new LoopSummary.Builder(mRequirements, mVSyncPeriodNs)); in beginLoop()
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 101 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 110 out_dir = os.environ.get(constants.ANDROID_HOST_OUT, '') 129 if os.environ.get('APE_API_KEY'): 190 extra_args.get(constants.REQUEST_UPLOAD_RESULT, None)) 388 collect_only=extra_args.get( 390 flakes_info=extra_args.get( 470 debug_port = extra_args.get(constants.TF_DEBUG, '') 510 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP) 644 if extra_args.get(constants.PRE_PATCH_ITERATIONS): 646 elif extra_args.get(constants.POST_PATCH_ITERATIONS): [all …]
|