Exemplo n.º 1
0
 def getStackTrace(self, *args, **kwargs):
     l = [
         java_lang_StackTraceElement(String("dalvik.system.VMStack")),
         java_lang_StackTraceElement(String("java.lang.Thread")),
         java_lang_StackTraceElement(String("com.ss.sys.ces.a")),
         java_lang_StackTraceElement(
             String("com.yf.douyintool.MainActivity")),
         java_lang_StackTraceElement(String("java.lang.reflect.Method")),
         java_lang_StackTraceElement(String("java.lang.reflect.Method")),
         java_lang_StackTraceElement(
             String(
                 "android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener"
             )),
         java_lang_StackTraceElement(String("android.view.View")),
         java_lang_StackTraceElement(String("android.os.Handler")),
         java_lang_StackTraceElement(String("android.os.Handler")),
         java_lang_StackTraceElement(String("android.os.Looper")),
         java_lang_StackTraceElement(String("android.app.ActivityThread")),
         java_lang_StackTraceElement(String("java.lang.reflect.Method")),
         java_lang_StackTraceElement(String("java.lang.reflect.Method")),
         java_lang_StackTraceElement(
             String(
                 "com.android.internal.os.ZygoteInit$MethodAndArgsCaller")),
         java_lang_StackTraceElement(
             String("com.android.internal.os.ZygoteInit")),
         java_lang_StackTraceElement(String("dalvik.system.NativeStart"))
     ]
     #
     #
     r = List(l)
     return r
Exemplo n.º 2
0
 def getStackTrace(self, *args, **kwargs):
     l = [
         java_lang_StackTraceElement(String("dalvik.system.VMStack")),
         java_lang_StackTraceElement(String("java.lang.Thread")),
         java_lang_StackTraceElement(String("com.ss.sys.ces.a")),
         java_lang_StackTraceElement(String("com.ss.sys.ces.gg.tt$1")),
         java_lang_StackTraceElement(
             String("com.bytedance.frameworks.baselib.network.http.e.a")),
         java_lang_StackTraceElement(
             String("com.bytedance.ttnet.a.a.onCallToAddSecurityFactor")),
         java_lang_StackTraceElement(
             String(
                 "android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener"
             )),
         java_lang_StackTraceElement(String("java.lang.reflect.Method")),
         java_lang_StackTraceElement(
             String("com.ttnet.org.chromium.base.Reflect.on")),
         java_lang_StackTraceElement(
             String("com.ttnet.org.chromium.base.Reflect.call")),
         java_lang_StackTraceElement(String("org.chromium.c.a")),
         java_lang_StackTraceElement(
             String("org.chromium.e.onCallToAddSecurityFactor")),
         java_lang_StackTraceElement(
             String(
                 "com.ttnet.org.chromium.net.impl.CronetUrlRequestContext")
         ),
         java_lang_StackTraceElement(
             String("com.ttnet.org.chromium.net.impl.CronetUrlRequest")),
     ]
     return List(l)
Exemplo n.º 3
0
 def getStackTrace(self, *args, **kwargs):
     #堆栈345行包名要对。其他没所谓
     l = [
         java_lang_StackTraceElement(
             String(
                 "dalvik.system.VMStack.getThreadStackTrace(Native Method)")
         ),
         java_lang_StackTraceElement(
             String("java.lang.Thread.getStackTrace(Thread.java:580)")),
         java_lang_StackTraceElement(
             String("com.ss.sys.ces.a.leviathan(Native Method)")),
         java_lang_StackTraceElement(
             String("com.ss.sys.ces.gg.tt$1.a(Unknown Source)")),
         java_lang_StackTraceElement(
             String(
                 "com.bytedance.frameworks.baselib.network.http.e.a(SourceFile:33947656)"
             )),
         java_lang_StackTraceElement(
             String(
                 "com.bytedance.ttnet.a.a.onCallToAddSecurityFactor(SourceFile:33816621)"
             )),
         java_lang_StackTraceElement(
             String(
                 "android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener"
             )),
         java_lang_StackTraceElement(
             String("java.lang.reflect.Method.invoke(Native Method)")),
         java_lang_StackTraceElement(
             String(
                 "com.ttnet.org.chromium.base.Reflect.on(SourceFile:50659347)"
             )),
         java_lang_StackTraceElement(
             String(
                 "com.ttnet.org.chromium.base.Reflect.call(SourceFile:50528262)"
             )),
         java_lang_StackTraceElement(
             String("org.chromium.c.a(SourceFile:33882174)")),
         java_lang_StackTraceElement(
             String(
                 "org.chromium.e.onCallToAddSecurityFactor(SourceFile:33685508)"
             )),
         java_lang_StackTraceElement(
             String(
                 "com.ttnet.org.chromium.net.impl.CronetUrlRequestContext.onCallToAddSecurityFactor(SourceFile:33685512)"
             )),
         java_lang_StackTraceElement(
             String(
                 "com.ttnet.org.chromium.net.impl.CronetUrlRequest.addSecurityFactor(SourceFile:33882142)"
             )),
     ]
     return List(l)
Exemplo n.º 4
0
 def __init__(self):
     self.__list = List()
     self.__dhcpInfo = DhcpInfo()