Home
last modified time | relevance | path

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

12345678910>>...30

/packages/services/Telephony/src/com/android/services/telephony/
DLog.java43 public static void d(String prefix, String format, Object... args) { in d() argument
44 android.util.Log.d(TAG, (args == null || args.length == 0) ? format : in d()
45 String.format(prefix + ": " + format, args)); in d()
48 public static void d(Object objectPrefix, String format, Object... args) { in d() argument
49 android.util.Log.d(TAG, (args == null || args.length == 0) ? format : in d()
50 String.format(getPrefixFromObject(objectPrefix) + ": " + format, args)); in d()
53 public static void i(String prefix, String format, Object... args) { in i() argument
54 android.util.Log.i(TAG, (args == null || args.length == 0) ? format : in i()
55 String.format(prefix + ": " + format, args)); in i()
58 public static void i(Object objectPrefix, String format, Object... args) { in i() argument
[all …]
/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/Telecomm/src/com/android/server/telecom/
DCallAudioModeStateMachine.java244 MessageArgs args = (MessageArgs) msg.obj; in processMessage() local
259 transitionTo(args.foregroundCallIsVoip in processMessage()
271 " Args are: \n" + args.toString()); in processMessage()
277 + args.toString()); in processMessage()
305 MessageArgs args = (MessageArgs) msg.obj; in processMessage() local
317 BaseState destState = calculateProperStateFromArgs(args); in processMessage()
324 transitionTo(args.foregroundCallIsVoip in processMessage()
333 " Args are: \n" + args.toString()); in processMessage()
342 + args.toString()); in processMessage()
390 MessageArgs args = (MessageArgs) msg.obj; in processMessage() local
[all …]
DContactsAsyncHelper.java111 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage() local
119 args.context, args.displayPhotoUri); in handleMessage()
125 args.photo = Drawable.createFromStream(inputStream, in handleMessage()
126 args.displayPhotoUri.toString()); in handleMessage()
130 args.photoIcon = getPhotoIconWhenAppropriate(args.context, args.photo); in handleMessage()
133 " token: " + msg.what + " image URI: " + args.displayPhotoUri); in handleMessage()
135 args.photo = null; in handleMessage()
136 args.photoIcon = null; in handleMessage()
138 " token: " + msg.what + " image URI: " + args.displayPhotoUri + in handleMessage()
152 Log.d(this, "Notifying listener: " + args.listener.toString() + in handleMessage()
[all …]
DAsyncRingtonePlayer.java86 SomeArgs args = SomeArgs.obtain(); in play() local
87 args.arg1 = factory; in play()
88 args.arg2 = incomingCall; in play()
89 args.arg3 = volumeShaperConfig; in play()
90 args.arg4 = isVibrationEnabled; in play()
91 args.arg5 = Log.createSubsession(); in play()
92 postMessage(EVENT_PLAY, true /* shouldCreateHandler */, args); in play()
109 private void postMessage(int messageCode, boolean shouldCreateHandler, SomeArgs args) { in postMessage() argument
118 mHandler.obtainMessage(messageCode, args).sendToTarget(); in postMessage()
150 private void handlePlay(SomeArgs args) {
[all …]
/packages/services/Car/service/src/com/android/car/
DICarImpl.java474 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
483 if (args == null || args.length == 0 || (args.length > 0 && "-a".equals(args[0]))) { in dump()
499 } else if ("--metrics".equals(args[0])) { in dump()
502 mCarStatsService.dump(fd, writer, Arrays.copyOfRange(args, 1, args.length)); in dump()
503 } else if ("--vms-hal".equals(args[0])) { in dump()
506 execShellCmd(args, writer); in dump()
530 void execShellCmd(String[] args, PrintWriter writer) { in execShellCmd() argument
531 new CarShellCommand().exec(args, writer); in execShellCmd()
623 public void exec(String[] args, PrintWriter writer) { in exec() argument
624 String arg = args[0]; in exec()
[all …]
/packages/apps/Car/libs/car-ui-lib/tests/tools/
Dquick_rro.py39 def get_package_name(args): argument
47 if args.resources is not None:
48 args.resources.sort()
49 hash = sha1(''.join(args.resources) + args.package)
51 hash = sha1(args.package)
52 for root, dirs, files in os.walk(args.dir):
151 def build(args, package_name): argument
154 android_jar_path = find_android_jar(args.I)
161 root_folder = os.path.join(args.workspace, 'quick_rro')
163 resource_folder = args.dir or os.path.join(root_folder, 'res')
[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/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/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/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/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DBundleBuilder.java43 Bundle args = new Bundle(); in buildAssistantReadBundle() local
44 args.putString(KEY_ACTION, VOICE_ACTION_READ_NOTIFICATION); in buildAssistantReadBundle()
45 args.putParcelable(KEY_NOTIFICATION, notification); in buildAssistantReadBundle()
46 return args; in buildAssistantReadBundle()
57 Bundle args = new Bundle(); in buildAssistantReplyBundle() local
58 args.putString(KEY_ACTION, VOICE_ACTION_REPLY_NOTIFICATION); in buildAssistantReplyBundle()
59 args.putParcelable(KEY_NOTIFICATION, notification); in buildAssistantReplyBundle()
60 return args; in buildAssistantReplyBundle()
72 Bundle args = new Bundle(); in buildAssistantHandleExceptionBundle() local
73 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/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/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/TV/src/com/android/tv/dvr/ui/
DDvrUiHelper.java126 Bundle args = new Bundle(); in showScheduleDialog() local
127 args.putParcelable(DvrHalfSizedDialogFragment.KEY_PROGRAM, program.toParcelable()); in showScheduleDialog()
128 args.putBoolean( in showScheduleDialog()
130 showDialogFragment(activity, new DvrScheduleDialogFragment(), args, true, true); in showScheduleDialog()
138 Bundle args = new Bundle(); in showChannelRecordDurationOptions() local
139 args.putLong(DvrHalfSizedDialogFragment.KEY_CHANNEL_ID, channel.getId()); in showChannelRecordDurationOptions()
140 showDialogFragment(activity, new DvrChannelRecordDurationOptionDialogFragment(), args); in showChannelRecordDurationOptions()
148 Bundle args = new Bundle(); in showScheduleConflictDialog() local
149 args.putParcelable(DvrHalfSizedDialogFragment.KEY_PROGRAM, program.toParcelable()); in showScheduleConflictDialog()
150 showDialogFragment(activity, new DvrProgramConflictDialogFragment(), args, false, true); in showScheduleConflictDialog()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java112 public void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
117 appState.getModel().dumpState("", fd, writer, args); in dump()
143 SqlArguments args = new SqlArguments(uri, null, null); in getType() local
144 if (TextUtils.isEmpty(args.where)) { in getType()
145 return "vnd.android.cursor.dir/" + args.table; in getType()
147 return "vnd.android.cursor.item/" + args.table; in getType()
175 SqlArguments args = new SqlArguments(uri, selection, selectionArgs); in query() local
177 qb.setTables(args.table); in query()
180 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder); in query()
210 SqlArguments args = new SqlArguments(uri); in insert() local
[all …]
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterRenderingService.java292 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
293 if (args != null && args.length > 0) { in dump()
294 execShellCommand(args); in dump()
296 super.dump(fd, writer, args); in dump()
334 private void execShellCommand(String[] args) { in execShellCommand() argument
335 Log.i(TAG, "execShellCommand, args: " + Arrays.toString(args)); in execShellCommand()
337 String command = args[0]; in execShellCommand()
341 if (args.length > 1) { in execShellCommand()
342 emulateKeyEvent(parseInt(args[1])); in execShellCommand()
355 if (args.length > 1) { in execShellCommand()
[all …]

12345678910>>...30