Home
last modified time | relevance | path

Searched refs:mNextArg (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBaseCommand.java25 private int mNextArg; field in BaseCommand
43 mNextArg = 0; in run()
91 String prev = mArgs[mNextArg - 1]; in nextOption()
94 if (mNextArg >= mArgs.length) { in nextOption()
97 String arg = mArgs[mNextArg]; in nextOption()
101 mNextArg++; in nextOption()
127 } else if (mNextArg < mArgs.length) { in nextArg()
128 return mArgs[mNextArg++]; in nextArg()
141 String prev = mArgs[mNextArg - 1]; in nextArgRequired()
/frameworks/base/cmds/ime/src/com/android/commands/ime/
DIme.java33 private int mNextArg; field in Ime
57 mNextArg = 1; in run()
187 if (mNextArg >= mArgs.length) { in nextOption()
190 String arg = mArgs[mNextArg]; in nextOption()
194 mNextArg++; in nextOption()
215 if (mNextArg >= mArgs.length) { in nextOptionData()
218 String data = mArgs[mNextArg]; in nextOptionData()
219 mNextArg++; in nextOptionData()
224 if (mNextArg >= mArgs.length) { in nextArg()
227 String arg = mArgs[mNextArg]; in nextArg()
[all …]
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java29 private int mNextArg; field in RequestSync
60 mNextArg = 0; in run()
151 if (mNextArg < mArgs.length) { in parseArgs()
160 String prev = mArgs[mNextArg - 1]; in nextOption()
163 if (mNextArg >= mArgs.length) { in nextOption()
166 String arg = mArgs[mNextArg]; in nextOption()
170 mNextArg++; in nextOption()
192 } else if (mNextArg < mArgs.length) { in nextArg()
193 return mArgs[mNextArg++]; in nextArg()
202 String prev = mArgs[mNextArg - 1]; in nextArgRequired()
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java33 int mNextArg; field in Backup
157 if (mNextArg >= mArgs.length) { in nextArg()
160 String arg = mArgs[mNextArg]; in nextArg()
161 mNextArg++; in nextArg()
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java34 private int mNextArg; field in Sm
64 mNextArg = 1; in run()
184 if (mNextArg >= mArgs.length) { in nextArg()
187 String arg = mArgs[mNextArg]; in nextArg()
188 mNextArg++; in nextArg()
/frameworks/base/cmds/settings/src/com/android/commands/settings/
DSettingsCmd.java48 int mNextArg; field in SettingsCmd
108 if (mNextArg >= mArgs.length) { in run()
119 if (mNextArg >= mArgs.length) { in run()
213 if (mNextArg >= mArgs.length) { in nextArg()
216 String arg = mArgs[mNextArg]; in nextArg()
217 mNextArg++; in nextArg()
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java121 private int mNextArg; field in AppWidget.Tokenizer
128 if (mNextArg < mArgs.length) { in nextArg()
129 return mArgs[mNextArg++]; in nextArg()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java39 private int mNextArg; field in Bmgr
64 mNextArg = 1; in run()
459 if (mNextArg >= mArgs.length) { in nextArg()
462 String arg = mArgs[mNextArg]; in nextArg()
463 mNextArg++; in nextArg()
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java99 private int mNextArg; field in Pm
135 mNextArg = 1; in run()
2024 if (mNextArg >= mArgs.length) { in nextOption()
2027 String arg = mArgs[mNextArg]; in nextOption()
2031 mNextArg++; in nextOption()
2052 if (mNextArg >= mArgs.length) { in nextOptionData()
2055 String data = mArgs[mNextArg]; in nextOptionData()
2056 mNextArg++; in nextOptionData()
2061 if (mNextArg >= mArgs.length) { in nextArg()
2064 String arg = mArgs[mNextArg]; in nextArg()
[all …]
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java381 private int mNextArg; field in Content.Tokenizer
388 if (mNextArg < mArgs.length) { in nextArg()
389 return mArgs[mNextArg++]; in nextArg()