HomeSort by relevance Sort by last modified time
    Searched refs:IsolatedContext (Results 1 - 25 of 62) 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/storage/browser/fileapi/
isolated_context.cc 50 static base::LazyInstance<IsolatedContext>::Leaky g_isolated_context =
55 IsolatedContext::FileInfoSet::FileInfoSet() {}
56 IsolatedContext::FileInfoSet::~FileInfoSet() {}
58 bool IsolatedContext::FileInfoSet::AddPath(
87 bool IsolatedContext::FileInfoSet::AddPathWithName(
98 class IsolatedContext::Instance {
106 // IsolatedContext::RegisterFileSystemForPath() or
107 // IsolatedContext::RegisterFileSystemForVirtualPath().
116 // could be registered by IsolatedContext::RegisterDraggedFileSystem().
153 IsolatedContext::Instance::Instance(FileSystemType type
    [all...]
isolated_context.h 40 class STORAGE_EXPORT IsolatedContext : public MountPoints {
65 static IsolatedContext* GetInstance();
67 // Returns true if the given filesystem type is managed by IsolatedContext
165 friend struct base::DefaultLazyInstanceTraits<IsolatedContext>;
176 IsolatedContext();
177 virtual ~IsolatedContext();
196 DISALLOW_COPY_AND_ASSIGN(IsolatedContext);
transient_file_util.cc 23 IsolatedContext::GetInstance()->RevokeFileSystem(filesystem_id);
dragged_file_util.cc 20 typedef IsolatedContext::MountPointInfo FileInfo;
100 IsolatedContext::GetInstance()->GetDraggedFileInfo(
file_system_url.h 149 friend class IsolatedContext;
  /frameworks/base/test-runner/src/android/test/
ProviderTestCase.java 41 private IsolatedContext mProviderContext;
68 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper);
91 public IsolatedContext getMockContext() {
105 Context context = new IsolatedContext(
ProviderTestCase2.java 43 * An {@link android.test.IsolatedContext} that stubs out Context methods that might
49 * regular content resolver, but uses {@link IsolatedContext}. It stubs out
54 * An instance of the provider under test, running in an {@link IsolatedContext}.
75 private IsolatedContext mProviderContext;
122 * {@link android.test.mock.MockContentResolver}, a new IsolatedContext
141 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper);
182 * Gets the {@link IsolatedContext} created by this class during initialization.
183 * @return The {@link IsolatedContext} instance
185 public IsolatedContext getMockContext() {
197 * Both the new provider and the new resolver are put into an {@link IsolatedContext}
    [all...]
IsolatedContext.java 49 public class IsolatedContext extends ContextWrapper {
56 public IsolatedContext(
125 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() {
  /packages/providers/TvProvider/tests/src/com/android/providers/tv/
MockTvProviderContext.java 26 import android.test.IsolatedContext;
31 class MockTvProviderContext extends 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);
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
EmlMessageLoaderTest.java 26 import android.test.IsolatedContext;
43 IsolatedContext context = new IsolatedContext(resolver, getContext());
  /external/chromium_org/content/browser/fileapi/
file_system_context_unittest.cc 31 using storage::IsolatedContext;
115 IsolatedContext::GetInstance()->RegisterFileSystemForPath(
155 IsolatedContext::GetInstance()->RevokeFileSystem(isolated_id);
205 IsolatedContext::GetInstance()->RegisterFileSystemForPath(
319 IsolatedContext::GetInstance()->RevokeFileSystemByPath(
342 IsolatedContext::GetInstance()->RegisterFileSystemForPath(
366 IsolatedContext::GetInstance()->RevokeFileSystem(isolated_fs_id);
isolated_context_unittest.cc 23 using storage::IsolatedContext;
30 typedef IsolatedContext::MountPointInfo FileInfo;
59 IsolatedContext::FileInfoSet files;
66 id_ = IsolatedContext::GetInstance()->RegisterDraggedFileSystem(files);
67 IsolatedContext::GetInstance()->AddReference(id_);
72 IsolatedContext::GetInstance()->RemoveReference(id_);
75 IsolatedContext* isolated_context() const {
76 return IsolatedContext::GetInstance();
transient_file_util_unittest.cc 45 storage::IsolatedContext* isolated_context =
46 storage::IsolatedContext::GetInstance();
plugin_private_file_system_backend_unittest.cc 25 using storage::IsolatedContext;
43 return IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath(
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
UtilityTest.java 20 import android.test.IsolatedContext;
106 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir();
132 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir();
146 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir();
184 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir();
  /external/chromium_org/chrome/browser/renderer_host/pepper/
pepper_isolated_file_system_message_filter.cc 119 return storage::IsolatedContext::GetInstance()->RegisterFileSystemForPath(
196 storage::IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath(
  /external/chromium_org/content/shell/browser/
shell_message_filter.cc 77 storage::IsolatedContext::FileInfoSet files;
86 storage::IsolatedContext::GetInstance()->RegisterDraggedFileSystem(files);
  /external/chromium_org/chrome/browser/extensions/api/file_handlers/
app_file_handler_util.cc 295 storage::IsolatedContext* isolated_context =
296 storage::IsolatedContext::GetInstance();
364 storage::IsolatedContext* context = storage::IsolatedContext::GetInstance();
  /external/chromium_org/chrome/browser/media_galleries/
media_file_system_registry.h 40 class IsolatedContext;
  /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/content/browser/
child_process_security_policy_unittest.cc 312 storage::IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath(
315 storage::IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath(
320 storage::IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath(
325 storage::IsolatedContext::GetInstance()->RegisterFileSystemForVirtualPath(
378 storage::IsolatedContext::GetInstance()->RevokeFileSystem(read_id);
379 storage::IsolatedContext::GetInstance()->RevokeFileSystem(read_write_id);
380 storage::IsolatedContext::GetInstance()->RevokeFileSystem(copy_into_id);
381 storage::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 {

Completed in 1297 milliseconds

1 2 3