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

1 2 3 4

  /external/grpc-grpc/src/python/grpcio_tests/tests/
__init__.py 20 Loader = _loader.Loader
  /external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
SavedModelBundle.java 29 public static final class Loader {
42 public Loader withRunOptions(byte[] options) {
54 public Loader withConfigProto(byte[] configProto) {
64 public Loader withTags(String... tags) {
69 private Loader(String exportDir) {
87 * SavedModelBundle.loader().withTags(tags).load();
95 return loader(exportDir).withTags(tags).load();
101 * <p/>Returns a <code>Loader</code> object that can set configuration options before actually
106 public static Loader loader(String exportDir) method in class:SavedModelBundle
    [all...]
  /external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
ShadowLoaderTest.java 5 import android.support.v4.content.Loader;
17 private Loader<String> loader; field in class:ShadowLoaderTest
22 loader = new Loader<String>(RuntimeEnvironment.application) {
33 loader.forceLoad();
  /external/python/cpython2/Lib/unittest/test/
test_discovery.py 13 loader = unittest.TestLoader()
15 loader._top_level_dir = '/foo'
16 name = loader._get_name_from_path('/foo/bar/baz.py')
24 loader._get_name_from_path('/bar/baz.py')
27 loader = unittest.TestLoader()
56 loader._get_module_from_name = lambda path: path + ' module'
57 loader.loadTestsFromModule = lambda module: module + ' tests'
60 loader._top_level_dir = top_level
61 suite = list(loader._find_tests(top_level, 'test*.py'))
70 loader = unittest.TestLoader(
    [all...]
  /cts/tests/fragment/src/android/fragment/cts/
LoaderActivity.java 21 import android.content.Loader;
58 public Loader<String> onCreateLoader(int id, Bundle args) {
63 public void onLoadFinished(Loader<String> loader, String data) {
69 public void onLoaderReset(Loader<String> loader) {
LoaderTest.java 28 import android.content.Loader;
55 * Test to ensure that there is no Activity leak due to Loader
121 final Loader<String>[] loaders = new Loader[1];
125 final Loader<String> loader =
129 public Loader<String> onCreateLoader(int id, Bundle args) {
153 public void onLoadFinished(Loader<String> loader, String data) {
159 public void onLoaderReset(Loader<String> loader)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
test_discovery.py 12 loader = unittest.TestLoader()
14 loader._top_level_dir = '/foo'
15 name = loader._get_name_from_path('/foo/bar/baz.py')
23 loader._get_name_from_path('/bar/baz.py')
26 loader = unittest.TestLoader()
55 loader._get_module_from_name = lambda path: path + ' module'
56 loader.loadTestsFromModule = lambda module: module + ' tests'
59 loader._top_level_dir = top_level
60 suite = list(loader._find_tests(top_level, 'test*.py'))
69 loader = unittest.TestLoader()
    [all...]
  /developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/
ContactablesLoaderCallbacks.java 22 import android.content.Loader;
47 public Loader<Cursor> onCreateLoader(int loaderIndex, Bundle args) {
80 public void onLoadFinished(Loader<Cursor> arg0, Cursor cursor) {
141 public void onLoaderReset(Loader<Cursor> cursorLoader) {
  /developers/samples/android/content/contacts/BasicContactables/Application/src/main/java/com/example/android/basiccontactables/
ContactablesLoaderCallbacks.java 22 import android.content.Loader;
47 public Loader<Cursor> onCreateLoader(int loaderIndex, Bundle args) {
80 public void onLoadFinished(Loader<Cursor> arg0, Cursor cursor) {
141 public void onLoaderReset(Loader<Cursor> cursorLoader) {
  /development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
ContactablesLoaderCallbacks.java 22 import android.content.Loader;
47 public Loader<Cursor> onCreateLoader(int loaderIndex, Bundle args) {
80 public void onLoadFinished(Loader<Cursor> arg0, Cursor cursor) {
141 public void onLoaderReset(Loader<Cursor> cursorLoader) {
  /external/grpc-grpc/src/python/grpcio_tests/tests/_sanity/
_sanity_test.py 30 loader = tests.Loader()
31 loader.loadTestsFromNames(['tests'])
35 loader.suite)
  /external/python/cpython3/Lib/unittest/test/
test_discovery.py 31 loader = unittest.TestLoader()
32 loader._top_level_dir = '/foo'
33 name = loader._get_name_from_path('/foo/bar/baz.py')
41 loader._get_name_from_path('/bar/baz.py')
44 loader = unittest.TestLoader()
73 loader._get_module_from_name = lambda path: path + ' module'
74 orig_load_tests = loader.loadTestsFromModule
79 loader.loadTestsFromModule = loadTestsFromModule
80 loader.suiteClass = lambda thing: thing
83 loader._top_level_dir = top_leve
    [all...]
  /developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 31 import android.support.v4.content.Loader;
107 * Restart the Loader to query the Contacts content provider to display the first contact.
117 public Loader<Cursor> onCreateLoader(int i, Bundle bundle) {
127 public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {
143 public void onLoaderReset(Loader<Cursor> loader) {
  /developers/samples/android/content/LoaderCursor/src/com/example/android/content/loadercursor/
CursorLoaderListFragment.java 22 import android.content.Loader;
85 // Prepare the loader. Either re-connect with an existing one,
129 * filter, and restart the loader to do a new query with this filter.
139 // Prevents restarting the loader when restoring state.
147 // Restart the Loader.
149 // creating the query for the Loader.
181 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
182 // This is called when a new Loader needs to be created. This
183 // sample only has one Loader, so we don't care about the ID.
208 public void onLoadFinished(Loader<Cursor> loader, Cursor data)
    [all...]
  /developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 31 import android.support.v4.content.Loader;
107 * Restart the Loader to query the Contacts content provider to display the first contact.
117 public Loader<Cursor> onCreateLoader(int i, Bundle bundle) {
127 public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {
143 public void onLoaderReset(Loader<Cursor> loader) {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LoaderCursor.java 25 import android.content.Loader;
95 // Prepare the loader. Either re-connect with an existing one,
129 // the search filter, and restart the loader to do a new query
133 // Prevents restarting the loader when restoring state.
173 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
174 // This is called when a new Loader needs to be created. This
175 // sample only has one Loader, so we don't care about the ID.
196 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
209 public void onLoaderReset(Loader<Cursor> loader)
    [all...]
LoaderRetained.java 27 import android.content.Loader;
100 // Prepare the loader. Either re-connect with an existing one,
134 // the search filter, and restart the loader to do a new query
138 // Prevents restarting the loader when restoring state.
178 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
179 // This is called when a new Loader needs to be created. This
180 // sample only has one Loader, so we don't care about the ID.
201 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
214 public void onLoaderReset(Loader<Cursor> loader)
    [all...]
  /developers/build/prebuilts/gradle/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.kt 29 import android.support.v4.content.Loader
64 * Restart the Loader to query the Contacts content provider to display the first contact.
73 override fun onCreateLoader(i: Int, bundle: Bundle): Loader<Cursor> =
81 override fun onLoadFinished(loader: Loader<Cursor>, cursor: Cursor?) {
93 override fun onLoaderReset(loader: Loader<Cursor>) {
  /developers/samples/android/system/RuntimePermissions/kotlinApp/app/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.kt 29 import android.support.v4.content.Loader
64 * Restart the Loader to query the Contacts content provider to display the first contact.
73 override fun onCreateLoader(i: Int, bundle: Bundle): Loader<Cursor> =
81 override fun onLoadFinished(loader: Loader<Cursor>, cursor: Cursor?) {
93 override fun onLoaderReset(loader: Loader<Cursor>) {
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/opt-viewer/
opt-diff.py 15 from yaml import CLoader as Loader
17 from yaml import Loader
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ResourceBundleWrapper.java 37 /** Loader for bundle instances, for caching. */
38 private static abstract class Loader {
42 private static CacheBase<String, ResourceBundleWrapper, Loader> BUNDLE_CACHE =
43 new SoftCache<String, ResourceBundleWrapper, Loader>() {
45 protected ResourceBundleWrapper createInstance(String unusedKey, Loader loader) {
46 return loader.load();
151 return BUNDLE_CACHE.getInstance(cacheKey, new Loader() {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ResourceBundleWrapper.java 35 /** Loader for bundle instances, for caching. */
36 private static abstract class Loader {
40 private static CacheBase<String, ResourceBundleWrapper, Loader> BUNDLE_CACHE =
41 new SoftCache<String, ResourceBundleWrapper, Loader>() {
43 protected ResourceBundleWrapper createInstance(String unusedKey, Loader loader) {
44 return loader.load();
149 return BUNDLE_CACHE.getInstance(cacheKey, new Loader() {
  /external/python/cpython3/Lib/unittest/
main.py 7 from . import loader, runner
66 testRunner=None, testLoader=loader.defaultTestLoader,
149 def createTests(self, from_discovery=False, Loader=None):
153 loader = self.testLoader if Loader is None else Loader()
154 self.test = loader.discover(self.start, self.pattern, self.top)
233 def _do_discovery(self, argv, Loader=None):
244 self.createTests(from_discovery=True, Loader=Loader)
    [all...]
  /developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
ImageClientFragment.kt 22 import android.content.Loader
97 override fun onCreateLoader(id: Int, args: Bundle?): Loader<Cursor> {
110 override fun onLoadFinished(loader: Loader<Cursor>, cursor: Cursor) {
138 override fun onLoaderReset(loader: Loader<Cursor>) {
  /developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
ImageClientFragment.kt 22 import android.content.Loader
97 override fun onCreateLoader(id: Int, args: Bundle?): Loader<Cursor> {
110 override fun onLoadFinished(loader: Loader<Cursor>, cursor: Cursor) {
138 override fun onLoaderReset(loader: Loader<Cursor>) {

Completed in 569 milliseconds

1 2 3 4