Home
last modified time | relevance | path

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

/development/vndk/tools/definition-tool/tests/
Dtest_elfdump.py32 def setUpClass(cls): argument
33 cls.targets = ndk_toolchain.create_targets()
36 cls.test_dir_base = test_dir_base
38 cls.tmp_dir = TemporaryDirectory()
39 cls.test_dir_base = cls.tmp_dir.name
41 cls._build_fixtures(cls.target_name)
44 def tearDownClass(cls): argument
46 cls.tmp_dir.cleanup()
49 def _build_fixtures(cls, target_name): argument
50 target = cls.targets[target_name]
[all …]
/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/ndk/platforms/android-9/include/linux/
Dtransport_class.h30 #define DECLARE_TRANSPORT_CLASS(cls, nm, su, rm, cfg) struct transport_class cls = { .class = { … argument
37 #define DECLARE_ANON_TRANSPORT_CLASS(cls, mtch, cfg) struct anon_transport_class cls = { .tclass… argument
Dsysdev.h48 struct sysdev_class * cls; member
/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/vndk/tools/header-checker/tests/
Dtest.py14 def setUpClass(cls): argument
15 cls.maxDiff = None
/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.js61 this.cls = modData[1];
426 function onAddAllClass(evt, cls) { argument
430 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/vndk/tools/definition-tool/
Dvndk_definition_tool.py95 def __new__(cls, *args, **kwargs): argument
103 return base_cls.__new__(cls, *args)
351 def parse_struct(cls, fmt, offset, error_msg): argument
353 return cls._make(struct.unpack_from(fmt, buf, offset))
574 def _normalize_tag(cls, tag): argument
576 tag = cls._TAG_ALIASES.get(tag, tag)
577 if tag not in cls.TAGS:
617 def is_tag_visible(cls, from_tag, to_tag): argument
618 return to_tag in cls._TAG_VISIBILITY[from_tag]
1194 def _get_dirname(cls, path): argument
[all …]
/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/ndk/platforms/android-9/include/
Djni.h527 jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic) in ToReflectedMethod()
528 { return functions->ToReflectedMethod(this, cls, methodID, isStatic); } in ToReflectedMethod()
536 jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic) in ToReflectedField()
537 { return functions->ToReflectedField(this, cls, fieldID, isStatic); } in ToReflectedField()