Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 25 of 26) sorted by relevance

12

/development/vndk/tools/definition-tool/tests/
Dtest_elfdump.py30 def setUpClass(cls): argument
31 cls.targets = create_targets()
34 cls.test_dir_base = test_dir_base
36 cls.tmp_dir = TemporaryDirectory()
37 cls.test_dir_base = cls.tmp_dir.name
39 cls._build_fixtures(cls.target_name)
43 def tearDownClass(cls): argument
45 cls.tmp_dir.cleanup()
49 def _build_fixtures(cls, target_name): argument
50 target = cls.targets[target_name]
[all …]
Dtest_command_deps_insight.py24 def _get_module(cls, strs, mods, path): argument
26 if strs[mod[cls._PATH_FIELD]] == path:
32 def _get_module_deps(cls, strs, mods, path): argument
33 mod = cls._get_module(strs, mods, path)
35 for deps in mod[cls._DEPS_FIELD]:
36 result.update(strs[mods[x][cls._PATH_FIELD]] for x in deps)
41 def _get_module_users(cls, strs, mods, path): argument
42 mod = cls._get_module(strs, mods, path)
43 users = mod[cls._USERS_FIELD]
44 return set(strs[mods[x][cls._PATH_FIELD]] for x in users)
/development/samples/SampleSyncAdapter/samplesyncadapter_server/model/
Ddatastore.py38 def get_contact_info(cls, username): argument
40 query = cls.gql('WHERE handle = :1', username)
45 def get_contact_last_updated(cls, username): argument
47 query = cls.gql('WHERE handle = :1', username)
52 def get_contact_id(cls, username): argument
54 query = cls.gql('WHERE handle = :1', username)
59 def get_contact_status(cls, username): argument
61 query = cls.gql('WHERE handle = :1', username)
/development/tools/axl/
Dsingletonmixin.py57 def __call__(cls, *lstArgs, **dictArgs): argument
63 def getInstance(cls, *lstArgs): argument
69 if cls._isInstantiated():
73 if len(lstArgs) != cls._getConstructionArgCountNotCountingSelf():
75 instance = cls.__new__(cls)
77 cls.cInstance = instance
78 return cls.cInstance
81 def _isInstantiated(cls): argument
82 return hasattr(cls, 'cInstance')
85 def _getConstructionArgCountNotCountingSelf(cls): argument
[all …]
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceRandom.java401 float cls = mRandom.nextFloat(); in generateEvents() local
404 if (cls < mFactors[FACTOR_TOUCH]) { in generateEvents()
407 } else if (cls < mFactors[FACTOR_MOTION]) { in generateEvents()
410 } else if (cls < mFactors[FACTOR_PINCHZOOM]) { in generateEvents()
413 } else if (cls < mFactors[FACTOR_TRACKBALL]) { in generateEvents()
416 } else if (cls < mFactors[FACTOR_ROTATION]) { in generateEvents()
419 } else if (cls < mFactors[FACTOR_PERMISSION]) { in generateEvents()
426 if (cls < mFactors[FACTOR_NAV]) { in generateEvents()
428 } else if (cls < mFactors[FACTOR_MAJORNAV]) { in generateEvents()
430 } else if (cls < mFactors[FACTOR_SYSOPS]) { in generateEvents()
[all …]
/development/tools/repo_diff/service/repodiff/tools/
Dupgrade_db.py15 def all(cls): argument
17 cls.UPGRADE,
18 cls.DOWNGRADE,
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py79 def __iter__(cls): argument
81 return iter(cls._enums)
235 def lex_interpreted_string(cls, buf, offset): argument
253 match = cls.UNICODE_CHARS_PATTERN.match(buf, pos)
269 if char in cls.OCT_TABLE:
270 literal += chr(cls.decode_oct(buf, pos, pos + 1, pos + 4))
273 literal += chr(cls.decode_hex(buf, pos, pos + 2, pos + 4))
277 cls.decode_hex(buf, pos, pos + 2, pos + 6))
281 cls.decode_hex(buf, pos, pos + 2, pos + 10))
285 literal += cls.ESCAPE_CHAR_TABLE[char]
[all …]
Dvndk.py190 def create_from_root_bp(cls, root_bp_path, namespaces=None): argument
192 result = cls()
/development/gsi/gsi_util/gsi_util/mounters/
Dimage_mounter.py76 def _detect_system_as_root(cls, raw_image_file): argument
81 for filename in cls._SYSTEM_FILES:
88 for filename in cls._SYSTEM_FILES:
Dcomposite_mounter.py43 def create_by_mount_target(cls, mount_target, partition): argument
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DLogHelper.java39 public static String makeLogTag(Class cls) { in makeLogTag() argument
40 return makeLogTag(cls.getSimpleName()); in makeLogTag()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/
DMainActivity.java70 public InstantiatingTabListener(TabCompatActivity activity, Class<? extends Fragment> cls) { in InstantiatingTabListener() argument
72 mClass = cls; in InstantiatingTabListener()
/development/vndk/tools/definition-tool/assets/insight/
Dinsight.js63 this.cls = modData[1];
455 function onAddAllClass(evt, cls) { argument
459 return mod.cls == cls;
/development/vndk/tools/definition-tool/tools/
Dremove_dt_needed.py135 def parse_struct(cls, fmt, offset, error_msg): argument
137 return cls._make(struct.unpack_from(fmt, buf, offset))
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java304 private String buildFunctionName(String pkg, String cls, String meth) { in buildFunctionName() argument
310 if (cls != null && cls.length() > 0) { in buildFunctionName()
311 result.append(cls); in buildFunctionName()
/development/vndk/tools/header-checker/tests/
Dtest.py40 def setUpClass(cls): argument
41 cls.maxDiff = None
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...

12