/cts/tests/app/src/android/app/cts/ |
D | NotificationChannelGroupTest.java | 32 NotificationChannelGroup group = new NotificationChannelGroup("1", "1"); in testDescribeContents() local 33 assertEquals(expected, group.describeContents()); in testDescribeContents() 37 NotificationChannelGroup group = new NotificationChannelGroup("1", "one"); in testConstructor() local 38 assertEquals("1", group.getId()); in testConstructor() 39 assertEquals("one", group.getName()); in testConstructor() 40 assertFalse(group.isBlocked()); in testConstructor() 41 assertNull(group.getDescription()); in testConstructor() 42 assertEquals(0, group.getChannels().size()); in testConstructor() 46 NotificationChannelGroup group = new NotificationChannelGroup("1", "one"); in testIsBlocked() local 47 group.setBlocked(true); in testIsBlocked() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyboardShortcutGroupTest.java | 54 KeyboardShortcutGroup group = new KeyboardShortcutGroup(TEST_LABEL, TEST_ITEMS); in testConstructor() local 56 assertEquals(TEST_LABEL, group.getLabel()); in testConstructor() 57 assertEquals(TEST_ITEMS, group.getItems()); in testConstructor() 58 assertFalse(group.isSystemGroup()); in testConstructor() 59 assertEquals(0, group.describeContents()); in testConstructor() 64 KeyboardShortcutGroup group = new KeyboardShortcutGroup(TEST_LABEL); in testShortConstructor() local 66 assertEquals(TEST_LABEL, group.getLabel()); in testShortConstructor() 67 assertNotNull(group.getItems()); in testShortConstructor() 68 assertFalse(group.isSystemGroup()); in testShortConstructor() 69 assertEquals(0, group.describeContents()); in testShortConstructor() [all …]
|
D | View_FocusHandlingTest.java | 477 final ViewGroup group = (ViewGroup) activity.findViewById(R.id.auto_test_area); in testHasFocusable() local 480 group.addView(singleView); in testHasFocusable() 484 group.removeView(singleView); in testHasFocusable() 487 group.addView(groupView); in testHasFocusable() 524 final ViewGroup group = (ViewGroup) activity.findViewById(R.id.auto_test_area); in testFocusAfterDescendantsTransfer() local 526 group.setDescendantFocusability(ViewGroup.FOCUS_AFTER_DESCENDANTS); in testFocusAfterDescendantsTransfer() 527 group.setFocusableInTouchMode(true); in testFocusAfterDescendantsTransfer() 528 group.setKeyboardNavigationCluster(true); in testFocusAfterDescendantsTransfer() 529 group.requestFocus(); in testFocusAfterDescendantsTransfer() 530 assertTrue(group.isFocused()); in testFocusAfterDescendantsTransfer() [all …]
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTest.java | 77 /*threadname*/ m.group(1), in parseLine() 78 /*pid*/ m.group(3).startsWith("-") ? -1 : Integer.parseInt(m.group(3)), in parseLine() 79 /*tid*/ Integer.parseInt(m.group(2)), in parseLine() 80 /*eventName*/ m.group(6), in parseLine() 81 /*details*/ m.group(7)); in parseLine() 88 /*threadname*/ m.group(1), in parseLine() 90 /*tid*/ Integer.parseInt(m.group(2)), in parseLine() 91 /*eventName*/ m.group(5), in parseLine() 92 /*details*/ m.group(6)); in parseLine() 99 /*threadname*/ m.group(1), in parseLine() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ScriptGroupTest.java | 43 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() 73 group.destroy(); in testScriptGroupSingleKernel() 77 ScriptGroup group = null; in testScriptGroupDisconnectedKernel() local 102 group = b.create(); in testScriptGroupDisconnectedKernel() 112 if (group != null) { in testScriptGroupDisconnectedKernel() 113 group.destroy(); in testScriptGroupDisconnectedKernel() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_GroupMembershipTest.java | 52 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()
|
/cts/tests/signature/src/android/signature/cts/ |
D | DexApiDocumentParser.java | 134 matchField.group(1), matchField.group(2), matchField.group(3)); in next() 137 matchMethod.group(1),matchMethod.group(2), matchMethod.group(3)); in next()
|
D | DexMethod.java | 63 return matchSignature(signature).group(2); in parseDexReturnType() 67 String typeSequence = matchSignature(signature).group(1); in parseDexTypeList()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | FeatureGroupInfoTest.java | 116 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()
|
D | PermissionInfoTest.java | 56 assertEquals(expected.group, actual.group); in checkInfoSame()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | PermissionPolicyTest.java | 107 expectedPermissionGroups.add(expectedPermission.group); in testPlatformPermissionPolicyUnaltered() 135 if (!expectedPermission.group.equals(declaredPermission.group)) { in testPlatformPermissionPolicyUnaltered() 138 + "(expected=" + expectedPermission.group + " actual=" in testPlatformPermissionPolicyUnaltered() 139 + declaredPermission.group); in testPlatformPermissionPolicyUnaltered() 142 if (!declaredGroupsSet.contains(declaredPermission.group)) { in testPlatformPermissionPolicyUnaltered() 144 "Permission group " + expectedPermission.group + " must be defined"); in testPlatformPermissionPolicyUnaltered() 207 permissionInfo.group = parser.getAttributeValue(null, ATTR_PERMISSION_GROUP); in loadExpectedPermissions()
|
/cts/tests/framework/base/activitymanager/src/android/server/am/ |
D | ActivityManagerDisplayTestBase.java | 181 log(matcher.group()); in ReportedDisplayMetrics() 183 Integer.parseInt(matcher.group(1)), Integer.parseInt(matcher.group(2))); in ReportedDisplayMetrics() 187 log(matcher.group()); in ReportedDisplayMetrics() 188 physicalDensity = Integer.parseInt(matcher.group(1)); in ReportedDisplayMetrics() 192 log(matcher.group()); in ReportedDisplayMetrics() 194 Integer.parseInt(matcher.group(1)), Integer.parseInt(matcher.group(2))); in ReportedDisplayMetrics() 201 log(matcher.group()); in ReportedDisplayMetrics() 202 overrideDensity = Integer.parseInt(matcher.group(1)); in ReportedDisplayMetrics()
|
D | VirtualDisplayHelper.java | 126 ? m -> m.group(0).contains("FLAG_DEFAULT_DISPLAY") in getDisplayState() 127 : m -> m.group(1).equals(VIRTUAL_DISPLAY_NAME); in getDisplayState() 131 return "ON".equals(matcher.group(2)); in getDisplayState()
|
D | ActivityManagerAmStartOptionsTests.java | 137 status = matcher.group(1); in verifyShellOutput() 142 reportedActivity = matcher.group(1); in verifyShellOutput()
|
D | ActivityManagerConfigChangeTests.java | 202 final String assetSeqNumber = matcher.group(3); in readAssetSeqNumber() 229 return Integer.parseInt(matcher.group(2)); in getActivityDensityDpi() 247 Integer.parseInt(matcher.group(2))); in assertExpectedFontPixelSize()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | GlUtils.java | 51 Integer.parseInt(matcher.group(1)), Integer.parseInt(matcher.group(2))); in getVersion()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PropertyDeviceInfo.java | 55 String name = matcher.group(1); in collectRoProperties() 56 String value = matcher.group(2); in collectRoProperties()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | PackageIncidentTest.java | 59 final int uid = Integer.parseInt(matcher.group(1)); in testPackageServiceDump() 60 final int versionCode = Integer.parseInt(matcher.group(2)); in testPackageServiceDump() 61 final String versionString = matcher.group(3).trim(); in testPackageServiceDump()
|
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 333 final File group = new File(context.getCacheDir(), "group"); in testCacheBehavior() local 343 group.mkdir(); in testCacheBehavior() 346 sm.setCacheBehaviorGroup(group, true); in testCacheBehavior() 353 final File d = useFallocate(makeUniqueFile(group), size, groupTime); in testCacheBehavior() 354 final File e = useFallocate(makeUniqueFile(group), size, groupTime); in testCacheBehavior() 355 final File f = useFallocate(makeUniqueFile(group), size, groupTime); in testCacheBehavior() 362 group.setLastModified(groupTime); in testCacheBehavior() 365 final long clear1 = group.getUsableSpace() + (8 * MB_IN_BYTES); in testCacheBehavior() 376 assertFalse(group.exists()); in testCacheBehavior()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaRouterTest.java | 449 RouteGroup group = groupableRoute0.getGroup(); in testCallback() local 451 assertEquals(group, callback.mAddedRoute); in testCallback() 455 assertEquals(group, callback.mGroup); in testCallback() 465 group.addRoute(groupableRoute1); in testCallback() 478 group.removeRoute(groupableRoute1); in testCallback() 482 assertEquals(group, callback.mChangedRoute); in testCallback() 491 group.removeRoute(0); in testCallback() 495 assertEquals(group, callback.mRemovedRoute); in testCallback() 687 public void onRouteGrouped(MediaRouter router, RouteInfo info, RouteGroup group, in onRouteGrouped() argument 691 mGroup = group; in onRouteGrouped() [all …]
|
/cts/hostsidetests/cpptools/src/com/android/cts/cpptools/ |
D | RunAsHostTest.java | 41 String appIdString = appIdMatcher.group(1); in testRunAs()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ExpandableListScenario.java | 206 final int group = ExpandableListView.getPackedPositionGroup(packedPosition); in isOutOfBounds() local 207 if (group >= mGroups.size() || group < 0) { in isOutOfBounds() 213 if (child >= mGroups.get(group).children.size() || child < 0) { in isOutOfBounds()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | PropertyUtil.java | 100 String name = matcher.group(1); in getClientIds() 101 String value = matcher.group(2); in getClientIds()
|
/cts/suite/audio_quality/test_description/conf/ |
D | detect_usb_audio.py | 44 print "___CTS_AUDIO_PASS___ " + line + " " + m.group(1)
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ProviderTestUtils.java | 72 return matcher.group(1); in setBackupTransport() 84 previouslyEnabled = "enabled".equals(matcher.group(1)); in setBackupEnabled()
|