Home
last modified time | relevance | path

Searched refs:pkgOrClass (Results 1 – 3 of 3) sorted by relevance

/dalvik/vm/native/
Djava_lang_Class.c70 memcmp(pCtrl->pkgOrClass, className, pCtrl->pkgOrClassLen) != 0) in Dalvik_java_lang_Class_desiredAssertionStatus()
73 className, pkgLen, pCtrl->pkgOrClass); in Dalvik_java_lang_Class_desiredAssertionStatus()
76 className, pkgLen, pCtrl->pkgOrClass, pCtrl->enable); in Dalvik_java_lang_Class_desiredAssertionStatus()
84 if (pCtrl->pkgOrClass == NULL) { in Dalvik_java_lang_Class_desiredAssertionStatus()
93 } else if (*pCtrl->pkgOrClass == '\0') { in Dalvik_java_lang_Class_desiredAssertionStatus()
98 if (strcmp(pCtrl->pkgOrClass, className) != 0) { in Dalvik_java_lang_Class_desiredAssertionStatus()
100 className, pCtrl->pkgOrClass); in Dalvik_java_lang_Class_desiredAssertionStatus()
103 className, pCtrl->pkgOrClass, pCtrl->enable); in Dalvik_java_lang_Class_desiredAssertionStatus()
/dalvik/vm/
DInit.c476 static bool enableAssertions(const char* pkgOrClass, bool enable) in enableAssertions() argument
481 if (pkgOrClass == NULL) { in enableAssertions()
484 pCtrl->pkgOrClass = NULL; in enableAssertions()
487 if (*pkgOrClass == '\0') { in enableAssertions()
490 pCtrl->pkgOrClass = strdup(""); in enableAssertions()
493 pCtrl->pkgOrClass = dvmDotToSlash(pkgOrClass+1); // skip ':' in enableAssertions()
494 if (pCtrl->pkgOrClass == NULL) { in enableAssertions()
496 LOGW("Unable to process assertion arg '%s'\n", pkgOrClass); in enableAssertions()
500 int len = strlen(pCtrl->pkgOrClass); in enableAssertions()
501 if (len >= 3 && strcmp(pCtrl->pkgOrClass + len-3, "///") == 0) { in enableAssertions()
[all …]
DGlobals.h46 char* pkgOrClass; /* package/class string, or NULL for esa/dsa */ member