Searched defs:arg (Results 1 - 25 of 141) sorted by relevance

123456

/frameworks/av/services/oboeservice/
H A DAAudioThread.cpp48 static void * AAudioThread_internalThreadProc(void *arg) { argument
49 AAudioThread *aaudioThread = (AAudioThread *) arg;
/frameworks/native/cmds/lshal/
H A DDebugCommand.cpp27 Status DebugCommand::parseArgs(const std::string &command, const Arg &arg) { argument
28 if (optind >= arg.argc) {
32 mInterfaceName = arg.argv[optind];
34 for (; optind < arg.argc; ++optind) {
35 mOptions.push_back(arg.argv[optind]);
40 Status DebugCommand::main(const std::string &command, const Arg &arg) { argument
41 Status status = parseArgs(command, arg);
/frameworks/wilhelm/src/
H A Dsync.cpp28 void *sync_start(void *arg) argument
30 CEngine *thiz = (CEngine *) arg;
/frameworks/base/tests/net/java/android/net/apf/
H A DBpf2Apf.java39 private static int parseImm(String line, String arg) { argument
40 if (!arg.startsWith("#0x")) {
43 final long val_long = Long.parseLong(arg.substring(3), 16);
63 String arg = line.substring(15, Math.min(32, line.length())).trim();
72 if (arg.equals("4*([14]&0xf)")) {
79 if (arg.equals("#pktlen")) {
86 if (arg.startsWith("#0x")) {
90 gen.addLoadImmediate(dest, parseImm(line, arg));
93 if (arg.startsWith("M[")) {
97 int memory_slot = Integer.parseInt(arg
[all...]
/frameworks/native/cmds/installd/
H A Dotapreopt_chroot.cpp61 static int otapreopt_chroot(const int argc, char **arg) { argument
69 CloseDescriptor(arg[1]);
107 if (!ValidateTargetSlotSuffix(arg[2])) {
108 LOG(ERROR) << "Target slot suffix not legal: " << arg[2];
112 arg[2]);
147 argv[i - 1] = arg[i];
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DMessageQueueTest.java128 private MessageThreadUtil.SyncQueueItem obtainMessage(int what, int arg) { argument
129 return MessageThreadUtil.SyncQueueItem.obtainMessage(what, arg, null);
/frameworks/base/media/jni/soundpool/
H A DSoundPoolThread.cpp75 int SoundPoolThread::beginThread(void* arg) { argument
77 SoundPoolThread* soundPoolThread = (SoundPoolThread*)arg;
/frameworks/base/tests/testables/src/android/testing/
H A DTestableSettingsProvider.java69 public Bundle call(String method, String arg, Bundle extras) { argument
76 String k = key(table, arg, userId);
91 Bundle call = mSettings.call(method, arg, extras);
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
H A DFakeSettingsProvider.java64 * 3. Calling ContentResolver#notifyChange(getUriFor(table, arg), ...) on every settings change.
93 public Bundle call(String method, String arg, Bundle extras) { argument
103 value = mTables.get(table).get(arg);
107 table, arg, value));
116 table, arg, value));
119 mTables.get(table).put(arg, value);
121 mTables.get(table).remove(arg);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java131 int parseUserArg(String arg) { argument
133 if ("all".equals(arg)) {
135 } else if ("current".equals(arg) || "cur".equals(arg)) {
138 userId = Integer.parseInt(arg);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DPreconditions.java37 * @param arg Argument to check
40 * @return arg
44 public static int checkBitFlags(String argName, int arg, String flagsName, int flags) { argument
45 if ((arg & flags) == 0) {
50 return arg;
57 * @param arg Argument to check
60 * @return arg
64 public static <T> T checkEquals(String argName, T arg, argument
66 if (!Objects.equals(arg, expectedValue)) {
70 argName, expectedName, arg, expectedValu
89 checkNotNull(String argName, T arg) argument
109 checkNotNull(T arg) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DAirplaneModeTile.java88 protected void handleUpdateState(BooleanState state, Object arg) { argument
89 final int value = arg instanceof Integer ? (Integer)arg : mSetting.getValue();
H A DColorInversionTile.java96 protected void handleUpdateState(BooleanState state, Object arg) { argument
97 final int value = arg instanceof Integer ? (Integer) arg : mSetting.getValue();
H A DDataSaverTile.java100 protected void handleUpdateState(BooleanState state, Object arg) { argument
101 state.value = arg instanceof Boolean ? (Boolean) arg
H A DLocationTile.java97 protected void handleUpdateState(BooleanState state, Object arg) { argument
H A DNfcTile.java106 protected void handleUpdateState(BooleanState state, Object arg) { argument
H A DNightDisplayTile.java77 protected void handleUpdateState(BooleanState state, Object arg) { argument
H A DUserTile.java86 protected void handleUpdateState(State state, Object arg) { argument
87 final Pair<String, Drawable> p = arg != null ? (Pair<String, Drawable>) arg : mLastUpdate;
H A DWorkModeTile.java95 protected void handleUpdateState(BooleanState state, Object arg) { argument
96 if (arg instanceof Boolean) {
97 state.value = (Boolean) arg;
/frameworks/base/services/core/java/com/android/server/
H A DDiskStatsService.java189 private boolean hasOption(String[] args, String arg) { argument
191 if (arg.equals(opt)) {
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java61 public Bundle call(String method, String arg, Bundle extras) { argument
/frameworks/base/tools/aapt2/
H A DFlags.cpp34 auto func = [value](const StringPiece& arg) -> bool {
35 *value = arg.to_string();
46 auto func = [value](const StringPiece& arg) -> bool {
47 value->push_back(arg.to_string());
58 auto func = [value](const StringPiece& arg) -> bool {
59 *value = arg.to_string();
70 auto func = [value](const StringPiece& arg) -> bool {
71 value->push_back(arg.to_string());
82 auto func = [value](const StringPiece& arg) -> bool {
83 value->insert(arg
139 StringPiece arg = args[i]; local
171 *out_error << "unknown option '" << arg << "'.\\n\\n"; local
[all...]
/frameworks/base/tools/bit/
H A Dadb.cpp61 const char* arg = va_arg(args, char*); local
62 if (arg == NULL) {
65 cmd.AddArg(arg);
343 const char* arg = va_arg(args, char*);
344 while (arg) {
345 string last = arg;
346 arg = va_arg(args, char*);
351 if (arg == NULL) {
362 if (arg == NULL) {
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/
H A Damrnb_enc_test.cpp179 int arg, filename = 0; local
185 for (arg = 1; arg < argc; arg++) {
186 if (argv[arg][0] == '+') {
187 if (argv[arg][1] == 'M') {
188 switch (argv[arg][2]) {
207 fprintf(stderr, "Invalid parameter '%s'.\n", argv[arg]);
213 fprintf(stderr, "Invalid parameter '%s'.\n", argv[arg]);
219 inFileName = argv[arg];
[all...]
/frameworks/base/cmds/incident/
H A Dmain.cpp165 const char* arg = argv[i]; local
167 if (arg[0] != '\0') {
168 int section = strtol(arg, &end, 0);
172 IncidentSection const* ic = find_section(arg);
174 fprintf(stderr, "Invalid section: %s\n", arg);

Completed in 430 milliseconds

123456