Home
last modified time | relevance | path

Searched refs:org (Results 1 – 25 of 612) sorted by relevance

12345678910>>...25

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DBuilder.java20 package org.apache.james.mime4j.field.address;
25 import org.apache.james.mime4j.decoder.DecoderUtil;
26 import org.apache.james.mime4j.field.address.parser.ASTaddr_spec;
27 import org.apache.james.mime4j.field.address.parser.ASTaddress;
28 import org.apache.james.mime4j.field.address.parser.ASTaddress_list;
29 import org.apache.james.mime4j.field.address.parser.ASTangle_addr;
30 import org.apache.james.mime4j.field.address.parser.ASTdomain;
31 import org.apache.james.mime4j.field.address.parser.ASTgroup_body;
32 import org.apache.james.mime4j.field.address.parser.ASTlocal_part;
33 import org.apache.james.mime4j.field.address.parser.ASTmailbox;
[all …]
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/
DBuilder.java20 package org.apache.james.mime4j.field.address;
25 import org.apache.james.mime4j.decoder.DecoderUtil;
26 import org.apache.james.mime4j.field.address.parser.ASTaddr_spec;
27 import org.apache.james.mime4j.field.address.parser.ASTaddress;
28 import org.apache.james.mime4j.field.address.parser.ASTaddress_list;
29 import org.apache.james.mime4j.field.address.parser.ASTangle_addr;
30 import org.apache.james.mime4j.field.address.parser.ASTdomain;
31 import org.apache.james.mime4j.field.address.parser.ASTgroup_body;
32 import org.apache.james.mime4j.field.address.parser.ASTlocal_part;
33 import org.apache.james.mime4j.field.address.parser.ASTmailbox;
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java21 import org.mockito.ArgumentCaptor;
22 import org.mockito.Mock;
23 import org.mockito.Mockito;
24 import org.mockito.internal.exceptions.ExceptionIncludingMockitoWarnings;
25 import org.mockito.invocation.InvocationOnMock;
26 import org.mockito.stubbing.Answer;
56 import static org.mockito.Matchers.any;
57 import static org.mockito.Matchers.anyInt;
58 import static org.mockito.Matchers.anyLong;
59 import static org.mockito.Matchers.eq;
[all …]
DInCallControllerTests.java50 import org.mockito.ArgumentCaptor;
51 import org.mockito.Mock;
52 import org.mockito.MockitoAnnotations;
56 import static org.mockito.Matchers.any;
57 import static org.mockito.Matchers.anyBoolean;
58 import static org.mockito.Matchers.anyChar;
59 import static org.mockito.Matchers.anyInt;
60 import static org.mockito.Matchers.anyString;
61 import static org.mockito.Matchers.eq;
62 import static org.mockito.Matchers.isNull;
[all …]
DTelecomSystemTest.java20 import static org.mockito.Matchers.any;
21 import static org.mockito.Matchers.anyBoolean;
22 import static org.mockito.Matchers.anyInt;
23 import static org.mockito.Matchers.anyString;
24 import static org.mockito.Matchers.eq;
25 import static org.mockito.Matchers.isNull;
26 import static org.mockito.Mockito.doAnswer;
27 import static org.mockito.Mockito.doReturn;
28 import static org.mockito.Mockito.mock;
29 import static org.mockito.Mockito.reset;
[all …]
DCallScreeningServiceFilterTest.java45 import org.mockito.ArgumentCaptor;
46 import org.mockito.Mock;
50 import static org.mockito.Matchers.any;
51 import static org.mockito.Matchers.anyBoolean;
52 import static org.mockito.Matchers.anyInt;
53 import static org.mockito.Matchers.anyString;
54 import static org.mockito.Matchers.eq;
55 import static org.mockito.Mockito.doReturn;
56 import static org.mockito.Mockito.doThrow;
57 import static org.mockito.Mockito.mock;
[all …]
DNewOutgoingCallIntentBroadcasterTest.java42 import org.mockito.ArgumentCaptor;
43 import org.mockito.Mock;
45 import static org.mockito.Matchers.any;
46 import static org.mockito.Matchers.anyBoolean;
47 import static org.mockito.Matchers.anyInt;
48 import static org.mockito.Matchers.anyString;
49 import static org.mockito.Matchers.eq;
50 import static org.mockito.Matchers.isNotNull;
51 import static org.mockito.Matchers.isNull;
52 import static org.mockito.Mockito.doReturn;
[all …]
DMissedCallNotifierImplTest.java44 import org.mockito.ArgumentCaptor;
45 import org.mockito.Mock;
46 import org.mockito.MockitoAnnotations;
51 import static org.mockito.Matchers.any;
52 import static org.mockito.Matchers.eq;
53 import static org.mockito.Matchers.isNull;
54 import static org.mockito.Mockito.doReturn;
55 import static org.mockito.Mockito.mock;
56 import static org.mockito.Mockito.never;
57 import static org.mockito.Mockito.spy;
[all …]
DCallerInfoLookupHelperTest.java34 import org.mockito.ArgumentCaptor;
35 import org.mockito.Mock;
42 import static org.mockito.Matchers.any;
43 import static org.mockito.Matchers.anyInt;
44 import static org.mockito.Matchers.anyString;
45 import static org.mockito.Matchers.eq;
46 import static org.mockito.Mockito.atMost;
47 import static org.mockito.Mockito.mock;
48 import static org.mockito.Mockito.times;
49 import static org.mockito.Mockito.verify;
[all …]
DBasicCallTests.java19 import static org.mockito.Matchers.any;
20 import static org.mockito.Matchers.anyInt;
21 import static org.mockito.Matchers.anyString;
22 import static org.mockito.Matchers.eq;
23 import static org.mockito.Matchers.isNull;
24 import static org.mockito.Mockito.never;
25 import static org.mockito.Mockito.timeout;
26 import static org.mockito.Mockito.verify;
27 import static org.mockito.Mockito.verifyZeroInteractions;
28 import static org.mockito.Mockito.when;
[all …]
DTelecomServiceImplTest.java54 import org.mockito.ArgumentCaptor;
55 import org.mockito.ArgumentMatcher;
56 import org.mockito.Mock;
64 import static org.mockito.Matchers.any;
65 import static org.mockito.Matchers.anyBoolean;
66 import static org.mockito.Matchers.anyInt;
67 import static org.mockito.Matchers.anyString;
68 import static org.mockito.Matchers.argThat;
69 import static org.mockito.Matchers.eq;
70 import static org.mockito.Matchers.isNull;
[all …]
DContactsAsyncHelperTest.java28 import org.mockito.ArgumentCaptor;
33 import static org.mockito.Matchers.any;
34 import static org.mockito.Matchers.anyInt;
35 import static org.mockito.Matchers.anyObject;
36 import static org.mockito.Matchers.eq;
37 import static org.mockito.Matchers.isNull;
38 import static org.mockito.Mockito.spy;
39 import static org.mockito.Mockito.timeout;
40 import static org.mockito.Mockito.verify;
DComponentContextFixture.java26 import org.mockito.MockitoAnnotations;
27 import org.mockito.invocation.InvocationOnMock;
28 import org.mockito.stubbing.Answer;
73 import static org.mockito.Matchers.anyString;
74 import static org.mockito.Mockito.any;
75 import static org.mockito.Mockito.anyInt;
76 import static org.mockito.Mockito.doAnswer;
77 import static org.mockito.Mockito.doReturn;
78 import static org.mockito.Mockito.eq;
79 import static org.mockito.Mockito.mock;
[all …]
DCallAudioRouteStateMachineTest.java37 import org.mockito.ArgumentCaptor;
38 import org.mockito.Mock;
39 import org.mockito.MockitoAnnotations;
40 import org.mockito.invocation.InvocationOnMock;
41 import org.mockito.stubbing.Answer;
46 import static org.mockito.Matchers.any;
47 import static org.mockito.Matchers.same;
48 import static org.mockito.Mockito.doAnswer;
49 import static org.mockito.Mockito.doNothing;
50 import static org.mockito.Mockito.never;
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DRecordingTaskTest.java19 import static org.mockito.Matchers.anyInt;
20 import static org.mockito.Matchers.anyLong;
21 import static org.mockito.Matchers.argThat;
22 import static org.mockito.Matchers.eq;
23 import static org.mockito.Matchers.longThat;
24 import static org.mockito.Mockito.verify;
25 import static org.mockito.Mockito.verifyNoMoreInteractions;
26 import static org.mockito.Mockito.when;
44 import org.hamcrest.BaseMatcher;
45 import org.hamcrest.Description;
[all …]
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java19 import static org.mockito.Mockito.any;
20 import static org.mockito.Mockito.anyInt;
21 import static org.mockito.Mockito.anyString;
22 import static org.mockito.Mockito.doAnswer;
23 import static org.mockito.Mockito.eq;
24 import static org.mockito.Mockito.mock;
25 import static org.mockito.Mockito.never;
26 import static org.mockito.Mockito.times;
27 import static org.mockito.Mockito.verify;
28 import static org.mockito.Mockito.when;
[all …]
DDisallowAddUserTaskTest.java26 import org.mockito.Mock;
27 import org.mockito.MockitoAnnotations;
32 import static org.mockito.Mockito.any;
33 import static org.mockito.Mockito.anyBoolean;
34 import static org.mockito.Mockito.anyString;
35 import static org.mockito.Mockito.eq;
36 import static org.mockito.Mockito.never;
37 import static org.mockito.Mockito.verify;
38 import static org.mockito.Mockito.verifyZeroInteractions;
39 import static org.mockito.Mockito.when;
DDeleteNonRequiredAppsTaskTest.java48 import static org.mockito.Mockito.any;
49 import static org.mockito.Mockito.anyInt;
50 import static org.mockito.Mockito.anyString;
51 import static org.mockito.Mockito.doAnswer;
52 import static org.mockito.Mockito.eq;
53 import static org.mockito.Mockito.mock;
54 import static org.mockito.Mockito.times;
55 import static org.mockito.Mockito.verify;
56 import static org.mockito.Mockito.when;
58 import org.mockito.invocation.InvocationOnMock;
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/internet/
DOAuthAuthenticator.java13 import org.apache.http.HttpResponse;
14 import org.apache.http.HttpStatus;
15 import org.apache.http.client.HttpClient;
16 import org.apache.http.client.entity.UrlEncodedFormEntity;
17 import org.apache.http.client.methods.HttpPost;
18 import org.apache.http.impl.client.DefaultHttpClient;
19 import org.apache.http.message.BasicNameValuePair;
20 import org.apache.http.params.BasicHttpParams;
21 import org.apache.http.params.HttpConnectionParams;
22 import org.apache.http.params.HttpParams;
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DContactsContentObserverTest.java19 import static org.junit.Assert.assertFalse;
20 import static org.junit.Assert.assertTrue;
21 import static org.mockito.Matchers.eq;
22 import static org.mockito.Mockito.validateMockitoUsage;
23 import static org.mockito.Mockito.when;
29 import org.junit.After;
30 import org.junit.Before;
31 import org.junit.Test;
32 import org.mockito.Mock;
33 import org.mockito.MockitoAnnotations;
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java31 import org.apache.james.mime4j.field.Field;
32 import org.apache.james.mime4j.message.BodyPart;
33 import org.apache.james.mime4j.message.Entity;
34 import org.apache.james.mime4j.message.Header;
35 import org.apache.james.mime4j.message.Multipart;
132 org.apache.james.mime4j.message.Message mimeMessage = in testWriteToText()
133 new org.apache.james.mime4j.message.Message(messageInputStream); in testWriteToText()
166 org.apache.james.mime4j.message.Message mimeMessage = in testWriteToAlternativePart()
167 new org.apache.james.mime4j.message.Message(messageInputStream); in testWriteToAlternativePart()
210 org.apache.james.mime4j.message.Message mimeMessage = in testWriteToMixedPart()
[all …]
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
DBlockedNumbersAutoMigratorTest.java19 import static org.mockito.Matchers.any;
20 import static org.mockito.Mockito.doAnswer;
21 import static org.mockito.Mockito.never;
22 import static org.mockito.Mockito.times;
23 import static org.mockito.Mockito.verify;
34 import org.mockito.Mock;
35 import org.mockito.MockitoAnnotations;
36 import org.mockito.invocation.InvocationOnMock;
37 import org.mockito.stubbing.Answer;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlSanitizer.java25 import org.owasp.html.AttributePolicy;
26 import org.owasp.html.CssSchema;
27 import org.owasp.html.ElementPolicy;
28 import org.owasp.html.FilterUrlByProtocolAttributePolicy;
29 import org.owasp.html.Handler;
30 import org.owasp.html.HtmlPolicyBuilder;
31 import org.owasp.html.HtmlStreamRenderer;
32 import org.owasp.html.PolicyFactory;
398 final org.owasp.html.HtmlSanitizer.Policy policy = POLICY_DEFINITION.apply(renderer); in sanitizeHtml()
403 org.owasp.html.HtmlSanitizer.sanitize(rawHtml, policy); in sanitizeHtml()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/common/
DUtilsTest.java44 import org.mockito.Mock;
45 import org.mockito.MockitoAnnotations;
52 import static org.mockito.Mockito.any;
53 import static org.mockito.Mockito.anyInt;
54 import static org.mockito.Mockito.anyLong;
55 import static org.mockito.Mockito.eq;
56 import static org.mockito.Mockito.mock;
57 import static org.mockito.Mockito.verify;
58 import static org.mockito.Mockito.verifyNoMoreInteractions;
59 import static org.mockito.Mockito.verifyZeroInteractions;
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DTempFileTextBody.java20 package org.apache.james.mime4j.message;
29 import org.apache.commons.io.IOUtils;
31 import org.apache.james.mime4j.Log;
32 import org.apache.james.mime4j.LogFactory;
34 import org.apache.james.mime4j.util.CharsetUtil;
35 import org.apache.james.mime4j.util.TempFile;
36 import org.apache.james.mime4j.util.TempPath;
37 import org.apache.james.mime4j.util.TempStorage;

12345678910>>...25