Home
last modified time | relevance | path

Searched refs:mCommand (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceShellCommandTest.java65 private UserManagerServiceShellCommand mCommand; field in UserManagerServiceShellCommandTest
98 mCommand = spy(cmd); in setUp()
104 doReturn(mWriter).when(mCommand).getOutPrintWriter(); in testMainUser()
106 assertEquals(0, mCommand.exec(mBinder, in, out, err, in testMainUser()
116 doReturn(mWriter).when(mCommand).getOutPrintWriter(); in testMainUserNull()
118 assertEquals(1, mCommand.exec(mBinder, in, out, err, in testMainUserNull()
127 doReturn(mWriter).when(mCommand).getOutPrintWriter(); in testCanSwitchToHeadlessSystemUser()
129 assertEquals(0, mCommand.exec(mBinder, in, out, err, in testCanSwitchToHeadlessSystemUser()
141 doReturn(mWriter).when(mCommand).getOutPrintWriter(); in testIsMainUserPermanentAdmin()
143 assertEquals(0, mCommand.exec(mBinder, in, out, err, in testIsMainUserPermanentAdmin()
/frameworks/av/services/audioflinger/fastpath/
DAutoPark.h31 if (!(state->mCommand & FastThreadState::IDLE)) { in AutoPark()
32 mPreviousCommand = state->mCommand; in AutoPark()
33 state->mCommand = FastThreadState::HOT_IDLE; in AutoPark()
49 ALOG_ASSERT(state->mCommand == FastThreadState::HOT_IDLE); in ~AutoPark()
50 state->mCommand = mPreviousCommand; in ~AutoPark()
DFastThread.cpp79 mCommand = next->mCommand; in threadLoop()
98 if (!(mCurrent->mCommand & FastThreadState::IDLE)) { in threadLoop()
99 if (mCommand & FastThreadState::IDLE) { in threadLoop()
115 mDumpState->mCommand = mCommand; in threadLoop()
120 switch (mCommand) { in threadLoop()
162 LOG_ALWAYS_FATAL_IF(!isSubClassCommand(mCommand)); in threadLoop()
DFastCaptureDumpState.cpp29 if (mCommand == FastCaptureState::INITIAL) { in dump()
40 FastCaptureState::commandToString(mCommand), mReadSequence, mFramesRead, in dump()
DFastThreadState.h38 Command mCommand = INITIAL; // current command member
DFastThreadDumpState.h35 FastThreadState::Command mCommand = FastThreadState::INITIAL; // current command member
DFastMixerDumpState.cpp48 if (mCommand == FastMixerState::INITIAL) { in dump()
59 FastMixerState::commandToString(mCommand), mWriteSequence, mFramesWritten, in dump()
DFastThread.h87 FastThreadState::Command mCommand = FastThreadState::INITIAL; variable
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java195 private int mCommand = 0; field in Cea708CCParser
279 mCommand = data[pos] & 0xff; in parseServiceBlockData()
281 if (mCommand == Const.CODE_C0_EXT1) { in parseServiceBlockData()
283 Log.d(TAG, String.format("parseServiceBlockData EXT1 %x", mCommand)); in parseServiceBlockData()
286 } else if (mCommand >= Const.CODE_C0_RANGE_START in parseServiceBlockData()
287 && mCommand <= Const.CODE_C0_RANGE_END) { in parseServiceBlockData()
289 Log.d(TAG, String.format("parseServiceBlockData C0 %x", mCommand)); in parseServiceBlockData()
292 } else if (mCommand >= Const.CODE_C1_RANGE_START in parseServiceBlockData()
293 && mCommand <= Const.CODE_C1_RANGE_END) { in parseServiceBlockData()
295 Log.d(TAG, String.format("parseServiceBlockData C1 %x", mCommand)); in parseServiceBlockData()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsShellCommandTest.java82 private LockSettingsShellCommand mCommand; field in LockSettingsShellCommandTest
96 mCommand = new LockSettingsShellCommand(mLockPatternUtils, context, 0, in setUp()
108 assertEquals(-1, mCommand.exec(mBinder, in, out, err, in testWrongPassword()
125 assertEquals(0, mCommand.exec(new Binder(), in, out, err, in testChangePin()
145 assertEquals(-1, mCommand.exec(new Binder(), in, out, err, in testChangePin_nonCompliant()
154 assertEquals(-1, mCommand.exec(new Binder(), in, out, err, in testChangePin_noLockScreen()
172 assertEquals(0, mCommand.exec(new Binder(), in, out, err, in testChangePassword()
192 assertEquals(-1, mCommand.exec(new Binder(), in, out, err, in testChangePassword_nonCompliant()
201 assertEquals(-1, mCommand.exec(new Binder(), in, out, err, in testChangePassword_noLockScreen()
218 assertEquals(0, mCommand.exec(new Binder(), in, out, err, in testChangePattern()
[all …]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java57 private String mCommand; field in Event
75 return mCommand; in getCommand()
124 + ", command=" + mCommand in toString()
151 mEvent.mCommand = command; in setCommand()
201 } else if (mEvent.mCommand == null) { in build()
204 if (COMMAND_REGISTER.equals(mEvent.mCommand)) { in build()
209 if (COMMAND_SET_GET_REPORT_RESPONSE.equals(mEvent.mCommand)) { in build()
214 if (COMMAND_SEND_SET_REPORT_REPLY.equals(mEvent.mCommand)) { in build()
218 } else if (COMMAND_DELAY.equals(mEvent.mCommand)) { in build()
222 } else if (COMMAND_REPORT.equals(mEvent.mCommand)) { in build()
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DEvent.java96 private Command mCommand;
116 return mCommand; in getCommand()
189 + ", command=" + mCommand in toString()
214 mEvent.mCommand = command; in setCommand()
278 } else if (mEvent.mCommand == null) { in build()
281 switch (mEvent.mCommand) { in build()
/frameworks/base/services/core/java/com/android/server/hdmi/
DResendCecCommandAction.java39 private final HdmiCecMessage mCommand; field in ResendCecCommandAction
61 mCommand = command; in ResendCecCommandAction()
82 sendCommandWithoutRetries(mCommand, mCallback); in handleTimerEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DRepeatableExecutorImpl.java45 private final Runnable mCommand; field in RepeatableExecutorImpl.ExecutionToken
52 mCommand = r; in ExecutionToken()
59 mCommand.run(); in run()
/frameworks/native/cmds/lshal/
DLshal.cpp176 mCommand = arg.argv[optind]; in parseArgs()
177 if (selectCommand(mCommand) != nullptr) { in parseArgs()
182 if (mCommand.size() > 0 && mCommand[0] == '-') { in parseArgs()
184 mCommand.clear(); in parseArgs()
220 auto c = selectCommand(mCommand); in main()
232 return static_cast<HelpCommand*>(help)->usageOfCommand(mCommand); in main()
DLshal.h70 std::string mCommand; variable
/frameworks/native/opengl/libs/EGL/
DMultifileBlobCache.h75 : mCommand(command), mEntryHash(0), mBuffer(nullptr), mBufferSize(0) {} in DeferredTask()
77 TaskCommand getTaskCommand() { return mCommand; } in getTaskCommand()
81 mCommand = TaskCommand::WriteToDisk; in initWriteToDisk()
94 TaskCommand mCommand;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1807 switch (command->mCommand) { in threadLoop()
2030 ALOGW("AudioCommandThread() unknown command %d", command->mCommand); in threadLoop()
2118 command->mCommand = SET_VOLUME; in volumeCommand()
2135 command->mCommand = SET_PARAMETERS; in parametersCommand()
2149 command->mCommand = SET_VOICE_VOLUME; in voiceVolumeCommand()
2163 command->mCommand = SET_EFFECT_SUSPENDED; in setEffectSuspendedCommand()
2178 command->mCommand = STOP_OUTPUT; in stopOutputCommand()
2189 command->mCommand = RELEASE_OUTPUT; in releaseOutputCommand()
2205 command->mCommand = CREATE_AUDIO_PATCH; in createAudioPatchCommand()
2223 command->mCommand = RELEASE_AUDIO_PATCH; in releaseAudioPatchCommand()
[all …]
/frameworks/base/tests/Input/src/com/android/server/input/
DInputShellCommandTest.java55 private InputShellCommand mCommand; field in InputShellCommandTest
59 mCommand = new InputShellCommand(mInputEventInjector); in setUp()
162 mCommand.exec( in runCommand()
/frameworks/native/cmds/idlcli/
Dutils.h254 mCommand = CommandRegistry<T>::Create(*args.get()); in doArgs()
255 if (!mCommand) { in doArgs()
262 Status doMain(Args &&args) override { return mCommand->main(std::move(args)); } in doMain()
265 std::unique_ptr<Command> mCommand;
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerStreamListener.cpp78 entry.mCommand = cmd; in issueCommand()
114 switch (entry->mCommand) { in read()
/frameworks/av/services/audioflinger/
DPatchCommandThread.h86 : mCommand(command), mData(data) {} in Command()
88 const int mCommand = -1; variable
DPatchCommandThread.cpp87 switch (command->mCommand) { in threadLoop()
132 ALOGW("%s unknown command %d", __func__, command->mCommand); in threadLoop()
/frameworks/base/cmds/incidentd/src/
DSection.cpp335 mCommand = varargs(command, args); in CommandSection()
338 for (int i = 0; mCommand[i] != NULL; i++) { in CommandSection()
340 name += mCommand[i]; in CommandSection()
347 mCommand = varargs(command, args); in CommandSection()
350 for (int i = 0; mCommand[i] != NULL; i++) { in CommandSection()
352 name += mCommand[i]; in CommandSection()
356 CommandSection::~CommandSection() { free(mCommand); } in ~CommandSection()
367 pid_t cmdPid = fork_execute_cmd((char* const*)mCommand, NULL, &cmdPipe); in Execute()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerStreamListener.h55 Command mCommand; member

12