Searched refs:cls (Results 1 – 12 of 12) sorted by relevance
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/ |
D | native-lib.cpp | 20 jclass cls = env->FindClass("android/system/ErrnoException"); in ThrowErrnoException() local 21 if (cls == nullptr) { in ThrowErrnoException() 24 jmethodID cid = env->GetMethodID(cls, "<init>", "(Ljava/lang/String;I)V"); in ThrowErrnoException() 32 jthrowable obj = (jthrowable)env->NewObject(cls, cid, msg, err); in ThrowErrnoException()
|
/system/extras/simpleperf/scripts/ |
D | test.py | 276 def prepare(cls, example_name, package_name, activity_name, abi=None, adb_root=False): argument 277 cls.adb = AdbHelper(enable_switch_to_root=adb_root) 278 cls.example_path = TEST_HELPER.testdata_path(example_name) 279 if not os.path.isdir(cls.example_path): 280 log_fatal("can't find " + cls.example_path) 281 for root, _, files in os.walk(cls.example_path): 283 cls.apk_path = os.path.join(root, 'app-profiling.apk') 285 if not hasattr(cls, 'apk_path'): 286 log_fatal("can't find app-profiling.apk under " + cls.example_path) 287 cls.package_name = package_name [all …]
|
D | utils.py | 637 def is_source_filename(cls, filename): argument 639 return ext in cls.SOURCE_FILE_EXTS
|
/system/sepolicy/tools/ |
D | sepolicy-check.c | 119 class_datum_t *cls = NULL; in check_rule() local 145 cls = hashtab_search(policy->p_classes.table, c); in check_rule() 146 if (cls == NULL) { in check_rule() 152 perm = hashtab_search(cls->permissions.table, p); in check_rule() 154 if (cls->comdatum == NULL) { in check_rule() 158 perm = hashtab_search(cls->comdatum->permissions.table, p); in check_rule() 171 key.target_class = cls->s.value; in check_rule()
|
/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
D | TestCompilationResult.java | 50 Class<?> cls = loader.loadClass(object.getClassName()); in TestCompilationResult() local 51 classes.put(object.getClassName(), cls); in TestCompilationResult() local
|
D | XmlParserTest.java | 356 Class<?> cls = result.loadClass("Class"); in testReference() local 364 List student = (List) cls.getMethod("getStudent").invoke(instance); in testReference()
|
/system/sepolicy/tools/sepolicy-analyze/ |
D | neverallow.c | 188 class_datum_t *cls = NULL; in read_classperms() local 247 cls = hashtab_search(policydb->p_classes.table, id); in read_classperms() 248 if (!cls) { in read_classperms() 257 node->tclass = cls->s.value; in read_classperms() 335 cls = policydb->class_val_to_struct[node->tclass-1]; in read_classperms() 336 perm = hashtab_search(cls->permissions.table, id); in read_classperms() 337 if (cls->comdatum && !perm) in read_classperms() 338 perm = hashtab_search(cls->comdatum->permissions.table, id); in read_classperms()
|
/system/extras/simpleperf/scripts/inferno/ |
D | data_types.py | 84 def _get_next_callsite_id(cls): argument 85 cls.callsite_counter += 1 86 return cls.callsite_counter
|
/system/hwservicemanager/ |
D | AccessControl.h | 46 static int auditCallback(void *data, security_class_t cls, char *buf, size_t len);
|
/system/extras/tests/bootloader/ |
D | bootloadertest.py | 28 def setUpClass(cls): argument 29 cls.fastboot = fastboot.FastbootDevice()
|
/system/tools/mkbootimg/ |
D | pylintrc | 361 valid-classmethod-first-arg=cls
|
/system/update_engine/ |
D | pylintrc | 407 valid-classmethod-first-arg=cls
|