Lines Matching refs:pkgOrClass
476 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()
504 *(pCtrl->pkgOrClass + len-2) = '\0'; in enableAssertions()
543 pCtrl->pkgOrClass = strdup(""); in dvmLateEnableAssertions()
559 free(gDvm.assertionCtrl[i].pkgOrClass); in freeAssertionCtrl()