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