Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommandDataLoader.java62 private static String getDataLoaderParamsArgs(ShellCommand shellCommand) { in getDataLoaderParamsArgs() argument
84 sShellCommands.put(commandId, new WeakReference<>(shellCommand)); in getDataLoaderParamsArgs()
90 static DataLoaderParams getStreamingDataLoaderParams(ShellCommand shellCommand) { in getStreamingDataLoaderParams() argument
92 getDataLoaderParamsArgs(shellCommand)); in getStreamingDataLoaderParams()
95 static DataLoaderParams getIncrementalDataLoaderParams(ShellCommand shellCommand) { in getIncrementalDataLoaderParams() argument
97 getDataLoaderParamsArgs(shellCommand)); in getIncrementalDataLoaderParams()
260 ShellCommand shellCommand = lookupShellCommand(mParams.getArguments()); in onPrepareImage() local
261 if (shellCommand == null) { in onPrepareImage()
274 final ParcelFileDescriptor inFd = getStdInPFD(shellCommand); in onPrepareImage()
281 incomingFd = getLocalFilePFD(shellCommand, metadata.getData()); in onPrepareImage()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp221 static inline unique_fd openLocalFile(JNIEnv* env, const JniIds& jni, jobject shellCommand, in openLocalFile() argument
223 if (shellCommand) { in openLocalFile()
225 jni.pmscdGetLocalFile, shellCommand, in openLocalFile()
235 static inline InputDescs openLocalFile(JNIEnv* env, const JniIds& jni, jobject shellCommand, in openLocalFile() argument
242 unique_fd idsigFd = openLocalFile(env, jni, shellCommand, idsigPath); in openLocalFile()
262 unique_fd fileFd = openLocalFile(env, jni, shellCommand, filePath); in openLocalFile()
273 static inline InputDescs openInputs(JNIEnv* env, const JniIds& jni, jobject shellCommand, in openInputs() argument
279 return openLocalFile(env, jni, shellCommand, size, std::string(metadata.data, dataSize)); in openInputs()
282 if (!shellCommand) { in openInputs()
288 jni.pmscdGetStdIn, shellCommand)}; in openInputs()
[all …]
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
DREADME.md16 5. Shell Command (parameter name: `shellCommand`)
24 | `shellCommand` | 0. `set-uid-state` 1. `reset-uid-state` 2. `get-uid-state` 3. `set-rotate-and-c…
Dcamera_service_fuzzer.cpp298 mCameraService->shellCommand(in, out, err, args); in invokeShellCommand()
/frameworks/base/cmds/locksettings/src/com/android/commands/locksettings/
DLockSettingsCmd.java44 lockSettings.asBinder().shellCommand(FileDescriptor.in, FileDescriptor.out, in onRun()
/frameworks/base/services/flags/java/com/android/server/flags/
DFeatureFlagsBinder.java43 FlagsShellCommand shellCommand, in FeatureFlagsBinder() argument
46 mShellCommand = shellCommand; in FeatureFlagsBinder()
/frameworks/native/libs/sensor/include/sensor/
DISensorServer.h65 virtual status_t shellCommand(int in, int out, int err,
/frameworks/native/libs/graphicsenv/include/graphicsenv/
DIGpuService.h73 virtual status_t shellCommand(int in, int out, int err, std::vector<String16>& args) = 0;
/frameworks/base/core/java/android/os/
DIBinder.java263 public void shellCommand(@Nullable FileDescriptor in, @Nullable FileDescriptor out, in shellCommand() method
DBinder.java914 shellCommand(in != null ? in.getFileDescriptor() : null, in onTransact()
1093 public void shellCommand(@Nullable FileDescriptor in, @Nullable FileDescriptor out, in shellCommand() method in Binder
DBinderProxy.java679 public void shellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, in shellCommand() method in BinderProxy
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java6387 private int getLastSwitchUserId(@NonNull ShellCommand shellCommand) { in getLastSwitchUserId() argument
6389 shellCommand.getOutPrintWriter().println(mLastSwitchUserId); in getLastSwitchUserId()
6401 private int handleShellCommandListInputMethods(@NonNull ShellCommand shellCommand) { in handleShellCommandListInputMethods() argument
6406 final String nextOption = shellCommand.getNextOption(); in handleShellCommandListInputMethods()
6419 userIdToBeResolved = UserHandle.parseUserArg(shellCommand.getNextArgRequired()); in handleShellCommandListInputMethods()
6425 mSettings.getCurrentUserId(), shellCommand.getErrPrintWriter()); in handleShellCommandListInputMethods()
6426 try (PrintWriter pr = shellCommand.getOutPrintWriter()) { in handleShellCommandListInputMethods()
6462 @NonNull ShellCommand shellCommand, boolean enabled) { in handleShellCommandEnableDisableInputMethod()
6463 final int userIdToBeResolved = handleOptionsForCommandsThatOnlyHaveUserOption(shellCommand); in handleShellCommandEnableDisableInputMethod()
6464 final String imeId = shellCommand.getNextArgRequired(); in handleShellCommandEnableDisableInputMethod()
[all …]
/frameworks/opt/car/services/builtInServices/src_imms/com/android/server/inputmethod/
DCarInputMethodManagerService.java6316 private int getLastSwitchUserId(@NonNull ShellCommand shellCommand) { in getLastSwitchUserId() argument
6318 shellCommand.getOutPrintWriter().println(mLastSwitchUserId); in getLastSwitchUserId()
6330 private int handleShellCommandListInputMethods(@NonNull ShellCommand shellCommand) { in handleShellCommandListInputMethods() argument
6335 final String nextOption = shellCommand.getNextOption(); in handleShellCommandListInputMethods()
6348 userIdToBeResolved = UserHandle.parseUserArg(shellCommand.getNextArgRequired()); in handleShellCommandListInputMethods()
6354 mSettings.getCurrentUserId(), shellCommand.getErrPrintWriter()); in handleShellCommandListInputMethods()
6355 try (PrintWriter pr = shellCommand.getOutPrintWriter()) { in handleShellCommandListInputMethods()
6391 @NonNull ShellCommand shellCommand, boolean enabled) { in handleShellCommandEnableDisableInputMethod()
6392 final int userIdToBeResolved = handleOptionsForCommandsThatOnlyHaveUserOption(shellCommand); in handleShellCommandEnableDisableInputMethod()
6393 final String imeId = shellCommand.getNextArgRequired(); in handleShellCommandEnableDisableInputMethod()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DDefaultHalFactory.java107 ServiceManager.waitForService(aidlServiceName).shellCommand(null, in create()
/frameworks/native/services/gpuservice/include/gpuservice/
DGpuService.h48 status_t shellCommand(int in, int out, int err, std::vector<String16>& args) override;
/frameworks/native/include/binder/
DIBinder.h108 static status_t shellCommand(const sp<IBinder>& target, int in, int out, int err,
/frameworks/native/libs/binder/include/binder/
DIBinder.h108 static status_t shellCommand(const sp<IBinder>& target, int in, int out, int err,
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java146 mAm.asBinder().shellCommand(FileDescriptor.in, FileDescriptor.out, FileDescriptor.err, in runAmCmd()
/frameworks/native/cmds/cmd/
Dcmd.cpp239 status_t error = IBinder::shellCommand(service, in, out, err, args, cb, result); in cmdMain()
/frameworks/native/services/gpuservice/
DGpuService.cpp142 status_t GpuService::shellCommand(int /*in*/, int out, int err, std::vector<String16>& args) { in shellCommand() function in android::GpuService
/frameworks/native/libs/graphicsenv/
DIGpuService.cpp196 status = shellCommand(in, out, err, args); in onTransact()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderDeathDispatcherTest.java81 public void shellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, in shellCommand() method in BinderDeathDispatcherTest.MyTarget
/frameworks/native/libs/sensor/
DISensorServer.cpp310 status = shellCommand(in, out, err, args); in onTransact()
/frameworks/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test.cpp344 EXPECT_EQ(OK, IBinder::shellCommand(testService, STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO, in TEST()
840 status_t error = IBinder::shellCommand(unitTestService, inFd[0], outFd[0], errFd[0], argsVec, in shellCmdToString()
/frameworks/native/services/sensorservice/
DSensorService.h200 virtual status_t shellCommand(int in, int out, int err, Vector<String16>& args);

12