Loading media/java/android/media/AudioAttributes.java +1 −12 Original line number Original line Diff line number Diff line Loading @@ -875,18 +875,7 @@ public final class AudioAttributes implements Parcelable { /** /** * Sets the attribute describing what is the intended use of the audio signal, * Sets the attribute describing what is the intended use of the audio signal, * such as alarm or ringtone. * such as alarm or ringtone. * @param usage one of {@link AttributeSdkUsage#USAGE_UNKNOWN}, * @param usage the usage to set. * {@link AttributeSdkUsage#USAGE_MEDIA}, * {@link AttributeSdkUsage#USAGE_VOICE_COMMUNICATION}, * {@link AttributeSdkUsage#USAGE_VOICE_COMMUNICATION_SIGNALLING}, * {@link AttributeSdkUsage#USAGE_ALARM}, {@link AudioAttributes#USAGE_NOTIFICATION}, * {@link AttributeSdkUsage#USAGE_NOTIFICATION_RINGTONE}, * {@link AttributeSdkUsage#USAGE_NOTIFICATION_EVENT}, * {@link AttributeSdkUsage#USAGE_ASSISTANT}, * {@link AttributeSdkUsage#USAGE_ASSISTANCE_ACCESSIBILITY}, * {@link AttributeSdkUsage#USAGE_ASSISTANCE_NAVIGATION_GUIDANCE}, * {@link AttributeSdkUsage#USAGE_ASSISTANCE_SONIFICATION}, * {@link AttributeSdkUsage#USAGE_GAME}. * @return the same Builder instance. * @return the same Builder instance. */ */ public Builder setUsage(@AttributeSdkUsage int usage) { public Builder setUsage(@AttributeSdkUsage int usage) { Loading media/java/android/media/AudioMetadata.java +9 −10 Original line number Original line Diff line number Diff line Loading @@ -226,16 +226,15 @@ public final class AudioMetadata { * * * An Integer value representing presentation content classifier. * An Integer value representing presentation content classifier. * * * @see AudioPresentation.ContentClassifier * @see AudioPresentation#CONTENT_UNKNOWN * One of {@link AudioPresentation#CONTENT_UNKNOWN}, * @see AudioPresentation#CONTENT_MAIN * {@link AudioPresentation#CONTENT_MAIN}, * @see AudioPresentation#CONTENT_MUSIC_AND_EFFECTS * {@link AudioPresentation#CONTENT_MUSIC_AND_EFFECTS}, * @see AudioPresentation#CONTENT_VISUALLY_IMPAIRED * {@link AudioPresentation#CONTENT_VISUALLY_IMPAIRED}, * @see AudioPresentation#CONTENT_HEARING_IMPAIRED * {@link AudioPresentation#CONTENT_HEARING_IMPAIRED}, * @see AudioPresentation#CONTENT_DIALOG * {@link AudioPresentation#CONTENT_DIALOG}, * @see AudioPresentation#CONTENT_COMMENTARY * {@link AudioPresentation#CONTENT_COMMENTARY}, * @see AudioPresentation#CONTENT_EMERGENCY * {@link AudioPresentation#CONTENT_EMERGENCY}, * @see AudioPresentation#CONTENT_VOICEOVER * {@link AudioPresentation#CONTENT_VOICEOVER}. */ */ @NonNull public static final Key<Integer> KEY_PRESENTATION_CONTENT_CLASSIFIER = @NonNull public static final Key<Integer> KEY_PRESENTATION_CONTENT_CLASSIFIER = createKey("presentation-content-classifier", Integer.class); createKey("presentation-content-classifier", Integer.class); Loading media/java/android/media/tv/SectionRequest.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -81,7 +81,7 @@ public final class SectionRequest extends BroadcastInfoRequest implements Parcel /** /** * Gets the version number of requested session. If it is null, value will be -1. * Gets the version number of requested session. If it is null, value will be -1. * <p>The consistency of version numbers between request and response depends on * <p>The consistency of version numbers between request and response depends on * {@link BroadcastInfoRequest.RequestOption}. If the request has RequestOption value * {@link BroadcastInfoRequest#getOption()}. If the request has RequestOption value * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * different from the version of the request. Otherwise, response with a different version from * different from the version of the request. Otherwise, response with a different version from * its request will be considered invalid. * its request will be considered invalid. Loading media/java/android/media/tv/SectionResponse.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -76,7 +76,7 @@ public final class SectionResponse extends BroadcastInfoResponse implements Parc /** /** * Gets the Version number of requested session. If it is null, value will be -1. * Gets the Version number of requested session. If it is null, value will be -1. * <p>The consistency of version numbers between request and response depends on * <p>The consistency of version numbers between request and response depends on * {@link BroadcastInfoRequest.RequestOption}. If the request has RequestOption value * {@link BroadcastInfoRequest#getOption()}. If the request has RequestOption value * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * different from the version of the request. Otherwise, response with a different version from * different from the version of the request. Otherwise, response with a different version from * its request will be considered invalid. * its request will be considered invalid. Loading media/java/android/media/tv/TableRequest.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -129,7 +129,7 @@ public final class TableRequest extends BroadcastInfoRequest implements Parcelab /** /** * Gets the version number of requested table. If it is null, value will be -1. * Gets the version number of requested table. If it is null, value will be -1. * <p>The consistency of version numbers between request and response depends on * <p>The consistency of version numbers between request and response depends on * {@link BroadcastInfoRequest.RequestOption}. If the request has RequestOption value * {@link BroadcastInfoRequest#getOption()}. If the request has RequestOption value * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * different from the version of the request. Otherwise, response with a different version from * different from the version of the request. Otherwise, response with a different version from * its request will be considered invalid. * its request will be considered invalid. Loading Loading
media/java/android/media/AudioAttributes.java +1 −12 Original line number Original line Diff line number Diff line Loading @@ -875,18 +875,7 @@ public final class AudioAttributes implements Parcelable { /** /** * Sets the attribute describing what is the intended use of the audio signal, * Sets the attribute describing what is the intended use of the audio signal, * such as alarm or ringtone. * such as alarm or ringtone. * @param usage one of {@link AttributeSdkUsage#USAGE_UNKNOWN}, * @param usage the usage to set. * {@link AttributeSdkUsage#USAGE_MEDIA}, * {@link AttributeSdkUsage#USAGE_VOICE_COMMUNICATION}, * {@link AttributeSdkUsage#USAGE_VOICE_COMMUNICATION_SIGNALLING}, * {@link AttributeSdkUsage#USAGE_ALARM}, {@link AudioAttributes#USAGE_NOTIFICATION}, * {@link AttributeSdkUsage#USAGE_NOTIFICATION_RINGTONE}, * {@link AttributeSdkUsage#USAGE_NOTIFICATION_EVENT}, * {@link AttributeSdkUsage#USAGE_ASSISTANT}, * {@link AttributeSdkUsage#USAGE_ASSISTANCE_ACCESSIBILITY}, * {@link AttributeSdkUsage#USAGE_ASSISTANCE_NAVIGATION_GUIDANCE}, * {@link AttributeSdkUsage#USAGE_ASSISTANCE_SONIFICATION}, * {@link AttributeSdkUsage#USAGE_GAME}. * @return the same Builder instance. * @return the same Builder instance. */ */ public Builder setUsage(@AttributeSdkUsage int usage) { public Builder setUsage(@AttributeSdkUsage int usage) { Loading
media/java/android/media/AudioMetadata.java +9 −10 Original line number Original line Diff line number Diff line Loading @@ -226,16 +226,15 @@ public final class AudioMetadata { * * * An Integer value representing presentation content classifier. * An Integer value representing presentation content classifier. * * * @see AudioPresentation.ContentClassifier * @see AudioPresentation#CONTENT_UNKNOWN * One of {@link AudioPresentation#CONTENT_UNKNOWN}, * @see AudioPresentation#CONTENT_MAIN * {@link AudioPresentation#CONTENT_MAIN}, * @see AudioPresentation#CONTENT_MUSIC_AND_EFFECTS * {@link AudioPresentation#CONTENT_MUSIC_AND_EFFECTS}, * @see AudioPresentation#CONTENT_VISUALLY_IMPAIRED * {@link AudioPresentation#CONTENT_VISUALLY_IMPAIRED}, * @see AudioPresentation#CONTENT_HEARING_IMPAIRED * {@link AudioPresentation#CONTENT_HEARING_IMPAIRED}, * @see AudioPresentation#CONTENT_DIALOG * {@link AudioPresentation#CONTENT_DIALOG}, * @see AudioPresentation#CONTENT_COMMENTARY * {@link AudioPresentation#CONTENT_COMMENTARY}, * @see AudioPresentation#CONTENT_EMERGENCY * {@link AudioPresentation#CONTENT_EMERGENCY}, * @see AudioPresentation#CONTENT_VOICEOVER * {@link AudioPresentation#CONTENT_VOICEOVER}. */ */ @NonNull public static final Key<Integer> KEY_PRESENTATION_CONTENT_CLASSIFIER = @NonNull public static final Key<Integer> KEY_PRESENTATION_CONTENT_CLASSIFIER = createKey("presentation-content-classifier", Integer.class); createKey("presentation-content-classifier", Integer.class); Loading
media/java/android/media/tv/SectionRequest.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -81,7 +81,7 @@ public final class SectionRequest extends BroadcastInfoRequest implements Parcel /** /** * Gets the version number of requested session. If it is null, value will be -1. * Gets the version number of requested session. If it is null, value will be -1. * <p>The consistency of version numbers between request and response depends on * <p>The consistency of version numbers between request and response depends on * {@link BroadcastInfoRequest.RequestOption}. If the request has RequestOption value * {@link BroadcastInfoRequest#getOption()}. If the request has RequestOption value * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * different from the version of the request. Otherwise, response with a different version from * different from the version of the request. Otherwise, response with a different version from * its request will be considered invalid. * its request will be considered invalid. Loading
media/java/android/media/tv/SectionResponse.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -76,7 +76,7 @@ public final class SectionResponse extends BroadcastInfoResponse implements Parc /** /** * Gets the Version number of requested session. If it is null, value will be -1. * Gets the Version number of requested session. If it is null, value will be -1. * <p>The consistency of version numbers between request and response depends on * <p>The consistency of version numbers between request and response depends on * {@link BroadcastInfoRequest.RequestOption}. If the request has RequestOption value * {@link BroadcastInfoRequest#getOption()}. If the request has RequestOption value * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * different from the version of the request. Otherwise, response with a different version from * different from the version of the request. Otherwise, response with a different version from * its request will be considered invalid. * its request will be considered invalid. Loading
media/java/android/media/tv/TableRequest.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -129,7 +129,7 @@ public final class TableRequest extends BroadcastInfoRequest implements Parcelab /** /** * Gets the version number of requested table. If it is null, value will be -1. * Gets the version number of requested table. If it is null, value will be -1. * <p>The consistency of version numbers between request and response depends on * <p>The consistency of version numbers between request and response depends on * {@link BroadcastInfoRequest.RequestOption}. If the request has RequestOption value * {@link BroadcastInfoRequest#getOption()}. If the request has RequestOption value * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * REQUEST_OPTION_AUTO_UPDATE, then the response may be set to the latest version which may be * different from the version of the request. Otherwise, response with a different version from * different from the version of the request. Otherwise, response with a different version from * its request will be considered invalid. * its request will be considered invalid. Loading