Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpNativeInterface.java306 byte[] valuesArray; in listPlayerSettingValuesRequest()
309 valuesArray = new byte[4]; in listPlayerSettingValuesRequest()
310 valuesArray[0] = PlayerSettingsValues.STATE_REPEAT_OFF; in listPlayerSettingValuesRequest()
311 valuesArray[1] = PlayerSettingsValues.STATE_REPEAT_SINGLE_TRACK; in listPlayerSettingValuesRequest()
312 valuesArray[2] = PlayerSettingsValues.STATE_REPEAT_ALL_TRACK; in listPlayerSettingValuesRequest()
313 valuesArray[3] = PlayerSettingsValues.STATE_REPEAT_GROUP; in listPlayerSettingValuesRequest()
316 valuesArray = new byte[3]; in listPlayerSettingValuesRequest()
317 valuesArray[0] = PlayerSettingsValues.STATE_SHUFFLE_OFF; in listPlayerSettingValuesRequest()
318 valuesArray[1] = PlayerSettingsValues.STATE_SHUFFLE_ALL_TRACK; in listPlayerSettingValuesRequest()
319 valuesArray[2] = PlayerSettingsValues.STATE_SHUFFLE_GROUP; in listPlayerSettingValuesRequest()
[all …]
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPlaylistPerformanceTest.java93 final ContentValues[] valuesArray = createValuesForMembers(memberIds); in testBulkInsertPlaylistMembers() local
96 final int actual = mContentResolver.bulkInsert(membersUri, valuesArray); in testBulkInsertPlaylistMembers()
114 final ContentValues[] valuesArray = createValuesForMembers(memberIds); in testDeletePlaylistMembers() local
115 assertEquals(expected, mContentResolver.bulkInsert(membersUri, valuesArray)); in testDeletePlaylistMembers()
156 final ContentValues[] valuesArray = new ContentValues[memberIds.length]; in createValuesForMembers() local
160 valuesArray[i] = values; in createValuesForMembers()
162 return valuesArray; in createValuesForMembers()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DDatabaseUtils.java562 final ContentValues[] valuesArray = new ContentValues[valuesList.size()]; in sendAppUsageEventData() local
563 valuesList.toArray(valuesArray); in sendAppUsageEventData()
565 size = resolver.bulkInsert(APP_USAGE_EVENT_URI, valuesArray); in sendAppUsageEventData()
616 final ContentValues[] valuesArray = new ContentValues[valuesList.size()]; in sendBatteryEventData() local
617 valuesList.toArray(valuesArray); in sendBatteryEventData()
619 size = resolver.bulkInsert(BATTERY_EVENT_URI, valuesArray); in sendBatteryEventData()
650 final ContentValues[] valuesArray = new ContentValues[valuesList.size()]; in sendBatteryUsageSlotData() local
651 valuesList.toArray(valuesArray); in sendBatteryUsageSlotData()
653 size = resolver.bulkInsert(BATTERY_USAGE_SLOT_URI, valuesArray); in sendBatteryUsageSlotData()
735 final ContentValues[] valuesArray = new ContentValues[valuesList.size()]; in sendBatteryEntryData() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DDatabaseUtilsTest.java123 final ContentValues[] valuesArray = in sendAppUsageEventData_returnsExpectedList() local
125 verify(mMockContentResolver).bulkInsert(DatabaseUtils.APP_USAGE_EVENT_URI, valuesArray); in sendAppUsageEventData_returnsExpectedList()
197 final ContentValues[] valuesArray = in sendBatteryEntryData_returnsExpectedList() local
199 verify(mMockContentResolver).bulkInsert(DatabaseUtils.BATTERY_CONTENT_URI, valuesArray); in sendBatteryEntryData_returnsExpectedList()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java441 … private UriData checkPermissionsAndCreateUriDataForWrite(Uri uri, ContentValues... valuesArray) { in checkPermissionsAndCreateUriDataForWrite() argument
443 for (ContentValues values : valuesArray) { in checkPermissionsAndCreateUriDataForWrite()