Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 51) sorted by relevance

123

/cts/tests/tests/view/src/android/view/cts/
DKeyboardShortcutGroupTest.java24 KeyboardShortcutGroup group = new KeyboardShortcutGroup(TEST_LABEL, TEST_ITEMS); in testConstructor() local
26 assertEquals(TEST_LABEL, group.getLabel()); in testConstructor()
27 assertEquals(TEST_ITEMS, group.getItems()); in testConstructor()
28 assertFalse(group.isSystemGroup()); in testConstructor()
29 assertEquals(0, group.describeContents()); in testConstructor()
33 KeyboardShortcutGroup group = new KeyboardShortcutGroup(TEST_LABEL); in testShortConstructor() local
35 assertEquals(TEST_LABEL, group.getLabel()); in testShortConstructor()
36 assertNotNull(group.getItems()); in testShortConstructor()
37 assertFalse(group.isSystemGroup()); in testShortConstructor()
38 assertEquals(0, group.describeContents()); in testShortConstructor()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/
DSettingsToggler.java29 public static void setString(ITestDevice device, String group, String name, String value) in setString() argument
31 deleteSetting(device, group, name); in setString()
34 + " --uri content://settings/" + group in setString()
52 public static void setInt(ITestDevice device, String group, String name, int value) in setInt() argument
54 deleteSetting(device, group, name); in setInt()
57 + " --uri content://settings/" + group in setInt()
74 public static void updateString(ITestDevice device, String group, String name, String value) in updateString() argument
78 + " --uri content://settings/" + group in updateString()
93 public static void updateInt(ITestDevice device, String group, String name, int value) in updateInt() argument
97 + " --uri content://settings/" + group in updateInt()
[all …]
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java76 /*threadname*/ m.group(1), in parseLine()
77 /*pid*/ m.group(3).startsWith("-") ? -1 : Integer.parseInt(m.group(3)), in parseLine()
78 /*tid*/ Integer.parseInt(m.group(2)), in parseLine()
79 /*eventName*/ m.group(6), in parseLine()
80 /*details*/ m.group(7)); in parseLine()
87 /*threadname*/ m.group(1), in parseLine()
89 /*tid*/ Integer.parseInt(m.group(2)), in parseLine()
90 /*eventName*/ m.group(5), in parseLine()
91 /*details*/ m.group(6)); in parseLine()
98 /*threadname*/ m.group(1), in parseLine()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_GroupMembershipTest.java52 TestGroup group = mBuilder.newGroup().insert(); in testAddGroupMembershipWithGroupRowId() local
54 .with(GroupMembership.GROUP_ROW_ID, group.getId()) in testAddGroupMembershipWithGroupRowId()
59 groupMembership.assertColumn(GroupMembership.GROUP_ROW_ID, group.getId()); in testAddGroupMembershipWithGroupRowId()
67 TestGroup group = mBuilder.newGroup() in testAddGroupMembershipWithGroupSourceId() local
79 groupMembership.assertColumn(GroupMembership.GROUP_ROW_ID, group.getId()); in testAddGroupMembershipWithGroupSourceId()
90 TestGroup group = mBuilder.newGroup() in testAddGroupMembershipWithUnknownGroupSourceId() local
100 groupMembership.assertColumn(GroupMembership.GROUP_ROW_ID, group.getId()); in testAddGroupMembershipWithUnknownGroupSourceId()
102 group.deletePermanently(); in testAddGroupMembershipWithUnknownGroupSourceId()
DProviderTestUtils.java72 return matcher.group(1); in setBackupTransport()
84 previouslyEnabled = "enabled".equals(matcher.group(1)); in setBackupEnabled()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DScriptGroupTest.java43 ScriptGroup group; in testScriptGroupSingleKernel() local
63 group = b.create(); in testScriptGroupSingleKernel()
65 group.setInput(mColorMatrix.getKernelID(), a1_copy); in testScriptGroupSingleKernel()
66 group.setOutput(mColorMatrix.getKernelID(), a2_copy); in testScriptGroupSingleKernel()
68 group.execute(); in testScriptGroupSingleKernel()
72 ScriptGroup group; in testScriptGroupDisconnectedKernel() local
97 group = b.create(); in testScriptGroupDisconnectedKernel()
106 ScriptGroup group; in testScriptGroupFieldConnection() local
137 group = b.create(); in testScriptGroupFieldConnection()
139 group.setInput(mColorMatrix.getKernelID(), a1_copy); in testScriptGroupFieldConnection()
[all …]
/cts/hostsidetests/services/activitymanager/src/android/server/cts/
DWindowManagerState.java170 final String focusedWindow = matcher.group(3); in parseSysDump()
179 final String focusedWindow = matcher.group(3); in parseSysDump()
188 final String focusedApp = matcher.group(5); in parseSysDump()
305 final String stackId = matcher.group(1); in create()
381 final String taskId = matcher.group(1); in create()
409 final String appToken = matcher.group(6); in extract()
446 final String fullscreen = matcher.group(1); in extractFullscreen()
463 final int left = Integer.valueOf(matcher.group(1)); in extractBounds()
464 final int top = Integer.valueOf(matcher.group(2)); in extractBounds()
465 final int right = Integer.valueOf(matcher.group(3)); in extractBounds()
[all …]
DActivityManagerState.java136 final String stackId = matcher.group(2); in parseSysDump()
145 mFocusedActivityRecord = matcher.group(3); in parseSysDump()
153 final String displayId = matcher.group(2); in parseSysDump()
294 final String stackId = matcher.group(1); in create()
332 mResumedActivity = matcher.group(3); in extract()
396 final String taskId = matcher.group(1); in create()
436 final String stackId = matcher.group(6); in extract()
452 mRealActivity = matcher.group(1); in extract()
462 mOrigActivity = matcher.group(1); in extract()
471 mTaskType = Integer.valueOf(matcher.group(4)); in extract()
[all …]
DActivityManagerTestBase.java253 final String state = matcher.group(1); in isDisplayOn()
395 details.widthDp = Integer.parseInt(matcher.group(2)); in getLastReportedSizesForActivity()
396 details.heightDp = Integer.parseInt(matcher.group(3)); in getLastReportedSizesForActivity()
397 details.displayWidth = Integer.parseInt(matcher.group(4)); in getLastReportedSizesForActivity()
398 details.displayHeight = Integer.parseInt(matcher.group(5)); in getLastReportedSizesForActivity()
399 details.metricsWidth = Integer.parseInt(matcher.group(6)); in getLastReportedSizesForActivity()
400 details.metricsHeight = Integer.parseInt(matcher.group(7)); in getLastReportedSizesForActivity()
/cts/tests/tests/permission2/src/android/permission2/cts/
DPermissionPolicyTest.java80 expectedPermissionGroups.add(expectedPermission.group); in testPlatformPermissionPolicyUnaltered()
101 expectedPermission.group, declaredPermission.group); in testPlatformPermissionPolicyUnaltered()
102 assertTrue("Permission group " + expectedPermission.group + "must be defined", in testPlatformPermissionPolicyUnaltered()
103 declaredGroupsSet.contains(declaredPermission.group)); in testPlatformPermissionPolicyUnaltered()
143 permissionInfo.group = parser.getAttributeValue(null, ATTR_PERMISSION_GROUP); in loadExpectedPermissions()
/cts/tests/tests/content/src/android/content/pm/cts/
DFeatureGroupInfoTest.java116 FeatureGroupInfo group = new FeatureGroupInfo(); in createFeatureGroup() local
117 group.features = featureInfos; in createFeatureGroup()
118 return group; in createFeatureGroup()
121 private static void sortFeatureInfos(FeatureGroupInfo[] group) { in sortFeatureInfos() argument
122 for (FeatureGroupInfo g : group) { in sortFeatureInfos()
DPermissionInfoTest.java56 assertEquals(expected.group, actual.group); in checkInfoSame()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DPropertyDeviceInfo.java55 String name = matcher.group(1); in collectRoProperties()
56 String value = matcher.group(2); in collectRoProperties()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DGeeTestResultParser.java409 String timeString = time.group(2); // the "XX" in "(XX ms)" in parseTestIdentifier()
410 String discardPortion = time.group(1); // everything after the test class/name in parseTestIdentifier()
440 mNumTestsExpected = Integer.parseInt(numTests.group(1)); in processRunStartedTag()
444 numTests.group(1)); in processRunStartedTag()
466 mTotalRunTime = Long.parseLong(time.group(1)); in processRunCompletedTag()
470 time.group(1)); in processRunCompletedTag()
/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java203 final int group = ExpandableListView.getPackedPositionGroup(packedPosition); in isOutOfBounds() local
204 if (group >= mGroups.size() || group < 0) { in isOutOfBounds()
210 if (child >= mGroups.get(group).children.size() || child < 0) { in isOutOfBounds()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DOptionHelper.java115 String optionInput = matcher.group(); in getValidCliArgs()
127 String token = tokenMatcher.group().replaceAll("\"", ""); in getValidCliArgs()
/cts/hostsidetests/cpptools/src/com/android/cts/cpptools/
DRunAsHostTest.java41 String appIdString = appIdMatcher.group(1); in testRunAs()
/cts/suite/audio_quality/test_description/conf/
Ddetect_usb_audio.py44 print "___CTS_AUDIO_PASS___ " + line + " " + m.group(1)
/cts/tests/backup/src/android/backup/cts/
DBackupQuotaTest.java90 previouslyEnabled = "enabled".equals(matcher.group(1)); in enableBackup()
104 return matcher.group(1); in setBackupTransport()
/cts/hostsidetests/usb/src/com/android/cts/usb/
DTestUsbTest.java101 String currentSerial = matcher.group(1).toLowerCase(); in testUsbSerial()
126 String currentSerial = matcher.group(1).toLowerCase(); in testUsbSerial()
/cts/tools/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java669 entries.add((pName + ".d." + result.group(1)).trim());
675 String res = m.group(1);
683 String res = loadMatcher.group(1);
691 String res = loadAndRunMatcher.group(1);
774 String res = m.group(1);
780 title = titleM.group(1).replaceAll("\\n \\*", "");
792 constraint = constraintM.group(1);
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DReportLogCollector.java155 String key = m.group(1); in reformatRepeatedStreams()
156 String value = m.group(2); in reformatRepeatedStreams()
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxHostTest.java806 String domainLabel = m.group(1); in createProcMap()
807 String user = m.group(2); in createProcMap()
808 int pid = Integer.parseInt(m.group(3)); in createProcMap()
809 int ppid = Integer.parseInt(m.group(4)); in createProcMap()
810 String procTitle = m.group(5); in createProcMap()
/cts/tools/cts-media/
Dget_achievable_rates.py107 key, value = message_match.group('key', 'value')
125 return re.match(r'^[^:]+: *\[(?P<values>.*)\]\.$', line).group('values')
142 if m.group('sep') != ' ':
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java133 if (patternMatcher.group(3) != null) { in testUserAgentString_default()
135 assertEquals(currentLocale.getLanguage().toLowerCase(), patternMatcher.group(4)); in testUserAgentString_default()
136 assertEquals(currentLocale.getCountry().toLowerCase(), patternMatcher.group(5)); in testUserAgentString_default()
140 assertEquals(Build.MODEL, patternMatcher.group(6)); in testUserAgentString_default()
142 assertEquals(Build.VERSION.RELEASE, patternMatcher.group(2)); in testUserAgentString_default()
144 assertEquals(Build.ID, patternMatcher.group(7)); in testUserAgentString_default()

123