HomeSort by relevance Sort by last modified time
    Searched refs:interceptor (Results 1 - 25 of 45) sorted by null

1 2

  /external/apache-http/src/org/apache/http/protocol/
BasicHttpProcessor.java 144 * @param interceptor the interceptor to add
147 void addInterceptor(final HttpRequestInterceptor interceptor) {
148 addRequestInterceptor(interceptor);
152 void addInterceptor(final HttpRequestInterceptor interceptor,
154 addRequestInterceptor(interceptor, index);
197 * @param interceptor the interceptor to add
200 void addInterceptor(final HttpResponseInterceptor interceptor) {
201 addResponseInterceptor(interceptor);
288 HttpRequestInterceptor interceptor = local
302 HttpResponseInterceptor interceptor = local
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
BroadcastInterceptingContext.java 89 final BroadcastInterceptor interceptor = new BroadcastInterceptor(null, filter); local
91 mInterceptors.add(interceptor);
93 return interceptor;
115 final BroadcastInterceptor interceptor = i.next(); local
116 if (receiver.equals(interceptor.mReceiver)) {
128 final BroadcastInterceptor interceptor = i.next(); local
129 if (interceptor.dispatchBroadcast(intent)) {
  /external/chromium/net/url_request/
url_request_job_manager.h 27 // so no attempt is made to support ProtocolFactory or Interceptor instances
43 // of a redirect. Returns NULL if no interceptor intervenes.
50 // Returns NULL if no interceptor intervenes.
64 // Register/unregister a request interceptor.
65 void RegisterRequestInterceptor(URLRequest::Interceptor* interceptor);
66 void UnregisterRequestInterceptor(URLRequest::Interceptor* interceptor);
73 typedef std::vector<URLRequest::Interceptor*> InterceptorList;
url_request_unittest.cc 2148 TestInterceptor interceptor; local
2184 TestInterceptor interceptor; local
2217 TestInterceptor interceptor; local
2248 TestInterceptor interceptor; local
2277 TestInterceptor interceptor; local
2308 TestInterceptor interceptor; local
2334 TestInterceptor interceptor; local
2366 TestInterceptor interceptor; local
2390 TestInterceptor interceptor; local
    [all...]
url_request_job_manager.cc 185 URLRequest::Interceptor* interceptor) {
192 DCHECK(std::find(interceptors_.begin(), interceptors_.end(), interceptor) ==
194 interceptors_.push_back(interceptor);
198 URLRequest::Interceptor* interceptor) {
206 std::find(interceptors_.begin(), interceptors_.end(), interceptor);
url_request.h 89 class NET_EXPORT Interceptor {
91 virtual ~Interceptor() {}
256 static void RegisterRequestInterceptor(Interceptor* interceptor);
257 static void UnregisterRequestInterceptor(Interceptor* interceptor);
588 // Allow an interceptor's URLRequestJob to restart this request.
url_request.cc 63 // URLRequest::Interceptor
65 URLRequestJob* URLRequest::Interceptor::MaybeInterceptRedirect(
71 URLRequestJob* URLRequest::Interceptor::MaybeInterceptResponse(
155 void URLRequest::RegisterRequestInterceptor(Interceptor* interceptor) {
156 URLRequestJobManager::GetInstance()->RegisterRequestInterceptor(interceptor);
160 void URLRequest::UnregisterRequestInterceptor(Interceptor* interceptor) {
162 interceptor);
  /external/chromium/chrome/browser/extensions/
extension_management_browsertest.cc 263 // Note: This interceptor gets requests on the IO thread.
264 scoped_refptr<AutoUpdateInterceptor> interceptor(new AutoUpdateInterceptor());
267 interceptor->SetResponseOnIOThread("http://localhost/autoupdate/manifest",
269 interceptor->SetResponseOnIOThread("http://localhost/autoupdate/v2.crx",
306 interceptor->SetResponseOnIOThread("http://localhost/autoupdate/manifest",
308 interceptor->SetResponseOnIOThread("http://localhost/autoupdate/v3.crx",
334 // Note: This interceptor gets requests on the IO thread.
335 scoped_refptr<AutoUpdateInterceptor> interceptor(new AutoUpdateInterceptor());
338 interceptor->SetResponseOnIOThread("http://localhost/autoupdate/manifest",
340 interceptor->SetResponseOnIOThread("http://localhost/autoupdate/v2.crx"
    [all...]
  /external/chromium/chrome/browser/policy/
device_management_service_browsertest.cc 44 // Interceptor implementation that returns test data back to the service.
45 class CannedResponseInterceptor : public net::URLRequest::Interceptor {
59 // net::URLRequest::Interceptor overrides.
98 CannedResponseInterceptor interceptor(
111 CannedResponseInterceptor interceptor(
127 CannedResponseInterceptor interceptor(
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Hover.java 54 * A checkbox is used to control whether a special view, the Interceptor, will intercept
55 * events before they are sent to its child (a button). When the Interceptor
57 * over it because the interceptor itself will grab the events.
72 mInterceptor = (HoverInterceptorView) findViewById(R.id.interceptor);
  /external/chromium/net/base/
mock_host_resolver.cc 60 void MockHostResolverBase::Reset(HostResolverProc* interceptor) {
73 // Lastly add the provided interceptor to the front of the chain.
74 if (interceptor) {
75 interceptor->SetPreviousProc(proc);
76 proc = interceptor;
mock_host_resolver.h 52 void Reset(HostResolverProc* interceptor);
  /external/smack/src/org/jivesoftware/smack/
ChatManager.java 252 for(Map.Entry<PacketInterceptor, PacketFilter> interceptor : interceptors.entrySet()) {
253 PacketFilter filter = interceptor.getValue();
255 interceptor.getKey().interceptPacket(message);
271 * Adds an interceptor which intercepts any messages sent through chats.
273 * @param packetInterceptor the interceptor.
  /external/v8/src/
handles.cc 546 // Compute the property keys from the interceptor.
550 Handle<InterceptorInfo> interceptor(object->GetNamedInterceptor());
551 CustomArguments args(isolate, interceptor->data(), *receiver, *object);
554 if (!interceptor->enumerator()->IsUndefined()) {
556 v8::ToCData<v8::NamedPropertyEnumerator>(interceptor->enumerator());
557 LOG(isolate, ApiObjectAccess("interceptor-named-enum", *object));
568 // Compute the element keys from the interceptor.
572 Handle<InterceptorInfo> interceptor(object->GetIndexedInterceptor());
573 CustomArguments args(isolate, interceptor->data(), *receiver, *object);
576 if (!interceptor->enumerator()->IsUndefined())
    [all...]
objects.cc 298 // Only deal with CALLBACKS and INTERCEPTOR
333 case INTERCEPTOR: {
334 // If the object has an interceptor, try real named properties.
394 case INTERCEPTOR: {
395 // If the object has an interceptor, try real named properties.
571 // callbacks or interceptor calls.
578 // holder will always be the interceptor holder and the search may
579 // only continue with a current object just after the interceptor
630 case INTERCEPTOR: {
10044 InterceptorInfo* interceptor = GetNamedInterceptor(); local
    [all...]
v8natives.js 993 // Get names for indexed interceptor properties.
1007 // Get names for named interceptor properties if any.
    [all...]
  /external/v8/test/mjsunit/
mirror-object.js 65 assertFalse(mirror.hasNamedInterceptor(), 'No named interceptor expected');
66 assertFalse(mirror.hasIndexedInterceptor(), 'No indexed interceptor expected');
102 assertEquals(void 0, fromJSON.namedInterceptor, 'No named interceptor expected in JSON');
103 assertEquals(void 0, fromJSON.indexedInterceptor, 'No indexed interceptor expected in JSON');
mirror-array.js 82 assertEquals(void 0, fromJSON.namedInterceptor, 'No named interceptor expected in JSON');
83 assertEquals(void 0, fromJSON.indexedInterceptor, 'No indexed interceptor expected in JSON');
  /external/smack/src/com/kenai/jbosh/
BOSHClient.java 644 * @param interceptor exchange interceptor
646 void setExchangeInterceptor(final ExchangeInterceptor interceptor) {
647 exchInterceptor.set(interceptor);
957 ExchangeInterceptor interceptor = exchInterceptor.get(); local
958 if (interceptor != null) {
959 HTTPExchange newExch = interceptor.interceptExchange(exch);
    [all...]
  /external/robolectric/lib/main/
httpcore-4.0.1.jar 
  /external/smack/asmack-master/lib/
httpcore-4.1.4.jar 
  /prebuilts/devtools/tools/lib/
httpcore-4.1.jar 
  /prebuilts/tools/common/http-client/
httpcore-4.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcore/4.1/
httpcore-4.1.jar 
  /external/v8/src/ia32/
stub-cache-ia32.cc 161 // Bail out if the receiver has a named interceptor or requires access checks.
401 Handle<InterceptorInfo> interceptor(holder_obj->GetNamedInterceptor());
402 ASSERT(!masm->isolate()->heap()->InNewSpace(*interceptor));
404 __ mov(scratch, Immediate(interceptor));
601 // Check that the maps from receiver to interceptor's holder
602 // haven't changed and thus we can invoke interceptor.
610 // Invoke an interceptor and if it provides a value,
616 // Interceptor returned nothing for this property. Try to use cached
619 // Check that the maps from interceptor's holder to constant function's
    [all...]

Completed in 1338 milliseconds

1 2