OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IsolatedContext
(Results
1 - 25
of
54
) sorted by null
1
2
3
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
ProviderTestBase.java
9
import android.test.
IsolatedContext
;
22
private
IsolatedContext
mContext;
38
mContext = new
IsolatedContext
(resolver, activity);
/external/chromium_org/webkit/browser/fileapi/
isolated_context.cc
61
static base::LazyInstance<
IsolatedContext
>::Leaky g_isolated_context =
66
IsolatedContext
::FileInfoSet::FileInfoSet() {}
67
IsolatedContext
::FileInfoSet::~FileInfoSet() {}
69
bool
IsolatedContext
::FileInfoSet::AddPath(
98
bool
IsolatedContext
::FileInfoSet::AddPathWithName(
109
class
IsolatedContext
::Instance {
117
//
IsolatedContext
::RegisterFileSystemForPath() or
118
//
IsolatedContext
::RegisterFileSystemForVirtualPath().
125
// could be registered by
IsolatedContext
::RegisterDraggedFileSystem().
160
IsolatedContext
::Instance::Instance(FileSystemType type
[
all
...]
isolated_context.h
40
class WEBKIT_STORAGE_BROWSER_EXPORT
IsolatedContext
: public MountPoints {
65
static
IsolatedContext
* GetInstance();
67
// Returns true if the given filesystem type is managed by
IsolatedContext
163
friend struct base::DefaultLazyInstanceTraits<
IsolatedContext
>;
174
IsolatedContext
();
175
virtual ~
IsolatedContext
();
194
DISALLOW_COPY_AND_ASSIGN(
IsolatedContext
);
transient_file_util.cc
23
IsolatedContext
::GetInstance()->RevokeFileSystem(filesystem_id);
dragged_file_util.cc
23
typedef
IsolatedContext
::MountPointInfo FileInfo;
103
IsolatedContext
::GetInstance()->GetDraggedFileInfo(
isolated_context_unittest.cc
23
typedef
IsolatedContext
::MountPointInfo FileInfo;
52
IsolatedContext
::FileInfoSet files;
59
id_ =
IsolatedContext
::GetInstance()->RegisterDraggedFileSystem(files);
60
IsolatedContext
::GetInstance()->AddReference(id_);
65
IsolatedContext
::GetInstance()->RemoveReference(id_);
68
IsolatedContext
* isolated_context() const {
69
return
IsolatedContext
::GetInstance();
file_system_url.h
147
friend class
IsolatedContext
;
/frameworks/base/test-runner/src/android/test/
ProviderTestCase.java
41
private
IsolatedContext
mProviderContext;
68
mProviderContext = new
IsolatedContext
(mResolver, targetContextWrapper);
92
public
IsolatedContext
getMockContext() {
106
Context context = new
IsolatedContext
(
ProviderTestCase2.java
42
* An {@link android.test.
IsolatedContext
} that stubs out Context methods that might
48
* regular content resolver, but uses {@link
IsolatedContext
}. It stubs out
53
* An instance of the provider under test, running in an {@link
IsolatedContext
}.
74
private
IsolatedContext
mProviderContext;
121
* {@link android.test.mock.MockContentResolver}, a new
IsolatedContext
140
mProviderContext = new
IsolatedContext
(mResolver, targetContextWrapper);
171
* Gets the {@link
IsolatedContext
} created by this class during initialization.
172
* @return The {@link
IsolatedContext
} instance
174
public
IsolatedContext
getMockContext() {
186
* Both the new provider and the new resolver are put into an {@link
IsolatedContext
}
[
all
...]
IsolatedContext.java
51
public class
IsolatedContext
extends ContextWrapper {
58
public
IsolatedContext
(
127
super(
IsolatedContext
.this, null /* IAccountManager */, null /* handler */);
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/
ProviderTestCase3.java
26
import android.test.
IsolatedContext
;
43
private
IsolatedContext
mProviderContext;
105
* {@link com.android.browser.tests.utils.MockContentResolver2}, a new
IsolatedContext
123
// The default
IsolatedContext
has a mock AccountManager that doesn't
125
mProviderContext = new
IsolatedContext
(mResolver, targetContextWrapper) {
164
* Gets the {@link
IsolatedContext
} created by this class during initialization.
165
* @return The {@link
IsolatedContext
} instance
167
public
IsolatedContext
getMockContext() {
/external/chromium_org/chrome/browser/media_galleries/
imported_media_gallery_registry.cc
18
using fileapi::
IsolatedContext
;
40
fsid =
IsolatedContext
::GetInstance()->RegisterFileSystemForVirtualPath(
74
fsid =
IsolatedContext
::GetInstance()->RegisterFileSystemForVirtualPath(
110
fsid =
IsolatedContext
::GetInstance()->RegisterFileSystemForVirtualPath(
148
return
IsolatedContext
::GetInstance()->RevokeFileSystem(fsid);
158
return
IsolatedContext
::GetInstance()->RevokeFileSystem(fsid);
170
return
IsolatedContext
::GetInstance()->RevokeFileSystem(fsid);
media_file_system_registry.h
37
class
IsolatedContext
;
/cts/tests/tests/content/src/android/content/cts/
SearchRecentSuggestionsProviderTest.java
24
import android.test.
IsolatedContext
;
33
private
IsolatedContext
mProviderContext;
42
mProviderContext = new
IsolatedContext
(new MockContentResolver(), targetContextWrapper);
/external/chromium_org/content/browser/fileapi/
file_system_context_unittest.cc
106
IsolatedContext
::GetInstance()->RegisterFileSystemForPath(
145
IsolatedContext
::GetInstance()->RevokeFileSystem(isolated_id);
195
IsolatedContext
::GetInstance()->RegisterFileSystemForPath(
325
IsolatedContext
::GetInstance()->RevokeFileSystemByPath(
348
IsolatedContext
::GetInstance()->RegisterFileSystemForPath(
369
IsolatedContext
::GetInstance()->RevokeFileSystem(isolated_fs_id);
transient_file_util_unittest.cc
44
IsolatedContext
* isolated_context =
IsolatedContext
::GetInstance();
/external/chromium_org/content/shell/browser/
shell_message_filter.cc
70
fileapi::
IsolatedContext
::FileInfoSet files;
79
fileapi::
IsolatedContext
::GetInstance()->RegisterDraggedFileSystem(files);
/external/chromium_org/chrome/browser/renderer_host/pepper/
pepper_isolated_file_system_message_filter.cc
118
return fileapi::
IsolatedContext
::GetInstance()->
186
fileapi::
IsolatedContext
::GetInstance()->RegisterFileSystemForVirtualPath(
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
AlarmSchedulerTest.java
27
import android.test.
IsolatedContext
;
46
private
IsolatedContext
mIsolatedContext;
164
mIsolatedContext = new
IsolatedContext
(mockResolver, mContext);
/external/chromium_org/chrome/browser/chromeos/fileapi/
file_system_backend.h
26
class
IsolatedContext
;
/external/chromium_org/chrome/browser/extensions/api/file_handlers/
app_file_handler_util.cc
308
fileapi::
IsolatedContext
* isolated_context =
309
fileapi::
IsolatedContext
::GetInstance();
369
fileapi::
IsolatedContext
* context = fileapi::
IsolatedContext
::GetInstance();
/external/chromium_org/chrome/browser/media_galleries/fileapi/
mtp_device_map_service.cc
88
if (!fileapi::
IsolatedContext
::GetInstance()->GetRegisteredPath(
/external/chromium_org/content/browser/
child_process_security_policy_unittest.cc
312
std::string read_id = fileapi::
IsolatedContext
::GetInstance()->
316
std::string read_write_id = fileapi::
IsolatedContext
::GetInstance()->
320
std::string copy_into_id = fileapi::
IsolatedContext
::GetInstance()->
324
std::string delete_from_id = fileapi::
IsolatedContext
::GetInstance()->
377
fileapi::
IsolatedContext
::GetInstance()->RevokeFileSystem(read_id);
378
fileapi::
IsolatedContext
::GetInstance()->RevokeFileSystem(read_write_id);
379
fileapi::
IsolatedContext
::GetInstance()->RevokeFileSystem(copy_into_id);
380
fileapi::
IsolatedContext
::GetInstance()->RevokeFileSystem(delete_from_id);
/packages/apps/Email/tests/src/com/android/email/
DBTestHelper.java
28
import android.test.
IsolatedContext
;
178
/** {@link
IsolatedContext
} + getApplicationContext() */
179
private static class MyIsolatedContext extends
IsolatedContext
{
/external/chromium_org/chrome/browser/devtools/
devtools_file_helper.cc
135
fileapi::
IsolatedContext
* isolated_context() {
137
fileapi::
IsolatedContext
* isolated_context =
138
fileapi::
IsolatedContext
::GetInstance();
Completed in 332 milliseconds
1
2
3