Home
last modified time | relevance | path

Searched refs:sentInfo (Results 1 – 3 of 3) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityServiceInfoTest.java71 AccessibilityServiceInfo sentInfo = new AccessibilityServiceInfo(); in testMarshalling() local
72 fullyPopulateSentAccessibilityServiceInfo(sentInfo); in testMarshalling()
76 sentInfo.writeToParcel(parcel, 0); in testMarshalling()
82 assertAllFieldsProperlyMarshalled(sentInfo, receivedInfo); in testMarshalling()
239 private void fullyPopulateSentAccessibilityServiceInfo(AccessibilityServiceInfo sentInfo) { in fullyPopulateSentAccessibilityServiceInfo() argument
240 sentInfo.eventTypes = AccessibilityEvent.TYPE_VIEW_CLICKED; in fullyPopulateSentAccessibilityServiceInfo()
241 sentInfo.feedbackType = AccessibilityServiceInfo.FEEDBACK_SPOKEN; in fullyPopulateSentAccessibilityServiceInfo()
242 sentInfo.flags = AccessibilityServiceInfo.DEFAULT; in fullyPopulateSentAccessibilityServiceInfo()
243 sentInfo.notificationTimeout = 1000; in fullyPopulateSentAccessibilityServiceInfo()
244 sentInfo.packageNames = new String[] { in fullyPopulateSentAccessibilityServiceInfo()
[all …]
DAccessibilityEndToEndTest.java789 final AccessibilityNodeInfo sentInfo = new AccessibilityNodeInfo(new View(getContext())); in testAccessibilityActionRetained() local
790 sentInfo.addAction(ACTION_SCROLL_IN_DIRECTION); in testAccessibilityActionRetained()
792 sentInfo.writeToParcelNoRecycle(parcel, 0); in testAccessibilityActionRetained()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfoTest.java83 AccessibilityNodeInfo sentInfo = AccessibilityNodeInfo.obtain(new View(getContext())); in testMarshaling() local
84 fullyPopulateAccessibilityNodeInfo(sentInfo); in testMarshaling()
88 sentInfo.writeToParcelNoRecycle(parcel, 0); in testMarshaling()
93 assertEqualsAccessibilityNodeInfo(sentInfo, receivedInfo); in testMarshaling()
248 final AccessibilityNodeInfo sentInfo = AccessibilityNodeInfo.obtain(); in testParcelTextImageSpans_haveSameContentDescriptions() local
254 sentInfo.setText(stringWithSpans); in testParcelTextImageSpans_haveSameContentDescriptions()
255 sentInfo.writeToParcelNoRecycle(parcel, 0); in testParcelTextImageSpans_haveSameContentDescriptions()
276 final AccessibilityNodeInfo sentInfo = AccessibilityNodeInfo.obtain(); in testNoCopySpan_avoidsOutOfBounds() local
281 sentInfo.setText(stringWithSpans); in testNoCopySpan_avoidsOutOfBounds()