Home
last modified time | relevance | path

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

12345678910>>...14

/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/Launcher3/tests/assets/ReorderAlgorithmUnitTest/
Dreorder_algorithm_test_cases4 # * arguments: is set of words separated by spaces that can later be parsed
16 # The "arguments:" tag represents where you want to add an item, the format is:
34 arguments: 1 3 5 4 4 1 widget valid
58 arguments: 3 3 4 6 1 2 widget valid
78 arguments: 1 1 1 1 1 1 icon valid
98 arguments: 2 1 1 5 1 1 widget valid
120 arguments: 1 1 3 6 1 4 widget valid
140 arguments: 2 5 7 1 3 1 widget valid
159 arguments: 5 1 1 2 1 1 icon valid
173 arguments: 1 0 7 1 2 1 widget valid
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/celllayout/
DReorderAlgorithmUnitTestCase.java69 CellLayoutTestCaseReader.Arguments arguments = in readNextCase() local
71 testCase.x = Integer.parseInt(arguments.arguments[0]); in readNextCase()
72 testCase.y = Integer.parseInt(arguments.arguments[1]); in readNextCase()
73 testCase.spanX = Integer.parseInt(arguments.arguments[2]); in readNextCase()
74 testCase.spanY = Integer.parseInt(arguments.arguments[3]); in readNextCase()
75 testCase.minSpanX = Integer.parseInt(arguments.arguments[4]); in readNextCase()
76 testCase.minSpanY = Integer.parseInt(arguments.arguments[5]); in readNextCase()
77 testCase.type = arguments.arguments[6]; in readNextCase()
78 testCase.isValidSolution = arguments.arguments[7].compareTo("valid") == 0; in readNextCase()
/packages/modules/Bluetooth/framework/tests/stress/src/android/bluetooth/
DBluetoothTestRunner.java87 public void onCreate(Bundle arguments) { in onCreate() argument
88 String val = arguments.getString("enable_iterations"); in onCreate()
97 val = arguments.getString("discoverable_iterations"); in onCreate()
106 val = arguments.getString("scan_iterations"); in onCreate()
115 val = arguments.getString("enable_pan_iterations"); in onCreate()
124 val = arguments.getString("pair_iterations"); in onCreate()
133 val = arguments.getString("connect_a2dp_iterations"); in onCreate()
142 val = arguments.getString("connect_headset_iterations"); in onCreate()
151 val = arguments.getString("connect_input_iterations"); in onCreate()
160 val = arguments.getString("connect_pan_iterations"); in onCreate()
[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/Settings/src/com/android/settings/network/telephony/
DConfirmDialogFragment.java78 Bundle arguments = new Bundle(); in show() local
79 arguments.putString(ARG_TITLE, title); in show()
80 arguments.putCharSequence(ARG_MSG, msg); in show()
81 arguments.putString(ARG_POS_BUTTON_STRING, posButtonString); in show()
82 arguments.putString(ARG_NEG_BUTTON_STRING, negButtonString); in show()
83 setListener(activity, null, callbackInterfaceClass, tagInCaller, arguments); in show()
84 fragment.setArguments(arguments); in show()
99 Bundle arguments = new Bundle(); in show() local
100 arguments.putString(ARG_TITLE, title); in show()
101 arguments.putCharSequence(ARG_MSG, msg); in show()
[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/Calendar/
Dmkprojectfile15 <arguments>
16 </arguments>
20 <arguments>
21 </arguments>
25 <arguments>
26 </arguments>
30 <arguments>
31 </arguments>
/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DPermissionDetailsWrapperFragment.java50 Bundle arguments = new Bundle(); in newInstance() local
52 arguments.putString(Intent.EXTRA_PERMISSION_GROUP_NAME, groupName); in newInstance()
54 arguments.putLong(Intent.EXTRA_DURATION_MILLIS, numMillis); in newInstance()
55 arguments.putBoolean(ManagePermissionsActivity.EXTRA_SHOW_SYSTEM, showSystem); in newInstance()
56 arguments.putBoolean(ManagePermissionsActivity.EXTRA_SHOW_7_DAYS, show7Days); in newInstance()
57 arguments.putLong(EXTRA_SESSION_ID, sessionId); in newInstance()
58 fragment.setArguments(arguments); in newInstance()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/handheld/
DHandheldDefaultAppFragment.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()
DHandheldDefaultAppPreferenceFragment.java57 Bundle arguments = new Bundle(); in newInstance() local
58 arguments.putString(Intent.EXTRA_ROLE_NAME, roleName); in newInstance()
59 arguments.putParcelable(Intent.EXTRA_USER, user); in newInstance()
60 fragment.setArguments(arguments); in newInstance()
68 Bundle arguments = getArguments(); in onCreate() local
69 mRoleName = arguments.getString(Intent.EXTRA_ROLE_NAME); in onCreate()
70 mUser = arguments.getParcelable(Intent.EXTRA_USER); in onCreate()
/packages/apps/Settings/src/com/android/settings/accessibility/
DLaunchAccessibilityActivityPreferenceFragment.java80 protected void onProcessArguments(Bundle arguments) { in onProcessArguments() argument
81 super.onProcessArguments(arguments); in onProcessArguments()
82 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
87 final int animatedImageRes = arguments.getInt( in onProcessArguments()
97 mHtmlDescription = arguments.getCharSequence(AccessibilitySettings.EXTRA_HTML_DESCRIPTION); in onProcessArguments()
100 final String settingsTitle = arguments.getString( in onProcessArguments()
102 mSettingsIntent = TextUtils.isEmpty(settingsTitle) ? null : getSettingsIntent(arguments); in onProcessArguments()
106 if (arguments.containsKey(AccessibilitySettings.EXTRA_TILE_SERVICE_COMPONENT_NAME)) { in onProcessArguments()
107 final String tileServiceComponentName = arguments.getString( in onProcessArguments()
212 private Intent getSettingsIntent(Bundle arguments) { in getSettingsIntent() argument
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/privacy/
DManageCameraPermissionsPreferenceControllerTest.java135 Map<String, Object> arguments = new HashMap<>(); in getSummary_whenCameraAppCountIsOne_shouldShowSingularString() local
136 arguments.put("count", 1); in getSummary_whenCameraAppCountIsOne_shouldShowSingularString()
137 arguments.put("total_count", 1); in getSummary_whenCameraAppCountIsOne_shouldShowSingularString()
140 arguments, R.string.camera_app_permission_summary_camera_on)); in getSummary_whenCameraAppCountIsOne_shouldShowSingularString()
153 Map<String, Object> arguments = new HashMap<>(); in getSummary_whenCameraAppCountIsGreaterThanOne_shouldShowPluralString() local
154 arguments.put("count", 5); in getSummary_whenCameraAppCountIsGreaterThanOne_shouldShowPluralString()
155 arguments.put("total_count", 10); in getSummary_whenCameraAppCountIsGreaterThanOne_shouldShowPluralString()
158 arguments, R.string.camera_app_permission_summary_camera_on)); in getSummary_whenCameraAppCountIsGreaterThanOne_shouldShowPluralString()
178 Map<String, Object> arguments = new HashMap<>(); in getSummary_multipleUsers_addsAppCounts() local
179 arguments.put("count", 3); in getSummary_multipleUsers_addsAppCounts()
[all …]
DManageMicPermissionsPreferenceControllerTest.java135 Map<String, Object> arguments = new HashMap<>(); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() local
136 arguments.put("count", 1); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString()
137 arguments.put("total_count", 1); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString()
140 arguments, R.string.microphone_app_permission_summary_microphone_on)); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString()
153 Map<String, Object> arguments = new HashMap<>(); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString() local
154 arguments.put("count", 5); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
155 arguments.put("total_count", 10); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
158 arguments, R.string.microphone_app_permission_summary_microphone_on)); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
178 Map<String, Object> arguments = new HashMap<>(); in getSummary_multipleUsers_addsAppCounts() local
179 arguments.put("count", 3); in getSummary_multipleUsers_addsAppCounts()
[all …]
/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/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()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/auto/
DAutoDefaultAppFragment.java52 Bundle arguments = new Bundle(); in newInstance() local
53 arguments.putString(Intent.EXTRA_ROLE_NAME, roleName); in newInstance()
54 arguments.putParcelable(Intent.EXTRA_USER, user); in newInstance()
55 fragment.setArguments(arguments); in newInstance()
63 Bundle arguments = getArguments(); in onCreate() local
64 mRoleName = arguments.getString(Intent.EXTRA_ROLE_NAME); in onCreate()
65 mUser = arguments.getParcelable(Intent.EXTRA_USER); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DAppLocationPermissionPreferenceControllerTest.java93 Map<String, Object> arguments = new HashMap<>(); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString() local
94 arguments.put("count", 1); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString()
95 arguments.put("total", 1); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString()
97 arguments, R.string.location_app_permission_summary_location_on)); in getSummary_whenLocationAppCountIsOne_shouldShowSingularString()
106 Map<String, Object> arguments = new HashMap<>(); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString() local
107 arguments.put("count", 5); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
108 arguments.put("total", 10); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
110 arguments, R.string.location_app_permission_summary_location_on)); in getSummary_whenLocationAppCountIsGreaterThanOne_shouldShowPluralString()
/packages/apps/Settings/src/com/android/settings/users/
DAutoSyncDataPreferenceController.java108 Bundle arguments = new Bundle(); in newInstance() local
109 arguments.putBoolean(ARG_ENABLING, enabling); in newInstance()
110 arguments.putInt(ARG_USER_ID, userId); in newInstance()
111 arguments.putString(ARG_KEY, key); in newInstance()
112 dialogFragment.setArguments(arguments); in newInstance()
150 Bundle arguments = requireArguments(); in onClick() local
151 boolean enabling = arguments.getBoolean(ARG_ENABLING); in onClick()
153 arguments.getInt(ARG_USER_ID)); in onClick()
158 arguments.getString(ARG_KEY)); in onClick()
/packages/apps/Settings/src/com/android/settings/
DMonitoringCertInfoActivity.java90 Map<String, Object> arguments = new HashMap<>(); in onCreate() local
91 arguments.put("numberOfCertificates", numberOfCertificates); in onCreate()
92 arguments.put("orgName", dpm.getProfileOwnerNameAsUser(mUserId)); in onCreate()
94 builder.setMessage(msgFormat.format(arguments)); in onCreate()
103 Map<String, Object> arguments = new HashMap<>(); in onCreate() local
104 arguments.put("numberOfCertificates", numberOfCertificates); in onCreate()
105 arguments.put("orgName", dpm.getDeviceOwnerNameOnAnyUser()); in onCreate()
107 builder.setMessage(msgFormat.format(arguments)); in onCreate()
/packages/services/Mtp/tests/src/com/android/mtp/
DTestResultInstrumentation.java34 public void onCreate(Bundle arguments) { in onCreate() argument
35 if (arguments == null) { in onCreate()
36 arguments = new Bundle(); in onCreate()
39 Boolean.parseBoolean(arguments.getString("realDeviceTest", "false")); in onCreate()
41 arguments.putString("notAnnotation", "com.android.mtp.RealDeviceTest"); in onCreate()
43 super.onCreate(arguments); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DInputsFragment.java154 Map<String, Object> arguments = new HashMap<>(); in refresh() local
155 arguments.put(ICU_PLURAL_COUNT, connectedCount); in refresh()
156 String songsFound = msgFormat.format(arguments); in refresh()
157 mConnectedGroup.setTitle(msgFormat.format(arguments)); in refresh()
164 arguments = new HashMap<>(); in refresh()
165 arguments.put(ICU_PLURAL_COUNT, standbyCount); in refresh()
166 mStandbyGroup.setTitle(msgFormat.format(arguments)); in refresh()
173 arguments = new HashMap<>(); in refresh()
174 arguments.put(ICU_PLURAL_COUNT, disconnectedCount); in refresh()
175 mDisconnectedGroup.setTitle(msgFormat.format(arguments)); in refresh()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DRestrictAppTip.java69 Map<String, Object> arguments = new HashMap<>(); in getTitle() local
70 arguments.put("count", num); in getTitle()
71 arguments.put("label", appLabel); in getTitle()
73 ? StringUtil.getIcuPluralsString(context, arguments, in getTitle()
75 : StringUtil.getIcuPluralsString(context, arguments, in getTitle()
87 Map<String, Object> arguments = new HashMap<>(); in getSummary() local
88 arguments.put("count", num); in getSummary()
89 arguments.put("label", appLabel); in getSummary()
90 return StringUtil.getIcuPluralsString(context, arguments, resId); in getSummary()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DSuwUiFragment.java70 Bundle arguments = getArguments(); in onCreateView() local
71 int titleResId = arguments.getInt(TITLE_RES_ID_KEY, 0); in onCreateView()
72 int textResId = arguments.getInt(TEXT_RES_ID_KEY, 0); in onCreateView()
73 boolean progressBarShown = arguments.getBoolean(PROGRESS_BAR_SHOWN_KEY, false); in onCreateView()
74 int primaryButtonText = arguments.getInt(PRIMARY_BUTTON_TEXT_ID_KEY, 0); in onCreateView()
75 int primaryResult = arguments.getInt(PRIMARY_BUTTON_RESULT_KEY, Activity.RESULT_CANCELED); in onCreateView()
76 int secondaryButtonText = arguments.getInt(SECONDARY_BUTTON_TEXT_ID_KEY, 0); in onCreateView()

12345678910>>...14