OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AttachmentService
(Results
1 - 25
of
28
) sorted by null
1
2
/external/chromium_org/sync/internal_api/attachments/
attachment_service.cc
9
AttachmentService
::
AttachmentService
() {}
10
AttachmentService
::~
AttachmentService
() {}
attachment_service_proxy.cc
22
const
AttachmentService
::GetOrDownloadCallback& callback,
23
const
AttachmentService
::GetOrDownloadResult& result,
33
const
AttachmentService
::DropCallback& callback,
34
const
AttachmentService
::DropResult& result) {
45
const base::WeakPtr<syncer::
AttachmentService
>& wrapped)
75
base::Bind(&
AttachmentService
::GetOrDownloadAttachments,
88
base::Bind(&
AttachmentService
::DropAttachments,
99
base::Bind(&
AttachmentService
::UploadAttachments, core_, attachment_ids));
103
const base::WeakPtr<syncer::
AttachmentService
>& wrapped)
attachment_service_proxy_for_test.cc
14
scoped_ptr<
AttachmentService
> wrapped,
15
scoped_ptr<base::WeakPtrFactory<
AttachmentService
> > weak_ptr_factory)
27
scoped_ptr<
AttachmentService
> wrapped(AttachmentServiceImpl::CreateForTest());
29
// WeakPtr to an
AttachmentService
. Because the base class ctor must be
35
scoped_ptr<base::WeakPtrFactory<
AttachmentService
> > weak_ptr_factory(
36
new base::WeakPtrFactory<
AttachmentService
>(wrapped.get()));
attachment_service_proxy_unittest.cc
24
// A stub implementation of
AttachmentService
that counts the number of times
26
class StubAttachmentService : public
AttachmentService
,
48
AttachmentService
::GET_UNSPECIFIED_ERROR,
57
FROM_HERE, base::Bind(callback,
AttachmentService
::DROP_SUCCESS));
66
virtual base::WeakPtr<
AttachmentService
> AsWeakPtr() {
82
base::WeakPtrFactory<
AttachmentService
> weak_ptr_factory_;
124
void IncrementGetOrDownload(const
AttachmentService
::GetOrDownloadResult&,
131
void IncrementDrop(const
AttachmentService
::DropResult&) {
149
AttachmentService
::GetOrDownloadCallback callback_get_or_download;
150
AttachmentService
::DropCallback callback_drop
[
all
...]
attachment_service_impl.cc
28
//
AttachmentService
::GetOrDownloadAttachments.
147
scoped_ptr<syncer::
AttachmentService
> AttachmentServiceImpl::CreateForTest() {
154
scoped_ptr<syncer::
AttachmentService
> attachment_service(
224
AttachmentService
::DropResult drop_result =
225
AttachmentService
::DROP_UNSPECIFIED_ERROR;
227
drop_result =
AttachmentService
::DROP_SUCCESS;
attachment_service_impl_unittest.cc
154
public
AttachmentService
::Delegate {
172
//
AttachmentService
::Delegate implementation.
181
AttachmentService
::Delegate* delegate) {
206
AttachmentService
* attachment_service() { return attachment_service_.get(); }
210
AttachmentService
::GetOrDownloadCallback download_callback() {
215
void DownloadDone(const
AttachmentService
::GetOrDownloadResult& result,
234
const std::vector<
AttachmentService
::GetOrDownloadResult>&
270
std::vector<
AttachmentService
::GetOrDownloadResult> download_results_;
366
EXPECT_EQ(
AttachmentService
::GET_UNSPECIFIED_ERROR, download_results()[0]);
/packages/apps/Email/tests/src/com/android/email/service/
AttachmentServiceTests.java
31
* Tests of the
AttachmentService
40
final
AttachmentService
.DownloadRequest dr =
41
new
AttachmentService
.DownloadRequest(
AttachmentService
.PRIORITY_FOREGROUND, 1);
42
final
AttachmentService
.DownloadRequest dr2 =
43
new
AttachmentService
.DownloadRequest(
AttachmentService
.PRIORITY_FOREGROUND, 2);
49
final
AttachmentService
.DownloadQueue dq = new
AttachmentService
.DownloadQueue();
55
final
AttachmentService
.DownloadQueue dq = new AttachmentService.DownloadQueue()
[
all
...]
/external/chromium_org/sync/internal_api/public/attachments/
attachment_service_proxy_for_test.h
17
// Constructs and owns an
AttachmentService
suitable for use in tests.
27
// A Core that owns the wrapped
AttachmentService
.
31
scoped_ptr<
AttachmentService
>,
32
scoped_ptr<base::WeakPtrFactory<
AttachmentService
> > weak_ptr_factory);
37
scoped_ptr<
AttachmentService
> wrapped_;
39
scoped_ptr<base::WeakPtrFactory<
AttachmentService
> > weak_ptr_factory_;
attachment_service.h
20
//
AttachmentService
is responsible for managing a model type's attachments.
22
// Outside of sync code,
AttachmentService
shouldn't be used directly. Instead
27
class SYNC_EXPORT
AttachmentService
{
49
// events that originate from
AttachmentService
.
50
// This interface will be called from the same thread
AttachmentService
was
61
AttachmentService
();
62
virtual ~
AttachmentService
();
attachment_service_proxy.h
20
// AttachmentServiceProxy wraps an
AttachmentService
allowing multiple threads
21
// to share the wrapped
AttachmentService
and invoke its methods in the
27
// This class does not own its wrapped
AttachmentService
object. This class
35
class SYNC_EXPORT AttachmentServiceProxy : public
AttachmentService
{
49
const base::WeakPtr<syncer::
AttachmentService
>& wrapped);
53
//
AttachmentService
implementation.
66
// Core does the work of proxying calls to
AttachmentService
methods from one
70
// Callback from
AttachmentService
are proxied back using free functions
75
// (e.g. one type of core might own the wrapped
AttachmentService
).
79
class SYNC_EXPORT Core : public
AttachmentService
,
[
all
...]
attachment_service_impl.h
23
// Implementation of
AttachmentService
.
25
: public
AttachmentService
,
37
// |delegate| is optional delegate for
AttachmentService
to notify about
39
// provided.
AttachmentService
doesn't take ownership of delegate, the pointer
40
// must be valid throughout
AttachmentService
lifetime.
59
static scoped_ptr<syncer::
AttachmentService
> CreateForTest();
61
//
AttachmentService
implementation.
/external/chromium_org/components/sync_driver/
sync_api_component_factory.h
30
// |delegate| is optional delegate for
AttachmentService
to notify about
32
// provided.
AttachmentService
doesn't take ownership of delegate, the pointer
33
// must be valid throughout
AttachmentService
lifetime.
34
virtual scoped_ptr<syncer::
AttachmentService
> CreateAttachmentService(
37
syncer::
AttachmentService
::Delegate* delegate) = 0;
generic_change_processor_factory.h
12
class
AttachmentService
;
generic_change_processor.h
44
public syncer::
AttachmentService
::Delegate,
81
// syncer::
AttachmentService
::Delegate implementation.
158
//
AttachmentService
for datatype. Can be NULL if datatype doesn't use
160
scoped_ptr<syncer::
AttachmentService
> attachment_service_;
165
scoped_ptr<base::WeakPtrFactory<syncer::
AttachmentService
> >
shared_change_processor_unittest.cc
46
virtual scoped_ptr<syncer::
AttachmentService
> CreateAttachmentService(
49
syncer::
AttachmentService
::Delegate* delegate) OVERRIDE {
ui_data_type_controller_unittest.cc
58
virtual scoped_ptr<syncer::
AttachmentService
> CreateAttachmentService(
61
syncer::
AttachmentService
::Delegate* delegate) OVERRIDE {
generic_change_processor_unittest.cc
82
scoped_ptr<syncer::
AttachmentService
> attachment_service)
92
virtual scoped_ptr<syncer::
AttachmentService
> CreateAttachmentService(
95
syncer::
AttachmentService
::Delegate* delegate) OVERRIDE {
101
scoped_ptr<syncer::
AttachmentService
> attachment_service_;
154
// GenericChangeProcessor takes ownership of the
AttachmentService
, but we
160
mock_attachment_service.PassAs<syncer::
AttachmentService
>()));
365
//
AttachmentService
.
389
// Check that the
AttachmentService
received the new attachments.
411
// Check that the
AttachmentService
received it.
476
//
AttachmentService
to upload id1 only
[
all
...]
/external/chromium_org/chrome/browser/sync/
profile_sync_components_factory_mock.cc
38
scoped_ptr<syncer::
AttachmentService
>
42
syncer::
AttachmentService
::Delegate* delegate) {
profile_sync_components_factory_mock.h
53
virtual scoped_ptr<syncer::
AttachmentService
> CreateAttachmentService(
56
syncer::
AttachmentService
::Delegate* delegate) OVERRIDE;
profile_sync_components_factory_impl.h
68
virtual scoped_ptr<syncer::
AttachmentService
> CreateAttachmentService(
71
syncer::
AttachmentService
::Delegate* delegate) OVERRIDE;
/external/chromium_org/sync/api/
sync_data.h
31
class
AttachmentService
;
192
const
AttachmentService
::GetOrDownloadCallback& callback);
201
const
AttachmentService
::DropCallback& callback);
sync_data_unittest.cc
42
scoped_ptr<
AttachmentService
> attachment_service;
43
base::WeakPtrFactory<
AttachmentService
> attachment_service_weak_ptr_factory;
121
// DropAttachments calls are passed through to the underlying
AttachmentService
.
sync_data.cc
217
const
AttachmentService
::GetOrDownloadCallback& callback) {
223
const
AttachmentService
::DropCallback& callback) {
/packages/apps/Email/provider_src/com/android/email/service/
AttachmentService.java
64
public class
AttachmentService
extends Service implements Runnable {
66
public static final String LOG_TAG = "
AttachmentService
";
109
"com.android.email.
AttachmentService
.attachment_id";
111
"com.android.email.
AttachmentService
.attachment_flags";
119
static volatile
AttachmentService
sRunningService = null;
432
// TODO: Really don't like hard coding the
AttachmentService
reference here
435
// static (or test)
AttachmentService
instance to use.
436
final
AttachmentService
service =
AttachmentService
.sRunningService;
446
}, "
AttachmentService
AttachmentWatchdog").start()
[
all
...]
/packages/apps/Email/src/com/android/email2/ui/
MailActivityEmail.java
31
import com.android.email.service.
AttachmentService
;
Completed in 642 milliseconds
1
2