Searched refs:parcelables (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | IntentDrivenTestActivity.java | 70 final Parcelable[] parcelables = intent.getParcelableArrayExtra(EXTRA_BUTTONS); in onCreate() local 71 mButtonInfos = new ButtonInfo[parcelables.length]; in onCreate() 72 for (int i = 0; i < parcelables.length; i++) { in onCreate() 73 final ButtonInfo buttonInfo = (ButtonInfo) parcelables[i]; in onCreate() 195 final Parcelable[] parcelables = source.readParcelableArray(null); in ButtonInfo() local 196 if (parcelables != null) { in ButtonInfo() 197 mIntents = new Intent[parcelables.length]; in ButtonInfo() 198 … for (int i = 0, parcelablesLength = parcelables.length; i < parcelablesLength; i++) { in ButtonInfo() 199 mIntents[i] = (Intent) parcelables[i]; in ButtonInfo()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityTextActionTest.java | 309 Parcelable[] parcelables = extras.getParcelableArray( in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull() local 311 assertNotNull(parcelables); in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull() 313 parcelables, parcelables.length, RectF[].class); in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull() 340 parcelables = extras in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull() 342 assertNotNull(parcelables); in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull() 344 parcelables, parcelables.length, RectF[].class); in testTextLocations_textOutsideOfViewBounds_locationsShouldBeNull() 465 final Parcelable[] parcelables = extras.getParcelableArray( in testTextLocation_testLocationBoundary_locationShouldBeLimitationLength() local 467 assertNotNull(parcelables); in testTextLocation_testLocationBoundary_locationShouldBeLimitationLength() 468 final RectF[] locations = Arrays.copyOf(parcelables, parcelables.length, RectF[].class); in testTextLocation_testLocationBoundary_locationShouldBeLimitationLength() 578 final Parcelable[] parcelables = extras in assertNodeContainsTextLocationInfoOnOneLineLTR() local [all …]
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | TestActivity.java | 777 final ArrayList<Parcelable> parcelables = new ArrayList<>(); in sendSyncAdapterTypes() local 779 parcelables.add(type); in sendSyncAdapterTypes() 782 result.putParcelableArrayList(EXTRA_RETURN_RESULT, parcelables); in sendSyncAdapterTypes() 816 final ArrayList<Parcelable> parcelables = new ArrayList<>(); in sendInstalledAppWidgetProviders() local 818 parcelables.add(info); in sendInstalledAppWidgetProviders() 821 result.putParcelableArrayList(EXTRA_RETURN_RESULT, parcelables); in sendInstalledAppWidgetProviders() 929 final ArrayList<Parcelable> parcelables = new ArrayList<>(); in getPeriodicSyncs() local 931 parcelables.add(sync); in getPeriodicSyncs() 934 result.putParcelableArrayList(EXTRA_RETURN_RESULT, parcelables); in getPeriodicSyncs() 1066 final ArrayList<Parcelable> parcelables = new ArrayList<>(infos); in sendSessionInfosListResult() local [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvTrackInfoSubject.java | 133 check("recreatesEqual()").about(ParcelableSubject.parcelables()); in recreatesEqual()
|