Searched refs:tlsState (Results 1 – 5 of 5) sorted by relevance
45 final ProtoLogDataSource.TlsState tlsState = createTlsState( in noConfig() local48 Truth.assertThat(tlsState.getLogFromLevel("SOME_TAG")).isEqualTo(LogLevel.WTF); in noConfig()49 Truth.assertThat(tlsState.getShouldCollectStacktrace("SOME_TAG")).isFalse(); in noConfig()54 final ProtoLogDataSource.TlsState tlsState = createTlsState( in defaultTraceMode() local64 Truth.assertThat(tlsState.getLogFromLevel("SOME_TAG")).isEqualTo(LogLevel.DEBUG); in defaultTraceMode()65 Truth.assertThat(tlsState.getShouldCollectStacktrace("SOME_TAG")).isFalse(); in defaultTraceMode()72 final ProtoLogDataSource.TlsState tlsState = createTlsState( in allEnabledTraceMode() local81 Truth.assertThat(tlsState.getLogFromLevel("SOME_TAG")).isEqualTo(LogLevel.DEBUG); in allEnabledTraceMode()82 Truth.assertThat(tlsState.getShouldCollectStacktrace("SOME_TAG")).isFalse(); in allEnabledTraceMode()107 final ProtoLogDataSource.TlsState tlsState = createTlsState( in stackTraceCollection() local[all …]
69 TlsStateType tlsState = (TlsStateType) nativeGetCustomTls(mDataSource.mNativeObj); in getCustomTlsState() local70 if (tlsState == null) { in getCustomTlsState()73 tlsState = mDataSource.createTlsState(args); in getCustomTlsState()74 nativeSetCustomTls(mDataSource.mNativeObj, tlsState); in getCustomTlsState()77 return tlsState; in getCustomTlsState()111 private static native void nativeSetCustomTls(long nativeDsPtr, Object tlsState); in nativeSetCustomTls() argument
158 void PerfettoDataSource::SetCustomTls(jobject tlsState) { in SetCustomTls() argument167 tls_state->jobj = tlsState; in SetCustomTls()404 void nativeSetCustomTls(JNIEnv* env, jclass /* clazz */, jlong dataSourcePtr, jobject tlsState) { in nativeSetCustomTls() argument406 tlsState = env->NewGlobalRef(tlsState); in nativeSetCustomTls()407 return datasource->SetCustomTls(tlsState); in nativeSetCustomTls()
340 final ProtoLogDataSource.TlsState tlsState = ctx.getCustomTlsState(); in doLogToProto()341 final LogLevel logFrom = tlsState.getLogFromLevel(groupName); in doLogToProto()362 if (tlsState.getShouldCollectStacktrace(groupName)) { in doLogToProto()417 if (tlsState.getShouldCollectStacktrace(groupName)) { in doLogToProto()
558 final TestDataSource.TestTlsState tlsState = new TestDataSource.TestTlsState(); in canUseDataSourceInstanceToCreateTlsState()563 tlsState.testStateValue = dataSourceInstance.testObject.hashCode(); in canUseDataSourceInstanceToCreateTlsState()567 return tlsState; in canUseDataSourceInstanceToCreateTlsState()