Home
last modified time | relevance | path

Searched refs:parcelables (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java65 final Parcelable[] parcelables = intent.getParcelableArrayExtra(EXTRA_BUTTONS); in onCreate() local
66 mButtonInfos = new ButtonInfo[parcelables.length]; in onCreate()
67 for (int i = 0; i < parcelables.length; i++) { in onCreate()
68 final ButtonInfo buttonInfo = (ButtonInfo) parcelables[i]; in onCreate()
190 final Parcelable[] parcelables = source.readParcelableArray(null); in ButtonInfo() local
191 if (parcelables != null) { in ButtonInfo()
192 mIntents = new Intent[parcelables.length]; in ButtonInfo()
193 … for (int i = 0, parcelablesLength = parcelables.length; i < parcelablesLength; i++) { in ButtonInfo()
194 mIntents[i] = (Intent) parcelables[i]; in ButtonInfo()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextActionTest.java301 Parcelable[] parcelables = text.getExtras() in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull() local
304 parcelables, parcelables.length, RectF[].class); in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull()
332 parcelables = text.getExtras() in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull()
335 parcelables, parcelables.length, RectF[].class); in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull()
456 final Parcelable[] parcelables = text.getExtras() in testTextLocation_testLocationBoundary_locationShouldBeLimitationLength() local
458 final RectF[] locations = Arrays.copyOf(parcelables, parcelables.length, RectF[].class); in testTextLocation_testLocationBoundary_locationShouldBeLimitationLength()
570 final Parcelable[] parcelables = info.getExtras() in assertNodeContainsTextLocationInfoOnOneLineLTR() local
572 final RectF[] locations = Arrays.copyOf(parcelables, parcelables.length, RectF[].class); in assertNodeContainsTextLocationInfoOnOneLineLTR()
/cts/tests/tests/appenumeration/app/source/src/android/appenumeration/cts/query/
DTestActivity.java543 final ArrayList<Parcelable> parcelables = new ArrayList<>(); in sendSyncAdapterTypes() local
545 parcelables.add(type); in sendSyncAdapterTypes()
548 result.putParcelableArrayList(EXTRA_RETURN_RESULT, parcelables); in sendSyncAdapterTypes()
568 final ArrayList<Parcelable> parcelables = new ArrayList<>(); in sendInstalledAppWidgetProviders() local
570 parcelables.add(info); in sendInstalledAppWidgetProviders()
573 result.putParcelableArrayList(EXTRA_RETURN_RESULT, parcelables); in sendInstalledAppWidgetProviders()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvTrackInfoSubject.java133 check("recreatesEqual()").about(ParcelableSubject.parcelables()); in recreatesEqual()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTests.java1341 final List<Parcelable> parcelables = response.getParcelableArrayList( in getSyncAdapterTypes() local
1343 return parcelables.stream() in getSyncAdapterTypes()
1352 final List<Parcelable> parcelables = response.getParcelableArrayList( in getInstalledAppWidgetProviders() local
1354 return parcelables.stream() in getInstalledAppWidgetProviders()