/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | ModifierListWriter.kt | 122 val list = item.modifiers in <lambda>() constant 123 val visibilityLevel = list.getVisibilityLevel() in <lambda>() 137 val isAbstract = list.isAbstract() in <lambda>() 153 if (list.isDefault() && item !is ParameterItem) { in <lambda>() 157 if (list.isStatic() && (classItem == null || !classItem.isEnum())) { in <lambda>() 164 list.isFinal() && in <lambda>() 177 if (!list.isFinal()) { in <lambda>() 183 if (list.isSealed()) { in <lambda>() 187 if (list.isSuspend()) { in <lambda>() 191 if (list.isInline()) { in <lambda>() [all …]
|
/tools/tradefederation/core/aoa_helper/src/com/android/helper/aoa/ |
D | UsbHelper.java | 105 try (DeviceList list = new DeviceList()) { in getSerialNumbers() argument 106 for (Pointer devicePointer : list) { in getSerialNumbers() 128 try (DeviceList list = new DeviceList()) { in getDevice() argument 129 for (Pointer devicePointer : list) { in getDevice() 204 private final Pointer list; field in UsbHelper.DeviceList 208 PointerByReference list = new PointerByReference(); in DeviceList() local 209 this.count = checkResult(mUsb.libusb_get_device_list(checkNotNull(mContext), list)); in DeviceList() 210 this.list = list.getValue(); in DeviceList() 216 Pointer[] devices = list.getPointerArray(0, count); in iterator() 222 mUsb.libusb_free_device_list(list, true); in close()
|
/tools/asuite/ |
D | preupload_hook_script.py | 29 def _filter_python_files(files: list[pathlib.Path]) -> list[pathlib.Path]: 41 def _run_python_lint(lint_bin: str, files: list[pathlib.Path]) -> None: 66 def _run_pylint(files: list[pathlib.Path]) -> None: 71 def _run_gpylint(files: list[pathlib.Path]) -> None: 84 def _run_pyformat(files: list[pathlib.Path]) -> None: 133 files: list[pathlib.Path], projects: list[str], root_files: bool 134 ) -> tuple[list[pathlib.Path], list[pathlib.Path]]: 163 def get_preupload_files() -> list[pathlib.Path]:
|
/tools/tradefederation/core/javatests/com/android/tradefed/lite/ |
D | DryRunnerTest.java | 40 RunListener list = Mockito.mock(RunListener.class); in testFakeExecution() local 42 notifier.addListener(list); in testFakeExecution() 51 verify(list, Mockito.times(1)).testRunStarted((Description) Mockito.any()); in testFakeExecution() 52 verify(list, Mockito.times(desc.testCount())).testStarted((Description) Mockito.any()); in testFakeExecution() 53 verify(list, Mockito.times(desc.testCount())).testFinished((Description) Mockito.any()); in testFakeExecution() 54 verify(list, Mockito.times(1)).testRunFinished((Result) Mockito.any()); in testFakeExecution()
|
/tools/asuite/atest/integration_tests/ |
D | snapshot.py | 82 include_paths: list[str], 83 exclude_paths: Optional[list[str]] = None, 84 env_keys: Optional[list[str]] = None, 112 exclude_paths: Optional[list[str]] = None, 180 env_keys: Optional[list[str]] = None, 296 self, paths: list[str], variables: dict[str, str] 297 ) -> list[str]: 323 paths: list[str], 325 ) -> list[str]: 342 def _is_excluded(self, path: str, exclude_paths: list[pathlib.Path]) -> bool: [all …]
|
D | adevice_command_success_tests.py | 69 def _verify_adevice_command_success(self, test_cmd: list[str]): 81 build_pre_cmd: list[str], 82 build_clean_up_cmd: list[str], 83 test_cmd: list[str], 84 expected_in_log: list[str], 85 expected_not_in_log: list[str],
|
D | split_build_test_script.py | 118 self._snapshot_include_paths: list[str] = [] 119 self._snapshot_exclude_paths: list[str] = [] 120 self._snapshot_env_keys: list[str] = [] 123 def add_snapshot_include_paths(self, paths: list[str]) -> None: 127 def set_snapshot_include_paths(self, paths: list[str]) -> None: 139 def add_snapshot_exclude_paths(self, paths: list[str]) -> None: 143 def add_snapshot_env_keys(self, keys: list[str]) -> None: 176 self._steps: list[self._Step] = [] 177 self._snapshot_restore_exclude_paths: list[str] = [] 285 def add_snapshot_restore_exclude_paths(self, paths: list[str]) -> None: [all …]
|
/tools/treble/hacksaw/mount/ |
D | fake.go | 60 var list []string 62 list = append(list, target) 65 return list, nil
|
/tools/external_updater/tests/endtoend/ |
D | test_update.py | 25 …def update(self, updater_cmd: list[str], paths: list[Path], args: list[str] | None = None, bug_num… 42 self, tree_builder: TreeBuilder, updater_cmd: list[str]
|
D | test_check.py | 26 def check(self, updater_cmd: list[str], paths: list[Path]) -> str: 40 self, tree_builder: TreeBuilder, updater_cmd: list[str] 64 self, tree_builder: TreeBuilder, updater_cmd: list[str]
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/extractors/ |
D | SystraceExtractorTest.kt | 72 fun extract(list: Iterable<String>): List<DataSlice> { in <lambda>() 75 extractor.extract(makeStream(list.iterator())) { outputStream -> in <lambda>() 88 fun makeStream(list: Iterator<String>): StreamingReader { in <lambda>() 91 if (list.hasNext()) { in <lambda>() 92 return list.next().asSlice() in <lambda>()
|
/tools/tradefederation/core/lite/com/android/tradefed/lite/ |
D | DryRunner.java | 56 private void fakeExecution(RunNotifier notifier, RunListener list, Description desc) { in fakeExecution() argument 59 fakeExecution(notifier, list, child); in fakeExecution() 65 list.testStarted(desc); in fakeExecution() 66 list.testFinished(desc); in fakeExecution()
|
/tools/treble/hacksaw/client/ |
D | command.go | 29 codebase add <name> <path>: Add codebase to hacksaw's list. 30 codebase list: List all codebases that hacksaw knows about. 32 codebase remove <name>: Remove a codebase from hacksaw's list. 39 workspace list: List all known workspaces. 89 list := codebase.List() 91 for name, path := range list { 157 list := c.workspace.List() 159 for name, codebase := range list {
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/ |
D | ble_lib.py | 78 if type(advertising_data['service_uuids']) == list: 87 if scan_response and type(scan_response['service_uuids']) == list: 95 if scan_response and type(scan_response['service_data']) == list: 101 if type(advertising_data['service_data']) == list:
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | ClangProfileIndexerTest.java | 148 void checkListContainsSuffixes(List<String> list, List<String> suffixes) { in checkListContainsSuffixes() argument 151 for (String item : list) { in checkListContainsSuffixes() 159 fail("List " + list.toString() + " does not contain suffix '" + suffix + "'"); in checkListContainsSuffixes() 164 void checkListDoesNotContainSuffix(List<String> list, String suffix) { in checkListDoesNotContainSuffix() argument 165 for (String item : list) { in checkListDoesNotContainSuffix() 167 fail("List " + list.toString() + " should not contain suffix '" + suffix + "'"); in checkListDoesNotContainSuffix()
|
/tools/test/connectivity/acts/framework/tests/controllers/bits_lib/ |
D | bits_client_test.py | 87 non_expected_call = list( 102 expected_calls = list( 117 expected_calls = list( 133 non_expected_call = list( 147 expected_call = list( 208 expected_calls = list( 235 expected_calls = list( 259 expected_call = list( 280 expected_call = list( 301 expected_call = list(
|
/tools/treble/hacksaw/workspace/ |
D | compose_test.go | 58 list, err := wsComposer.Compose(codebaseDir, wsTopDir) 66 if !reflect.DeepEqual(expectedList, list) { 67 t.Errorf("Expected a list of binds %v and got %v", expectedList, list) 69 list, err = wsComposer.Dismantle(wsTopDir) 77 if !reflect.DeepEqual(expectedList, list) { 78 t.Errorf("Expected a list of unbinds %v and got %v", expectedList, list)
|
/tools/tradefederation/core/javatests/com/android/tradefed/log/ |
D | LogUtilFuncTest.java | 92 List<StackTraceElement> list = new ArrayList<StackTraceElement>( in testCLog_findCallerClassName_callerDeeperInStackTrace() local 95 list.add(0, new StackTraceElement( in testCLog_findCallerClassName_callerDeeperInStackTrace() 98 t.setStackTrace(list.toArray(new StackTraceElement[list.size()])); in testCLog_findCallerClassName_callerDeeperInStackTrace()
|
/tools/tradefederation/contrib/src/com/android/performance/tests/ |
D | DataRecorder.java | 42 List<Long> list = mLongMetrics.computeIfAbsent(name, k -> new ArrayList<>()); in recordMetric() local 43 list.add(value); in recordMetric() 47 List<Float> list = mFloatMetrics.computeIfAbsent(name, k -> new ArrayList<>()); in recordMetric() local 48 list.add(value); in recordMetric()
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | HiddenapiFlagsWriter.java | 45 List<String> list = new ArrayList<>(s); in asSortedList() local 46 Collections.sort(list); in asSortedList() 47 return list; in asSortedList()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | FileSystemLogSaverTest.java | 274 assertEquals(1, mReportDir.list().length); in testCreateReportDirectory_sharded() 275 assertEquals(BRANCH, mReportDir.list()[0]); in testCreateReportDirectory_sharded() 276 assertEquals(1, mReportDir.listFiles()[0].list().length); in testCreateReportDirectory_sharded() 277 assertEquals(BUILD_ID, mReportDir.listFiles()[0].list()[0]); in testCreateReportDirectory_sharded() 278 assertEquals(1, mReportDir.listFiles()[0].listFiles()[0].list().length); in testCreateReportDirectory_sharded() 279 assertEquals(TEST_TAG, mReportDir.listFiles()[0].listFiles()[0].list()[0]); in testCreateReportDirectory_sharded() 281 assertEquals(1, mReportDir.listFiles()[0].listFiles()[0].listFiles()[0].list().length); in testCreateReportDirectory_sharded() 283 mReportDir.listFiles()[0].listFiles()[0].listFiles()[0].list()[0].startsWith( in testCreateReportDirectory_sharded()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/util/ |
D | Bugreport.java | 110 List<String> list = new ArrayList<>(); in getListOfFiles() local 115 for (ZipArchiveEntry entry : Collections.list(zipBugreport.getEntries())) { in getListOfFiles() 116 list.add(entry.getName()); in getListOfFiles() 122 return list; in getListOfFiles()
|
/tools/carrier_settings/java/ |
D | GenCarrierList.java | 82 List<CarrierMap> list = new ArrayList<>(); in generate() local 95 list.add(cm.toBuilder().clearCarrierId().addCarrierId(cid).build()); in generate() 107 CarrierProtoUtils.sortCarrierMapEntries(list); in generate() 110 CarrierList clist = CarrierList.newBuilder().setVersion(version).addAllEntry(list).build(); in generate()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/compatibility/ |
D | ThrowsCompatibilityTest.kt | 31 fun `Incompatible method change -- throws list -- java`() { in Incompatible method change -- throws list -- java() 74 fun `Incompatible method change -- throws list -- kt`() { in Incompatible method change -- throws list -- kt() 125 fun `Incompatible method change -- throws list -- type parameter`() { in Incompatible method change -- throws list -- type parameter()
|
/tools/metalava/metalava-model/src/test/java/com/android/tools/metalava/model/ |
D | DefaultAnnotationItemTest.kt | 97 val list = attribute.values in testIntDef() constant 98 assertEquals(3, list.size) in testIntDef() 99 assertEquals("STYLE_NO_TITLE", list[1].toSource()) in testIntDef()
|