Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioCommandQueue.cpp35 mCommands.push(command); in sendCommand()
67 return !mRunning || !mCommands.empty(); in waitForCommand()
72 return !mRunning || !mCommands.empty(); in waitForCommand()
75 if (!mCommands.empty() && mRunning) { in waitForCommand()
76 command = mCommands.front(); in waitForCommand()
77 mCommands.pop(); in waitForCommand()
92 while (!mCommands.empty()) { in stopWaiting()
93 auto command = mCommands.front(); in stopWaiting()
94 mCommands.pop(); in stopWaiting()
DAAudioCommandQueue.h95 std::queue<std::shared_ptr<AAudioCommand>> mCommands GUARDED_BY(mLock);
/frameworks/base/services/core/java/com/android/server/wm/utils/
DStateMachine.java84 private final Queue<Command> mCommands = new ArrayDeque<>(); field in StateMachine
161 final Command[] commands = new Command[mCommands.size()]; in getCommands()
162 mCommands.toArray(commands); in getCommands()
242 mCommands.add(Command.newCommit(newState)); in transit()
244 mCommands.add(Command.newExit(newState)); in transit()
245 mCommands.add(Command.newEnter(newState)); in transit()
249 mCommands.add(Command.newExit(s)); in transit()
257 mCommands.add(Command.newEnter(mTmp.get(i))); in transit()
261 while (!mCommands.isEmpty()) { in transit()
262 final Command cmd = mCommands.remove(); in transit()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sysui/
DShellCommandHandler.java38 private final TreeMap<String, ShellCommandActionHandler> mCommands = new TreeMap<>(); field in ShellCommandHandler
79 mCommands.put(commandClass, actions); in addCommandCallback()
105 if (!mCommands.containsKey(cmdClass)) { in handleCommand()
110 final ShellCommandActionHandler actions = mCommands.get(args[1]); in handleCommand()
118 for (String commandClass : mCommands.keySet()) { in runHelp()
120 mCommands.get(commandClass).printShellCommandHelp(pw, " "); in runHelp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DRequestBuilder.java44 private final List<ApduCommand> mCommands = new ArrayList<>(); field in RequestBuilder
51 mCommands.add(new ApduCommand(mChannel, cla, ins, p1, p2, p3, cmdHex)); in addApdu()
59 mCommands.add(new ApduCommand(mChannel, cla, ins, p1, p2, cmdHex.length() / 2, cmdHex)); in addApdu()
67 mCommands.add(new ApduCommand(mChannel, cla, ins, p1, p2, 0, "")); in addApdu()
92 return mCommands; in getCommands()
/frameworks/av/services/audioflinger/
DPatchCommandThread.cpp33 mCommands.clear(); in ~PatchCommandThread()
76 while (!mCommands.empty() && !exitPending()) { in threadLoop()
77 const sp<Command> command = mCommands.front(); in threadLoop()
78 mCommands.pop_front(); in threadLoop()
150 mCommands.emplace_back(command); in sendCommand()
DPatchCommandThread.h135 std::deque<sp<Command>> mCommands GUARDED_BY(mutex()); // list of pending commands
/frameworks/native/cmds/idlcli/
Dutils.h219 Instance()->mCommands[name] = [] { return std::make_unique<U>(); }; in Register()
220 return Instance()->mCommands[name]; in Register()
224 auto it = Instance()->mCommands.find(name); in Create()
225 if (it == Instance()->mCommands.end()) { in Create()
233 for (auto &it : Instance()->mCommands) { in List()
247 std::map<const std::string, CommandCreator> mCommands;
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DTextGraphReader.java41 private ArrayList<Command> mCommands = new ArrayList<Command>(); field in TextGraphReader
163 mCommands.clear(); in reset()
235 mCommands.add(new ImportPackageCommand(packageName)); in parseString()
242 mCommands.add(new AddLibraryCommand(libraryName)); in parseString()
254 mCommands.add(new AllocateFilterCommand(curClassName, curFilterName)); in parseString()
266 mCommands.add(new InitFilterCommand(params)); in parseString()
301 mCommands.add(new ConnectCommand(curSourceFilterName, in parseString()
485 for (Command command : mCommands) { in executeCommands()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphReader.java46 private ArrayList<Command> mCommands = new ArrayList<Command>(); field in GraphReader.CommandStack
58 for (Command command : mCommands) { in execute()
64 mCommands.add(command); in append()