Rename ctxt to context.
Rename ctxt to context to be consistent with documentation and our coding
standards that asks us to eschew abbreviations.
b/21647353
Change-Id: Ic8c1c2720276aae60c5d2e3782f4336488ecb61e
diff --git a/api/GenerateStubsWhiteList.cpp b/api/GenerateStubsWhiteList.cpp
index 428dd71..ea18eed 100644
--- a/api/GenerateStubsWhiteList.cpp
+++ b/api/GenerateStubsWhiteList.cpp
@@ -430,7 +430,7 @@
*calls << separator;
// Special case for the kernel context, as it has a special existence.
if (p->rsType == "rs_kernel_context") {
- *calls << "ctxt";
+ *calls << "context";
} else if (p->isOutParameter) {
*calls << "(" << p->rsType << "*) " << addVariable(file, variableNumber);
} else {
@@ -498,7 +498,7 @@
// Modify the style of kernel as required by the API level.
if (apiLevel >= 23) {
- file << "void RS_KERNEL test(int in, rs_kernel_context ctxt) {\n";
+ file << "void RS_KERNEL test(int in, rs_kernel_context context) {\n";
} else if (apiLevel >= 17) {
file << "void RS_KERNEL test(int in) {\n";
} else {