Home
last modified time | relevance | path

Searched refs:names (Results 1 – 25 of 48) sorted by relevance

12

/cts/tools/utils/cts/
Dtools.py44 def Add(self, names): argument
45 if len(names) == 2:
47 test_case = self.test_cases.setdefault(names[0], [])
48 test_case.append(names[1])
50 sub_suite = self.test_suites.setdefault(names[0], TestPackage.TestSuite())
51 sub_suite.Add(names[1:])
/cts/hostsidetests/adpf/app/hintsession/src/android/adpf/hintsession/app/
DADPFHintSessionDeviceActivity.java113 public void sendResultsToJava(String[] names, in sendResultsToJava() argument
116 for (int i = 0; i < names.length; ++i) { in sendResultsToJava()
117 mMetrics.put(names[i], values[i]); in sendResultsToJava()
/cts/tests/tests/os/src/android/os/cts/
DWorkSourceTest.java50 private WorkSource wsNew(int[] uids, String[] names) { in wsNew() argument
53 ws.add(uids[i], names[i]); in wsNew()
55 checkWorkSource("Constructed", ws, uids, names); in wsNew()
67 private void printArrays(StringBuilder sb, int[] uids, String[] names) { in printArrays() argument
72 if (names != null) { in printArrays()
74 sb.append(names[i]); in printArrays()
90 private void failWorkSource(String op, WorkSource ws, int[] uids, String[] names) { in failWorkSource() argument
94 printArrays(sb, uids, names); in failWorkSource()
120 private void checkWorkSource(String op, WorkSource ws, int[] uids, String[] names) { in checkWorkSource() argument
131 failWorkSource(op, ws, uids, names); in checkWorkSource()
[all …]
/cts/libs/vogar-expect/src/vogar/expect/
DExpectationStore.java190 Set<String> names = new LinkedHashSet<String>(); in readExpectation() local
202 names.add(reader.nextString()); in readExpectation()
204 readStrings(reader, names); in readExpectation()
213 names.add(reader.nextString()); in readExpectation()
234 if (names.isEmpty()) { in readExpectation()
243 for (String name : names) { in readExpectation()
/cts/tests/tests/graphics/src/android/graphics/cts/
DParcelableColorSpaceTest.java45 ColorSpace.Named[] names = ColorSpace.Named.values(); in getNamedColorSpaces() local
46 Object[] colorSpaces = new Object[names.length]; in getNamedColorSpaces()
47 for (int i = 0; i < names.length; i++) { in getNamedColorSpaces()
48 colorSpaces[i] = ColorSpace.get(names[i]); in getNamedColorSpaces()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentTransitionTest.java282 ArgumentCaptor<List> names = ArgumentCaptor.forClass(List.class); in callStartEndWithSharedElements() local
285 verify(enterCallback).onSharedElementStart(names.capture(), views.capture(), in callStartEndWithSharedElements()
287 assertEquals(1, names.getValue().size()); in callStartEndWithSharedElements()
290 assertEquals("blueSquare", names.getValue().get(0)); in callStartEndWithSharedElements()
295 verify(enterCallback).onSharedElementEnd(names.capture(), views.capture(), in callStartEndWithSharedElements()
297 assertEquals(1, names.getValue().size()); in callStartEndWithSharedElements()
300 assertEquals("blueSquare", names.getValue().get(0)); in callStartEndWithSharedElements()
307 verify(enterCallback).onSharedElementStart(names.capture(), views.capture(), in callStartEndWithSharedElements()
309 assertEquals(1, names.getValue().size()); in callStartEndWithSharedElements()
312 assertEquals("blueSquare", names.getValue().get(0)); in callStartEndWithSharedElements()
[all …]
/cts/hostsidetests/packagemanager/multiuser/app/src/com/android/tests/packagemanager/multiuser/app/
DPackageManagerMultiUserTest.java71 List<String> names = in testGetInstalledModules() local
74 results.putStringArrayList("installedModules", new ArrayList<>(names)); in testGetInstalledModules()
/cts/tests/expectations/
Dunsupportedabis.txt4 names: [
/cts/hostsidetests/seccomp/app/
Dgen_blocklist.py71 def create_syscall_name_to_number_map(arch, names): argument
122 for name in names:
/cts/tests/tests/database/src/android/database/cts/
DMatrixCursorTest.java172 String[] names = mMatrixCursor.getColumnNames(); in testGetColumnNames() local
173 assertEquals(3, names.length); in testGetColumnNames()
174 assertEquals(COLUMN0_NAME, names[0]); in testGetColumnNames()
175 assertEquals(COLUMN1_NAME, names[1]); in testGetColumnNames()
176 assertEquals(COLUMN2_NAME, names[2]); in testGetColumnNames()
/cts/hostsidetests/theme/
Dandroid_device.py99 names = out.split()
103 return process_name in names
/cts/tests/signature/api-check/src/jni/
Dclassdescriptors.cpp182 jobjectArray names = env->NewObjectArray(count, env->FindClass("java/lang/String"), nullptr); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes() local
206 env->SetObjectArrayElement(names, i, env->NewStringUTF(name.Get())); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
217 env->SetObjectArrayElement(result, 0, names); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
/cts/hostsidetests/sustainedperf/dhrystone/
DLICENSE.TXT32 * Neither the names of the LLVM Team, University of Illinois at
33 Urbana-Champaign, nor the names of its contributors may be used to
55 other licenses gives permission to use the names of the LLVM Team or the
/cts/apps/CtsVerifier/libs/
Dopencv-android_LICENSE20 * Neither the names of the copyright holders nor the names of the contributors
/cts/tests/tests/companion/multidevice/client/
Dproguard.flags11 # Keep names for easy debugging.
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DParentProfileTest.java166 private void assertValidMethodNames(Collection<String> names, Collection<Method> allMethods) { in assertValidMethodNames() argument
171 for (String name : names) { in assertValidMethodNames()
/cts/apps/CtsVerifier/res/raw/
Dopencv_library_license28 * Neither the names of the copyright holders nor the names of the contributors
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/feature_a/
DAndroid.bp39 // Although feature splits use unique resource package names, they must all
66 // Although feature splits use unique resource package names, they must all
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputManagerTest.java721 List<String> names = mManager.getAvailableExtensionInterfaceNames(inputId); in testGetAvailableExtensionInterfaceNames() local
722 assertTrue(names != null && !names.isEmpty()); in testGetAvailableExtensionInterfaceNames()
723 assertTrue(names.contains(EXTENSION_INTERFACE_NAME_WITHOUT_PERMISSION)); in testGetAvailableExtensionInterfaceNames()
724 assertTrue(names.contains(EXTENSION_INTERFACE_NAME_WITH_PERMISSION_GRANTED)); in testGetAvailableExtensionInterfaceNames()
725 assertFalse(names.contains(EXTENSION_INTERFACE_NAME_WITH_PERMISSION_UNGRANTED)); in testGetAvailableExtensionInterfaceNames()
729 names = mManager.getAvailableExtensionInterfaceNames(inputId); in testGetAvailableExtensionInterfaceNames()
730 assertTrue(names != null && names.isEmpty()); in testGetAvailableExtensionInterfaceNames()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DInlineUiBot.java117 public UiObject2 assertDatasets(String... names) throws Exception { in assertDatasets() argument
123 return assertDatasets(picker, names); in assertDatasets()
/cts/tests/signature/api-check/shared-libs-api/
DAndroid.bp42 ":cts-shared-libs-names.txt",
68 name: "cts-shared-libs-names.txt",
73 "shared-libs-names.txt",
/cts/tests/mediapc/
DREADME.md31 Example: To limit the tests to run for media types whose names start with video/avc
48 Example: To limit the tests to run for codecs whose names start with c2.android.
/cts/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java85 String[] names = { in createFirstMockPrinterDiscoverySessionCallbacks() local
128 for (String name : names) { in createFirstMockPrinterDiscoverySessionCallbacks()
/cts/tests/tests/systemui/PipTestApp/src/android/systemui/cts/tv/pip/
DPipTestActivity.kt193 val names = actions.joinToString(", ") { it.title } in <lambda>() constant
194 Log.d(TAG, "Setting custom pip actions: $names") in <lambda>()
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestView.java268 String[] names = { in printConfig() local
306 String name = names[i]; in printConfig()

12