repo
stringlengths
1
191
file
stringlengths
23
351
code
stringlengths
0
5.32M
file_length
int64
0
5.32M
avg_line_length
float64
0
2.9k
max_line_length
int64
0
288k
extension_type
stringclasses
1 value
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/RefreshAttributesJob.java
package org.thoughtcrime.securesms.jobs; import android.content.Context; import android.util.Log; import org.thoughtcrime.redphone.signaling.RedPhoneAccountAttributes; import org.thoughtcrime.redphone.signaling.RedPhoneAccountManager; import org.thoughtcrime.securesms.dependencies.InjectableType; import org.thoughtcr...
2,213
35.295082
112
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/RefreshPreKeysJob.java
package org.thoughtcrime.securesms.jobs; import android.content.Context; import android.util.Log; import org.thoughtcrime.securesms.ApplicationContext; import org.thoughtcrime.securesms.crypto.IdentityKeyUtil; import org.thoughtcrime.securesms.crypto.MasterSecret; import org.thoughtcrime.securesms.crypto.PreKeyUtil; ...
3,337
36.088889
114
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/SendJob.java
package org.thoughtcrime.securesms.jobs; import android.content.Context; import android.support.annotation.NonNull; import org.thoughtcrime.securesms.BuildConfig; import org.thoughtcrime.securesms.TextSecureExpiredException; import org.thoughtcrime.securesms.attachments.Attachment; import org.thoughtcrime.securesms.c...
3,009
37.101266
98
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/SmsReceiveJob.java
package org.thoughtcrime.securesms.jobs; import android.content.Context; import android.telephony.SmsMessage; import android.util.Log; import android.util.Pair; import org.thoughtcrime.securesms.crypto.MasterSecret; import org.thoughtcrime.securesms.crypto.MasterSecretUnion; import org.thoughtcrime.securesms.crypto.M...
3,655
31.642857
108
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/SmsSendJob.java
package org.thoughtcrime.securesms.jobs; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.telephony.SmsManager; import android.util.Log; import org.thoughtcrime.securesms.crypto.MasterSecret; import org.thoughtcrime.securesms.datab...
8,295
41.111675
126
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/SmsSentJob.java
package org.thoughtcrime.securesms.jobs; import android.app.Activity; import android.content.Context; import android.telephony.SmsManager; import android.util.Log; import org.thoughtcrime.securesms.ApplicationContext; import org.thoughtcrime.securesms.crypto.MasterSecret; import org.thoughtcrime.securesms.crypto.Secu...
3,359
32.939394
109
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/TrimThreadJob.java
/** * Copyright (C) 2014 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
1,999
29.30303
96
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/persistence/EncryptingJobSerializer.java
package org.thoughtcrime.securesms.jobs.persistence; import org.thoughtcrime.securesms.crypto.MasterCipher; import org.thoughtcrime.securesms.crypto.MasterSecret; import org.thoughtcrime.securesms.util.ParcelUtil; import org.whispersystems.jobqueue.EncryptionKeys; import org.whispersystems.jobqueue.Job; import org.whi...
1,830
31.696429
104
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/requirements/MasterSecretRequirement.java
package org.thoughtcrime.securesms.jobs.requirements; import android.content.Context; import org.thoughtcrime.securesms.service.KeyCachingService; import org.whispersystems.jobqueue.dependencies.ContextDependent; import org.whispersystems.jobqueue.requirements.Requirement; public class MasterSecretRequirement implem...
682
24.296296
79
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/requirements/MasterSecretRequirementProvider.java
package org.thoughtcrime.securesms.jobs.requirements; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import org.thoughtcrime.securesms.service.KeyCachingService; import org.whispersystems.jobqueue.requirements.RequirementLi...
1,148
30.054054
93
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/requirements/MediaNetworkRequirement.java
package org.thoughtcrime.securesms.jobs.requirements; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.support.annotation.NonNull; import android.util.Log; import org.thoughtcrime.securesms.attachments.Attachment; import org.thoughtcrime.securesms....
3,916
37.029126
121
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/requirements/MediaNetworkRequirementProvider.java
package org.thoughtcrime.securesms.jobs.requirements; import org.whispersystems.jobqueue.requirements.RequirementListener; import org.whispersystems.jobqueue.requirements.RequirementProvider; public class MediaNetworkRequirementProvider implements RequirementProvider { private RequirementListener listener; publ...
532
27.052632
77
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/requirements/NetworkOrServiceRequirement.java
package org.thoughtcrime.securesms.jobs.requirements; import android.content.Context; import org.whispersystems.jobqueue.dependencies.ContextDependent; import org.whispersystems.jobqueue.requirements.NetworkRequirement; import org.whispersystems.jobqueue.requirements.Requirement; public class NetworkOrServiceRequire...
866
27.9
83
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/requirements/ServiceRequirement.java
package org.thoughtcrime.securesms.jobs.requirements; import android.content.Context; import android.os.Looper; import android.os.MessageQueue; import android.telephony.PhoneStateListener; import android.telephony.ServiceState; import android.telephony.TelephonyManager; import android.util.Log; import org.thoughtcrim...
1,087
28.405405
78
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/jobs/requirements/ServiceRequirementProvider.java
package org.thoughtcrime.securesms.jobs.requirements; import android.content.Context; import android.telephony.PhoneStateListener; import android.telephony.ServiceState; import android.telephony.TelephonyManager; import org.whispersystems.jobqueue.requirements.RequirementListener; import org.whispersystems.jobqueue.r...
1,903
32.403509
107
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/ApnUnavailableException.java
package org.thoughtcrime.securesms.mms; public class ApnUnavailableException extends Exception { public ApnUnavailableException() { } public ApnUnavailableException(String detailMessage) { super(detailMessage); } public ApnUnavailableException(Throwable throwable) { super(throwable); } public...
433
20.7
77
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/AttachmentManager.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
10,650
35.601375
111
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/AttachmentStreamLocalUriFetcher.java
package org.thoughtcrime.securesms.mms; import android.content.ContentResolver; import android.content.Context; import android.net.Uri; import android.util.Log; import com.bumptech.glide.Priority; import com.bumptech.glide.load.data.DataFetcher; import com.bumptech.glide.load.data.StreamLocalUriFetcher; import org.t...
1,469
26.735849
106
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/AttachmentStreamUriLoader.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import android.net.Uri; import com.bumptech.glide.load.data.DataFetcher; import com.bumptech.glide.load.model.GenericLoaderFactory; import com.bumptech.glide.load.model.ModelLoader; import com.bumptech.glide.load.model.ModelLoaderFactory; import ...
2,073
31.40625
110
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/AttachmentTypeSelectorAdapter.java
/* * Copyright (C) 2008 Esmertec AG. * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
3,944
34.223214
177
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/AudioSlide.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is...
2,127
26.636364
102
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/CompatMmsConnection.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import android.os.Build.VERSION; import android.os.Build.VERSION_CODES; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.util.Log; import org.thoughtcrime.securesms.transport.UndeliverableMessa...
2,137
32.40625
99
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/ContactPhotoLocalUriFetcher.java
package org.thoughtcrime.securesms.mms; import android.content.ContentResolver; import android.content.Context; import android.net.Uri; import android.os.Build.VERSION; import android.os.Build.VERSION_CODES; import android.provider.ContactsContract; import com.bumptech.glide.load.data.StreamLocalUriFetcher; import j...
1,039
30.515152
95
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/ContactPhotoUriLoader.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import android.net.Uri; import com.bumptech.glide.load.data.DataFetcher; import com.bumptech.glide.load.model.GenericLoaderFactory; import com.bumptech.glide.load.model.ModelLoaderFactory; import com.bumptech.glide.load.model.stream.StreamModelLo...
1,395
25.846154
102
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/DecryptableStreamLocalUriFetcher.java
package org.thoughtcrime.securesms.mms; import android.content.ContentResolver; import android.content.Context; import android.net.Uri; import android.util.Log; import com.bumptech.glide.load.data.StreamLocalUriFetcher; import org.thoughtcrime.securesms.crypto.MasterSecret; import java.io.FileNotFoundException; imp...
1,173
29.102564
109
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/DecryptableStreamUriLoader.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import android.net.Uri; import com.bumptech.glide.load.data.DataFetcher; import com.bumptech.glide.load.model.GenericLoaderFactory; import com.bumptech.glide.load.model.ModelLoader; import com.bumptech.glide.load.model.ModelLoaderFactory; import ...
1,937
30.770492
110
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/GifSlide.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import android.net.Uri; import android.support.annotation.Nullable; import org.thoughtcrime.securesms.attachments.Attachment; import org.thoughtcrime.securesms.crypto.MasterSecret; import java.io.IOException; import java.io.InputStream; import ...
705
21.774194
79
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/ImageSlide.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is...
1,779
29.689655
91
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/IncomingLegacyMmsConnection.java
/** * Copyright (C) 2015 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
5,371
36.048276
133
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/IncomingLollipopMmsConnection.java
/** * Copyright (C) 2015 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
3,540
37.48913
120
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/IncomingMediaMessage.java
package org.thoughtcrime.securesms.mms; import org.thoughtcrime.securesms.attachments.Attachment; import org.thoughtcrime.securesms.attachments.PointerAttachment; import org.thoughtcrime.securesms.crypto.MasterSecretUnion; import org.thoughtcrime.securesms.database.MmsAddresses; import org.thoughtcrime.securesms.util....
2,832
30.131868
91
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/IncomingMmsConnection.java
package org.thoughtcrime.securesms.mms; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import java.io.IOException; import ws.com.google.android.mms.MmsException; import ws.com.google.android.mms.pdu.RetrieveConf; public interface IncomingMmsConnection { @Nullable RetrieveCo...
467
32.428571
166
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/LegacyMmsConnection.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
11,183
37.565517
134
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/LollipopMmsConnection.java
/** * Copyright (C) 2015 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
2,722
30.298851
104
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/MediaConstraints.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import android.net.Uri; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.util.Log; import android.util.Pair; import org.thoughtcrime.securesms.attachments.Attachment; import org.thoughtcrime.se...
3,426
42.935897
159
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/MediaNotFoundException.java
/** * Copyright (C) 2014 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
1,130
29.567568
76
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/MediaTooLargeException.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is...
1,303
30.804878
76
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/MmsMediaConstraints.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import org.thoughtcrime.securesms.util.Util; public class MmsMediaConstraints extends MediaConstraints { private static final int MAX_IMAGE_DIMEN_LOWMEM = 768; private static final int MAX_IMAGE_DIMEN = 1024; public static final in...
927
21.095238
80
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/MmsRadio.java
package org.thoughtcrime.securesms.mms; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.PowerManager; import android.util.Log; import ...
4,389
29.915493
108
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/MmsRadioException.java
package org.thoughtcrime.securesms.mms; public class MmsRadioException extends Throwable { public MmsRadioException(String s) { super(s); } }
151
18
50
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/MmsSendResult.java
package org.thoughtcrime.securesms.mms; public class MmsSendResult { private final byte[] messageId; private final int responseStatus; public MmsSendResult(byte[] messageId, int responseStatus) { this.messageId = messageId; this.responseStatus = responseStatus; } public int getResponseSt...
422
19.142857
62
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/OutgoingGroupMediaMessage.java
package org.thoughtcrime.securesms.mms; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import org.thoughtcrime.securesms.attachments.Attachment; import org.thoughtcrime.securesms.database.ThreadDatabase; import org.thoughtcrime.securesms.recipients.Recipients; import org.though...
2,009
31.419355
81
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/OutgoingLegacyMmsConnection.java
/** * Copyright (C) 2015 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
5,447
32.62963
124
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/OutgoingLollipopMmsConnection.java
/** * Copyright (C) 2015 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
3,357
35.5
114
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/OutgoingMediaMessage.java
package org.thoughtcrime.securesms.mms; import org.thoughtcrime.securesms.attachments.Attachment; import org.thoughtcrime.securesms.recipients.Recipients; import java.util.List; public class OutgoingMediaMessage { private final Recipients recipients; protected final String body; protected fi...
1,847
25.782609
132
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/OutgoingMmsConnection.java
package org.thoughtcrime.securesms.mms; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import org.thoughtcrime.securesms.transport.UndeliverableMessageException; import ws.com.google.android.mms.pdu.SendConf; public interface OutgoingMmsConnection { @Nullable SendConf send(...
386
28.769231
89
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/OutgoingSecureMediaMessage.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import org.thoughtcrime.securesms.attachments.Attachment; import org.thoughtcrime.securesms.recipients.Recipients; import java.util.List; import ws.com.google.android.mms.pdu.PduBody; public class OutgoingSecureMediaMessage extends OutgoingMed...
823
25.580645
75
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/PartAuthority.java
package org.thoughtcrime.securesms.mms; import android.content.ContentUris; import android.content.Context; import android.content.UriMatcher; import android.net.Uri; import android.support.annotation.NonNull; import org.thoughtcrime.securesms.attachments.AttachmentId; import org.thoughtcrime.securesms.crypto.MasterS...
3,375
41.2
127
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/PartParser.java
package org.thoughtcrime.securesms.mms; import android.util.Log; import org.thoughtcrime.securesms.util.Util; import java.io.UnsupportedEncodingException; import ws.com.google.android.mms.ContentType; import ws.com.google.android.mms.pdu.CharacterSets; import ws.com.google.android.mms.pdu.PduBody; import ws.com.goo...
2,469
26.752809
88
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/PartUriParser.java
package org.thoughtcrime.securesms.mms; import android.content.ContentUris; import android.net.Uri; import org.thoughtcrime.securesms.attachments.AttachmentId; public class PartUriParser { private final Uri uri; public PartUriParser(Uri uri) { this.uri = uri; } public AttachmentId getPartId() { re...
534
17.448276
59
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/PushMediaConstraints.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import org.thoughtcrime.securesms.util.Util; public class PushMediaConstraints extends MediaConstraints { private static final int MAX_IMAGE_DIMEN_LOWMEM = 768; private static final int MAX_IMAGE_DIMEN = 1280; private static final i...
951
21.139535
80
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/RoundedCorners.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.RectF; import android.graphics.Shader.TileMode; imp...
3,981
39.222222
151
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/Slide.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is...
4,122
30.715385
116
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/SlideClickListener.java
package org.thoughtcrime.securesms.mms; import android.view.View; public interface SlideClickListener { void onClick(View v, Slide slide); }
145
17.25
39
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/SlideDeck.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is...
2,456
24.071429
73
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/TextSecureGlideModule.java
package org.thoughtcrime.securesms.mms; import android.content.Context; import com.bumptech.glide.Glide; import com.bumptech.glide.GlideBuilder; import com.bumptech.glide.load.engine.cache.DiskCache; import com.bumptech.glide.load.engine.cache.DiskCacheAdapter; import com.bumptech.glide.module.GlideModule; import or...
1,334
35.081081
102
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/TextTransport.java
/** * Copyright (C) 2011 Whisper Systems * Copyright (C) 2014 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your optio...
1,148
31.828571
82
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/mms/VideoSlide.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is...
2,123
27.32
102
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/notifications/AbstractNotificationBuilder.java
package org.thoughtcrime.securesms.notifications; import android.app.Notification; import android.content.Context; import android.graphics.Color; import android.net.Uri; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.NotificationCompat; import andro...
2,883
39.619718
105
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/notifications/FailedNotificationBuilder.java
package org.thoughtcrime.securesms.notifications; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.BitmapFactory; import org.thoughtcrime.securesms.R; import org.thoughtcrime.securesms.database.RecipientPreferenceDatabase; import org.thoughtcrime...
1,234
38.83871
107
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/notifications/MarkReadReceiver.java
package org.thoughtcrime.securesms.notifications; import android.app.NotificationManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.AsyncTask; import android.support.annotation.Nullable; import android.util.Log; import org.thoughtcrime.s...
1,713
33.28
98
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/notifications/MasterSecretBroadcastReceiver.java
package org.thoughtcrime.securesms.notifications; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.support.annotation.Nullable; import org.thoughtcrime.securesms.crypto.MasterSecret; import org.thoughtcrime.securesms.service.KeyCachingService; pu...
664
32.25
105
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
18,219
39.488889
172
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/notifications/MultipleRecipientNotificationBuilder.java
package org.thoughtcrime.securesms.notifications; import android.app.Notification; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.NotificationCompat; i...
3,284
37.647059
130
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/notifications/NotificationItem.java
package org.thoughtcrime.securesms.notifications; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.annotation.Nullable; import org.thoughtcrime.securesms.ConversationActivity; import org.thoughtcrime.securesms.mms.SlideDeck...
2,563
32.298701
92
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/notifications/NotificationState.java
package org.thoughtcrime.securesms.notifications; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.support.annotation.Nullable; import android.util.Log; import org.thoughtcrime.securesms.ConversationActivity; import org.thoughtcrim...
3,841
31.559322
113
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/notifications/SingleRecipientNotificationBuilder.java
package org.thoughtcrime.securesms.notifications; import android.app.Notification; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Build; import android....
8,052
37.5311
130
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/notifications/WearReplyReceiver.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
3,454
38.712644
164
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/AdvancedPreferenceFragment.java
package org.thoughtcrime.securesms.preferences; import android.app.Activity; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; import android.preference.CheckBoxPreference; i...
9,639
39.334728
170
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/AdvancedRingtonePreference.java
package org.thoughtcrime.securesms.preferences; import android.content.Context; import android.net.Uri; import android.preference.RingtonePreference; import android.util.AttributeSet; public class AdvancedRingtonePreference extends RingtonePreference { private Uri currentRingtone; public AdvancedRingtonePrefer...
773
23.1875
92
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/AppProtectionPreferenceFragment.java
package org.thoughtcrime.securesms.preferences; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.res.TypedArray; import android.os.Build; import android.os.Bundle; import android.preference.CheckBoxPreference; import android.preference.Prefer...
8,298
41.126904
145
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/AppearancePreferenceFragment.java
package org.thoughtcrime.securesms.preferences; import android.content.Context; import android.os.Bundle; import android.preference.ListPreference; import org.thoughtcrime.securesms.ApplicationPreferencesActivity; import org.thoughtcrime.securesms.R; import org.thoughtcrime.securesms.util.TextSecurePreferences; impo...
2,564
41.75
140
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/BlockedContactListItem.java
package org.thoughtcrime.securesms.preferences; import android.content.Context; import android.util.AttributeSet; import android.widget.RelativeLayout; import android.widget.TextView; import org.thoughtcrime.securesms.R; import org.thoughtcrime.securesms.components.AvatarImageView; import org.thoughtcrime.securesms.r...
1,791
27.444444
109
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/ChatsPreferenceFragment.java
package org.thoughtcrime.securesms.preferences; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.preference.EditTextPreference; import android.preference.Preference; import android.preference.Preference.OnPreferenceChangeListener; import android.support.v...
5,695
39.978417
178
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/ColorPreference.java
package org.thoughtcrime.securesms.preferences; /* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
9,212
30.230508
98
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/LedBlinkPatternListPreference.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
5,300
32.339623
121
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/ListSummaryPreferenceFragment.java
package org.thoughtcrime.securesms.preferences; import android.preference.ListPreference; import android.preference.Preference; import android.support.v4.preference.PreferenceFragment; import org.thoughtcrime.securesms.R; import java.util.Arrays; public abstract class ListSummaryPreferenceFragment extends Preferenc...
1,034
33.5
90
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/MmsPreferencesActivity.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
2,440
30.294872
81
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/MmsPreferencesFragment.java
/** * Copyright (C) 2014 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
3,683
35.84
92
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/NotificationPrivacyPreference.java
package org.thoughtcrime.securesms.preferences; public class NotificationPrivacyPreference { private final String preference; public NotificationPrivacyPreference(String preference) { this.preference = preference; } public boolean isDisplayContact() { return "all".equals(preference) || "contact".equ...
424
20.25
68
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/NotificationsPreferenceFragment.java
package org.thoughtcrime.securesms.preferences; import android.content.Context; import android.content.SharedPreferences; import android.media.Ringtone; import android.media.RingtoneManager; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.preference.ListPreference; import ...
4,232
39.314286
121
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/preferences/SmsMmsPreferenceFragment.java
package org.thoughtcrime.securesms.preferences; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Build.VERSION; import android.os.Build.VERSION_CODES; import android.os.Bundle; import android.preference.Preference; import android.preference.PreferenceScreen; imp...
5,235
46.171171
131
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/providers/MmsBodyProvider.java
/** * Copyright (C) 2015 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
4,346
29.829787
117
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/providers/PartProvider.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
4,644
31.943262
128
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/providers/PersistentBlobProvider.java
package org.thoughtcrime.securesms.providers; import android.content.ContentUris; import android.content.Context; import android.content.UriMatcher; import android.net.Uri; import android.os.AsyncTask; import android.support.annotation.NonNull; import android.util.Log; import org.thoughtcrime.securesms.crypto.Decrypt...
4,969
34.5
112
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/providers/SingleUseBlobProvider.java
package org.thoughtcrime.securesms.providers; import android.content.ContentUris; import android.content.Context; import android.content.UriMatcher; import android.net.Uri; import android.os.AsyncTask; import android.support.annotation.NonNull; import android.util.Log; import org.thoughtcrime.securesms.crypto.Decrypt...
2,179
31.058824
100
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/push/SecurityEventListener.java
package org.thoughtcrime.securesms.push; import android.content.Context; import org.thoughtcrime.securesms.crypto.SecurityEvent; import org.whispersystems.textsecure.api.TextSecureMessageSender; import org.whispersystems.textsecure.api.push.TextSecureAddress; public class SecurityEventListener implements TextSecureM...
717
28.916667
85
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/push/TextSecureCommunicationFactory.java
package org.thoughtcrime.securesms.push; import android.content.Context; import org.thoughtcrime.redphone.signaling.RedPhoneAccountManager; import org.thoughtcrime.securesms.BuildConfig; import org.thoughtcrime.securesms.crypto.SecurityEvent; import org.thoughtcrime.securesms.crypto.MasterSecret; import org.thoughtcr...
1,785
47.27027
106
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/push/TextSecurePushTrustStore.java
package org.thoughtcrime.securesms.push; import android.content.Context; import org.thoughtcrime.securesms.R; import org.whispersystems.textsecure.api.push.TrustStore; import org.whispersystems.textsecure.internal.push.PushServiceSocket; import java.io.InputStream; public class TextSecurePushTrustStore implements T...
688
22.758621
69
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/recipients/Recipient.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
5,679
27.832487
140
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/recipients/RecipientFactory.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
4,703
32.361702
132
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/recipients/RecipientFormattingException.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
1,136
30.583333
73
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/recipients/RecipientProvider.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
11,089
39.772059
156
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/recipients/Recipients.java
/** * Copyright (C) 2015 Open Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program...
9,375
26.904762
142
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/recipients/RecipientsFormatter.java
/** * Copyright (C) 2011 Whisper Systems * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is d...
2,673
33.727273
100
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/service/AccountAuthenticatorService.java
package org.thoughtcrime.securesms.service; import android.accounts.AbstractAccountAuthenticator; import android.accounts.Account; import android.accounts.AccountAuthenticatorResponse; import android.accounts.NetworkErrorException; import android.app.Service; import android.content.Context; import android.content.Inte...
2,401
28.654321
113
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/service/AccountVerificationTimeoutException.java
package org.thoughtcrime.securesms.service; public class AccountVerificationTimeoutException extends Exception { public AccountVerificationTimeoutException() { } public AccountVerificationTimeoutException(String detailMessage) { super(detailMessage); } public AccountVerificationTimeoutException(String ...
496
25.157895
89
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/service/ApplicationMigrationService.java
package org.thoughtcrime.securesms.service; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter...
7,962
34.079295
126
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/service/ContactsSyncAdapterService.java
package org.thoughtcrime.securesms.service; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.support.annotation.Nullable; import org.thoughtcrime.securesms.contacts.ContactsSyncAdapter; public class ContactsSyncAdapterService extends Service { private static Con...
620
22
63
java
cryptoguard
cryptoguard-master/Notebook/Custom_Android_Tests/Signal-Android-3.5.0/src/org/thoughtcrime/securesms/service/DirectoryRefreshListener.java
package org.thoughtcrime.securesms.service; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import org.thoughtcrime.securesms.ApplicationContext; import org.thoughtcrim...
2,251
33.646154
100
java