Searched refs:supportedList (Results 1 – 3 of 3) sorted by relevance
46 static boolean isSupported(@Nullable int[] supportedList, int code) { in isSupported() argument47 if (supportedList == null) { in isSupported()50 for (int i = 0; i < supportedList.length; i++) { in isSupported()51 if (supportedList[i] == code) { in isSupported()58 static boolean isPartialReadSupported(@Nullable int[] supportedList, long fileSize) { in isPartialReadSupported() argument59 if (isSupported(supportedList, MtpConstants.OPERATION_GET_PARTIAL_OBJECT_64)) { in isPartialReadSupported()64 isSupported(supportedList, MtpConstants.OPERATION_GET_PARTIAL_OBJECT)) { in isPartialReadSupported()70 static boolean isWritingSupported(@Nullable int[] supportedList) { in isWritingSupported() argument71 return isSupported(supportedList, MtpConstants.OPERATION_SEND_OBJECT_INFO) && in isWritingSupported()72 isSupported(supportedList, MtpConstants.OPERATION_SEND_OBJECT); in isWritingSupported()
92 final List<Integer> supportedList = mBluetoothAdapter.getSupportedProfiles(); in isHearingAidSupported() local93 return supportedList.contains(BluetoothProfile.HEARING_AID) in isHearingAidSupported()94 || supportedList.contains(BluetoothProfile.HAP_CLIENT); in isHearingAidSupported()
325 List<Integer> supportedList = in addBluetoothDeviceCriteria() local333 if (supportedList.contains(BluetoothProfile.A2DP)) { in addBluetoothDeviceCriteria()