/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/ |
D | DpcShellCommand.java | 47 private final String[] mArgs; field in DpcShellCommand 77 mArgs = args; in DpcShellCommand() 89 if (mArgs.length == 0) { in run() 93 String cmd = mArgs[0]; in run() 141 mWriter.println("Failed to execute " + Arrays.toString(mArgs) + ": " + e); in run() 142 Log.e(TAG, "Failed to execute " + Arrays.toString(mArgs), e); in run() 181 if (mArgs.length != ADD_USER_RESTRICTION_ARG_LEN || !(Objects.equals(mArgs[1], in runAddUserRestriction() 187 UserHandle target = getUserHandleFromUserId(mArgs[2]); in runAddUserRestriction() 193 String restriction = mArgs[3]; in runAddUserRestriction() 209 String restriction = mArgs[1]; in runClearUserRestriction() [all …]
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Compress.java | 52 if (mArgs.length > 2) { in run() 55 final String inFilename = mArgs.length >= 1 ? mArgs[0] : STDIN_OR_STDOUT; in run() 56 final String outFilename = mArgs.length >= 2 ? mArgs[1] : STDIN_OR_STDOUT; in run() 81 if (mArgs.length > 2) { in run() 84 final String inFilename = mArgs.length >= 1 ? mArgs[0] : STDIN_OR_STDOUT; in run() 85 final String outFilename = mArgs.length >= 2 ? mArgs[1] : STDIN_OR_STDOUT; in run()
|
D | Info.java | 85 if (mArgs.length < 1) { in run() 89 if ("-p".equals(mArgs[0])) { in run() 91 mArgs = Arrays.copyOfRange(mArgs, 1, mArgs.length); in run() 92 if (mArgs.length != 1) { // There should be only 1 argument left in run() 98 final String filename = mArgs[0]; in run() 99 final boolean hasWordArguments = (1 == mArgs.length); in run() 105 for (int i = 1; i < mArgs.length; ++i) { in run() 106 showWordInfo(dict, mArgs[i]); in run()
|
D | Package.java | 48 if (mArgs.length != 2) { in run() 54 compressCommand.setArgs(new String[] { mArgs[0], intermediateFile.getPath() }); in run() 57 cryptCommand.setArgs(new String[] { intermediateFile.getPath(), mArgs[1] }); in run() 79 if (mArgs.length != 2) { in run() 83 BinaryDictOffdeviceUtils.decodeDictionaryForProcess(new File(mArgs[0]), in run() 86 System.out.println(mArgs[0] + " does not seem to be a dictionary"); in run() 91 final InputStream input = decodedSpec.getStream(new File(mArgs[0])); in run() 93 getFileOutputStreamOrStdOut(mArgs[1])) in run()
|
D | Header.java | 40 if (mArgs.length > 0 && "-p".equals(mArgs[0])) { in run() 42 mArgs = Arrays.copyOfRange(mArgs, 1, mArgs.length); in run() 46 if (mArgs.length < 1) { in run() 49 final String filename = mArgs[0]; in run()
|
D | Diff.java | 42 if (mArgs.length < 2) { in run() 46 if ("-p".equals(mArgs[0])) { in run() 48 mArgs = Arrays.copyOfRange(mArgs, 1, mArgs.length); in run() 49 if (mArgs.length != 2) { // There should be only 2 arguments left in run() 56 BinaryDictOffdeviceUtils.getDictionary(mArgs[0], false /* report */); in run() 57 if (null == dict0) throw new RuntimeException("Can't read dictionary " + mArgs[0]); in run() 59 BinaryDictOffdeviceUtils.getDictionary(mArgs[1], false /* report */); in run() 60 if (null == dict1) throw new RuntimeException("Can't read dictionary " + mArgs[1]); in run()
|
D | Test.java | 91 while (i < mArgs.length) { in run() 92 final String arg = mArgs[i++]; in run() 94 mSeed = Long.parseLong(mArgs[i++]); in run() 96 mMaxUnigrams = Integer.parseInt(mArgs[i++]); in run()
|
D | Dicttool.java | 34 protected String[] mArgs; field in Dicttool.Command 37 mArgs = args; in setArgs()
|
D | Makedict.java | 37 DictionaryMaker.main(mArgs); in run()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | ConfirmationDialogFragment.java | 43 private Bundle mArgs; field in ConfirmationDialogFragment.Builder 125 if (mArgs == null) { in addArgumentString() 126 mArgs = new Bundle(); in addArgumentString() 128 mArgs.putString(argumentKey, argument); in addArgumentString() 134 if (mArgs == null) { in addArgumentLong() 135 mArgs = new Bundle(); in addArgumentLong() 137 mArgs.putLong(argumentKey, argument); in addArgumentLong() 143 if (mArgs == null) { in addArgumentBoolean() 144 mArgs = new Bundle(); in addArgumentBoolean() 146 mArgs.putBoolean(argumentKey, argument); in addArgumentBoolean() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | ActiveGestureLog.java | 256 private final List<Object> mArgs; field in ActiveGestureLog.CompoundString 267 mArgs = mIsNoOp ? null : new ArrayList<>(); in CompoundString() 279 mArgs.addAll(substring.mArgs); in append() 297 mArgs.add(num); in append() 306 mArgs.add(num); in append() 315 mArgs.add(num); in append() 324 mArgs.add(num); in append() 333 mArgs.add(bool); in append() 341 return mArgs.toArray(); in getArgs() 362 return Objects.hash(mIsNoOp, mSubstrings, mArgs); in hashCode() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | FullScreenDialogFragment.java | 54 private final Bundle mArgs = new Bundle(); field in FullScreenDialogFragment.DialogBuilder 62 mArgs.putParcelable(ARGUMENT_ICON, icon); in setIcon() 68 mArgs.putString(ARGUMENT_TITLE, title); in setTitle() 74 mArgs.putString(ARGUMENT_MESSAGE, message); in setMessage() 80 mArgs.putParcelable(ARGUMENT_HINT_ICON, hintIcon); in setHintIcon() 86 mArgs.putString(ARGUMENT_HINT_TEXT, hintText); in setHintText() 92 mArgs.putString(ARGUMENT_POSITIVE_BUTTON_LABEL, positiveButtonLabel); in setPositiveButton() 98 mArgs.putString(ARGUMENT_NEGATIVE_BUTTON_LABEL, negativeButtonLabel); in setNegativeButton() 104 return mArgs; in build()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | SummaryForAllUidLoader.java | 42 private final Bundle mArgs; field in SummaryForAllUidLoader 57 mArgs = args; in SummaryForAllUidLoader() 69 NetworkTemplate template = mArgs.getParcelable(KEY_TEMPLATE); in loadInBackground() 70 long start = mArgs.getLong(KEY_START); in loadInBackground() 71 long end = mArgs.getLong(KEY_END); in loadInBackground()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/ |
D | AdServicesShellCommandHandler.java | 61 private String[] mArgs; field in AdServicesShellCommandHandler 106 mArgs = args; in run() 118 Arrays.toString(mArgs), e.getMessage()); in run() 138 if (mArgs == null) { in getNextArg() 145 } else if (mArgPos < mArgs.length) { in getNextArg() 146 return mArgs[mArgPos++]; in getNextArg() 200 ShellCommandResult shellCommandResult = shellCommand.run(mOut, mErr, mArgs); in onCommand()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkShellCommand.java | 83 private final String[] mArgs; field in KitchenSinkShellCommand 95 mArgs = args; in KitchenSinkShellCommand() 100 if (mArgs.length == 0) { in run() 104 String cmd = mArgs[0]; in run() 333 return mArgs[++mNextArgIndex]; in getNextArgAndIncrementCounter() 338 if (++mNextArgIndex >= mArgs.length) { in getNextOptioanlArg() 341 return mArgs[mNextArgIndex]; in getNextOptioanlArg() 353 "Missing argument. Args=" + Arrays.toString(mArgs), e); in getNextArg()
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | Log.cpp | 60 text.push_back(StringPrintf("%s(%s)", mFunc.c_str(), Join(mArgs, ", ").c_str())); in toString() 117 mArgs.push_back(val.empty() ? "\"\"" : val); in arg() 123 mArgs.push_back(val ? "true" : "false"); in arg() 128 mArgs.push_back(StringPrintf("[%s]", Join(val, ", ").c_str())); in arg() 133 mArgs.push_back('{' + toHex(makeSlice(val)) + '}'); in arg() 138 mArgs.push_back(StringPrintf("[%s]", Join(val, ", ").c_str())); in arg()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | NotificationSettings.java | 92 protected Bundle mArgs; field in NotificationSettings 113 mArgs = getArguments(); in onAttach() 118 mPkg = mArgs != null && mArgs.containsKey(AppInfoBase.ARG_PACKAGE_NAME) in onAttach() 119 ? mArgs.getString(AppInfoBase.ARG_PACKAGE_NAME) in onAttach() 121 mUid = mArgs != null && mArgs.containsKey(AppInfoBase.ARG_PACKAGE_UID) in onAttach() 122 ? mArgs.getInt(AppInfoBase.ARG_PACKAGE_UID) in onAttach() 164 if (mIntent == null && mArgs == null) { in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationListData.java | 166 private Bundle mArgs; field in ConversationListData 170 mArgs = new Bundle(); in init() 171 mArgs.putString(BINDING_ID, binding.getBindingId()); in init() 173 mLoaderManager.initLoader(CONVERSATION_LIST_LOADER, mArgs, this); in init() 174 mLoaderManager.initLoader(BLOCKED_PARTICIPANTS_AVAILABLE_LOADER, mArgs, this); in init()
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | TwoDigitFormatter.java | 23 final Object[] mArgs = new Object[1]; field in TwoDigitFormatter 40 mArgs[0] = value; in format() 42 mFmt.format("%02d", mArgs); in format()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | RingtonePickerPreferenceController.java | 76 private Bundle mArgs; field in RingtonePickerPreferenceController 85 mArgs = new Bundle(); in RingtonePickerPreferenceController() 90 mArgs = args; in setArguments() 121 mRingtoneType = mArgs.getInt(RingtoneManager.EXTRA_RINGTONE_TYPE, /* defaultValue= */ -1); in onCreateInternal() 122 mHasSilentItem = mArgs.getBoolean(RingtoneManager.EXTRA_RINGTONE_SHOW_SILENT, in onCreateInternal() 124 mAttributesFlags |= mArgs.getInt(RingtoneManager.EXTRA_RINGTONE_AUDIO_ATTRIBUTES_FLAGS, in onCreateInternal()
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | Result.h | 46 explicit ErrorBuilder(Us&&... args) : mArgs(std::forward<Us>(args)...) {} in ErrorBuilder() 54 std::move(mArgs)); 64 std::tuple<Ts...> mArgs;
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/ |
D | Log.h | 66 mArgs.push_back(std::to_string(val)); in arg() 104 std::vector<std::string> mArgs{};
|
/packages/modules/StatsD/statsd/tools/localtools/test/com/android/statsd/shelltools/testdrive/ |
D | TestDriveTest.java | 74 public String[] mArgs; field in TestDriveTest 179 boolean result = mTestDrive.processArgs(mConfiguration, mArgs, mConnectedDevices, in testProcessArgs()
|
/packages/modules/NetworkStack/src/com/android/networkstack/ipmemorystore/ |
D | IpMemoryStoreDatabase.java | 529 private final ArrayList<Object> mArgs; field in IpMemoryStoreDatabase.CustomCursorFactory 531 mArgs = args; in CustomCursorFactory() 538 for (final Object arg : mArgs) { in newCursor()
|