/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrDataManagerImpl.java | 340 updateScheduledRecording(ScheduledRecording.toArray(toUpdate)); in start() 343 removeScheduledRecording(ScheduledRecording.toArray(toDelete)); in start() 424 notifyRecordedProgramsRemoved(RecordedProgram.toArray(oldRecordedPrograms)); in onRecordedProgramsLoadedFinished() 445 notifyRecordedProgramsAdded(RecordedProgram.toArray(addedRecordedPrograms)); in onRecordedProgramsLoadedFinished() 448 notifyRecordedProgramsChanged(RecordedProgram.toArray(changedRecordedPrograms)); in onRecordedProgramsLoadedFinished() 452 RecordedProgram.toArray(oldRecordedPrograms.values())); in onRecordedProgramsLoadedFinished() 758 ScheduledRecording.toArray(schedulesToDelete)); in removeScheduledRecording() 766 ScheduledRecording.toArray(schedulesNotToDelete)); in removeScheduledRecording() 797 updateScheduledRecording(false, ScheduledRecording.toArray(toUpdate)); in removeSeriesRecording() 800 removeScheduledRecording(true, ScheduledRecording.toArray(toDelete)); in removeSeriesRecording() [all …]
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | EnabledNetworkModePreferenceController.java | 231 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries() 245 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries() 256 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries() 267 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries() 280 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries() 290 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries() 302 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries() 314 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries() 325 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries() 339 entryValuesInt = Stream.of(entryValues).mapToInt(Integer::parseInt).toArray(); in setPreferenceEntries() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceAndStateMachineTest.java | 184 doAnswer(invocation -> mBondedDevices.toArray(new BluetoothDevice[]{})).when( in setUp() 433 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop() 436 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop() 439 Assert.assertThat(connectedDevices, Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_normalStartStop() 469 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_preemptedByTelecomCall() 472 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_preemptedByTelecomCall() 475 Assert.assertThat(connectedDevices, Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_preemptedByTelecomCall() 509 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_rejectedWhenThereIsTelecomCall() 512 Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_rejectedWhenThereIsTelecomCall() 515 Assert.assertThat(connectedDevices, Matchers.containsInAnyOrder(mBondedDevices.toArray())); in testVirtualCall_rejectedWhenThereIsTelecomCall() [all …]
|
D | HeadsetServiceTest.java | 115 return keys.toArray(new BluetoothDevice[keys.size()]); in setUp() 367 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectDevice_connectDeviceAboveLimit() 376 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectDevice_connectDeviceAboveLimit() 389 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectDevice_connectDeviceAboveLimit() 473 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectAudio_withMultipleDevices() 486 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectAudio_withMultipleDevices() 549 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectAudio_connectTwoAudioChannelsShouldFail() 562 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectAudio_connectTwoAudioChannelsShouldFail() 604 return connectedDevices.toArray(devicesArray); in testConnectAudio_firstConnectedAudioDevice() 627 Matchers.containsInAnyOrder(connectedDevices.toArray())); in testConnectAudio_firstConnectedAudioDevice() [all …]
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeSaProposal.java | 102 return transformList.toArray(new Transform[transformList.size()]); in getAllTransforms() 196 return mProposedIntegrityAlgos.toArray( in buildIntegAlgosOrThrow() 213 return mProposedDhGroups.toArray(new DhGroupTransform[mProposedDhGroups.size()]); in buildDhGroupsOrThrow() 221 return mProposedPrfs.toArray(new PrfTransform[mProposedPrfs.size()]); in buildPrfsOrThrow()
|
D | TransportModeChildSessionParams.java | 151 mInboundTsList.toArray(new IkeTrafficSelector[0]), in build() 152 mOutboundTsList.toArray(new IkeTrafficSelector[0]), in build() 153 mSaProposalList.toArray(new ChildSaProposal[0]), in build()
|
D | TunnelModeChildSessionParams.java | 391 mInboundTsList.toArray(new IkeTrafficSelector[0]), in build() 392 mOutboundTsList.toArray(new IkeTrafficSelector[0]), in build() 393 mSaProposalList.toArray(new ChildSaProposal[0]), in build() 394 mConfigRequestList.toArray(new TunnelModeChildConfigAttribute[0]), in build()
|
D | ChildSaProposal.java | 100 return transformList.toArray(new Transform[transformList.size()]); in getAllTransforms() 187 return mProposedIntegrityAlgos.toArray( in buildIntegAlgosOrThrow() 204 mProposedDhGroups.toArray(new DhGroupTransform[mProposedDhGroups.size()]), in build()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 148 .toArray(new SubscribeOptions[0]); in vehicleHalReconnected() 444 return (T) propValue.value.int32Values.toArray(intArray); in get() 447 return (T) propValue.value.floatValues.toArray(floatArray); in get() 696 .append(", config:0x").append(Arrays.toString(config.configArray.toArray())) in dumpPropertyConfigsHelp() 839 .append(",floatValues: ").append(Arrays.toString(value.value.floatValues.toArray())) in dumpVehiclePropValue() 840 .append(",int32Values: ").append(Arrays.toString(value.value.int32Values.toArray())) in dumpVehiclePropValue() 842 .append(Arrays.toString(value.value.int64Values.toArray())); in dumpVehiclePropValue() 845 Object[] bytes = Arrays.copyOf(value.value.bytes.toArray(), MAX_BYTE_SIZE); in dumpVehiclePropValue() 848 sb.append(",bytes: ").append(Arrays.toString(value.value.bytes.toArray())); in dumpVehiclePropValue()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/ |
D | InCallViewModelTest.java | 138 assertArrayEquals(callListInOrder.toArray(), viewModelCallList.toArray()); in testGetCallList() 153 assertArrayEquals(callListInOrder.toArray(), viewModelCallList.toArray()); in testStateChange_triggerCallListUpdate()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | IconListPreference.java | 101 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/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 201 idsToOrphan.toArray(), extractIdsFromSelection(selection))), in testHandleRemovedUidEntries() 205 idsToRemove.toArray(), extractIdsFromSelection(selection))), in testHandleRemovedUidEntries() 228 idsToOrphan.toArray(), extractIdsFromSelection(selection))), in testHandleRemovedUidEntries() 232 idsToRemove.toArray(), extractIdsFromSelection(selection))), in testHandleRemovedUidEntries() 320 .mapToLong(Long::valueOf).sorted().toArray(); in extractIdsFromSelection()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpec.java | 169 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/ |
D | LockScreenNotificationPreferenceController.java | 141 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/ |
D | LockScreenNotificationPreferenceController.java | 141 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/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSaPayload.java | 649 encryptAlgoList.toArray( in readFrom() 651 prfList.toArray(new PrfTransform[prfList.size()]), in readFrom() 652 integAlgoList.toArray(new IntegrityTransform[integAlgoList.size()]), in readFrom() 653 dhGroupList.toArray(new DhGroupTransform[dhGroupList.size()])); in readFrom() 658 encryptAlgoList.toArray( in readFrom() 660 integAlgoList.toArray(new IntegrityTransform[integAlgoList.size()]), in readFrom() 661 dhGroupList.toArray(new DhGroupTransform[dhGroupList.size()]), in readFrom() 662 esnList.toArray(new EsnTransform[esnList.size()])); in readFrom()
|
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/ |
D | BluetoothPreference.java | 59 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/ |
D | ShadowAccountManager.java | 40 … 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/ |
D | ShadowAccountManager.java | 42 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/voicemail/impl/mail/store/imap/ |
D | ImapUtility.java | 84 return list.toArray(stringList); in getImapSequenceValues() 120 return list.toArray(stringList); in getImapRangeValues()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | SdCardAvailableReceiver.java | 75 packagesRemoved.toArray(new String[packagesRemoved.size()])); in onReceive() 79 packagesUnavailable.toArray(new String[packagesUnavailable.size()]), in onReceive()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | XmpInterfaceTest.java | 107 assertArrayEquals(expectedRanges, xmp.getRedactionRanges().toArray()); in testContainer_ExifRedactionRanges() 132 assertArrayEquals(expectedRanges, xmp.getRedactionRanges().toArray()); in testContainer_IsoRedactionRanges() 156 assertArrayEquals(expectedRanges, xmp.getRedactionRanges().toArray()); in testContainer_IsoRedactionRanges_BadTagValue()
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | CallLogQueryHandler.java | 121 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/services/Telecomm/src/com/android/server/telecom/ |
D | Analytics.java | 486 .toArray(TelecomLogClass.EventTimingEntry[]::new); in toProto() 489 videoEvents.toArray(new TelecomLogClass.VideoEvent[videoEvents.size()]); in toProto() 490 result.inCallServices = inCallServiceInfos.toArray( in toProto() 649 .toArray(TelecomLogClass.CallLog[]::new); in dumpToEncodedProto() 654 .toArray(TelecomLogClass.LogSessionTiming[]::new); in dumpToEncodedProto() 780 return events.toArray(new TelecomLogClass.Event[events.size()]); in convertLogEventsToProtoEvents()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ContactMultiDeletionInteraction.java | 167 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()
|