Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 25 of 157) sorted by relevance

1234567

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataParser.java55 final TreeMap<String, String> arguments = new TreeMap<>(); in parseOneWordList() local
60 arguments.put(name, reader.nextString()); in parseOneWordList()
64 if (TextUtils.isEmpty(arguments.get(ID_FIELD_NAME)) in parseOneWordList()
65 || TextUtils.isEmpty(arguments.get(LOCALE_FIELD_NAME)) in parseOneWordList()
66 || TextUtils.isEmpty(arguments.get(DESCRIPTION_FIELD_NAME)) in parseOneWordList()
67 || TextUtils.isEmpty(arguments.get(UPDATE_FIELD_NAME)) in parseOneWordList()
68 || TextUtils.isEmpty(arguments.get(FILESIZE_FIELD_NAME)) in parseOneWordList()
69 || TextUtils.isEmpty(arguments.get(CHECKSUM_FIELD_NAME)) in parseOneWordList()
70 || TextUtils.isEmpty(arguments.get(REMOTE_FILENAME_FIELD_NAME)) in parseOneWordList()
71 || TextUtils.isEmpty(arguments.get(VERSION_FIELD_NAME)) in parseOneWordList()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/dialog/
DCallSubjectDialog.java227 Bundle arguments = new Bundle(); in start() local
228 arguments.putLong(ARG_PHOTO_ID, photoId); in start()
229 arguments.putParcelable(ARG_PHOTO_URI, photoUri); in start()
230 arguments.putParcelable(ARG_CONTACT_URI, contactUri); in start()
231 arguments.putString(ARG_NAME_OR_NUMBER, nameOrNumber); in start()
232 arguments.putString(ARG_NUMBER, number); in start()
233 arguments.putString(ARG_DISPLAY_NUMBER, displayNumber); in start()
234 arguments.putString(ARG_NUMBER_LABEL, numberLabel); in start()
235 arguments.putInt(ARG_CONTACT_TYPE, contactType); in start()
236 arguments.putParcelable(ARG_PHONE_ACCOUNT_HANDLE, phoneAccountHandle); in start()
[all …]
/packages/apps/Contacts/src/com/android/contacts/dialog/
DCallSubjectDialog.java240 Bundle arguments = new Bundle(); in start() local
241 arguments.putLong(ARG_PHOTO_ID, photoId); in start()
242 arguments.putParcelable(ARG_PHOTO_URI, photoUri); in start()
243 arguments.putParcelable(ARG_CONTACT_URI, contactUri); in start()
244 arguments.putString(ARG_NAME_OR_NUMBER, nameOrNumber); in start()
245 arguments.putBoolean(ARG_IS_BUSINESS, isBusiness); in start()
246 arguments.putString(ARG_NUMBER, number); in start()
247 arguments.putString(ARG_DISPLAY_NUMBER, displayNumber); in start()
248 arguments.putString(ARG_NUMBER_LABEL, numberLabel); in start()
249 arguments.putParcelable(ARG_PHONE_ACCOUNT_HANDLE, phoneAccountHandle); in start()
[all …]
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragment.java120 protected void onProcessArguments(Bundle arguments) { in onProcessArguments() argument
122 mPreferenceKey = arguments.getString(AccessibilitySettings.EXTRA_PREFERENCE_KEY); in onProcessArguments()
125 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
126 final boolean enabled = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments()
131 if (arguments.containsKey(AccessibilitySettings.EXTRA_RESOLVE_INFO)) { in onProcessArguments()
132 ResolveInfo info = arguments.getParcelable(AccessibilitySettings.EXTRA_RESOLVE_INFO); in onProcessArguments()
134 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments()
135 setTitle(arguments.getString(AccessibilitySettings.EXTRA_TITLE)); in onProcessArguments()
139 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY_RES)) { in onProcessArguments()
140 final int summary = arguments.getInt(AccessibilitySettings.EXTRA_SUMMARY_RES); in onProcessArguments()
[all …]
DToggleScreenMagnificationPreferenceFragment.java231 protected void onProcessArguments(Bundle arguments) { in onProcessArguments() argument
232 super.onProcessArguments(arguments); in onProcessArguments()
233 if (arguments == null) { in onProcessArguments()
237 if (arguments.containsKey(AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID)) { in onProcessArguments()
239 final int resId = arguments.getInt( in onProcessArguments()
245 if (arguments.containsKey(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW)) { in onProcessArguments()
246 mLaunchFromSuw = arguments.getBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW); in onProcessArguments()
249 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
250 mInitialSetting = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments()
253 if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE_RES)) { in onProcessArguments()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleFeaturePreferenceFragment.java120 protected void onProcessArguments(Bundle arguments) { in onProcessArguments() argument
122 mPreferenceKey = arguments.getString(AccessibilitySettings.EXTRA_PREFERENCE_KEY); in onProcessArguments()
125 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
126 final boolean enabled = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments()
131 if (arguments.containsKey(AccessibilitySettings.EXTRA_RESOLVE_INFO)) { in onProcessArguments()
132 ResolveInfo info = arguments.getParcelable(AccessibilitySettings.EXTRA_RESOLVE_INFO); in onProcessArguments()
134 } else if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments()
135 setTitle(arguments.getString(AccessibilitySettings.EXTRA_TITLE)); in onProcessArguments()
139 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY_RES)) { in onProcessArguments()
140 final int summary = arguments.getInt(AccessibilitySettings.EXTRA_SUMMARY_RES); in onProcessArguments()
[all …]
DToggleScreenMagnificationPreferenceFragment.java197 protected void onProcessArguments(Bundle arguments) { in onProcessArguments() argument
198 super.onProcessArguments(arguments); in onProcessArguments()
199 if (arguments == null) { in onProcessArguments()
203 if (arguments.containsKey(AccessibilitySettings.EXTRA_VIDEO_RAW_RESOURCE_ID)) { in onProcessArguments()
205 final int resId = arguments.getInt( in onProcessArguments()
211 if (arguments.containsKey(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW)) { in onProcessArguments()
212 mLaunchFromSuw = arguments.getBoolean(AccessibilitySettings.EXTRA_LAUNCHED_FROM_SUW); in onProcessArguments()
215 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
216 mInitialSetting = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments()
219 if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE_RES)) { in onProcessArguments()
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDicttool.java103 private static Command getCommand(final String[] arguments) { in getCommand() argument
104 final String commandName = arguments[0]; in getCommand()
109 final String[] argsArray = Arrays.copyOfRange(arguments, 1, arguments.length); in getCommand()
119 private static int execute(final String[] arguments) { in execute() argument
120 final Command command = getCommand(arguments); in execute()
132 public static void main(final String[] arguments) { in main() argument
133 if (0 == arguments.length) { in main()
138 System.exit(execute(arguments)); in main()
/packages/apps/Calendar/
Dmkprojectfile15 <arguments>
16 </arguments>
20 <arguments>
21 </arguments>
25 <arguments>
26 </arguments>
30 <arguments>
31 </arguments>
/packages/apps/Contacts/tests/src/com/android/contacts/
DRunMethodInstrumentation.java54 public void onCreate(Bundle arguments) { in onCreate() argument
55 super.onCreate(arguments); in onCreate()
57 InstrumentationRegistry.registerInstance(this, arguments); in onCreate()
59 className = arguments.getString("class", getContext().getPackageName() + "." + in onCreate()
61 methodName = arguments.getString("method"); in onCreate()
62 args = arguments; in onCreate()
69 if (arguments.containsKey("debug") && Boolean.parseBoolean(arguments.getString("debug"))) { in onCreate()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DDefaultAppConfirmationDialogFragment.java51 Bundle arguments = new Bundle(); in newInstance() local
52 arguments.putString(Intent.EXTRA_PACKAGE_NAME, packageName); in newInstance()
53 arguments.putCharSequence(Intent.EXTRA_TEXT, message); in newInstance()
54 fragment.setArguments(arguments); in newInstance()
76 Bundle arguments = getArguments(); in onCreate() local
77 mPackageName = arguments.getString(Intent.EXTRA_PACKAGE_NAME); in onCreate()
78 mMessage = arguments.getCharSequence(Intent.EXTRA_TEXT); in onCreate()
DDefaultAppChildFragment.java85 Bundle arguments = new Bundle(); in newInstance() local
86 arguments.putString(Intent.EXTRA_ROLE_NAME, roleName); in newInstance()
87 arguments.putParcelable(Intent.EXTRA_USER, user); in newInstance()
88 fragment.setArguments(arguments); in newInstance()
96 Bundle arguments = getArguments(); in onCreate() local
97 mRoleName = arguments.getString(Intent.EXTRA_ROLE_NAME); in onCreate()
98 mUser = arguments.getParcelable(Intent.EXTRA_USER); in onCreate()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/handheld/
DHandheldDefaultAppFragment.java55 Bundle arguments = new Bundle(); in newInstance() local
56 arguments.putString(Intent.EXTRA_ROLE_NAME, roleName); in newInstance()
57 arguments.putParcelable(Intent.EXTRA_USER, user); in newInstance()
58 fragment.setArguments(arguments); in newInstance()
66 Bundle arguments = getArguments(); in onCreate() local
67 mRoleName = arguments.getString(Intent.EXTRA_ROLE_NAME); in onCreate()
68 mUser = arguments.getParcelable(Intent.EXTRA_USER); in onCreate()
DHandheldSpecialAppAccessFragment.java50 Bundle arguments = new Bundle(); in newInstance() local
51 arguments.putString(Intent.EXTRA_ROLE_NAME, roleName); in newInstance()
52 fragment.setArguments(arguments); in newInstance()
60 Bundle arguments = getArguments(); in onCreate() local
61 mRoleName = arguments.getString(Intent.EXTRA_ROLE_NAME); in onCreate()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/auto/
DAutoDefaultAppFragment.java53 Bundle arguments = new Bundle(); in newInstance() local
54 arguments.putString(Intent.EXTRA_ROLE_NAME, roleName); in newInstance()
55 arguments.putParcelable(Intent.EXTRA_USER, user); in newInstance()
56 fragment.setArguments(arguments); in newInstance()
64 Bundle arguments = getArguments(); in onCreate() local
65 mRoleName = arguments.getString(Intent.EXTRA_ROLE_NAME); in onCreate()
66 mUser = arguments.getParcelable(Intent.EXTRA_USER); in onCreate()
DAutoSpecialAppAccessFragment.java46 Bundle arguments = new Bundle(); in newInstance() local
47 arguments.putString(Intent.EXTRA_ROLE_NAME, roleName); in newInstance()
48 fragment.setArguments(arguments); in newInstance()
56 Bundle arguments = getArguments(); in onCreate() local
57 mRoleName = arguments.getString(Intent.EXTRA_ROLE_NAME); in onCreate()
/packages/apps/Email/src/com/android/email/activity/setup/
DCheckSettingsErrorDialogFragment.java63 final Bundle arguments = new Bundle(2); in newInstance() local
64 arguments.putString(ARGS_MESSAGE, message); in newInstance()
65 arguments.putInt(ARGS_REASON, reason); in newInstance()
66 fragment.setArguments(arguments); in newInstance()
73 final Bundle arguments = getArguments(); in onCreateDialog() local
74 final String message = arguments.getString(ARGS_MESSAGE); in onCreateDialog()
75 final int reason = arguments.getInt(ARGS_REASON); in onCreateDialog()
DSecurityRequiredDialogFragment.java59 final Bundle arguments = new Bundle(1); in newInstance() local
60 arguments.putString(ARGS_HOST_NAME, hostName); in newInstance()
61 fragment.setArguments(arguments); in newInstance()
68 final Bundle arguments = getArguments(); in onCreateDialog() local
69 final String hostName = arguments.getString(ARGS_HOST_NAME); in onCreateDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DMakeAdminPreferenceControllerTest.java105 Bundle arguments = new Bundle(); in testListener_makeUserAdmin() local
106 arguments.putParcelable(UsersDialogProvider.KEY_USER_TO_MAKE_ADMIN, TEST_USER); in testListener_makeUserAdmin()
107 mController.mConfirmListener.onConfirm(arguments); in testListener_makeUserAdmin()
113 Bundle arguments = new Bundle(); in testListener_goBack() local
114 arguments.putParcelable(UsersDialogProvider.KEY_USER_TO_MAKE_ADMIN, TEST_USER); in testListener_goBack()
115 mController.mConfirmListener.onConfirm(arguments); in testListener_goBack()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.java104 public void saveInstanceState(Bundle arguments) { in saveInstanceState() argument
105 arguments.putString(ARG_GROUP_NAME, mGroupName); in saveInstanceState()
106 arguments.putInt(ARG_GROUP_COUNT, mGroupCount); in saveInstanceState()
107 arguments.putInt(ARG_GROUP_INDEX, mGroupIndex); in saveInstanceState()
108 arguments.putParcelable(ARG_GROUP_ICON, mGroupIcon); in saveInstanceState()
109 arguments.putCharSequence(ARG_GROUP_MESSAGE, mGroupMessage); in saveInstanceState()
110 arguments.putCharSequence(ARG_GROUP_DETAIL_MESSAGE, mDetailMessage); in saveInstanceState()
111 arguments.putCharSequenceArray(ARG_DIALOG_BUTTON_LABELS, mButtonLabels); in saveInstanceState()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.cpp108 std::unordered_map<std::string, std::vector<std::string>> arguments; in parseArguments() local
142 arguments[argumentSpecIt->getName()].push_back(arg); in parseArguments()
143 if (arguments[argumentSpecIt->getName()].size() >= argumentSpecIt->getMaxCount()) { in parseArguments()
150 const auto &it = arguments.find(argumentSpecIt->getName()); in parseArguments()
152 const size_t actualcount = it == arguments.end() ? 0 : it->second.size(); in parseArguments()
161 return ArgumentsAndOptions(std::move(options), std::move(arguments)); in parseArguments()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DPhoneAccountSelectionFragment.java61 private Bundle arguments; field in PhoneAccountSelectionFragment
69 arguments = new Bundle(); in onCreate()
70 arguments.putAll(getArguments().getBundle(PARAM_ARGUMENTS)); in onCreate()
99 arguments.putParcelable(phoneAccountHandleKey, phoneAccountHandle); in onClick()
100 preferenceActivity.startWithFragment(targetFragment, arguments, null, 0, titleRes, 0); in onClick()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarBluetoothServiceTest.java97 Object[] arguments = invocation.getArguments(); in setUp()
98 if (arguments != null && arguments.length == 1 && arguments[0] != null) { in setUp()
100 (PerUserCarServiceHelper.ServiceCallback) arguments[0]; in setUp()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeComponentFragment.java51 Bundle arguments = ToolbarFragment.createArguments(toolbarTitle); in newInstance() local
52 arguments.putInt(ARG_KEY_POSITION, position); in newInstance()
53 arguments.putInt(ARG_KEY_TITLE_RES_ID, titleResId); in newInstance()
54 arguments.putBoolean(ARG_USE_GRID_LAYOUT, allowGridLayout); in newInstance()
55 fragment.setArguments(arguments); in newInstance()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DSubSettingLauncher.java87 public SubSettingLauncher setArguments(Bundle arguments) { in setArguments() argument
88 mLaunchRequest.arguments = arguments; in setArguments()
151 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS, mLaunchRequest.arguments); in toIntent()
196 Bundle arguments; field in SubSettingLauncher.LaunchRequest

1234567