Offset 27, 182 lines modifiedOffset 27, 42 lines modified
27 .field·private·mUsage:I27 .field·private·mUsage:I
  
  
28 #·direct·methods28 #·direct·methods
29 .method·constructor·<init>()V29 .method·constructor·<init>()V
30 ····.locals·130 ····.locals·1
  
31 ····.line·18931 ····.line·185
32 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V32 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
33 ····const/4·v0,·0x033 ····const/4·v0,·0x0
  
34 ····.line·18434 ····.line·180
35 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mUsage:I35 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mUsage:I
  
36 ····.line·18536 ····.line·181
37 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I37 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I
  
38 ····.line·18638 ····.line·182
39 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mFlags:I39 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mFlags:I
  
40 ····const/4·v0,·-0x140 ····const/4·v0,·-0x1
  
41 ····.line·18741 ····.line·183
42 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mLegacyStream:I42 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mLegacyStream:I
  
43 ····return-void43 ····return-void
44 .end·method44 .end·method
  
45 .method·private·setInternalLegacyStreamType(I)Landroidx/media/AudioAttributesImplBase$Builder; 
46 ····.locals·3 
  
47 ····const/4·v0,·0x1 
  
48 ····const/4·v1,·0x4 
  
49 ····packed-switch·p1,·:pswitch_data_0 
  
50 ····.line·311 
51 ····new-instance·v0,·Ljava/lang/StringBuilder; 
  
52 ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V 
  
53 ····const-string·v1,·"Invalid·stream·type·" 
  
54 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
55 ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; 
  
56 ····const-string·v1,·"·for·AudioAttributesCompat" 
  
