Home
last modified time | relevance | path

Searched refs:portNum (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/svc/src/com/android/commands/svc/
DUsbCommand.java162 int portNum = args.length >= 3 ? Integer.parseInt(args[2]) : -1; in run() local
169 if (portNum != -1 && portNum < numPorts) { in run()
170 portStatus = ports.get(portNum).getStatus(); in run()
172 port = ports.get(portNum); in run()
174 "Get the USB port: port" + portNum); in run()
177 for (portNum = 0; portNum < numPorts; portNum++) { in run()
178 UsbPortStatus status = ports.get(portNum).getStatus(); in run()
180 port = ports.get(portNum); in run()
183 "Use the default USB port: port" + portNum); in run()
190 "Reset the USB port: port" + portNum); in run()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp2514 size_t portNum = sizeof(mPortBuffers) / sizeof((mPortBuffers)[0]); in getGraphicBufferSize() local
2515 for (size_t i = 0; i < portNum; ++i) { in getGraphicBufferSize()