Loading OWNERS_chromeos +1 −1 Original line number Diff line number Diff line # Project owners abhishekpandit@google.com sonnysasaka@google.com # Audio enshuo@google.com Loading @@ -12,3 +11,4 @@ whalechang@google.com michaelfsun@google.com laikatherine@google.com yinghsu@google.com apusaka@google.com android/app/Android.bp +8 −0 Original line number Diff line number Diff line Loading @@ -324,6 +324,7 @@ android_app { enabled: true, javacflags: [ "-Xep:AlmostJavadoc:ERROR", "-Xep:AlreadyChecked:ERROR", "-Xep:AndroidFrameworkBinderIdentity:ERROR", "-Xep:AndroidFrameworkEfficientStrings:ERROR", "-Xep:AndroidFrameworkRequiresPermission:ERROR", Loading @@ -331,20 +332,27 @@ android_app { "-Xep:ClassCanBeStatic:ERROR", "-Xep:DateFormatConstant:ERROR", "-Xep:EmptyBlockTag:ERROR", "-Xep:FallThrough:ERROR", "-Xep:HidingField:ERROR", "-Xep:InlineMeInliner:ERROR", "-Xep:InvalidBlockTag:ERROR", "-Xep:InvalidParam:ERROR", "-Xep:LoopOverCharArray:ERROR", "-Xep:MissingCasesInEnumSwitch:ERROR", "-Xep:MockNotUsedInProduction:ERROR", "-Xep:ModifyCollectionInEnhancedForLoop:ERROR", "-Xep:NarrowCalculation:ERROR", "-Xep:NonApiType:ERROR", "-Xep:NonAtomicVolatileUpdate:ERROR", "-Xep:NonCanonicalType:ERROR", "-Xep:NotJavadoc:ERROR", "-Xep:OperatorPrecedence:ERROR", "-Xep:ReturnAtTheEndOfVoidFunction:ERROR", "-Xep:StringCaseLocaleUsage:ERROR", "-Xep:StringCharset:ERROR", "-Xep:ToStringReturnsNull:ERROR", "-Xep:UnnecessaryStringBuilder:ERROR", "-Xep:UnrecognisedJavadocTag:ERROR", "-Xep:UnusedMethod:ERROR", "-Xep:UnusedNestedClass:ERROR", "-Xep:UnusedVariable:ERROR", Loading android/app/aidl/android/bluetooth/IBluetooth.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -280,6 +280,8 @@ interface IBluetooth @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") Bundle getPreferredAudioProfiles(in BluetoothDevice device, in AttributionSource source); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") int isDualModeAudioEnabled(in AttributionSource attributionSource); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") int registerPreferredAudioProfilesChangedCallback(in IBluetoothPreferredAudioProfilesCallback callback, in AttributionSource attributionSource); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") int unregisterPreferredAudioProfilesChangedCallback(in IBluetoothPreferredAudioProfilesCallback callback, in AttributionSource attributionSource); Loading android/app/src/com/android/bluetooth/avrcpcontroller/AvrcpCoverArtManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -128,7 +128,8 @@ public class AvrcpCoverArtManager { */ public static boolean isValidImageHandle(String handle) { if (handle == null || handle.length() != 7) return false; for (char c : handle.toCharArray()) { for (int i = 0; i < handle.length(); i++) { char c = handle.charAt(i); if (!Character.isDigit(c)) { return false; } Loading android/app/src/com/android/bluetooth/avrcpcontroller/bip/BipDateTime.java +3 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package com.android.bluetooth.avrcpcontroller; import android.annotation.SuppressLint; import com.android.bluetooth.Utils; import java.util.Calendar; Loading Loading @@ -121,6 +123,7 @@ public class BipDateTime { } @Override @SuppressLint("ToStringReturnsNull") public String toString() { Date d = getTime(); if (d == null) { Loading Loading
OWNERS_chromeos +1 −1 Original line number Diff line number Diff line # Project owners abhishekpandit@google.com sonnysasaka@google.com # Audio enshuo@google.com Loading @@ -12,3 +11,4 @@ whalechang@google.com michaelfsun@google.com laikatherine@google.com yinghsu@google.com apusaka@google.com
android/app/Android.bp +8 −0 Original line number Diff line number Diff line Loading @@ -324,6 +324,7 @@ android_app { enabled: true, javacflags: [ "-Xep:AlmostJavadoc:ERROR", "-Xep:AlreadyChecked:ERROR", "-Xep:AndroidFrameworkBinderIdentity:ERROR", "-Xep:AndroidFrameworkEfficientStrings:ERROR", "-Xep:AndroidFrameworkRequiresPermission:ERROR", Loading @@ -331,20 +332,27 @@ android_app { "-Xep:ClassCanBeStatic:ERROR", "-Xep:DateFormatConstant:ERROR", "-Xep:EmptyBlockTag:ERROR", "-Xep:FallThrough:ERROR", "-Xep:HidingField:ERROR", "-Xep:InlineMeInliner:ERROR", "-Xep:InvalidBlockTag:ERROR", "-Xep:InvalidParam:ERROR", "-Xep:LoopOverCharArray:ERROR", "-Xep:MissingCasesInEnumSwitch:ERROR", "-Xep:MockNotUsedInProduction:ERROR", "-Xep:ModifyCollectionInEnhancedForLoop:ERROR", "-Xep:NarrowCalculation:ERROR", "-Xep:NonApiType:ERROR", "-Xep:NonAtomicVolatileUpdate:ERROR", "-Xep:NonCanonicalType:ERROR", "-Xep:NotJavadoc:ERROR", "-Xep:OperatorPrecedence:ERROR", "-Xep:ReturnAtTheEndOfVoidFunction:ERROR", "-Xep:StringCaseLocaleUsage:ERROR", "-Xep:StringCharset:ERROR", "-Xep:ToStringReturnsNull:ERROR", "-Xep:UnnecessaryStringBuilder:ERROR", "-Xep:UnrecognisedJavadocTag:ERROR", "-Xep:UnusedMethod:ERROR", "-Xep:UnusedNestedClass:ERROR", "-Xep:UnusedVariable:ERROR", Loading
android/app/aidl/android/bluetooth/IBluetooth.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -280,6 +280,8 @@ interface IBluetooth @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") Bundle getPreferredAudioProfiles(in BluetoothDevice device, in AttributionSource source); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") int isDualModeAudioEnabled(in AttributionSource attributionSource); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") int registerPreferredAudioProfilesChangedCallback(in IBluetoothPreferredAudioProfilesCallback callback, in AttributionSource attributionSource); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") int unregisterPreferredAudioProfilesChangedCallback(in IBluetoothPreferredAudioProfilesCallback callback, in AttributionSource attributionSource); Loading
android/app/src/com/android/bluetooth/avrcpcontroller/AvrcpCoverArtManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -128,7 +128,8 @@ public class AvrcpCoverArtManager { */ public static boolean isValidImageHandle(String handle) { if (handle == null || handle.length() != 7) return false; for (char c : handle.toCharArray()) { for (int i = 0; i < handle.length(); i++) { char c = handle.charAt(i); if (!Character.isDigit(c)) { return false; } Loading
android/app/src/com/android/bluetooth/avrcpcontroller/bip/BipDateTime.java +3 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package com.android.bluetooth.avrcpcontroller; import android.annotation.SuppressLint; import com.android.bluetooth.Utils; import java.util.Calendar; Loading Loading @@ -121,6 +123,7 @@ public class BipDateTime { } @Override @SuppressLint("ToStringReturnsNull") public String toString() { Date d = getTime(); if (d == null) { Loading