class android.speech.tts.TextToSpeechService$SynthHandler extends android.os.Handler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: android.speech.tts.TextToSpeechService$SynthHandler
super_class: android.os.Handler
{
private android.speech.tts.TextToSpeechService$SpeechItem mCurrentSpeechItem;
descriptor: Landroid/speech/tts/TextToSpeechService$SpeechItem;
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.Object> mFlushedObjects;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/Object;>;
private int mFlushAll;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final android.speech.tts.TextToSpeechService this$0;
descriptor: Landroid/speech/tts/TextToSpeechService;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(android.speech.tts.TextToSpeechService, android.os.Looper);
descriptor: (Landroid/speech/tts/TextToSpeechService;Landroid/os/Looper;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield android.speech.tts.TextToSpeechService$SynthHandler.this$0:Landroid/speech/tts/TextToSpeechService;
1: aload 0
aload 2
invokespecial android.os.Handler.<init>:(Landroid/os/Looper;)V
2: aload 0
aconst_null
putfield android.speech.tts.TextToSpeechService$SynthHandler.mCurrentSpeechItem:Landroid/speech/tts/TextToSpeechService$SpeechItem;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushedObjects:Ljava/util/List;
4: aload 0
iconst_0
putfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushAll:I
5: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
0 6 2 looper Landroid/os/Looper;
MethodParameters:
Name Flags
this$0 final
looper
private void startFlushingSpeechItems(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushedObjects:Ljava/util/List;
dup
astore 2
monitorenter
1: aload 1
ifnonnull 4
2: aload 0
dup
getfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushAll:I
iconst_1
iadd
putfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushAll:I
3: goto 5
4: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushedObjects:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
0 10 1 callerIdentity Ljava/lang/Object;
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
callerIdentity
private void endFlushingSpeechItems(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushedObjects:Ljava/util/List;
dup
astore 2
monitorenter
1: aload 1
ifnonnull 4
2: aload 0
dup
getfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushAll:I
iconst_1
isub
putfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushAll:I
3: goto 5
4: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushedObjects:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
0 10 1 callerIdentity Ljava/lang/Object;
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
callerIdentity
private boolean isFlushed(android.speech.tts.TextToSpeechService$SpeechItem);
descriptor: (Landroid/speech/tts/TextToSpeechService$SpeechItem;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushedObjects:Ljava/util/List;
dup
astore 2
monitorenter
1: aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushAll:I
ifgt 2
aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mFlushedObjects:Ljava/util/List;
aload 1
invokevirtual android.speech.tts.TextToSpeechService$SpeechItem.getCallerIdentity:()Ljava/lang/Object;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 2
iconst_0
goto 3
StackMap locals: java.util.List
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: aload 2
monitorexit
4: ireturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
6: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
0 7 1 speechItem Landroid/speech/tts/TextToSpeechService$SpeechItem;
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
speechItem
private synchronized android.speech.tts.TextToSpeechService$SpeechItem getCurrentSpeechItem();
descriptor: ()Landroid/speech/tts/TextToSpeechService$SpeechItem;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mCurrentSpeechItem:Landroid/speech/tts/TextToSpeechService$SpeechItem;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
private synchronized boolean setCurrentSpeechItem(android.speech.tts.TextToSpeechService$SpeechItem);
descriptor: (Landroid/speech/tts/TextToSpeechService$SpeechItem;)Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
aload 0
aload 1
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.isFlushed:(Landroid/speech/tts/TextToSpeechService$SpeechItem;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield android.speech.tts.TextToSpeechService$SynthHandler.mCurrentSpeechItem:Landroid/speech/tts/TextToSpeechService$SpeechItem;
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
0 4 1 speechItem Landroid/speech/tts/TextToSpeechService$SpeechItem;
MethodParameters:
Name Flags
speechItem
private synchronized android.speech.tts.TextToSpeechService$SpeechItem removeCurrentSpeechItem();
descriptor: ()Landroid/speech/tts/TextToSpeechService$SpeechItem;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mCurrentSpeechItem:Landroid/speech/tts/TextToSpeechService$SpeechItem;
astore 1
start local 1 1: aload 0
aconst_null
putfield android.speech.tts.TextToSpeechService$SynthHandler.mCurrentSpeechItem:Landroid/speech/tts/TextToSpeechService$SpeechItem;
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
1 3 1 current Landroid/speech/tts/TextToSpeechService$SpeechItem;
private synchronized android.speech.tts.TextToSpeechService$SpeechItem maybeRemoveCurrentSpeechItem(java.lang.Object);
descriptor: (Ljava/lang/Object;)Landroid/speech/tts/TextToSpeechService$SpeechItem;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mCurrentSpeechItem:Landroid/speech/tts/TextToSpeechService$SpeechItem;
ifnull 5
1: aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mCurrentSpeechItem:Landroid/speech/tts/TextToSpeechService$SpeechItem;
invokevirtual android.speech.tts.TextToSpeechService$SpeechItem.getCallerIdentity:()Ljava/lang/Object;
aload 1
if_acmpne 5
2: aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.mCurrentSpeechItem:Landroid/speech/tts/TextToSpeechService$SpeechItem;
astore 2
start local 2 3: aload 0
aconst_null
putfield android.speech.tts.TextToSpeechService$SynthHandler.mCurrentSpeechItem:Landroid/speech/tts/TextToSpeechService$SpeechItem;
4: aload 2
areturn
end local 2 5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
0 6 1 callerIdentity Ljava/lang/Object;
3 5 2 current Landroid/speech/tts/TextToSpeechService$SpeechItem;
MethodParameters:
Name Flags
callerIdentity
public boolean isSpeaking();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.getCurrentSpeechItem:()Landroid/speech/tts/TextToSpeechService$SpeechItem;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
public void quit();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.getLooper:()Landroid/os/Looper;
invokevirtual android.os.Looper.quit:()V
1: aload 0
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.removeCurrentSpeechItem:()Landroid/speech/tts/TextToSpeechService$SpeechItem;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
invokevirtual android.speech.tts.TextToSpeechService$SpeechItem.stop:()V
4: StackMap locals: android.speech.tts.TextToSpeechService$SpeechItem
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
2 5 1 current Landroid/speech/tts/TextToSpeechService$SpeechItem;
public int enqueueSpeechItem(int, android.speech.tts.TextToSpeechService$SpeechItem);
descriptor: (ILandroid/speech/tts/TextToSpeechService$SpeechItem;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 2
instanceof android.speech.tts.TextToSpeechService$UtteranceProgressDispatcher
ifeq 3
2: aload 2
checkcast android.speech.tts.TextToSpeechService$UtteranceProgressDispatcher
astore 3
3: StackMap locals: android.speech.tts.TextToSpeechService$UtteranceProgressDispatcher
StackMap stack:
aload 2
invokevirtual android.speech.tts.TextToSpeechService$SpeechItem.isValid:()Z
ifne 9
4: aload 3
ifnull 8
5: aload 3
6: bipush -8
7: invokeinterface android.speech.tts.TextToSpeechService$UtteranceProgressDispatcher.dispatchOnError:(I)V
8: StackMap locals:
StackMap stack:
iconst_m1
ireturn
9: StackMap locals:
StackMap stack:
iload 1
ifne 12
10: aload 0
aload 2
invokevirtual android.speech.tts.TextToSpeechService$SpeechItem.getCallerIdentity:()Ljava/lang/Object;
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.stopForApp:(Ljava/lang/Object;)I
pop
11: goto 14
StackMap locals:
StackMap stack:
12: iload 1
iconst_2
if_icmpne 14
13: aload 0
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.stopAll:()I
pop
14: StackMap locals:
StackMap stack:
new android.speech.tts.TextToSpeechService$SynthHandler$1
dup
aload 0
aload 2
invokespecial android.speech.tts.TextToSpeechService$SynthHandler$1.<init>:(Landroid/speech/tts/TextToSpeechService$SynthHandler;Landroid/speech/tts/TextToSpeechService$SpeechItem;)V
astore 4
start local 4 15: aload 0
aload 4
invokestatic android.os.Message.obtain:(Landroid/os/Handler;Ljava/lang/Runnable;)Landroid/os/Message;
astore 5
start local 5 16: aload 5
aload 2
invokevirtual android.speech.tts.TextToSpeechService$SpeechItem.getCallerIdentity:()Ljava/lang/Object;
putfield android.os.Message.obj:Ljava/lang/Object;
17: aload 0
aload 5
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.sendMessage:(Landroid/os/Message;)Z
ifeq 19
18: iconst_0
ireturn
19: StackMap locals: java.lang.Runnable android.os.Message
StackMap stack:
ldc "TextToSpeechService"
ldc "SynthThread has quit"
invokestatic android.util.Log.w:(Ljava/lang/String;Ljava/lang/String;)I
pop
20: aload 3
ifnull 22
21: aload 3
bipush -4
invokeinterface android.speech.tts.TextToSpeechService$UtteranceProgressDispatcher.dispatchOnError:(I)V
22: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
0 23 1 queueMode I
0 23 2 speechItem Landroid/speech/tts/TextToSpeechService$SpeechItem;
1 23 3 utterenceProgress Landroid/speech/tts/TextToSpeechService$UtteranceProgressDispatcher;
15 23 4 runnable Ljava/lang/Runnable;
16 23 5 msg Landroid/os/Message;
MethodParameters:
Name Flags
queueMode
speechItem final
public int stopForApp(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.startFlushingSpeechItems:(Ljava/lang/Object;)V
3: aload 0
aload 1
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.maybeRemoveCurrentSpeechItem:(Ljava/lang/Object;)Landroid/speech/tts/TextToSpeechService$SpeechItem;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
invokevirtual android.speech.tts.TextToSpeechService$SpeechItem.stop:()V
6: StackMap locals: android.speech.tts.TextToSpeechService$SpeechItem
StackMap stack:
aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.this$0:Landroid/speech/tts/TextToSpeechService;
getfield android.speech.tts.TextToSpeechService.mAudioPlaybackHandler:Landroid/speech/tts/AudioPlaybackHandler;
aload 1
invokevirtual android.speech.tts.AudioPlaybackHandler.stopForApp:(Ljava/lang/Object;)V
7: new android.speech.tts.TextToSpeechService$SynthHandler$2
dup
aload 0
aload 1
invokespecial android.speech.tts.TextToSpeechService$SynthHandler$2.<init>:(Landroid/speech/tts/TextToSpeechService$SynthHandler;Ljava/lang/Object;)V
astore 3
start local 3 8: aload 0
aload 0
aload 3
invokestatic android.os.Message.obtain:(Landroid/os/Handler;Ljava/lang/Runnable;)Landroid/os/Message;
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.sendMessage:(Landroid/os/Message;)Z
pop
9: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
0 10 1 callerIdentity Ljava/lang/Object;
4 10 2 current Landroid/speech/tts/TextToSpeechService$SpeechItem;
8 10 3 runnable Ljava/lang/Runnable;
MethodParameters:
Name Flags
callerIdentity final
public int stopAll();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.startFlushingSpeechItems:(Ljava/lang/Object;)V
1: aload 0
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.removeCurrentSpeechItem:()Landroid/speech/tts/TextToSpeechService$SpeechItem;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
invokevirtual android.speech.tts.TextToSpeechService$SpeechItem.stop:()V
4: StackMap locals: android.speech.tts.TextToSpeechService$SpeechItem
StackMap stack:
aload 0
getfield android.speech.tts.TextToSpeechService$SynthHandler.this$0:Landroid/speech/tts/TextToSpeechService;
getfield android.speech.tts.TextToSpeechService.mAudioPlaybackHandler:Landroid/speech/tts/AudioPlaybackHandler;
invokevirtual android.speech.tts.AudioPlaybackHandler.stop:()V
5: new android.speech.tts.TextToSpeechService$SynthHandler$3
dup
aload 0
invokespecial android.speech.tts.TextToSpeechService$SynthHandler$3.<init>:(Landroid/speech/tts/TextToSpeechService$SynthHandler;)V
astore 2
start local 2 6: aload 0
aload 0
aload 2
invokestatic android.os.Message.obtain:(Landroid/os/Handler;Ljava/lang/Runnable;)Landroid/os/Message;
invokevirtual android.speech.tts.TextToSpeechService$SynthHandler.sendMessage:(Landroid/os/Message;)Z
pop
7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Landroid/speech/tts/TextToSpeechService$SynthHandler;
2 8 1 current Landroid/speech/tts/TextToSpeechService$SpeechItem;
6 8 2 runnable Ljava/lang/Runnable;
}
SourceFile: "TextToSpeechService.java"
NestHost: android.speech.tts.TextToSpeechService
InnerClasses:
private abstract SpeechItem = android.speech.tts.TextToSpeechService$SpeechItem of android.speech.tts.TextToSpeechService
private SynthHandler = android.speech.tts.TextToSpeechService$SynthHandler of android.speech.tts.TextToSpeechService
android.speech.tts.TextToSpeechService$SynthHandler$1
android.speech.tts.TextToSpeechService$SynthHandler$2
android.speech.tts.TextToSpeechService$SynthHandler$3
abstract UtteranceProgressDispatcher = android.speech.tts.TextToSpeechService$UtteranceProgressDispatcher of android.speech.tts.TextToSpeechService