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()
130 if (CollectionUtils.isEmpty(supportedList)) { in updateLocalProfiles()134 if (mA2dpProfile == null && supportedList.contains(BluetoothProfile.A2DP)) { in updateLocalProfiles()140 if (mA2dpSinkProfile == null && supportedList.contains(BluetoothProfile.A2DP_SINK)) { in updateLocalProfiles()146 if (mHeadsetProfile == null && supportedList.contains(BluetoothProfile.HEADSET)) { in updateLocalProfiles()162 if (mMapClientProfile == null && supportedList.contains(BluetoothProfile.MAP_CLIENT)) { in updateLocalProfiles()168 if (mMapProfile == null && supportedList.contains(BluetoothProfile.MAP)) { in updateLocalProfiles()173 if (mOppProfile == null && supportedList.contains(BluetoothProfile.OPP)) { in updateLocalProfiles()186 if (mHidProfile == null && supportedList.contains(BluetoothProfile.HID_HOST)) { in updateLocalProfiles()198 if (mPanProfile == null && supportedList.contains(BluetoothProfile.PAN)) { in updateLocalProfiles()204 if (mPbapProfile == null && supportedList.contains(BluetoothProfile.PBAP)) { in updateLocalProfiles()[all …]
175 final List<Integer> supportedList = mBluetoothAdapter.getSupportedProfiles(); in isHearingAidProfileSupported() local176 if (supportedList.contains(BluetoothProfile.HEARING_AID)) { in isHearingAidProfileSupported()