Home
last modified time | relevance | path

Searched refs:getArguments (Results 1 – 25 of 532) sorted by relevance

12345678910>>...22

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DConfirmationDialogFragment.java269 Bundle args = getArguments(); in onCreate()
275 mTitle = getArguments().getString(TITLE_KEY); in onCreate()
276 mMessage = getArguments().getString(MESSAGE_KEY); in onCreate()
277 mPosLabel = getArguments().getString(POSITIVE_KEY); in onCreate()
278 mNegLabel = getArguments().getString(NEGATIVE_KEY); in onCreate()
279 mNeuLabel = getArguments().getString(NEUTRAL_KEY); in onCreate()
286 outState.putBundle(ALL_ARGUMENTS_KEY, getArguments()); in onSaveInstanceState()
314 mDismissListener.onDismiss(getArguments().getBundle(ARGUMENTS_KEY)); in onDialogClosed()
322 mConfirmListener.onConfirm(getArguments().getBundle(ARGUMENTS_KEY)); in onClick()
326 mRejectListener.onReject(getArguments().getBundle(ARGUMENTS_KEY)); in onClick()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/
DTestUtils.java75 throw new IllegalStateException((String) invocation.getArguments()[1]); in makeSpyLogThrowExceptionForWtf()
82 throw (Throwable) invocation.getArguments()[2]; in makeSpyLogThrowExceptionForWtf()
96 "Mock logging WTF: " + invocation.getArguments()[0], in makeSpyLogDoLogErrorForWtf()
97 (String) invocation.getArguments()[1]); in makeSpyLogDoLogErrorForWtf()
106 "Mock logging WTF: " + invocation.getArguments()[0], in makeSpyLogDoLogErrorForWtf()
107 (String) invocation.getArguments()[1], in makeSpyLogDoLogErrorForWtf()
108 (Throwable) invocation.getArguments()[2]); in makeSpyLogDoLogErrorForWtf()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfirmLockdownFragment.java76 final boolean replacing = getArguments().getBoolean(ARG_REPLACING); in onCreateDialog()
77 final boolean alwaysOn = getArguments().getBoolean(ARG_ALWAYS_ON); in onCreateDialog()
78 final boolean wasLockdown = getArguments().getBoolean(ARG_LOCKDOWN_SRC); in onCreateDialog()
79 final boolean nowLockdown = getArguments().getBoolean(ARG_LOCKDOWN_DST); in onCreateDialog()
109 getArguments().getParcelable(ARG_OPTIONS), in onClick()
110 getArguments().getBoolean(ARG_ALWAYS_ON), in onClick()
111 getArguments().getBoolean(ARG_LOCKDOWN_DST)); in onClick()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfirmLockdownFragment.java76 final boolean replacing = getArguments().getBoolean(ARG_REPLACING); in onCreateDialog()
77 final boolean alwaysOn = getArguments().getBoolean(ARG_ALWAYS_ON); in onCreateDialog()
78 final boolean wasLockdown = getArguments().getBoolean(ARG_LOCKDOWN_SRC); in onCreateDialog()
79 final boolean nowLockdown = getArguments().getBoolean(ARG_LOCKDOWN_DST); in onCreateDialog()
109 getArguments().getParcelable(ARG_OPTIONS), in onClick()
110 getArguments().getBoolean(ARG_ALWAYS_ON), in onClick()
111 getArguments().getBoolean(ARG_LOCKDOWN_DST)); in onClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityServiceFragment.java72 screen.setTitle(getArguments().getString(ARG_LABEL)); in onCreatePreferences()
81 final String activityName = getArguments().getString(ARG_SETTINGS_ACTIVITY_NAME); in onCreatePreferences()
83 final String packageName = getArguments().getString(ARG_PACKAGE_NAME); in onCreatePreferences()
108 final String packageName = getArguments().getString(ARG_PACKAGE_NAME); in updateEnablePref()
109 final String serviceName = getArguments().getString(ARG_SERVICE_NAME); in updateEnablePref()
117 getArguments().getString(ARG_LABEL), !enabled); in updateEnablePref()
143 String serviceName = getArguments().getString(ARG_SERVICE_NAME); in getPageId()
DAccessibilityServiceConfirmationFragment.java87 final CharSequence label = getArguments().getCharSequence(ARG_LABEL); in onCreateGuidance()
88 if (getArguments().getBoolean(ARG_ENABLING)) { in onCreateGuidance()
122 final ComponentName component = getArguments().getParcelable(ARG_COMPONENT); in onGuidedActionClicked()
124 final boolean enabling = getArguments().getBoolean(ARG_ENABLING); in onGuidedActionClicked()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncDetailsFragment.java93 Account account = getArguments().getParcelable(EXTRA_ACCOUNT); in onAttach()
94 UserHandle userHandle = getArguments().getParcelable(EXTRA_USER_HANDLE); in onAttach()
136 UserHandle userHandle = getArguments().getParcelable(EXTRA_USER_HANDLE); in updateSyncButton()
150 Account account = getArguments().getParcelable(EXTRA_ACCOUNT); in requestSyncForEnabledProviders()
151 UserHandle userHandle = getArguments().getParcelable(EXTRA_USER_HANDLE); in requestSyncForEnabledProviders()
162 Account account = getArguments().getParcelable(EXTRA_ACCOUNT); in cancelSyncForEnabledProviders()
163 UserHandle userHandle = getArguments().getParcelable(EXTRA_USER_HANDLE); in cancelSyncForEnabledProviders()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionsFragment.java103 final String packageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onCreate()
104 final UserHandle user = getArguments().getParcelable(Intent.EXTRA_USER); in onCreate()
130 final String packageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onResume()
131 final UserHandle user = getArguments().getParcelable(Intent.EXTRA_USER); in onResume()
154 getArguments().getString(Intent.EXTRA_PACKAGE_NAME)); in onOptionsItemSelected()
170 getArguments().getString(Intent.EXTRA_PACKAGE_NAME), in onViewCreated()
171 getArguments().getParcelable(Intent.EXTRA_USER), in onViewCreated()
254 final String packageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in loadPreferences()
255 final UserHandle user = getArguments().getParcelable(Intent.EXTRA_USER); in loadPreferences()
456 getArguments().getString(Intent.EXTRA_PACKAGE_NAME), in onViewCreated()
[all …]
DAppPermissionFragment.java149 mPackageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onCreate()
150 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_GROUP_NAME); in onCreate()
152 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate()
167 mUser = getArguments().getParcelable(Intent.EXTRA_USER); in onCreate()
181 mSessionId = getArguments().getLong(EXTRA_SESSION_ID, INVALID_SESSION_ID); in onCreate()
412 Bundle args = getArguments().deepCopy(); in showConfirmDialog()
444 boolean isGrantFileAccess = getArguments().getSerializable(CHANGE_REQUEST) in onCreateDialog()
451 .setMessage(getArguments().getInt(MSG)) in onCreateDialog()
460 getArguments().getSerializable(CHANGE_REQUEST), in onCreateDialog()
461 getArguments().getInt(BUTTON), in onCreateDialog()
[all …]
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAppPermissionFragment.java165 mPackageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onCreate()
166 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_GROUP_NAME); in onCreate()
168 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate()
171 mUser = getArguments().getParcelable(Intent.EXTRA_USER); in onCreate()
185 mSessionId = getArguments().getLong(EXTRA_SESSION_ID, INVALID_SESSION_ID); in onCreate()
221 String caller = getArguments().getString(EXTRA_CALLER_NAME); in onCreateView()
509 Bundle args = getArguments().deepCopy(); in showConfirmDialog()
540 boolean isGrantFileAccess = getArguments().getSerializable(CHANGE_REQUEST) in onCreateDialog()
547 .setMessage(getArguments().getInt(MSG)) in onCreateDialog()
558 getArguments().getSerializable(CHANGE_REQUEST), in onCreateDialog()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectManageApplications.java32 final Bundle workOnly = getArguments() != null ? getArguments().deepCopy() : new Bundle(); in getFragments()
37 final Bundle personalOnly = getArguments() != null ? getArguments() : new Bundle(); in getFragments()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java107 Bundle args = getArguments(); in onCreate()
270 final boolean isLimit = getArguments().getBoolean(EXTRA_LIMIT); in onCreateDialog()
296 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in setupPicker()
297 final boolean isLimit = getArguments().getBoolean(EXTRA_LIMIT); in setupPicker()
325 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in onClick()
326 final boolean isLimit = getArguments().getBoolean(EXTRA_LIMIT); in onClick()
397 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in onCreateDialog()
413 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in onClick()
481 final long limitBytes = getArguments().getLong(EXTRA_LIMIT_BYTES); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DBillingCycleSettings.java107 Bundle args = getArguments(); in onCreate()
267 final boolean isLimit = getArguments().getBoolean(EXTRA_LIMIT); in onCreateDialog()
283 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in setupPicker()
284 final boolean isLimit = getArguments().getBoolean(EXTRA_LIMIT); in setupPicker()
317 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in onClick()
318 final boolean isLimit = getArguments().getBoolean(EXTRA_LIMIT); in onClick()
382 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in onCreateDialog()
398 final NetworkTemplate template = getArguments().getParcelable(EXTRA_TEMPLATE); in onClick()
466 final long limitBytes = getArguments().getLong(EXTRA_LIMIT_BYTES); in onClick()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DLineupFragment.java53 lineups = getArguments().getStringArrayList(KEY_LINEUP_NAMES); in onCreate()
62 Bundle arguments = this.args != null ? this.args : getArguments(); in onCreateContentFragment()
142 lineups = getArguments().getStringArrayList(KEY_LINEUP_NAMES); in onCreate()
143 matchNumbers = getArguments().getIntegerArrayList(KEY_MATCH_NUMBERS); in onCreate()
144 defaultLineup = getArguments().getInt(KEY_DEFAULT_LINEUP); in onCreate()
145 this.lineupNotFound = getArguments().getBoolean(KEY_LINEUP_NOT_FOUND); in onCreate()
/packages/apps/Dialer/java/com/android/incallui/
DRttRequestDialogFragment.java75 CallList.getInstance().getCallById(getArguments().getString(ARG_CALL_ID)); in onCreateDialog()
99 DialerCall call = CallList.getInstance().getCallById(getArguments().getString(ARG_CALL_ID)); in onPositiveButtonClick()
100 call.respondToRttRequest(true, getArguments().getInt(ARG_RTT_REQUEST_ID)); in onPositiveButtonClick()
107 DialerCall call = CallList.getInstance().getCallById(getArguments().getString(ARG_CALL_ID)); in onNegativeButtonClick()
108 call.respondToRttRequest(false, getArguments().getInt(ARG_RTT_REQUEST_ID)); in onNegativeButtonClick()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DRegionZonePicker.java67 getArguments() == null ? null : getArguments().getString(EXTRA_REGION_ID); in onCreate()
82 intent.putExtra(EXTRA_RESULT_REGION_ID, getArguments().getString(EXTRA_REGION_ID)); in prepareResultData()
88 if (getArguments() == null) { in getAllTimeZoneInfos()
93 String regionId = getArguments().getString(EXTRA_REGION_ID); in getAllTimeZoneInfos()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DRegionZonePicker.java67 getArguments() == null ? null : getArguments().getString(EXTRA_REGION_ID); in onCreate()
82 intent.putExtra(EXTRA_RESULT_REGION_ID, getArguments().getString(EXTRA_REGION_ID)); in prepareResultData()
88 if (getArguments() == null) { in getAllTimeZoneInfos()
93 String regionId = getArguments().getString(EXTRA_REGION_ID); in getAllTimeZoneInfos()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java122 Bundle bundle = getArguments(); in onCreate()
343 getArguments().getString(ARG_ACCESSORY_NAME), in onCreateGuidance()
344 getContext().getDrawable(getArguments().getInt(ARG_ACCESSORY_ICON_ID, in onCreateGuidance()
354 .title(getArguments().getString(ARG_ACCESSORY_NAME)) in onCreateActions()
362 getArguments().getString(ARG_ACCESSORY_NAME)) in onGuidedActionEditedAndProceed()
436 mDevice = getArguments().getParcelable(ARG_DEVICE); in onCreate()
473 getArguments().getString(ARG_ACCESSORY_NAME), in onCreateGuidance()
474 getContext().getDrawable(getArguments().getInt(ARG_ACCESSORY_ICON_ID, in onCreateGuidance()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockNumberDialogFragment.java112 final boolean isBlocked = getArguments().containsKey(ARG_BLOCK_ID); in onCreateDialog()
114 number = getArguments().getString(ARG_NUMBER); in onCreateDialog()
115 displayNumber = getArguments().getString(ARG_DISPLAY_NUMBER); in onCreateDialog()
116 countryIso = getArguments().getString(ARG_COUNTRY_ISO); in onCreateDialog()
126 parentView = getActivity().findViewById(getArguments().getInt(ARG_PARENT_VIEW_ID)); in onCreateDialog()
308 getArguments().getInt(ARG_BLOCK_ID)); in unblockNumber()
/packages/apps/TV/src/com/android/tv/dialog/
DWebDialogFragment.java61 String title = getArguments().getString(TITLE); in onCreate()
62 mTrackerLabel = getArguments().getString(TRACKER_LABEL); in onCreate()
74 String title = getArguments().getString(TITLE); in onCreateView()
79 String url = getArguments().getString(URL); in onCreateView()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DPhoneAccountSelectionFragment.java68 targetFragment = getArguments().getString(PARAM_TARGET_FRAGMENT); in onCreate()
70 arguments.putAll(getArguments().getBundle(PARAM_ARGUMENTS)); in onCreate()
71 phoneAccountHandleKey = getArguments().getString(PARAM_PHONE_ACCOUNT_HANDLE_KEY); in onCreate()
72 titleRes = getArguments().getInt(PARAM_TARGET_TITLE_RES, 0); in onCreate()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionsFragment.java80 String packageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onCreate()
81 UserHandle userHandle = getArguments().getParcelable(Intent.EXTRA_USER); in onCreate()
123 getArguments().getString(Intent.EXTRA_PACKAGE_NAME), in showAllPermissions()
124 getArguments().getParcelable(Intent.EXTRA_USER)); in showAllPermissions()
208 getArguments().getString(Intent.EXTRA_PACKAGE_NAME), in updatePreferences()
209 getArguments().getParcelable(Intent.EXTRA_USER)); in updatePreferences()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DOperationDialogFragment.java89 getArguments().getInt(FileOperationService.EXTRA_DIALOG_TYPE); in onCreateDialog()
91 getArguments().getInt(FileOperationService.EXTRA_OPERATION_TYPE); in onCreateDialog()
92 final ArrayList<Uri> uriList = getArguments().getParcelableArrayList( in onCreateDialog()
94 final ArrayList<DocumentInfo> docList = getArguments().getParcelableArrayList( in onCreateDialog()
/packages/apps/Dialer/java/com/android/incallui/sessiondata/
DMultimediaFragment.java102 showAvatar = getArguments().getBoolean(ARG_SHOW_AVATAR); in onCreate()
103 isSpam = getArguments().getBoolean(ARG_IS_SPAM); in onCreate()
248 return getArguments().getString(ARG_SUBJECT); in getSubject()
253 return getArguments().getParcelable(ARG_IMAGE); in getImageUri()
258 return getArguments().getParcelable(ARG_LOCATION); in getLocation()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseActionFragment.java117 int startIndex = mFragment.getArguments().getInt(EXTRA_INDEX, -1); in onCreate()
124 mName = mFragment.getArguments().getString(EXTRA_NAME); in onCreate()
232 if (mFragment.getArguments() != null && !mAddedSavedActions) { in loadActionsFromArgumentsIfNecessary()
233 ArrayList<Action> actions = mFragment.getArguments() in loadActionsFromArgumentsIfNecessary()

12345678910>>...22