/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() 43 assertEquals(0, group.getUserLockedFields()); in testConstructor() 47 NotificationChannelGroup group = new NotificationChannelGroup("1", "one"); in testIsBlocked() local [all …]
|
D | ServiceTest.java | 1367 IsolatedConnectionInfo(int group, int importance, int strong) { in IsolatedConnectionInfo() argument 1368 mGroup = group; in IsolatedConnectionInfo() 1371 mInstanceName = group + "_" + importance; in IsolatedConnectionInfo() 1384 void setGroup(int group) { in setGroup() argument 1385 mGroup = group; in setGroup() 1392 boolean match(int group, int strong) { in match() argument 1393 return (group < 0 || mGroup == group) in match() 1477 private void doBind(Context context, IsolatedConnectionInfo[] connections, int group, in doBind() argument 1480 if (ci.match(group, strong)) { in doBind() 1495 private void doWaitForService(IsolatedConnectionInfo[] connections, int group, in doWaitForService() argument [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyboardShortcutGroupTest.java | 55 KeyboardShortcutGroup group = new KeyboardShortcutGroup(TEST_LABEL, TEST_ITEMS); in testConstructor() local 57 assertEquals(TEST_LABEL, group.getLabel()); in testConstructor() 58 assertEquals(TEST_ITEMS, group.getItems()); in testConstructor() 59 assertFalse(group.isSystemGroup()); in testConstructor() 60 assertEquals(0, group.describeContents()); in testConstructor() 65 KeyboardShortcutGroup group = new KeyboardShortcutGroup(TEST_LABEL); in testShortConstructor() local 67 assertEquals(TEST_LABEL, group.getLabel()); in testShortConstructor() 68 assertNotNull(group.getItems()); in testShortConstructor() 69 assertFalse(group.isSystemGroup()); in testShortConstructor() 70 assertEquals(0, group.describeContents()); in testShortConstructor() [all …]
|
D | View_FocusHandlingTest.java | 478 final ViewGroup group = (ViewGroup) activity.findViewById(R.id.auto_test_area); in testHasFocusable() local 481 group.addView(singleView); in testHasFocusable() 485 group.removeView(singleView); in testHasFocusable() 488 group.addView(groupView); in testHasFocusable() 525 final ViewGroup group = (ViewGroup) activity.findViewById(R.id.auto_test_area); in testFocusAfterDescendantsTransfer() local 527 group.setDescendantFocusability(ViewGroup.FOCUS_AFTER_DESCENDANTS); in testFocusAfterDescendantsTransfer() 528 group.setFocusableInTouchMode(true); in testFocusAfterDescendantsTransfer() 529 group.setKeyboardNavigationCluster(true); in testFocusAfterDescendantsTransfer() 530 group.requestFocus(); in testFocusAfterDescendantsTransfer() 531 assertTrue(group.isFocused()); in testFocusAfterDescendantsTransfer() [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/lib/common/src/android/signature/cts/ |
D | DexApiDocumentParser.java | 112 matchField.group(1), matchField.group(2), matchField.group(3), flags); in parseLine() 115 matchMethod.group(1),matchMethod.group(2), matchMethod.group(3), flags); in parseLine()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | PermissionPolicyTest.java | 179 if (!Objects.equals(expectedPermission.group, declaredPermission.group)) { in platformPermissionPolicyIsUnaltered() 182 + "(expected=" + expectedPermission.group + " actual=" in platformPermissionPolicyIsUnaltered() 183 + declaredPermission.group); in platformPermissionPolicyIsUnaltered() 186 if (declaredPermission.group != null in platformPermissionPolicyIsUnaltered() 187 && !declaredGroupsSet.contains(declaredPermission.group)) { in platformPermissionPolicyIsUnaltered() 189 "Permission group " + expectedPermission.group + " must be defined"); in platformPermissionPolicyIsUnaltered() 452 final @Nullable String group; field in PermissionPolicyTest.ExpectedPermissionInfo 457 private ExpectedPermissionInfo(@NonNull String name, @Nullable String group, in ExpectedPermissionInfo() argument 460 this.group = group; in ExpectedPermissionInfo()
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | CompatChangesValidConfigTest.java | 82 changeId = Long.parseLong(matcher.group("changeId")); in fromString() 86 changeName = matcher.group("changeName"); in fromString() 87 String targetSdkAsString = matcher.group("targetSdk"); in fromString() 95 if (matcher.group("disabled") != null) { in fromString() 98 if (matcher.group("loggingOnly") != null) { in fromString() 101 if (matcher.group("overrides") != null) { in fromString()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | FeatureGroupInfoTest.java | 118 FeatureGroupInfo group = new FeatureGroupInfo(); in createFeatureGroup() local 119 group.features = featureInfos; in createFeatureGroup() 120 return group; in createFeatureGroup() 123 private static void sortFeatureInfos(FeatureGroupInfo[] group) { in sortFeatureInfos() argument 124 for (FeatureGroupInfo g : group) { in sortFeatureInfos()
|
D | PermissionInfoTest.java | 58 assertEquals(expected.group, actual.group); in checkInfoSame()
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildUtilBase.java | 152 String res = m.group(1); in parseTestMethod() 158 title = titleM.group(1).replaceAll("\\n \\*", ""); in parseTestMethod() 170 constraint = constraintM.group(1); in parseTestMethod() 220 entries.add((pName + ".d." + result.group(1)).trim()); in parseTestClassName() 226 String res = m.group(1); in parseTestClassName() 234 String res = loadMatcher.group(1); in parseTestClassName() 243 String res = loadAndRunMatcher.group(1); in parseTestClassName()
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTest.java | 70 /*threadname*/ m.group(1), in parseLine() 71 … /*pid*/ (m.group(3) == null || m.group(3).startsWith("-")) ? -1 : Integer.parseInt(m.group(3)), in parseLine() 72 /*tid*/ Integer.parseInt(m.group(2)), in parseLine() 73 /*eventName*/ m.group(6), in parseLine() 74 /*details*/ m.group(7)); in parseLine()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaRouterTest.java | 450 RouteGroup group = groupableRoute0.getGroup(); in testCallback() local 452 assertEquals(group, callback.mAddedRoute); in testCallback() 456 assertEquals(group, callback.mGroup); in testCallback() 466 group.addRoute(groupableRoute1); in testCallback() 479 group.removeRoute(groupableRoute1); in testCallback() 483 assertEquals(group, callback.mChangedRoute); in testCallback() 492 group.removeRoute(0); in testCallback() 496 assertEquals(group, callback.mRemovedRoute); in testCallback() 688 public void onRouteGrouped(MediaRouter router, RouteInfo info, RouteGroup group, in onRouteGrouped() argument 692 mGroup = group; in onRouteGrouped() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayTestBase.java | 215 log(matcher.group()); in ReportedDisplayMetrics() 217 Integer.parseInt(matcher.group(1)), Integer.parseInt(matcher.group(2))); in ReportedDisplayMetrics() 221 log(matcher.group()); in ReportedDisplayMetrics() 222 physicalDensity = Integer.parseInt(matcher.group(1)); in ReportedDisplayMetrics() 226 log(matcher.group()); in ReportedDisplayMetrics() 228 Integer.parseInt(matcher.group(1)), Integer.parseInt(matcher.group(2))); in ReportedDisplayMetrics() 235 log(matcher.group()); in ReportedDisplayMetrics() 236 overrideDensity = Integer.parseInt(matcher.group(1)); in ReportedDisplayMetrics()
|
/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/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/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | ConnectReqTestCase.java | 224 WifiP2pGroup group = mReceiverTest.getWifiP2pGroup(); in connectTest() local 225 if (group != null) { in connectTest() 226 if (!group.isGroupOwner()) { in connectTest() 227 setTargetAddress(group.getOwner().deviceAddress); in connectTest()
|
/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/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/tools/release-parser/src/com/android/cts/releaseparser/ |
D | AndroidManifestParser.java | 152 key = matcher.group(1); in parseItem() 153 value = matcher.group(2).replace("\"", ""); in parseItem() 246 name = matcher.group(1); in getElementName()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | PropertyUtil.java | 121 String name = matcher.group(1); in getClientIds() 122 String value = matcher.group(2); in getClientIds()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | PropertyUtil.java | 106 String name = matcher.group(1); in getClientIds() 107 String value = matcher.group(2); in getClientIds()
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | ProcNetTest.java | 106 String group = mDevice.executeAdbCommand("shell", "stat", "-c", "%g", path).trim(); in readIntFromPath() local 109 assertEquals(group, "0"); in readIntFromPath()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | CecMessage.java | 163 nibbles = m.group(tag1).replace(":", "") + m.group(tag2); in getNibbles()
|