Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 772) sorted by relevance

12345678910>>...31

/packages/apps/DeskClock/src/com/android/deskclock/
DLogUtils.java29 public static void v(String message, Object... args) { in v() argument
30 DEFAULT_LOGGER.v(message, args); in v()
33 public static void d(String message, Object... args) { in d() argument
34 DEFAULT_LOGGER.d(message, args); in d()
37 public static void i(String message, Object... args) { in i() argument
38 DEFAULT_LOGGER.i(message, args); in i()
41 public static void w(String message, Object... args) { in w() argument
42 DEFAULT_LOGGER.w(message, args); in w()
45 public static void e(String message, Object... args) { in e() argument
46 DEFAULT_LOGGER.e(message, args); in e()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DContactsAsyncHelper.java90 WorkerArgs args = new WorkerArgs(); in startObtainPhotoAsync() local
91 args.token = token; in startObtainPhotoAsync()
92 args.cookie = cookie; in startObtainPhotoAsync()
93 args.context = context; in startObtainPhotoAsync()
94 args.displayPhotoUri = displayPhotoUri; in startObtainPhotoAsync()
95 args.listener = listener; in startObtainPhotoAsync()
102 if (args.listener != null) { in startObtainPhotoAsync()
106 + args.listener in startObtainPhotoAsync()
108 + args.displayPhotoUri in startObtainPhotoAsync()
110 args.listener.onImageLoadComplete( in startObtainPhotoAsync()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java149 SomeArgs args = (SomeArgs) msg.obj; in processMessage() local
153 addDevice((String) args.arg2); in processMessage()
156 removeDevice((String) args.arg2); in processMessage()
159 String actualAddress = connectBtAudio((String) args.arg2); in processMessage()
166 " any HFP device.", (String) args.arg2); in processMessage()
173 Log.i(LOG_TAG, "Retrying HFP connection to %s", (String) args.arg2); in processMessage()
174 String retryAddress = connectBtAudio((String) args.arg2, args.argi1); in processMessage()
187 String address = (String) args.arg2; in processMessage()
194 (String) args.arg2); in processMessage()
198 BlockingQueue<IState> sink = (BlockingQueue<IState>) args.arg3; in processMessage()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DLog.java51 public static void d(String prefix, String format, Object... args) { in d() argument
52 android.telecom.Log.d(prefix, format, args); in d()
55 public static void d(Object objectPrefix, String format, Object... args) { in d() argument
56 android.telecom.Log.d(objectPrefix, format, args); in d()
59 public static void i(String prefix, String format, Object... args) { in i() argument
60 android.telecom.Log.i(prefix, format, args); in i()
63 public static void i(Object objectPrefix, String format, Object... args) { in i() argument
64 android.telecom.Log.i(objectPrefix, format, args); in i()
67 public static void v(String prefix, String format, Object... args) { in v() argument
68 android.telecom.Log.v(prefix, format, args); in v()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DContactsAsyncHelper.java100 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage() local
108 args.context, args.displayPhotoUri); in handleMessage()
114 args.photo = Drawable.createFromStream(inputStream, in handleMessage()
115 args.displayPhotoUri.toString()); in handleMessage()
119 args.photoIcon = getPhotoIconWhenAppropriate(args.context, args.photo); in handleMessage()
122 " token: " + msg.what + " image URI: " + args.displayPhotoUri); in handleMessage()
124 args.photo = null; in handleMessage()
125 args.photoIcon = null; in handleMessage()
127 " token: " + msg.what + " image URI: " + args.displayPhotoUri + in handleMessage()
141 Log.d(this, "Notifying listener: " + args.listener.toString() + in handleMessage()
[all …]
DCallAudioModeStateMachine.java176 MessageArgs args = (MessageArgs) msg.obj; in processMessage() local
188 transitionTo(args.foregroundCallIsVoip in processMessage()
197 " Args are: \n" + args.toString()); in processMessage()
203 + args.toString()); in processMessage()
243 MessageArgs args = (MessageArgs) msg.obj; in processMessage() local
254 if (args.hasActiveOrDialingCalls) { in processMessage()
255 if (args.foregroundCallIsVoip) { in processMessage()
260 } else if (args.hasHoldingCalls || args.isTonePlaying) { in processMessage()
268 transitionTo(args.foregroundCallIsVoip in processMessage()
278 " Args are: " + args.toString()); in processMessage()
[all …]
DAsyncRingtonePlayer.java105 SomeArgs args = SomeArgs.obtain(); in play() local
106 args.arg1 = factory; in play()
107 args.arg2 = incomingCall; in play()
108 args.arg3 = volumeShaperConfig; in play()
109 args.arg4 = isVibrationEnabled; in play()
110 postMessage(EVENT_PLAY, true /* shouldCreateHandler */, args); in play()
127 private void postMessage(int messageCode, boolean shouldCreateHandler, SomeArgs args) { in postMessage() argument
136 mHandler.obtainMessage(messageCode, args).sendToTarget(); in postMessage()
171 private void handlePlay(SomeArgs args) {
172 RingtoneFactory factory = (RingtoneFactory) args.arg1;
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DPermissionUsages.java80 final Bundle args = new Bundle(); in load() local
81 args.putInt(KEY_FILTER_UID, filterUid); in load()
82 args.putString(KEY_FILTER_PACKAGE_NAME, filterPackageName); in load()
83 args.putStringArray(KEY_FILTER_PERMISSION_GROUP, filterPermissionGroups); in load()
84 args.putLong(KEY_FILTER_BEGIN_TIME_MILLIS, filterBeginTimeMillis); in load()
85 args.putLong(KEY_FILTER_END_TIME_MILLIS, filterEndTimeMillis); in load()
86 args.putInt(KEY_USAGE_FLAGS, usageFlags); in load()
87 args.putBoolean(KEY_GET_UI_INFO, getUiInfo); in load()
88 args.putBoolean(KEY_GET_NON_PLATFORM_PERMISSIONS, getNonPlatformPermissions); in load()
90 final UsageLoader loader = new UsageLoader(mContext, args); in load()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/
DLogUtils.java156 public static void v(String tag, String format, Object... args) { in v() argument
158 VvmLog.v(tag, String.format(format, args)); in v()
172 public static void v(String tag, Throwable tr, String format, Object... args) { in v() argument
174 VvmLog.v(tag, String.format(format, args), tr); in v()
187 public static void d(String tag, String format, Object... args) { in d() argument
189 VvmLog.d(tag, String.format(format, args)); in d()
203 public static void d(String tag, Throwable tr, String format, Object... args) { in d() argument
205 VvmLog.d(tag, String.format(format, args), tr); in d()
218 public static void i(String tag, String format, Object... args) { in i() argument
220 VvmLog.i(tag, String.format(format, args)); in i()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DLogUtils.java186 public static int v(String tag, String format, Object... args) { in v() argument
188 return Log.v(tag, String.format(format, args)); in v()
204 public static int v(String tag, Throwable tr, String format, Object... args) { in v() argument
206 return Log.v(tag, String.format(format, args), tr); in v()
221 public static int d(String tag, String format, Object... args) { in d() argument
223 return Log.d(tag, String.format(format, args)); in d()
239 public static int d(String tag, Throwable tr, String format, Object... args) { in d() argument
241 return Log.d(tag, String.format(format, args), tr); in d()
256 public static int i(String tag, String format, Object... args) { in i() argument
258 return Log.i(tag, String.format(format, args)); in i()
[all …]
/packages/services/Car/service/src/com/android/car/
DICarImpl.java446 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
455 if (args == null || args.length == 0 || (args.length > 0 && "-a".equals(args[0]))) { in dump()
471 } else if ("--metrics".equals(args[0])) { in dump()
475 execShellCmd(args, writer); in dump()
504 void execShellCmd(String[] args, PrintWriter writer) { in execShellCmd() argument
505 new CarShellCommand().exec(args, writer); in execShellCmd()
581 public void exec(String[] args, PrintWriter writer) { in exec() argument
582 String arg = args[0]; in exec()
588 String value = args.length < 2 ? "" : args[1]; in exec()
593 String value = args.length < 2 ? "" : args[1]; in exec()
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDictionaryMaker.java115 final LinkedList<String> args = new LinkedList<>(Arrays.asList(argsArray)); in Arguments() local
116 if (args.isEmpty()) { in Arguments()
127 while (!args.isEmpty()) { in Arguments()
128 final String arg = args.get(0); in Arguments()
129 args.remove(0); in Arguments()
139 if (args.isEmpty()) { in Arguments()
143 String argValue = args.get(0); in Arguments()
144 args.remove(0); in Arguments()
198 public static void main(String[] args) in main() argument
200 final Arguments parsedArgs = new Arguments(args); in main()
[all …]
/packages/apps/Car/Messenger/src/com/android/car/messenger/log/
DL.java36 public static void v(String tag, @NonNull String msg, Object... args) { in v() argument
38 Log.v(tag, String.format(msg, args)); in v()
49 public static void d(String tag, @NonNull String msg, Object... args) { in d() argument
51 Log.d(tag, String.format(msg, args)); in d()
62 public static void i(String tag, @NonNull String msg, Object... args) { in i() argument
64 Log.i(tag, String.format(msg, args)); in i()
75 public static void w(String tag, @NonNull String msg, Object... args) { in w() argument
77 Log.w(tag, String.format(msg, args)); in w()
88 public static void e(String tag, @NonNull String msg, Object... args) { in e() argument
89 Log.e(tag, String.format(msg, args)); in e()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSimpleDialog.java52 Bundle args = getArguments(); in onCreateDialog() local
53 if (args.containsKey(TITLE)) { in onCreateDialog()
54 builder.setTitle(args.getInt(TITLE)); in onCreateDialog()
57 if (args.containsKey(MESSAGE)) { in onCreateDialog()
58 builder.setMessage(args.getInt(MESSAGE)); in onCreateDialog()
61 if (args.containsKey(NEGATIVE_BUTTON_MESSAGE)) { in onCreateDialog()
62 builder.setNegativeButton(args.getInt(NEGATIVE_BUTTON_MESSAGE), in onCreateDialog()
71 if (args.containsKey(POSITIVE_BUTTON_MESSAGE)) { in onCreateDialog()
72 builder.setPositiveButton(args.getInt(POSITIVE_BUTTON_MESSAGE), in onCreateDialog()
156 Bundle args = new Bundle(); in build() local
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java317 Bundle args = getWorkAnnotatedBundle(2); in getPhotosIntent() local
318 args.putString( in getPhotosIntent()
320 args.putInt( in getPhotosIntent()
326 .setArguments(args) in getPhotosIntent()
336 Bundle args = getWorkAnnotatedBundle(4); in getAudioIntent() local
337 args.putString(ManageApplications.EXTRA_CLASSNAME, in getAudioIntent()
339 args.putString(ManageApplications.EXTRA_VOLUME_UUID, mVolume.getFsUuid()); in getAudioIntent()
340 args.putString(ManageApplications.EXTRA_VOLUME_NAME, mVolume.getDescription()); in getAudioIntent()
341 args.putInt(ManageApplications.EXTRA_STORAGE_TYPE, ManageApplications.STORAGE_TYPE_MUSIC); in getAudioIntent()
345 .setArguments(args) in getAudioIntent()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DStorageItemPreferenceController.java317 Bundle args = getWorkAnnotatedBundle(2); in getPhotosIntent() local
318 args.putString( in getPhotosIntent()
320 args.putInt( in getPhotosIntent()
326 .setArguments(args) in getPhotosIntent()
336 Bundle args = getWorkAnnotatedBundle(4); in getAudioIntent() local
337 args.putString(ManageApplications.EXTRA_CLASSNAME, in getAudioIntent()
339 args.putString(ManageApplications.EXTRA_VOLUME_UUID, mVolume.getFsUuid()); in getAudioIntent()
340 args.putString(ManageApplications.EXTRA_VOLUME_NAME, mVolume.getDescription()); in getAudioIntent()
341 args.putInt(ManageApplications.EXTRA_STORAGE_TYPE, ManageApplications.STORAGE_TYPE_MUSIC); in getAudioIntent()
345 .setArguments(args) in getAudioIntent()
[all …]
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DBundleBuilder.java42 Bundle args = new Bundle(); in buildAssistantReadBundle() local
43 args.putString(KEY_ACTION, VOICE_ACTION_READ_NOTIFICATION); in buildAssistantReadBundle()
44 args.putParcelable(KEY_NOTIFICATION, notification); in buildAssistantReadBundle()
45 return args; in buildAssistantReadBundle()
56 Bundle args = new Bundle(); in buildAssistantReplyBundle() local
57 args.putString(KEY_ACTION, VOICE_ACTION_REPLY_NOTIFICATION); in buildAssistantReplyBundle()
58 args.putParcelable(KEY_NOTIFICATION, notification); in buildAssistantReplyBundle()
59 return args; in buildAssistantReplyBundle()
70 Bundle args = new Bundle(); in buildAssistantHandleExceptionBundle() local
71 args.putString(KEY_ACTION, VOICE_ACTION_HANDLE_EXCEPTION); in buildAssistantHandleExceptionBundle()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestNotificationManager.java55 Object[] args = invocation.getArguments(); in invoke() local
58 if (args.length == 2) { in invoke()
59 notify(null, (Integer) args[0], (Notification) args[1]); in invoke()
61 if (args.length == 3) { in invoke()
62 notify((String) args[0], (Integer) args[1], (Notification) args[2]); in invoke()
66 if (args.length == 1) { in invoke()
67 cancel(null, (Integer) args[0]); in invoke()
69 if (args.length == 2) { in invoke()
70 cancel((String) args[0], (Integer) args[1]); in invoke()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrUiHelper.java124 Bundle args = new Bundle(); in showScheduleDialog() local
125 args.putParcelable(DvrHalfSizedDialogFragment.KEY_PROGRAM, program); in showScheduleDialog()
126 args.putBoolean( in showScheduleDialog()
128 showDialogFragment(activity, new DvrScheduleDialogFragment(), args, true, true); in showScheduleDialog()
136 Bundle args = new Bundle(); in showChannelRecordDurationOptions() local
137 args.putLong(DvrHalfSizedDialogFragment.KEY_CHANNEL_ID, channel.getId()); in showChannelRecordDurationOptions()
138 showDialogFragment(activity, new DvrChannelRecordDurationOptionDialogFragment(), args); in showChannelRecordDurationOptions()
146 Bundle args = new Bundle(); in showScheduleConflictDialog() local
147 args.putParcelable(DvrHalfSizedDialogFragment.KEY_PROGRAM, program); in showScheduleConflictDialog()
148 showDialogFragment(activity, new DvrProgramConflictDialogFragment(), args, false, true); in showScheduleConflictDialog()
[all …]
/packages/apps/Dialer/java/com/android/dialer/common/
DLogUtil.java44 public static void v(@NonNull String tag, @Nullable String msg, @Nullable Object... args) { in v() argument
45 println(android.util.Log.VERBOSE, TAG, tag, msg, args); in v()
60 public static void d(@NonNull String tag, @Nullable String msg, @Nullable Object... args) { in d() argument
61 println(android.util.Log.DEBUG, TAG, tag, msg, args); in d()
75 public static void i(@NonNull String tag, @Nullable String msg, @Nullable Object... args) { in i() argument
76 println(android.util.Log.INFO, TAG, tag, msg, args); in i()
102 public static void w(@NonNull String tag, @Nullable String msg, @Nullable Object... args) { in w() argument
103 println(android.util.Log.WARN, TAG, tag, msg, args); in w()
118 public static void e(@NonNull String tag, @Nullable String msg, @Nullable Object... args) { in e() argument
119 println(android.util.Log.ERROR, TAG, tag, msg, args); in e()
[all …]
DAssert.java105 boolean expression, @Nullable String messageTemplate, Object... args) { in checkArgument() argument
107 throw new IllegalArgumentException(format(messageTemplate, args)); in checkArgument()
132 boolean expression, @Nullable String messageTemplate, Object... args) { in checkState() argument
134 throw new IllegalStateException(format(messageTemplate, args)); in checkState()
161 @Nullable T reference, @Nullable String messageTemplate, Object... args) { in isNotNull() argument
163 throw new NullPointerException(format(messageTemplate, args)); in isNotNull()
184 public static void isMainThread(@Nullable String messageTemplate, Object... args) { in isMainThread() argument
188 checkState(Looper.getMainLooper().equals(Looper.myLooper()), messageTemplate, args); in isMainThread() local
207 public static void isWorkerThread(@Nullable String messageTemplate, Object... args) { in isWorkerThread() argument
211 checkState(!Looper.getMainLooper().equals(Looper.myLooper()), messageTemplate, args); in isWorkerThread()
[all …]
/packages/apps/Settings/src/com/android/settings/password/
DSetupSkipDialog.java48 Bundle args = new Bundle(); in newInstance() local
49 args.putBoolean(ARG_FRP_SUPPORTED, isFrpSupported); in newInstance()
50 args.putBoolean(ARG_LOCK_TYPE_PATTERN, isPatternMode); in newInstance()
51 args.putBoolean(ARG_LOCK_TYPE_ALPHANUMERIC, isAlphanumericMode); in newInstance()
52 args.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, isFingerprintSupported); in newInstance()
53 args.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE, isFaceSupported); in newInstance()
54 dialog.setArguments(args); in newInstance()
70 Bundle args = getArguments(); in onCreateDialogBuilder() local
72 args.getBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE); in onCreateDialogBuilder()
74 args.getBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT); in onCreateDialogBuilder()
[all …]
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterRenderingService.java234 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
235 if (args != null && args.length > 0) { in dump()
236 execShellCommand(args); in dump()
238 super.dump(fd, writer, args); in dump()
276 private void execShellCommand(String[] args) { in execShellCommand() argument
277 Log.i(TAG, "execShellCommand, args: " + Arrays.toString(args)); in execShellCommand()
279 String command = args[0]; in execShellCommand()
283 if (args.length > 1) { in execShellCommand()
284 emulateKeyEvent(parseInt(args[1])); in execShellCommand()
297 if (args.length > 1) { in execShellCommand()
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/log/
DL.java34 public static void v(String tag, @NonNull String msg, Object... args) { in v() argument
36 Log.v(tag, String.format(msg, args)); in v()
45 public static void d(String tag, @NonNull String msg, Object... args) { in d() argument
47 Log.d(tag, String.format(msg, args)); in d()
56 public static void i(String tag, @NonNull String msg, Object... args) { in i() argument
58 Log.i(tag, String.format(msg, args)); in i()
67 public static void w(String tag, @NonNull String msg, Object... args) { in w() argument
69 Log.w(tag, String.format(msg, args)); in w()
78 public static void e(String tag, @NonNull String msg, Object... args) { in e() argument
79 Log.e(tag, String.format(msg, args)); in e()
[all …]
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCreationFragment.java81 final Bundle args = new Bundle(5); in newInstance() local
82 args.putParcelable(AccountCreationFragment.ACCOUNT_TAG, account); in newInstance()
83 args.putBoolean(AccountCreationFragment.SYNC_EMAIL_TAG, syncEmail); in newInstance()
84 args.putBoolean(AccountCreationFragment.SYNC_CALENDAR_TAG, syncCalendar); in newInstance()
85 args.putBoolean(AccountCreationFragment.SYNC_CONTACTS_TAG, syncContacts); in newInstance()
86 args.putBoolean(AccountCreationFragment.NOTIFICATIONS_TAG, enableNotifications); in newInstance()
89 f.setArguments(args); in newInstance()
166 public Loader<Boolean> onCreateLoader(int id, Bundle args) { in onCreateLoader() argument
167 final Account account = args.getParcelable(ACCOUNT_TAG); in onCreateLoader()
168 final boolean email = args.getBoolean(SYNC_EMAIL_TAG); in onCreateLoader()
[all …]

12345678910>>...31