57 ····invoke-virtual·{v0,·v1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; 
  
58 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; 
  
59 ····move-result-object·v0 
  
60 ····const-string·v1,·"AudioAttributesCompat" 
  
61 ····invoke-static·{v1,·v0},·Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I 
  
62 ····goto·:goto_1 
  
63 ····.line·308 
64 ····:pswitch_0 
65 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I 
  
66 ····goto·:goto_1 
  
67 ····.line·305 
68 ····:pswitch_1 
69 ····iput·v1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I 
  
70 ····goto·:goto_1 
  
71 ····.line·302 
72 ····:pswitch_2 
73 ····iput·v1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I 
  
74 ····goto·:goto_1 
  
75 ····.line·280 
76 ····:pswitch_3 
77 ····iget·v2,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mFlags:I 
  
78 ····or-int/2addr·v0,·v2 
  
79 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mFlags:I 
  
80 ····goto·:goto_0 
  
81 ····.line·298 
82 ····:pswitch_4 
83 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I 
  
84 ····.line·299 
85 ····iget·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mFlags:I 
  
86 ····or-int/2addr·v0,·v1 
  
87 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mFlags:I 
  
88 ····goto·:goto_1 
  
89 ····.line·295 
90 ····:pswitch_5 
91 ····iput·v1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I 
  
92 ····goto·:goto_1 
  
93 ····.line·292 
94 ····:pswitch_6 
95 ····iput·v1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I 
  
96 ····goto·:goto_1 
  
97 ····:pswitch_7 
98 ····const/4·v0,·0x2 
  
99 ····.line·289 
100 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I 
  
101 ····goto·:goto_1 
  
102 ····.line·286 
103 ····:pswitch_8 
104 ····iput·v1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I 
  
105 ····goto·:goto_1 
  
106 ····.line·283 
107 ····:goto_0 
108 ····:pswitch_9 
109 ····iput·v1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I 
  
110 ····goto·:goto_1 
  
111 ····.line·277 
112 ····:pswitch_a 
113 ····iput·v0,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I 
  
114 ····.line·313 
115 ····:goto_1 
116 ····invoke-static·{p1},·Landroidx/media/AudioAttributesImplBase;->usageForStreamType(I)I 
  
117 ····move-result·p1 
  
118 ····iput·p1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mUsage:I 
  
119 ····return-object·p0 
  
120 ····nop 
  
121 ····:pswitch_data_0 
122 ····.packed-switch·0x0 
123 ········:pswitch_a 
124 ········:pswitch_9 
125 ········:pswitch_8 
126 ········:pswitch_7 
127 ········:pswitch_6 
128 ········:pswitch_5 
129 ········:pswitch_4 
130 ········:pswitch_3 
131 ········:pswitch_2 
132 ········:pswitch_1 
133 ········:pswitch_0 
134 ····.end·packed-switch 
135 .end·method 
  
  
136 #·virtual·methods45 #·virtual·methods
137 .method·public·build()Landroidx/media/AudioAttributesImpl;46 .method·public·build()Landroidx/media/AudioAttributesImpl;
138 ····.locals·447 ····.locals·4
  
139 ····.line·20248 ····.line·198
140 ····new-instance·v0,·Landroidx/media/AudioAttributesImplBase;49 ····new-instance·v0,·Landroidx/media/AudioAttributesImplBase;
  
141 ····iget·v1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I50 ····iget·v1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mContentType:I
  
142 ····iget·v2,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mFlags:I51 ····iget·v2,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mFlags:I
  
143 ····iget·v3,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mUsage:I52 ····iget·v3,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mUsage:I
Offset 213, 36 lines modifiedOffset 73, 33 lines modified
  
213 ····return-object·v073 ····return-object·v0
214 .end·method74 .end·method
  
215 .method·public·bridge·synthetic·setLegacyStreamType(I)Landroidx/media/AudioAttributesImpl$Builder;75 .method·public·bridge·synthetic·setLegacyStreamType(I)Landroidx/media/AudioAttributesImpl$Builder;
216 ····.locals·076 ····.locals·0
  
217 ····.line·18377 ····.line·179
218 ····invoke-virtual·{p0,·p1},·Landroidx/media/AudioAttributesImplBase$Builder;->setLegacyStreamType(I)Landroidx/media/AudioAttributesImplBase$Builder;78 ····invoke-virtual·{p0,·p1},·Landroidx/media/AudioAttributesImplBase$Builder;->setLegacyStreamType(I)Landroidx/media/AudioAttributesImplBase$Builder;
  
219 ····return-object·p079 ····return-object·p0
220 .end·method80 .end·method
  
221 .method·public·setLegacyStreamType(I)Landroidx/media/AudioAttributesImplBase$Builder;81 .method·public·setLegacyStreamType(I)Landroidx/media/AudioAttributesImplBase$Builder;
222 ····.locals·182 ····.locals·1
  
223 ····const/16·v0,·0xa83 ····const/16·v0,·0xa
  
224 ····if-eq·p1,·v0,·:cond_084 ····if-eq·p1,·v0,·:cond_0
  
225 ····.line·27085 ····.line·266
226 ····iput·p1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mLegacyStream:I86 ····iput·p1,·p0,·Landroidx/media/AudioAttributesImplBase$Builder;->mLegacyStream:I
  
227 ····.line·271 
228 ····invoke-direct·{p0,·p1},·Landroidx/media/AudioAttributesImplBase$Builder;->setInternalLegacyStreamType(I)Landroidx/media/AudioAttributesImplBase$Builder; 
  
229 ····return-object·p087 ····return-object·p0
  
230 ····.line·26688 ····.line·262
231 ····:cond_089 ····:cond_0
232 ····new-instance·p0,·Ljava/lang/IllegalArgumentException;90 ····new-instance·p0,·Ljava/lang/IllegalArgumentException;
  
233 ····const-string·p1,·"STREAM_ACCESSIBILITY·is·not·a·legacy·stream·type·that·was·used·for·audio·playback"91 ····const-string·p1,·"STREAM_ACCESSIBILITY·is·not·a·legacy·stream·type·that·was·used·for·audio·playback"
  
234 ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V92 ····invoke-direct·{p0,·p1},·Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V