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

1 2

  /frameworks/base/services/tests/servicestests/src/com/android/server/
BroadcastInterceptingContext.java 88 final BroadcastInterceptor interceptor = new BroadcastInterceptor(null, filter); local
90 mInterceptors.add(interceptor);
92 return interceptor;
114 final BroadcastInterceptor interceptor = i.next(); local
115 if (receiver.equals(interceptor.mReceiver)) {
127 final BroadcastInterceptor interceptor = i.next(); local
128 if (interceptor.dispatchBroadcast(intent)) {
  /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...]
  /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/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...]
mirror-debugger.js 178 PropertyType.Interceptor = 5;
635 // Get names for named interceptor properties if any.
652 // Get names for indexed interceptor properties.
1234 return (this.propertyType() == PropertyType.Interceptor) ||
    [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');
  /prebuilts/tools/common/http-client/
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...]
  /external/v8/src/x64/
stub-cache-x64.cc 130 // Bail out if the receiver has a named interceptor or requires access checks.
375 Handle<InterceptorInfo> interceptor(holder_obj->GetNamedInterceptor());
376 ASSERT(!masm->isolate()->heap()->InNewSpace(*interceptor));
377 __ Move(kScratchRegister, interceptor);
585 // Check that the maps from receiver to interceptor's holder
586 // haven't changed and thus we can invoke interceptor.
594 // Invoke an interceptor and if it provides a value,
600 // Interceptor returned nothing for this property. Try to use cached
603 // Check that the maps from interceptor's holder to constant function's
    [all...]
  /prebuilts/misc/common/groovy/
groovy-all-1.7.0.jar 
  /external/v8/src/arm/
stub-cache-arm.cc 150 // Bail out if the receiver has a named interceptor or requires access checks.
576 Handle<InterceptorInfo> interceptor(holder_obj->GetNamedInterceptor());
577 ASSERT(!masm->isolate()->heap()->InNewSpace(*interceptor));
579 __ mov(scratch, Operand(interceptor));
768 // Check that the maps from receiver to interceptor's holder
769 // haven't changed and thus we can invoke interceptor.
777 // Invoke an interceptor and if it provides a value,
783 // Interceptor returned nothing for this property. Try to use cached
786 // Check that the maps from interceptor's holder to constant function's
840 // Call a runtime function to load the interceptor property
    [all...]
  /external/v8/src/mips/
stub-cache-mips.cc 141 // Bail out if the receiver has a named interceptor or requires access checks.
561 Handle<InterceptorInfo> interceptor(holder_obj->GetNamedInterceptor());
562 ASSERT(!masm->isolate()->heap()->InNewSpace(*interceptor));
564 __ li(scratch, Operand(interceptor));
758 // Check that the maps from receiver to interceptor's holder
759 // haven't changed and thus we can invoke interceptor.
767 // Invoke an interceptor and if it provides a value,
773 // Interceptor returned nothing for this property. Try to use cached
776 // Check that the maps from interceptor's holder to constant function's
830 // Call a runtime function to load the interceptor property
    [all...]
  /prebuilts/tools/common/easymock-tools/
easymock-3.1.jar 

Completed in 372 milliseconds

1 2