Home
last modified time | relevance | path

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

1234567891011

/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/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/Settings/src/com/android/settings/network/telephony/
DConfirmDialogFragment.java75 Bundle arguments = new Bundle(); in show() local
76 arguments.putString(ARG_TITLE, title); in show()
77 arguments.putCharSequence(ARG_MSG, msg); in show()
78 arguments.putString(ARG_POS_BUTTON_STRING, posButtonString); in show()
79 arguments.putString(ARG_NEG_BUTTON_STRING, negButtonString); in show()
80 setListener(activity, null, callbackInterfaceClass, tagInCaller, arguments); in show()
81 fragment.setArguments(arguments); in show()
96 Bundle arguments = new Bundle(); in show() local
97 arguments.putString(ARG_TITLE, title); in show()
98 arguments.putCharSequence(ARG_MSG, msg); in show()
[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/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/apps/Settings/src/com/android/settings/accessibility/
DLaunchAccessibilityActivityPreferenceFragment.java87 protected void onProcessArguments(Bundle arguments) { in onProcessArguments() argument
88 super.onProcessArguments(arguments); in onProcessArguments()
89 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
94 final int animatedImageRes = arguments.getInt( in onProcessArguments()
104 mHtmlDescription = arguments.getCharSequence(AccessibilitySettings.EXTRA_HTML_DESCRIPTION); in onProcessArguments()
107 final String settingsTitle = arguments.getString( in onProcessArguments()
109 mSettingsIntent = TextUtils.isEmpty(settingsTitle) ? null : getSettingsIntent(arguments); in onProcessArguments()
113 if (arguments.containsKey(AccessibilitySettings.EXTRA_TILE_SERVICE_COMPONENT_NAME)) { in onProcessArguments()
114 final String tileServiceComponentName = arguments.getString( in onProcessArguments()
218 private Intent getSettingsIntent(Bundle arguments) { in getSettingsIntent() argument
[all …]
/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.java58 Bundle arguments = new Bundle(); in newInstance() local
59 arguments.putString(Intent.EXTRA_ROLE_NAME, roleName); in newInstance()
60 arguments.putParcelable(Intent.EXTRA_USER, user); in newInstance()
61 fragment.setArguments(arguments); in newInstance()
69 Bundle arguments = getArguments(); in onCreate() local
70 mRoleName = arguments.getString(Intent.EXTRA_ROLE_NAME); in onCreate()
71 mUser = arguments.getParcelable(Intent.EXTRA_USER); in onCreate()
/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/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/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()
DAutoSpecialAppAccessFragment.java45 Bundle arguments = new Bundle(); in newInstance() local
46 arguments.putString(Intent.EXTRA_ROLE_NAME, roleName); in newInstance()
47 fragment.setArguments(arguments); in newInstance()
55 Bundle arguments = getArguments(); in onCreate() local
56 mRoleName = arguments.getString(Intent.EXTRA_ROLE_NAME); 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/
DMonitoringCertInfoActivity.java88 Map<String, Object> arguments = new HashMap<>(); in onCreate() local
89 arguments.put("numberOfCertificates", numberOfCertificates); in onCreate()
90 arguments.put("orgName", dpm.getProfileOwnerNameAsUser(mUserId)); in onCreate()
92 builder.setMessage(msgFormat.format(arguments)); in onCreate()
101 Map<String, Object> arguments = new HashMap<>(); in onCreate() local
102 arguments.put("numberOfCertificates", numberOfCertificates); in onCreate()
103 arguments.put("orgName", dpm.getDeviceOwnerNameOnAnyUser()); in onCreate()
105 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/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()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/handheld/
DHandheldSpecialAppAccessFragment.java49 Bundle arguments = new Bundle(); in newInstance() local
50 arguments.putString(Intent.EXTRA_ROLE_NAME, roleName); in newInstance()
51 fragment.setArguments(arguments); in newInstance()
59 Bundle arguments = getArguments(); in onCreate() local
60 mRoleName = arguments.getString(Intent.EXTRA_ROLE_NAME); in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DGrantPermissionsAutoViewHandler.java175 public void saveInstanceState(Bundle arguments) { in saveInstanceState() argument
176 arguments.putString(ARG_GROUP_NAME, mGroupName); in saveInstanceState()
177 arguments.putInt(ARG_GROUP_COUNT, mGroupCount); in saveInstanceState()
178 arguments.putInt(ARG_GROUP_INDEX, mGroupIndex); in saveInstanceState()
179 arguments.putParcelable(ARG_GROUP_ICON, mGroupIcon); in saveInstanceState()
180 arguments.putCharSequence(ARG_GROUP_MESSAGE, mGroupMessage); in saveInstanceState()
181 arguments.putCharSequence(ARG_GROUP_DETAIL_MESSAGE, mDetailMessage); in saveInstanceState()
182 arguments.putBooleanArray(ARG_BUTTON_VISIBILITIES, mButtonVisibilities); in saveInstanceState()
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DCustomThemeComponentFragment.java45 Bundle arguments = AppbarFragment.createArguments(toolbarTitle); in newInstance() local
46 arguments.putInt(ARG_KEY_POSITION, position); in newInstance()
47 arguments.putInt(ARG_KEY_TITLE_RES_ID, titleResId); in newInstance()
48 arguments.putInt(ARG_KEY_ACCESSIBILITY_RES_ID, accessibilityResId); in newInstance()
49 arguments.putBoolean(ARG_USE_GRID_LAYOUT, allowGridLayout); in newInstance()
50 fragment.setArguments(arguments); in newInstance()

1234567891011