Package org.signal.libsignal.internal
Object NativeTesting
-
- All Implemented Interfaces:
public class NativeTesting
-
-
Field Summary
Fields Modifier and Type Field Description public final static NativeTestingINSTANCE
-
Method Summary
-
-
Method Detail
-
ComparableBackup_Destroy
final static Unit ComparableBackup_Destroy(Long handle)
-
ComparableBackup_GetComparableString
final static String ComparableBackup_GetComparableString(Long backup)
-
ComparableBackup_GetUnknownFields
final static Array<Object> ComparableBackup_GetUnknownFields(Long backup)
-
ComparableBackup_ReadUnencrypted
final static Long ComparableBackup_ReadUnencrypted(InputStream stream, Long len, Integer purpose)
-
FakeChatConnection_Destroy
final static Unit FakeChatConnection_Destroy(Long handle)
-
FakeChatRemoteEnd_Destroy
final static Unit FakeChatRemoteEnd_Destroy(Long handle)
-
FakeChatResponse_Destroy
final static Unit FakeChatResponse_Destroy(Long handle)
-
FakeChatServer_Destroy
final static Unit FakeChatServer_Destroy(Long handle)
-
OtherTestingHandleType_Destroy
final static Unit OtherTestingHandleType_Destroy(Long handle)
-
SessionRecord_GetAliceBaseKey
final static ByteArray SessionRecord_GetAliceBaseKey(Long obj)
-
TESTING_AcquireSemaphoreAndGet
final static CompletableFuture<Integer> TESTING_AcquireSemaphoreAndGet(Long asyncRuntime, Long semaphore, Long valueHolder)
-
TESTING_BridgedStringMap_dump_to_json
final static String TESTING_BridgedStringMap_dump_to_json(Long map)
-
TESTING_CdsiLookupErrorConvert
final static Unit TESTING_CdsiLookupErrorConvert(String errorDescription)
-
TESTING_CdsiLookupResponseConvert
final static CompletableFuture<Object> TESTING_CdsiLookupResponseConvert(Long asyncRuntime)
-
TESTING_ChatConnectErrorConvert
final static Unit TESTING_ChatConnectErrorConvert(String errorDescription)
-
TESTING_ChatRequestGetBody
final static ByteArray TESTING_ChatRequestGetBody(Long request)
-
TESTING_ChatRequestGetHeaderNames
final static Array<Object> TESTING_ChatRequestGetHeaderNames(Long request)
-
TESTING_ChatRequestGetHeaderValue
final static String TESTING_ChatRequestGetHeaderValue(Long request, String headerName)
-
TESTING_ChatRequestGetMethod
final static String TESTING_ChatRequestGetMethod(Long request)
-
TESTING_ChatRequestGetPath
final static String TESTING_ChatRequestGetPath(Long request)
-
TESTING_ChatResponseConvert
final static Object TESTING_ChatResponseConvert(Boolean bodyPresent)
-
TESTING_ChatSendErrorConvert
final static Unit TESTING_ChatSendErrorConvert(String errorDescription)
-
TESTING_ConnectionManager_isUsingProxy
final static Integer TESTING_ConnectionManager_isUsingProxy(Long manager)
-
TESTING_ConvertOptionalUuid
final static UUID TESTING_ConvertOptionalUuid(Boolean present)
-
TESTING_CreateOTP
final static String TESTING_CreateOTP(String username, ByteArray secret)
-
TESTING_CreateOTPFromBase64
final static String TESTING_CreateOTPFromBase64(String username, String secret)
-
TESTING_ErrorOnBorrowAsync
final static Unit TESTING_ErrorOnBorrowAsync(Object input)
-
TESTING_ErrorOnBorrowIo
final static CompletableFuture<Void> TESTING_ErrorOnBorrowIo(Long asyncRuntime, Object input)
-
TESTING_ErrorOnBorrowSync
final static Unit TESTING_ErrorOnBorrowSync(Object input)
-
TESTING_ErrorOnReturnAsync
final static Object TESTING_ErrorOnReturnAsync(Object needsCleanup)
-
TESTING_ErrorOnReturnIo
final static CompletableFuture<Object> TESTING_ErrorOnReturnIo(Long asyncRuntime, Object needsCleanup)
-
TESTING_ErrorOnReturnSync
final static Object TESTING_ErrorOnReturnSync(Object needsCleanup)
-
TESTING_FakeChatConnection_Create
final static Long TESTING_FakeChatConnection_Create(Long tokio, BridgeChatListener listener, String alertsJoinedByNewlines)
-
TESTING_FakeChatConnection_TakeAuthenticatedChat
final static Long TESTING_FakeChatConnection_TakeAuthenticatedChat(Long chat)
-
TESTING_FakeChatConnection_TakeRemote
final static Long TESTING_FakeChatConnection_TakeRemote(Long chat)
-
TESTING_FakeChatConnection_TakeUnauthenticatedChat
final static Long TESTING_FakeChatConnection_TakeUnauthenticatedChat(Long chat)
-
TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted
final static Unit TESTING_FakeChatRemoteEnd_InjectConnectionInterrupted(Long chat)
-
TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest
final static CompletableFuture<Pair<Long, Long>> TESTING_FakeChatRemoteEnd_ReceiveIncomingRequest(Long asyncRuntime, Long chat)
-
TESTING_FakeChatRemoteEnd_SendRawServerRequest
final static Unit TESTING_FakeChatRemoteEnd_SendRawServerRequest(Long chat, ByteArray bytes)
-
TESTING_FakeChatRemoteEnd_SendRawServerResponse
final static Unit TESTING_FakeChatRemoteEnd_SendRawServerResponse(Long chat, ByteArray bytes)
-
TESTING_FakeChatRemoteEnd_SendServerResponse
final static Unit TESTING_FakeChatRemoteEnd_SendServerResponse(Long chat, Long response)
-
TESTING_FakeChatResponse_Create
final static Long TESTING_FakeChatResponse_Create(Long id, Integer status, String message, Array<Object> headers, ByteArray body)
-
TESTING_FakeChatServer_Create
final static Long TESTING_FakeChatServer_Create()
-
TESTING_FakeChatServer_GetNextRemote
final static CompletableFuture<Long> TESTING_FakeChatServer_GetNextRemote(Long asyncRuntime, Long server)
-
TESTING_FakeRegistrationSession_CreateSession
final static CompletableFuture<Long> TESTING_FakeRegistrationSession_CreateSession(Long asyncRuntime, Object createSession, Long chat)
-
TESTING_FutureCancellationCounter_Create
final static Long TESTING_FutureCancellationCounter_Create(Integer initialValue)
-
TESTING_FutureCancellationCounter_WaitForCount
final static CompletableFuture<Void> TESTING_FutureCancellationCounter_WaitForCount(Long asyncRuntime, Long count, Integer target)
-
TESTING_FutureFailure
final static CompletableFuture<Integer> TESTING_FutureFailure(Long asyncRuntime, Integer input)
-
TESTING_FutureIncrementOnCancel
final static CompletableFuture<Void> TESTING_FutureIncrementOnCancel(Long asyncRuntime, Long guard)
-
TESTING_FutureProducesOtherPointerType
final static CompletableFuture<Long> TESTING_FutureProducesOtherPointerType(Long asyncRuntime, String input)
-
TESTING_FutureProducesPointerType
final static CompletableFuture<Long> TESTING_FutureProducesPointerType(Long asyncRuntime, Integer input)
-
TESTING_FutureSuccess
final static CompletableFuture<Integer> TESTING_FutureSuccess(Long asyncRuntime, Integer input)
-
TESTING_FutureThrowsCustomErrorType
final static CompletableFuture<Void> TESTING_FutureThrowsCustomErrorType(Long asyncRuntime)
-
TESTING_FutureThrowsPoisonErrorType
final static CompletableFuture<Void> TESTING_FutureThrowsPoisonErrorType(Long asyncRuntime)
-
TESTING_InputStreamReadIntoZeroLengthSlice
final static ByteArray TESTING_InputStreamReadIntoZeroLengthSlice(InputStream capsAlphabetInput)
-
TESTING_JoinStringArray
final static String TESTING_JoinStringArray(Array<Object> array, String joinWith)
-
TESTING_KeyTransChatSendError
final static Unit TESTING_KeyTransChatSendError()
-
TESTING_KeyTransFatalVerificationFailure
final static Unit TESTING_KeyTransFatalVerificationFailure()
-
TESTING_KeyTransNonFatalVerificationFailure
final static Unit TESTING_KeyTransNonFatalVerificationFailure()
-
TESTING_NonSuspendingBackgroundThreadRuntime_Destroy
final static Unit TESTING_NonSuspendingBackgroundThreadRuntime_Destroy(Long handle)
-
TESTING_NonSuspendingBackgroundThreadRuntime_New
final static Long TESTING_NonSuspendingBackgroundThreadRuntime_New()
-
TESTING_OtherTestingHandleType_getValue
final static String TESTING_OtherTestingHandleType_getValue(Long handle)
-
TESTING_PanicInBodyAsync
final static Unit TESTING_PanicInBodyAsync(Object input)
-
TESTING_PanicInBodyIo
final static CompletableFuture<Void> TESTING_PanicInBodyIo(Long asyncRuntime, Object input)
-
TESTING_PanicInBodySync
final static Unit TESTING_PanicInBodySync(Object input)
-
TESTING_PanicOnBorrowAsync
final static Unit TESTING_PanicOnBorrowAsync(Object input)
-
TESTING_PanicOnBorrowIo
final static CompletableFuture<Void> TESTING_PanicOnBorrowIo(Long asyncRuntime, Object input)
-
TESTING_PanicOnBorrowSync
final static Unit TESTING_PanicOnBorrowSync(Object input)
-
TESTING_PanicOnLoadAsync
final static Unit TESTING_PanicOnLoadAsync(Object needsCleanup, Object input)
-
TESTING_PanicOnLoadIo
final static CompletableFuture<Void> TESTING_PanicOnLoadIo(Long asyncRuntime, Object needsCleanup, Object input)
-
TESTING_PanicOnLoadSync
final static Unit TESTING_PanicOnLoadSync(Object needsCleanup, Object input)
-
TESTING_PanicOnReturnAsync
final static Object TESTING_PanicOnReturnAsync(Object needsCleanup)
-
TESTING_PanicOnReturnIo
final static CompletableFuture<Object> TESTING_PanicOnReturnIo(Long asyncRuntime, Object needsCleanup)
-
TESTING_PanicOnReturnSync
final static Object TESTING_PanicOnReturnSync(Object needsCleanup)
-
TESTING_ProcessBytestringArray
final static Array<ByteArray> TESTING_ProcessBytestringArray(Array<ByteBuffer> input)
-
TESTING_RegisterAccountResponse_CreateTestValue
final static Long TESTING_RegisterAccountResponse_CreateTestValue()
-
TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert
final static Unit TESTING_RegistrationService_CheckSvr2CredentialsErrorConvert(String errorDescription)
-
TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert
final static Object TESTING_RegistrationService_CheckSvr2CredentialsResponseConvert()
-
TESTING_RegistrationService_CreateSessionErrorConvert
final static Unit TESTING_RegistrationService_CreateSessionErrorConvert(String errorDescription)
-
TESTING_RegistrationService_RegisterAccountErrorConvert
final static Unit TESTING_RegistrationService_RegisterAccountErrorConvert(String errorDescription)
-
TESTING_RegistrationService_RequestVerificationCodeErrorConvert
final static Unit TESTING_RegistrationService_RequestVerificationCodeErrorConvert(String errorDescription)
-
TESTING_RegistrationService_ResumeSessionErrorConvert
final static Unit TESTING_RegistrationService_ResumeSessionErrorConvert(String errorDescription)
-
TESTING_RegistrationService_SubmitVerificationErrorConvert
final static Unit TESTING_RegistrationService_SubmitVerificationErrorConvert(String errorDescription)
-
TESTING_RegistrationService_UpdateSessionErrorConvert
final static Unit TESTING_RegistrationService_UpdateSessionErrorConvert(String errorDescription)
-
TESTING_RegistrationSessionInfoConvert
final static Long TESTING_RegistrationSessionInfoConvert()
-
TESTING_ReturnPair
final static Pair<Integer, String> TESTING_ReturnPair()
-
TESTING_ReturnStringArray
final static Array<Object> TESTING_ReturnStringArray()
-
TESTING_RoundTripI32
final static Integer TESTING_RoundTripI32(Integer input)
-
TESTING_RoundTripU16
final static Integer TESTING_RoundTripU16(Integer input)
-
TESTING_RoundTripU32
final static Integer TESTING_RoundTripU32(Integer input)
-
TESTING_RoundTripU64
final static Long TESTING_RoundTripU64(Long input)
-
TESTING_RoundTripU8
final static Integer TESTING_RoundTripU8(Integer input)
-
TESTING_SignedPublicPreKey_CheckBridgesCorrectly
final static Unit TESTING_SignedPublicPreKey_CheckBridgesCorrectly(Long sourcePublicKey, SignedPublicPreKey<?> signedPreKey)
-
TESTING_TestingHandleType_getValue
final static Integer TESTING_TestingHandleType_getValue(Long handle)
-
TESTING_TokioAsyncContext_AttachBlockingThreadToJVMPermanently
final static Unit TESTING_TokioAsyncContext_AttachBlockingThreadToJVMPermanently(Long context, Object jvm)
-
TESTING_TokioAsyncContext_FutureSuccessBytes
final static CompletableFuture<ByteArray> TESTING_TokioAsyncContext_FutureSuccessBytes(Long asyncRuntime, Integer count)
-
TESTING_TokioAsyncContext_NewSingleThreaded
final static Long TESTING_TokioAsyncContext_NewSingleThreaded()
-
TESTING_TokioAsyncFuture
final static CompletableFuture<Integer> TESTING_TokioAsyncFuture(Long asyncRuntime, Integer input)
-
TestingFutureCancellationCounter_Destroy
final static Unit TestingFutureCancellationCounter_Destroy(Long handle)
-
TestingHandleType_Destroy
final static Unit TestingHandleType_Destroy(Long handle)
-
TestingSemaphore_AddPermits
final static Unit TestingSemaphore_AddPermits(Long semaphore, Integer permits)
-
TestingSemaphore_Destroy
final static Unit TestingSemaphore_Destroy(Long handle)
-
TestingSemaphore_New
final static Long TestingSemaphore_New(Integer initial)
-
TestingValueHolder_Destroy
final static Unit TestingValueHolder_Destroy(Long handle)
-
TestingValueHolder_Get
final static Integer TestingValueHolder_Get(Long holder)
-
TestingValueHolder_New
final static Long TestingValueHolder_New(Integer value)
-
test_only_fn_returns_123
final static Integer test_only_fn_returns_123()
-
-
-
-