Home
last modified time | relevance | path

Searched refs:denylist (Results 1 – 23 of 23) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/
Ddevice_denylist.py26 denylist = dict()
28 return denylist
32 denylist = json.load(f)
37 if not isinstance(denylist, dict):
39 self._path, denylist)
40 denylist = dict()
42 return denylist
44 def Write(self, denylist): argument
52 json.dump(denylist, f)
70 denylist = self.Read()
[all …]
Ddevice_utils.py3600 denylist=None, argument
3657 denylisted_devices = denylist.Read() if denylist else []
Ddevice_utils_test.py3394 denylist = mock.NonCallableMock(**{'Read.return_value': []})
3395 devices = device_utils.DeviceUtils.HealthyDevices(denylist)
3406 denylist = mock.NonCallableMock(
3408 devices = device_utils.DeviceUtils.HealthyDevices(denylist)
/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_recovery.py107 def RecoverDevice(device, denylist, should_reboot=lambda device: True): argument
108 if device_status.IsDenylisted(device.adb.GetDeviceSerial(), denylist):
148 if denylist:
149 denylist.Extend([device.adb.GetDeviceSerial()], reason='reboot_failure')
152 if denylist:
153 denylist.Extend([device.adb.GetDeviceSerial()], reason='reboot_timeout')
163 if denylist:
164 denylist.Extend([device.adb.GetDeviceSerial()], reason='reboot_failure')
167 if denylist:
168 denylist.Extend([device.adb.GetDeviceSerial()], reason='reboot_timeout')
[all …]
Ddevice_status.py34 def IsDenylisted(serial, denylist): argument
35 return denylist and serial in denylist.Read()
38 def _BatteryStatus(device, denylist): argument
50 if denylist:
51 denylist.Extend([device.adb.GetDeviceSerial()], reason='low_battery')
60 def DeviceStatus(devices, denylist): argument
106 if not IsDenylisted(serial, denylist):
114 battery_info = _BatteryStatus(device, denylist)
139 if denylist:
140 denylist.Extend([serial], reason='status_check_failure')
[all …]
Ddevice_monitor.py171 def get_all_status(denylist): argument
177 healthy_devices = device_utils.DeviceUtils.HealthyDevices(denylist)
186 if denylist:
187 for device, reason in denylist.Read().items():
218 denylist = (device_denylist.Denylist(args.denylist_file)
225 status_dict = get_all_status(denylist)
Dprovision_devices.py90 denylist = (device_denylist.Denylist(denylist_file)
95 devices = script_common.GetDevices(devices, denylist)
98 if denylist:
99 logging.error('Local device denylist: %s', denylist.Read())
139 parallel_devices.pMap(ProvisionDevice, steps, denylist, reboot_timeout)
141 denylisted_devices = denylist.Read() if denylist else []
150 def ProvisionDevice(device, steps, denylist, reboot_timeout=None): argument
172 if denylist:
173 denylist.Extend([str(device)], reason='provision_timeout')
179 if denylist:
[all …]
Dflash_device.py38 denylist = device_denylist.Denylist(args.denylist_file).Read()
39 if denylist:
41 for key in denylist:
Ddevice_monitor_test.py159 denylist = mock.Mock()
160 denylist.Read = mock.MagicMock(
169 status = device_monitor.get_all_status(denylist)
/external/autotest/client/site_tests/platform_PrinterPpds/
Dhelpers.py267 def parse_digests_file(path_digests, denylist): argument
281 denylist = set(denylist)
287 if len(cols) >= 2 and cols[0] not in denylist:
294 def save_digests_file(path_digests, digests, sizes, denylist): argument
306 names = sorted(set(digests.keys()).difference(denylist))
Dplatform_PrinterPpds.py153 denylist = helpers.load_lines_from_file(path_denylist)
157 digests, sizes = helpers.parse_digests_file(path, denylist)
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py806 def get_ignore_reason(obj, denylist): argument
808 if len(denylist) > 100:
813 for b in denylist:
816 if obj is denylist:
823 def describe(obj, denylist, leaves_only=False): argument
832 if get_ignore_reason(obj, denylist):
833 return "{}{}".format(get_ignore_reason(obj, denylist), type(obj))
843 id(obj), [describe(e, denylist, leaves_only=True) for e in obj])
846 id(obj), [describe(e, denylist, leaves_only=True) for e in obj])
855 def build_ref_graph(obj, graph, reprs, denylist): argument
[all …]
/external/tensorflow/tensorflow/go/genop/internal/
Dgenop.go116 denylist := map[string]bool{
122 if denylist[op.Name] {
/external/tensorflow/tensorflow/python/compiler/tensorrt/
Dtrt_convert.py505 denylist = collection_def.node_list.value
508 denylist.append(_to_bytes(i.name))
510 denylist.append(_to_bytes(i))
/external/perfetto/tools/
Dgen_amalgamated141 def apply_denylist(denylist, items): argument
142 return [item for item in items if not re.match(denylist, item)]
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/task_library/
Dobject_detector.md27 * Label allowlist and denylist.
Dimage_classifier.md29 * Label allowlist and denylist.
/external/tensorflow/tensorflow/lite/tools/evaluation/tasks/imagenet_image_classification/
DREADME.md61 Path to denylist file. This file contains the indices of images that are
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dcoreml_delegate.md225 for more detail. Alternatively, you can implement your own set of denylist
/external/tensorflow/
D.pylintrc13 # Add files or directories to the denylist. They should be base names, not
DRELEASE.md732 …"denylist" where possible. Please see [this list](https://developers.google.com/style/word-list#bl…
/external/tensorflow/tensorflow/tools/ci_build/
Dpylintrc13 # Add files or directories to the denylist. They should be base names, not
/external/mesa3d/docs/relnotes/
D20.2.0.rst4163 - driconf: allowlist/denylist