Home
last modified time | relevance | path

Searched refs:maxListCount (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DBluetoothPbapRequestPullPhoneBookTest.java69 final int maxListCount = 100; in constructor_wrongListStartOffset_throwsIAE() local
81 maxListCount, in constructor_wrongListStartOffset_throwsIAE()
89 final int maxListCount = 0; // Will be specially handled as 65535. in readResponse_failWithInputStreamThatThrowsIOEWhenRead() local
93 PB_NAME, ACCOUNT, filter, format, maxListCount, listStartOffset); in readResponse_failWithInputStreamThatThrowsIOEWhenRead()
120 final int maxListCount = 0; // Will be specially handled as 65535. in readResponseHeaders() local
124 PB_NAME, ACCOUNT, filter, format, maxListCount, listStartOffset); in readResponseHeaders()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DRequestGetFolderListing.java34 RequestGetFolderListing(int maxListCount, int listStartOffset) { in RequestGetFolderListing() argument
36 if (maxListCount < 0 || maxListCount > 65535) { in RequestGetFolderListing()
48 if (maxListCount >= 0) { in RequestGetFolderListing()
49 oap.add(OAP_TAGID_MAX_LIST_COUNT, (short) maxListCount); in RequestGetFolderListing()
DRequestGetMessagesListing.java44 int maxListCount, in RequestGetMessagesListing() argument
50 if (maxListCount < 0 || maxListCount > 65535) { in RequestGetMessagesListing()
108 if (maxListCount >= 0) { in RequestGetMessagesListing()
109 oap.add(OAP_TAGID_MAX_LIST_COUNT, (short) maxListCount); in RequestGetMessagesListing()
DRequestGetMessagesListingForOwnNumber.java276 private void setListOffsetAndMaxCountInHeaderSet(int maxListCount, int listStartOffset) { in setListOffsetAndMaxCountInHeaderSet() argument
277 mOap.add(OAP_TAGID_MAX_LIST_COUNT, (short) maxListCount); in setListOffsetAndMaxCountInHeaderSet()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DBluetoothPbapRequestPullPhoneBook.java48 int maxListCount, in BluetoothPbapRequestPullPhoneBook() argument
51 if (maxListCount < 0 || maxListCount > 65535) { in BluetoothPbapRequestPullPhoneBook()
81 if (maxListCount > 0) { in BluetoothPbapRequestPullPhoneBook()
82 oap.add(OAP_TAGID_MAX_LIST_COUNT, (short) maxListCount); in BluetoothPbapRequestPullPhoneBook()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DRequestGetMessagesListingForOwnNumberTest.java224 int maxListCount = (int) oap.getShort(Request.OAP_TAGID_MAX_LIST_COUNT); in testGetOwnNumberBase() local
240 i, folderName, maxListCount, startOffset, filterMessageType)); in testGetOwnNumberBase()
244 folderName, startOffset, maxListCount, filterMessageType)); in testGetOwnNumberBase()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java660 public int maxListCount; field in BluetoothPbapObexServer.AppParamValue
693 maxListCount = 0xFFFF; in AppParamValue()
711 + maxListCount in toString()
797 appParamValue.maxListCount = highValue * 256 + lowValue; in parseApplicationParameter()
898 nameList.size() >= appParamValue.maxListCount in sendVcardListingXml()
899 ? appParamValue.maxListCount in sendVcardListingXml()
956 nameList.size() >= appParamValue.maxListCount in createList()
957 ? appParamValue.maxListCount in createList()
1508 pbSize >= appParamValue.maxListCount ? appParamValue.maxListCount : pbSize; in pullPhonebook()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java1763 int bytesToWrite, maxListCount, listStartOffset; in sendFolderListingRsp() local
1772 maxListCount = appParams.getMaxListCount(); in sendFolderListingRsp()
1779 if (maxListCount == BluetoothMapAppParams.INVALID_VALUE_PARAMETER) { in sendFolderListingRsp()
1780 maxListCount = 1024; in sendFolderListingRsp()
1783 if (maxListCount != 0) { in sendFolderListingRsp()
1784 outBytes = mCurrentFolder.encode(listStartOffset, maxListCount); in sendFolderListingRsp()
1795 if (maxListCount != 0) { in sendFolderListingRsp()
DBluetoothMapAppParams.java1194 public void setMaxListCount(int maxListCount) throws IllegalArgumentException { in setMaxListCount() argument
1195 if (maxListCount < 0 || maxListCount > 0xFFFF) { in setMaxListCount()
1198 this.mMaxListCount = maxListCount; in setMaxListCount()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServerTest.java856 assertThat(appParamValue.maxListCount).isEqualTo(256 * 1 + 2); in parseApplicationParameter_withMaxListCountTagid()