Home
last modified time | relevance | path

Searched refs:toArray (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/packages/apps/TV/src/com/android/tv/dvr/
DDvrDataManagerImpl.java313 updateScheduledRecording(ScheduledRecording.toArray(toUpdate)); in start()
316 removeScheduledRecording(ScheduledRecording.toArray(toDelete)); in start()
395 notifyRecordedProgramsRemoved(RecordedProgram.toArray(oldRecordedPrograms)); in onRecordedProgramsLoadedFinished()
416 notifyRecordedProgramsAdded(RecordedProgram.toArray(addedRecordedPrograms)); in onRecordedProgramsLoadedFinished()
419 notifyRecordedProgramsChanged(RecordedProgram.toArray(changedRecordedPrograms)); in onRecordedProgramsLoadedFinished()
423 RecordedProgram.toArray(oldRecordedPrograms.values())); in onRecordedProgramsLoadedFinished()
729 ScheduledRecording.toArray(schedulesToDelete)); in removeScheduledRecording()
737 ScheduledRecording.toArray(schedulesNotToDelete)); in removeScheduledRecording()
768 updateScheduledRecording(false, ScheduledRecording.toArray(toUpdate)); in removeSeriesRecording()
771 removeScheduledRecording(true, ScheduledRecording.toArray(toDelete)); in removeSeriesRecording()
[all …]
DDvrManager.java311 mDataManager.addScheduledRecording(ScheduledRecording.toArray(toAdd)); in addRecordedProgramToSeriesRecording()
354 mDataManager.addScheduledRecording(ScheduledRecording.toArray(toAdd)); in addScheduleToSeriesRecording()
357 mDataManager.updateScheduledRecording(ScheduledRecording.toArray(toUpdate)); in addScheduleToSeriesRecording()
392 true, ScheduledRecording.toArray(schedulesToRemove)); in updateSeriesRecording()
410 ScheduledRecording.toArray(schedulesToUpdate)); in updateSeriesRecording()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java296 mCarUserService.getBackgroundUsersToRestart().toArray()); in testBackgroundUserList()
302 mCarUserService.getBackgroundUsersToRestart().toArray()); in testBackgroundUserList()
308 mCarUserService.getBackgroundUsersToRestart().toArray()); in testBackgroundUserList()
314 mCarUserService.getBackgroundUsersToRestart().toArray()); in testBackgroundUserList()
320 mCarUserService.getBackgroundUsersToRestart().toArray()); in testBackgroundUserList()
346 mCarUserService.getBackgroundUsersToRestart().toArray()); in testBackgroundUsersStartStopKeepBackgroundUserList()
352 mCarUserService.startAllBackgroundUsers().toArray()); in testBackgroundUsersStartStopKeepBackgroundUserList()
355 mCarUserService.getBackgroundUsersToRestart().toArray()); in testBackgroundUsersStartStopKeepBackgroundUserList()
363 mCarUserService.getBackgroundUsersToRestart().toArray()); in testBackgroundUsersStartStopKeepBackgroundUserList()
366 mCarUserService.getBackgroundUsersToRestart().toArray()); in testBackgroundUsersStartStopKeepBackgroundUserList()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceAndStateMachineTest.java185 doAnswer(invocation -> mBondedDevices.toArray(new BluetoothDevice[]{})).when( in setUp()
434 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()
437 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()
440 Assert.assertThat(connectedDevices, Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop()
470 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_preemptedByTelecomCall()
473 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_preemptedByTelecomCall()
476 Assert.assertThat(connectedDevices, Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_preemptedByTelecomCall()
510 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_rejectedWhenThereIsTelecomCall()
513 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_rejectedWhenThereIsTelecomCall()
516 Assert.assertThat(connectedDevices, Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_rejectedWhenThereIsTelecomCall()
[all …]
DHeadsetServiceTest.java116 return keys.toArray(new BluetoothDevice[keys.size()]); in setUp()
376 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectDevice_connectDeviceAboveLimit()
385 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectDevice_connectDeviceAboveLimit()
398 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectDevice_connectDeviceAboveLimit()
482 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectAudio_withMultipleDevices()
495 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectAudio_withMultipleDevices()
558 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectAudio_connectTwoAudioChannelsShouldFail()
571 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectAudio_connectTwoAudioChannelsShouldFail()
613 return connectedDevices.toArray(devicesArray); in testConnectAudio_firstConnectedAudioDevice()
636 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectAudio_firstConnectedAudioDevice()
[all …]
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DInCallViewModelTest.java130 assertArrayEquals(callListInOrder.toArray(), viewModelCallList.toArray()); in testGetCallList()
183 assertArrayEquals(callListInOrder.toArray(), viewModelCallList.toArray()); in testOnTelecomCallAdded_updateCallList()
196 assertArrayEquals(callListInOrder.toArray(), viewModelCallList.toArray()); in testOnTelecomCallRemoved_updateCallList()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java130 .toArray(new SubscribeOptions[0]); in vehicleHalReconnected()
351 return (T) propValue.value.int32Values.toArray(intArray); in get()
354 return (T) propValue.value.floatValues.toArray(floatArray); in get()
574 .append(",config:0x").append(Arrays.toString(config.configArray.toArray())) in dumpPropertyConfigsHelp()
715 .append(",floatValues: ").append(Arrays.toString(value.value.floatValues.toArray())) in dumpVehiclePropValue()
716 .append(",int32Values: ").append(Arrays.toString(value.value.int32Values.toArray())) in dumpVehiclePropValue()
718 .append(Arrays.toString(value.value.int64Values.toArray())); in dumpVehiclePropValue()
721 Object[] bytes = Arrays.copyOf(value.value.bytes.toArray(), MAX_BYTE_SIZE); in dumpVehiclePropValue()
724 sb.append(",bytes: ").append(Arrays.toString(value.value.bytes.toArray())); in dumpVehiclePropValue()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DTunerChannel.java136 mProto.audioPids = Ints.toArray(audioPids); in initProto()
137 mProto.audioStreamTypes = Ints.toArray(audioStreamTypes); in initProto()
310 mProto.audioPids = Ints.toArray(audioPids); in setAudioPids()
318 mProto.audioStreamTypes = Ints.toArray(audioStreamTypes); in setAudioStreamTypes()
424 mProto.audioTracks = audioTracks.toArray(new AtscAudioTrack[audioTracks.size()]); in setAudioTracks()
433 mProto.captionTracks = captionTracks.toArray(new AtscCaptionTrack[captionTracks.size()]); in setCaptionTracks()
/packages/apps/LegacyCamera/src/com/android/camera/
DIconListPreference.java101 if (mIconIds != null) mIconIds = iconIds.toArray(new int[iconIds.size()]); in filterUnsupported()
103 mLargeIconIds = largeIconIds.toArray(new int[largeIconIds.size()]); in filterUnsupported()
105 if (mImageIds != null) mImageIds = imageIds.toArray(new int[imageIds.size()]); in filterUnsupported()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java169 return filteredMoreKeys.toArray(new MoreKeySpec[size]); in removeRedundantMoreKeys()
229 return list.toArray(new String[list.size()]); in splitKeySpecs()
254 return out.toArray(new String[out.size()]); in filterOutEmptyString()
307 return out.toArray(new String[out.size()]); in insertAdditionalMoreKeys()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DLockScreenNotificationPreferenceController.java141 mLockscreen.setEntries(entries.toArray(new CharSequence[entries.size()])); in initLockScreenNotificationPrefDisplay()
142 mLockscreen.setEntryValues(values.toArray(new CharSequence[values.size()])); in initLockScreenNotificationPrefDisplay()
181 mLockscreenProfile.setEntries(entries.toArray(new CharSequence[entries.size()])); in initLockscreenNotificationPrefForProfile()
182 mLockscreenProfile.setEntryValues(values.toArray(new CharSequence[values.size()])); in initLockscreenNotificationPrefForProfile()
/packages/apps/Settings/src/com/android/settings/notification/
DLockScreenNotificationPreferenceController.java141 mLockscreen.setEntries(entries.toArray(new CharSequence[entries.size()])); in initLockScreenNotificationPrefDisplay()
142 mLockscreen.setEntryValues(values.toArray(new CharSequence[values.size()])); in initLockScreenNotificationPrefDisplay()
181 mLockscreenProfile.setEntries(entries.toArray(new CharSequence[entries.size()])); in initLockscreenNotificationPrefForProfile()
182 mLockscreenProfile.setEntryValues(values.toArray(new CharSequence[values.size()])); in initLockscreenNotificationPrefForProfile()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharEscapers.java409 .toArray());
723 .toArray());
754 .toArray());
843 .toArray());
DCharEscaperBuilder.java105 public char[][] toArray() { in toArray() method in CharEscaperBuilder
120 return new CharArrayDecorator(toArray()); in toEscaper()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java479 .toArray(TelecomLogClass.EventTimingEntry[]::new); in toProto()
482 videoEvents.toArray(new TelecomLogClass.VideoEvent[videoEvents.size()]); in toProto()
483 result.inCallServices = inCallServiceInfos.toArray( in toProto()
638 .toArray(TelecomLogClass.CallLog[]::new); in dumpToEncodedProto()
643 .toArray(TelecomLogClass.LogSessionTiming[]::new); in dumpToEncodedProto()
745 return events.toArray(new TelecomLogClass.Event[events.size()]); in convertLogEventsToProtoEvents()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DXmpInterfaceTest.java108 assertArrayEquals(expectedRanges, xmp.getRedactionRanges().toArray()); in testContainer_ExifRedactionRanges()
126 assertArrayEquals(expectedRanges, xmp.getRedactionRanges().toArray()); in testContainer_IsoRedactionRanges()
144 assertArrayEquals(expectedRanges, xmp.getRedactionRanges().toArray()); in testContainer_IsoRedactionRanges_BadTagValue()
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/
DBluetoothPreference.java59 setEntries(pairedDevices.stream().map(DeviceEntry::getName).toArray(String[]::new)); in BluetoothPreference()
60 setEntryValues(pairedDevices.stream().map(DeviceEntry::getAddress).toArray(String[]::new)); in BluetoothPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAccountManager.java40 … return sAuthenticators.values().toArray(new AuthenticatorDescription[sAuthenticators.size()]); in getAuthenticatorTypesAsUser()
55 return sAccountsByUserId.get(userId).toArray(new Account[0]); in getAccountsAsUser()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowAccountManager.java42 return mAccountsAsUserMap.get(userId).toArray(new Account[]{}); in getAccountsAsUser()
60 return mAuthenticatorAsUserMap.get(userId).toArray(new AuthenticatorDescription[]{}); in getAuthenticatorTypesAsUser()
/packages/apps/Dialer/java/com/android/dialer/database/
DCallLogQueryHandler.java121 selectionArgs.toArray(new String[selectionArgs.size()]), in fetchVoicemailStatus()
147 selectionArgs.toArray(new String[selectionArgs.size()]), in fetchVoicemailUnreadCount()
214 selectionArgs.toArray(new String[selectionArgs.size()]), in fetchCalls()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DImapUtility.java84 return list.toArray(stringList); in getImapSequenceValues()
120 return list.toArray(stringList); in getImapRangeValues()
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/
DImapUtility.java89 return list.toArray(stringList); in getImapSequenceValues()
124 return list.toArray(stringList); in getImapRangeValues()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DSdCardAvailableReceiver.java75 packagesRemoved.toArray(new String[packagesRemoved.size()])); in onReceive()
79 packagesUnavailable.toArray(new String[packagesUnavailable.size()]), in onReceive()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DAccountUtils.java91 return accounts.toArray(new Account[accounts.size()]); in getSyncingAccounts()
116 return accounts.toArray(new Account[accounts.size()]); in getAccounts()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactMultiDeletionInteraction.java167 final Object[] parameterObject = contactIds.toArray(); in onCreateLoader()
253 final Long[] contactIdObjectArray = contactIds.toArray(new Long[contactIds.size()]); in onLoadFinished()
259 final String[] namesArray = names.toArray(new String[names.size()]); in onLoadFinished()

12345678910>>...15