HomeSort by relevance Sort by last modified time
    Searched refs:interceptor (Results 1 - 25 of 30) 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.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);
url_request.h 88 class Interceptor {
90 virtual ~Interceptor() {}
255 static void RegisterRequestInterceptor(Interceptor* interceptor);
256 static void UnregisterRequestInterceptor(Interceptor* interceptor);
587 // Allow an interceptor's URLRequestJob to restart this request.
  /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 722 // Compute the property keys from the interceptor.
726 Handle<InterceptorInfo> interceptor(object->GetNamedInterceptor());
727 CustomArguments args(isolate, interceptor->data(), *receiver, *object);
730 if (!interceptor->enumerator()->IsUndefined()) {
732 v8::ToCData<v8::NamedPropertyEnumerator>(interceptor->enumerator());
733 LOG(isolate, ApiObjectAccess("interceptor-named-enum", *object));
744 // Compute the element keys from the interceptor.
748 Handle<InterceptorInfo> interceptor(object->GetIndexedInterceptor());
749 CustomArguments args(isolate, interceptor->data(), *receiver, *object);
752 if (!interceptor->enumerator()->IsUndefined())
    [all...]
objects.cc 252 // Only deal with CALLBACKS and INTERCEPTOR
289 case INTERCEPTOR: {
290 // If the object has an interceptor, try real named properties.
350 case INTERCEPTOR: {
351 // If the object has an interceptor, try real named properties.
493 // callbacks or interceptor calls.
500 // holder will always be the interceptor holder and the search may
501 // only continue with a current object just after the interceptor
547 case INTERCEPTOR: {
8081 InterceptorInfo* interceptor = GetNamedInterceptor(); local
    [all...]
v8natives.js 745 // Get names for indexed interceptor properties.
758 // Get names for named interceptor properties if any.
    [all...]
mirror-debugger.js 177 PropertyType.Interceptor = 4;
633 // Get names for named interceptor properties if any.
650 // Get names for indexed interceptor properties.
1231 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');
  /prebuilt/common/http-client/
httpcore-4.1.jar 
  /external/v8/src/arm/
stub-cache-arm.cc 114 // Bail out if the receiver has a named interceptor or requires access checks.
557 InterceptorInfo* interceptor = holder_obj->GetNamedInterceptor(); local
558 ASSERT(!masm->isolate()->heap()->InNewSpace(interceptor));
560 __ mov(scratch, Operand(Handle<Object>(interceptor)));
769 // Check that the maps from receiver to interceptor's holder
770 // haven't changed and thus we can invoke interceptor.
778 // Invoke an interceptor and if it provides a value,
784 // Interceptor returned nothing for this property. Try to use cached
787 // Check that the maps from interceptor's holder to constant function's
    [all...]
  /external/v8/src/ia32/
stub-cache-ia32.cc 127 // Bail out if the receiver has a named interceptor or requires access checks.
401 InterceptorInfo* interceptor = holder_obj->GetNamedInterceptor(); local
402 ASSERT(!masm->isolate()->heap()->InNewSpace(interceptor));
404 __ mov(scratch, Immediate(Handle<Object>(interceptor)));
626 // Check that the maps from receiver to interceptor's holder
627 // haven't changed and thus we can invoke interceptor.
635 // Invoke an interceptor and if it provides a value,
641 // Interceptor returned nothing for this property. Try to use cached
644 // Check that the maps from interceptor's holder to constant function's
    [all...]
  /external/v8/src/x64/
stub-cache-x64.cc 102 // Bail out if the receiver has a named interceptor or requires access checks.
382 InterceptorInfo* interceptor = holder_obj->GetNamedInterceptor(); local
383 ASSERT(!masm->isolate()->heap()->InNewSpace(interceptor));
384 __ Move(kScratchRegister, Handle<Object>(interceptor));
614 // Check that the maps from receiver to interceptor's holder
615 // haven't changed and thus we can invoke interceptor.
623 // Invoke an interceptor and if it provides a value,
629 // Interceptor returned nothing for this property. Try to use cached
632 // Check that the maps from interceptor's holder to constant function's
    [all...]
  /prebuilt/common/groovy/
groovy-all-1.7.0.jar 
  /external/v8/test/cctest/
test-api.cc 4384 v8::Handle<v8::Object> interceptor = templ->NewInstance(); local
    [all...]
  /prebuilt/sdk/10/
android.jar 

Completed in 1707 milliseconds

1 2