HomeSort by relevance Sort by last modified time
    Searched full:resolver (Results 1 - 25 of 1322) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/jmdns/src/javax/jmdns/impl/tasks/resolver/
package-info.java 1 package javax.jmdns.impl.tasks.resolver;
  /external/smack/src/org/xbill/DNS/
ResolverListener.java 8 * An interface to the asynchronous resolver.
9 * @see Resolver
17 * The callback used by an asynchronous resolver
18 * @param id The identifier returned by Resolver.sendAsync()
19 * @param m The response message as returned by the Resolver
24 * The callback used by an asynchronous resolver when an exception is thrown
25 * @param id The identifier returned by Resolver.sendAsync()
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
RawContactUtil.java 37 public static void update(ContentResolver resolver, long rawContactId,
40 resolver.update(uri, values, null, null);
43 public static String[] queryByRawContactId(ContentResolver resolver,
47 Cursor cursor = resolver.query(uri, projection, null, null, null);
56 public static List<String[]> queryByContactId(ContentResolver resolver, long contactId,
59 Cursor cursor = resolver.query(uri, projection, null, null, null);
63 public static void delete(ContentResolver resolver, long rawContactId,
69 resolver.delete(uri, null, null);
72 public static long queryContactIdByRawContactId(ContentResolver resolver, long rawContactid) {
76 String[] result = RawContactUtil.queryByRawContactId(resolver, rawContactid
    [all...]
ContactUtil.java 33 public static void update(ContentResolver resolver, long contactId,
36 resolver.update(uri, values, null, null);
39 public static void delete(ContentResolver resolver, long contactId) {
41 resolver.delete(uri, null, null);
44 public static boolean recordExistsForContactId(ContentResolver resolver, long contactId) {
49 Cursor cursor = resolver.query(uri, projection, null, null, null);
56 public static long queryContactLastUpdatedTimestamp(ContentResolver resolver, long contactId) {
62 Cursor cursor = resolver.query(uri, projection, null, null, null);
DataUtil.java 34 public static void delete(ContentResolver resolver, long dataId) {
36 resolver.delete(uri, null, null);
39 public static void update(ContentResolver resolver, long dataId, ContentValues values) {
41 resolver.update(uri, values, null, null);
44 public static Uri insertStructuredName(ContentResolver resolver, long rawContactId,
49 Uri resultUri = resolver.insert(ContactsContract.Data.CONTENT_URI, values);
53 public static Uri insertStructuredName(ContentResolver resolver, long rawContactId,
55 return insertStructuredName(resolver, rawContactId, givenName, familyName,
60 ContentResolver resolver, long rawContactId, String givenName, String familyName,
83 return insertStructuredName(resolver, rawContactId, values)
    [all...]
DatabaseAsserts.java 31 public static void assertDeleteIsUnsupported(ContentResolver resolver, Uri uri) {
33 resolver.delete(uri, null, null);
41 public static void assertInsertIsUnsupported(ContentResolver resolver, Uri uri) {
44 resolver.insert(uri, values);
57 public static ContactIdPair assertAndCreateContact(ContentResolver resolver) {
58 long rawContactId = RawContactUtil.createRawContactWithName(resolver);
60 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId);
73 public static void assertHasDeleteLogGreaterThan(ContentResolver resolver, long contactId,
75 Assert.assertFalse(ContactUtil.recordExistsForContactId(resolver, contactId));
77 long deletedTimestamp = DeletedContactUtil.queryDeletedTimestampForContactId(resolver,
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
DataUtil.java 35 public static String[] queryById(ContentResolver resolver, long dataId, String[] projection) {
37 Cursor cursor = resolver.query(uri, projection, null, null, null);
41 public static void insertName(ContentResolver resolver, long rawContactId, String name) {
46 insertData(resolver, rawContactId, values);
49 public static long insertPhoneNumber(ContentResolver resolver, long rawContactId,
54 return DataUtil.insertData(resolver, rawContactId, values);
57 public static long insertEmail(ContentResolver resolver, long rawContactId, String email) {
61 return DataUtil.insertData(resolver, rawContactId, values);
64 public static void insertAutoGeneratedName(ContentResolver resolver, long rawContactId) {
65 insertName(resolver, rawContactId, "test raw contact " + rawContactId)
    [all...]
RawContactUtil.java 36 public static void update(ContentResolver resolver, long rawContactId,
39 resolver.update(uri, values, null, null);
42 public static long createRawContactWithName(ContentResolver resolver, Account account,
44 Long rawContactId = insertRawContact(resolver, account);
45 DataUtil.insertName(resolver, rawContactId, name);
49 public static long createRawContactWithAutoGeneratedName(ContentResolver resolver,
51 Long rawContactId = insertRawContact(resolver, account);
52 DataUtil.insertAutoGeneratedName(resolver, rawContactId);
56 public static long insertRawContact(ContentResolver resolver, Account account) {
60 Uri uri = resolver.insert(URI, values)
    [all...]
  /external/chromium_org/sandbox/win/src/
eat_resolver.h 10 #include "sandbox/win/src/resolver.h"
14 // This is the concrete resolver used to perform exports table interceptions.
20 // Implementation of Resolver::Setup.
30 // Implementation of Resolver::ResolveTarget.
35 // Implementation of Resolver::GetThunkSize.
service_resolver_unittest.cc 10 #include "sandbox/win/src/resolver.h"
17 // This is the concrete resolver used to perform service-call type functions
22 // The service resolver needs a child process to write to.
32 // Overrides Resolver::Init
90 sandbox::ServiceResolverThunk* resolver) {
102 static_cast<WinXpResolverTest*>(resolver)->set_target(service);
105 void* function_entry = resolver;
106 size_t thunk_size = resolver->GetThunkSize();
110 resolver->AllowLocalPatches();
112 NTSTATUS ret = resolver->Setup(ntdll_base, NULL, function, NULL
151 sandbox::ServiceResolverThunk* resolver = GetTestResolver(relaxed); local
206 sandbox::ServiceResolverThunk* resolver = GetTestResolver(true); local
226 sandbox::ServiceResolverThunk* resolver = GetTestResolver(true); local
    [all...]
sidestep_resolver.h 10 #include "sandbox/win/src/resolver.h"
14 // This is the concrete resolver used to perform sidestep interceptions.
20 // Implementation of Resolver::Setup.
30 // Implementation of Resolver::GetThunkSize.
37 // This is the concrete resolver used to perform smart sidestep interceptions.
46 // Implementation of Resolver::Setup.
56 // Implementation of Resolver::GetThunkSize.
service_resolver.h 9 #include "sandbox/win/src/resolver.h"
13 // This is the concrete resolver used to perform service-call type functions
17 // The service resolver needs a child process to write to.
23 // Implementation of Resolver::Setup.
33 // Implementation of Resolver::ResolveInterceptor.
38 // Implementation of Resolver::ResolveTarget.
43 // Implementation of Resolver::GetThunkSize.
91 // This is the concrete resolver used to perform service-call type functions
95 // The service resolver needs a child process to write to.
106 // This is the concrete resolver used to perform service-call type function
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-apache-resolver.jar 
  /external/chromium-libpac/test/
proxy_resolver_v8_unittest.cc 150 ProxyResolverV8WithMockBindings resolver(new MockJSBindings());
151 int result = resolver.SetPacScript(SCRIPT(DIRECT_JS));
154 result = resolver.GetProxyForURL(kQueryUrl, kQueryHost, &kResults);
161 EXPECT_EQ(0U, resolver.mock_js_bindings()->alerts.size());
162 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size());
166 ProxyResolverV8WithMockBindings resolver(new MockJSBindings());
167 int result = resolver.SetPacScript(SCRIPT(RETURN_EMPTY_STRING_JS));
170 result = resolver.GetProxyForURL(kQueryUrl, kQueryHost, &kResults);
176 EXPECT_EQ(0U, resolver.mock_js_bindings()->alerts.size());
177 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size())
    [all...]
  /art/compiler/optimizing/
parallel_move_test.cc 84 TestParallelMoveResolver resolver(&allocator);
86 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves)));
87 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str());
91 TestParallelMoveResolver resolver(&allocator);
93 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves)));
94 ASSERT_STREQ("(2 -> 3) (1 -> 2) (1 -> 4) (0 -> 1)", resolver.GetMessage().c_str());
103 TestParallelMoveResolver resolver(&allocator);
105 resolver.EmitNativeCode(BuildParallelMove(&allocator, moves, arraysize(moves)));
106 ASSERT_STREQ("(1 <-> 0)", resolver.GetMessage().c_str());
110 TestParallelMoveResolver resolver(&allocator)
    [all...]
  /bionic/libc/dns/include/
resolv_static.h 7 * 'static' in the original NetBSD resolver code.
10 * when the resolver was being used by multiple threads.
12 * (note: the OpenBSD/FreeBSD resolver has similar 'issues')
  /external/chromium_org/net/dns/
mapped_host_resolver_unittest.cc 26 // Create a mock host resolver, with specific hostname to IP mappings.
33 // Create a remapped resolver that uses |resolver_impl|.
34 scoped_ptr<MappedHostResolver> resolver(
43 rv = resolver->Resolve(
55 EXPECT_TRUE(resolver->AddRuleFromString("map *.google.com baz.com"));
58 rv = resolver->Resolve(
72 rv = resolver->Resolve(HostResolver::RequestInfo(HostPortPair("foo.com", 77)),
84 EXPECT_TRUE(resolver->AddRuleFromString("Map *.org proxy:99"));
87 rv = resolver->Resolve(
102 // Create a mock host resolver, with specific hostname to IP mappings
    [all...]
  /external/chromium_org/net/base/
address_family.h 10 // Enum wrapper around the address family types supported by host resolver
19 // HostResolverFlags is a bitflag enum used by host resolver procedures to
24 // Hint to the resolver proc that only loopback addresses are configured.
28 // The resolver should only invoke getaddrinfo, not DnsClient.
  /external/chromium_org/net/proxy/
proxy_service_unittest.cc 159 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
161 ProxyConfig::CreateDirect()), resolver, NULL);
171 EXPECT_TRUE(resolver->pending_requests().empty());
195 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
197 ProxyService service(config_service, resolver, NULL);
213 resolver->pending_set_pac_script_request()->script_data()->url());
214 resolver->pending_set_pac_script_request()->CompleteNow(OK);
216 ASSERT_EQ(1u, resolver->pending_requests().size());
217 EXPECT_EQ(url, resolver->pending_requests()[0]->url());
219 // Set the result in proxy resolver
253 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
281 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
330 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
385 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
455 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
489 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
551 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
595 MockAsyncProxyResolverExpectsBytes* resolver = local
643 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
698 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
841 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
911 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
1011 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
1106 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
1389 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
1462 MockAsyncProxyResolverExpectsBytes* resolver = local
1565 MockAsyncProxyResolverExpectsBytes* resolver = local
1624 MockAsyncProxyResolverExpectsBytes* resolver = local
1717 MockAsyncProxyResolverExpectsBytes* resolver = local
1794 MockAsyncProxyResolverExpectsBytes* resolver = local
1867 MockAsyncProxyResolverExpectsBytes* resolver = local
1925 MockAsyncProxyResolverExpectsBytes* resolver = local
1994 MockAsyncProxyResolverExpectsBytes* resolver = local
2027 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
2075 MockAsyncProxyResolver* resolver = new MockAsyncProxyResolver; local
2124 MockAsyncProxyResolverExpectsBytes* resolver = local
2244 MockAsyncProxyResolverExpectsBytes* resolver = local
2349 MockAsyncProxyResolverExpectsBytes* resolver = local
2459 MockAsyncProxyResolverExpectsBytes* resolver = local
2565 MockAsyncProxyResolverExpectsBytes* resolver = local
2717 MockAsyncProxyResolverExpectsBytes* resolver = local
    [all...]
proxy_resolver_v8_unittest.cc 145 ProxyResolverV8WithMockBindings resolver; local
146 int result = resolver.SetPacScriptFromDisk("direct.js");
151 result = resolver.GetProxyForURL(
157 EXPECT_EQ(0U, resolver.mock_js_bindings()->alerts.size());
158 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size());
167 ProxyResolverV8WithMockBindings resolver; local
168 int result = resolver.SetPacScriptFromDisk("return_empty_string.js");
172 result = resolver.GetProxyForURL(
178 EXPECT_EQ(0U, resolver.mock_js_bindings()->alerts.size());
179 EXPECT_EQ(0U, resolver.mock_js_bindings()->errors.size())
183 ProxyResolverV8WithMockBindings resolver; local
228 ProxyResolverV8WithMockBindings resolver; local
249 ProxyResolverV8WithMockBindings resolver; local
262 ProxyResolverV8WithMockBindings resolver; local
285 ProxyResolverV8WithMockBindings resolver; local
315 ProxyResolverV8WithMockBindings resolver; local
334 ProxyResolverV8WithMockBindings resolver; local
349 ProxyResolverV8WithMockBindings resolver; local
368 ProxyResolverV8WithMockBindings resolver; local
409 ProxyResolverV8WithMockBindings resolver; local
453 ProxyResolverV8WithMockBindings resolver; local
484 ProxyResolverV8WithMockBindings resolver; local
502 ProxyResolverV8WithMockBindings resolver; local
521 ProxyResolverV8WithMockBindings resolver; local
535 ProxyResolverV8WithMockBindings resolver; local
563 ProxyResolverV8WithMockBindings resolver; local
585 ProxyResolverV8WithMockBindings resolver; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/line/
LineBreaker.cpp 30 void LineBreaker::skipLeadingWhitespace(InlineBidiResolver& resolver, LineInfo& lineInfo,
33 while (!resolver.position().atEnd() && !requiresLineBox(resolver.position(), lineInfo, LeadingWhitespace)) {
34 RenderObject* object = resolver.position().object();
38 resolver.runs().addRun(createRun(0, 1, object, resolver));
48 resolver.position().increment(&resolver);
50 resolver.commitExplicitEmbedding();
60 InlineIterator LineBreaker::nextLineBreak(InlineBidiResolver& resolver, LineInfo& lineInfo, RenderTextInfo& renderTextInfo, FloatingObject* lastFloatFromPreviousLine, un (…)
    [all...]
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/org.eclipse.tycho.p2.resolver.shared/0.20.0/
_remote.repositories 3 org.eclipse.tycho.p2.resolver.shared-0.20.0.jar>central=
4 org.eclipse.tycho.p2.resolver.shared-0.20.0.pom>central=
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.resolver.shared/0.18.1/
_remote.repositories 3 org.eclipse.tycho.p2.resolver.shared-0.18.1.pom>central=
4 org.eclipse.tycho.p2.resolver.shared-0.18.1.jar>central=
  /external/chromium_org/sandbox/win/wow_helper/
service64_resolver.h 9 #include "sandbox/win/src/resolver.h"
13 // This is the concrete resolver used to perform service-call type functions
17 // The service resolver needs a child process to write to.
22 // Implementation of Resolver::Setup.
32 // Implementation of Resolver::ResolveInterceptor.
37 // Implementation of Resolver::ResolveTarget.
42 // Implementation of Resolver::GetThunkSize.
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
ProviderTestBase.java 18 * Sets up a local ChromeBrowserProvider associated to a mock resolver in an isolated context.
34 MockContentResolver resolver = new MockContentResolver(); local
35 resolver.addProvider(ChromeBrowserProvider.getApiAuthority(activity), provider);
36 resolver.addProvider(ChromeBrowserProvider.getInternalAuthority(activity), provider);
38 mContext = new IsolatedContext(resolver, activity);

Completed in 773 milliseconds

1 2 3 4 5 6 7 8 91011>>