Lines Matching defs:method
301 AString method;
307 if (itemMeta->findString("cipher-method", &method)) {
314 // If method has changed (e.g., -> NONE); sufficient to check at the segment boundary
315 if (mSampleAesKeyItem != NULL && first && found && method != "SAMPLE-AES") {
316 ALOGI("decryptBuffer: resetting mSampleAesKeyItem(%p) with method %s",
317 mSampleAesKeyItem.get(), method.c_str());
323 method = "NONE";
325 buffer->meta()->setString("cipher-method", method.c_str());
327 if (method == "NONE") {
329 } else if (method == "SAMPLE-AES") {
331 } else if (!(method == "AES-128")) {
332 ALOGE("Unsupported cipher method '%s'", method.c_str());
411 if (method == "SAMPLE-AES") {
430 if (method == "SAMPLE-AES") {
460 AString method;
461 CHECK(buffer->meta()->findString("cipher-method", &method));
462 if (method == "NONE" || method == "SAMPLE-AES") {
1485 AString method;
1486 CHECK(buffer->meta()->findString("cipher-method", &method));
1487 if ((tsBuffer->size() > 0 && method == "NONE")