/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapRequestPullPhoneBookTest.java | 69 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/ |
D | RequestGetFolderListing.java | 34 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()
|
D | RequestGetMessagesListing.java | 44 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()
|
D | RequestGetMessagesListingForOwnNumber.java | 276 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/ |
D | BluetoothPbapRequestPullPhoneBook.java | 48 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/ |
D | RequestGetMessagesListingForOwnNumberTest.java | 224 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/ |
D | BluetoothPbapObexServer.java | 660 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/ |
D | BluetoothMapObexServer.java | 1763 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()
|
D | BluetoothMapAppParams.java | 1194 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/ |
D | BluetoothPbapObexServerTest.java | 856 assertThat(appParamValue.maxListCount).isEqualTo(256 * 1 + 2); in parseApplicationParameter_withMaxListCountTagid()
|