/system/extras/simpleperf/scripts/ |
D | test.py | 129 def prepare(cls, example_name, package_name, activity_name, abi=None, adb_root=False): argument 130 cls.adb = AdbHelper(enable_switch_to_root=adb_root) 131 cls.example_path = os.path.join("testdata", example_name) 132 if not os.path.isdir(cls.example_path): 133 log_fatal("can't find " + cls.example_path) 134 for root, _, files in os.walk(cls.example_path): 136 cls.apk_path = os.path.join(root, 'app-profiling.apk') 138 if not hasattr(cls, 'apk_path'): 139 log_fatal("can't find app-profiling.apk under " + cls.example_path) 140 cls.package_name = package_name [all …]
|
D | utils.py | 613 def is_source_filename(cls, filename): argument 615 return ext in cls.SOURCE_FILE_EXTS
|
/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/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 | 44 static int auditCallback(void *data, security_class_t cls, char *buf, size_t len);
|
/system/extras/perfprofd/scripts/ |
D | perf_proto_stack_sqlite_flame.py | 72 def _get_next_callsite_id(cls): argument 73 cls.callsite_counter += 1 74 return cls.callsite_counter
|
/system/extras/tests/bootloader/ |
D | bootloadertest.py | 28 def setUpClass(cls): argument 29 cls.fastboot = fastboot.FastbootDevice()
|
/system/update_engine/ |
D | pylintrc | 407 valid-classmethod-first-arg=cls
|