/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ConnectionServiceWrapper.java | 93 SomeArgs args = (SomeArgs) msg.obj; 95 String callId = (String) args.arg1; 96 ConnectionRequest request = (ConnectionRequest) args.arg2; 97 ParcelableConnection connection = (ParcelableConnection) args.arg3; 100 args.recycle(); 129 SomeArgs args = (SomeArgs) msg.obj; 131 call = mCallIdMapper.getCall(args.arg1); 132 DisconnectCause disconnectCause = (DisconnectCause) args.arg2; 140 args.recycle(); 172 SomeArgs args = (SomeArgs) msg.obj; [all …]
|
D | InCallAdapter.java | 57 SomeArgs args = (SomeArgs) msg.obj; in handleMessage() local 59 call = mCallIdMapper.getCall(args.arg1); in handleMessage() 60 int videoState = (int) args.arg2; in handleMessage() 67 args.recycle(); in handleMessage() 72 SomeArgs args = (SomeArgs) msg.obj; in handleMessage() local 74 call = mCallIdMapper.getCall(args.arg1); in handleMessage() 75 boolean rejectWithMessage = args.argi1 == 1; in handleMessage() 76 String textMessage = (String) args.arg2; in handleMessage() 80 Log.w(this, "setRingback, unknown call id: %s", args.arg1); in handleMessage() 83 args.recycle(); in handleMessage() [all …]
|
D | Log.java | 50 public static void d(String prefix, String format, Object... args) { in d() argument 52 android.util.Slog.d(TAG, buildMessage(prefix, format, args)); in d() 56 public static void d(Object objectPrefix, String format, Object... args) { in d() argument 58 android.util.Slog.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d() 62 public static void i(String prefix, String format, Object... args) { in i() argument 64 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in i() 68 public static void i(Object objectPrefix, String format, Object... args) { in i() argument 70 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in i() 74 public static void v(String prefix, String format, Object... args) { in v() argument 76 android.util.Slog.v(TAG, buildMessage(prefix, format, args)); in v() [all …]
|
D | ContactsAsyncHelper.java | 67 WorkerArgs args = (WorkerArgs) msg.obj; 70 if (args.listener != null) { 71 Log.d(this, "Notifying listener: " + args.listener.toString() + 72 " image: " + args.displayPhotoUri + " completed"); 73 args.listener.onImageLoadComplete(msg.what, args.photo, args.photoIcon, 74 args.cookie); 113 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage() local 120 inputStream = args.context.getContentResolver() in handleMessage() 121 .openInputStream(args.displayPhotoUri); in handleMessage() 127 args.photo = Drawable.createFromStream(inputStream, in handleMessage() [all …]
|
D | RespondViaSmsManager.java | 54 SomeArgs args = (SomeArgs) msg.obj; 57 (Response<Void, List<String>>) args.arg1; 59 (List<String>) args.arg2; 66 args.recycle(); 71 SomeArgs args = (SomeArgs) msg.obj; 73 String toastMessage = (String) args.arg1; 74 Context context = (Context) args.arg2; 77 args.recycle(); 135 SomeArgs args = SomeArgs.obtain(); in loadCannedTextMessages() local 136 args.arg1 = response; in loadCannedTextMessages() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | LogUtils.java | 31 public static void v(String message, Object... args) { in v() argument 33 Log.v(LOGTAG, args == null ? message : String.format(message, args)); in v() 37 public static void v(String tag, String message, Object... args) { in v() argument 39 Log.v(LOGTAG + "/" + tag, args == null ? message : String.format(message, args)); in v() 43 public static void d(String message, Object... args) { in d() argument 45 Log.d(LOGTAG, args == null ? message : String.format(message, args)); in d() 49 public static void d(String tag, String message, Object... args) { in d() argument 51 Log.d(LOGTAG + "/" + tag, args == null ? message : String.format(message, args)); in d() 55 public static void i(String message, Object... args) { in i() argument 57 Log.i(LOGTAG, args == null ? message : String.format(message, args)); in i() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | ContactsAsyncHelper.java | 87 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage() local 95 args.context.getContentResolver(), args.uri); in handleMessage() 101 args.result = Drawable.createFromStream(inputStream, args.uri.toString()); in handleMessage() 104 " token: " + msg.what + " image URI: " + args.uri); in handleMessage() 106 args.result = null; in handleMessage() 108 " token: " + msg.what + " image URI: " + args.uri + in handleMessage() 154 WorkerArgs args = new WorkerArgs(); in updateImageViewWithContactPhotoAsync() local 155 args.context = context; in updateImageViewWithContactPhotoAsync() 156 args.view = imageView; in updateImageViewWithContactPhotoAsync() 157 args.uri = contact; in updateImageViewWithContactPhotoAsync() [all …]
|
D | AsyncQueryServiceHelper.java | 159 static public void queueOperation(Context context, OperationInfo args) { in queueOperation() argument 161 args.calculateScheduledTime(); in queueOperation() 164 sWorkQueue.add(args); in queueOperation() 244 OperationInfo args; in onHandleIntent() local 268 args = sWorkQueue.poll(); in onHandleIntent() 269 if (args != null) { in onHandleIntent() 277 Log.d(TAG, "onHandleIntent: " + args); in onHandleIntent() 280 ContentResolver resolver = args.resolver; in onHandleIntent() 283 switch (args.op) { in onHandleIntent() 287 cursor = resolver.query(args.uri, args.projection, args.selection, in onHandleIntent() [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | Log.java | 45 public static void d(String prefix, String format, Object... args) { in d() argument 47 android.util.Log.d(TAG, buildMessage(prefix, format, args)); in d() 51 public static void d(Object objectPrefix, String format, Object... args) { in d() argument 53 android.util.Log.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d() 57 public static void i(String prefix, String format, Object... args) { in i() argument 59 android.util.Log.i(TAG, buildMessage(prefix, format, args)); in i() 63 public static void i(Object objectPrefix, String format, Object... args) { in i() argument 65 android.util.Log.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in i() 69 public static void v(String prefix, String format, Object... args) { in v() argument 71 android.util.Log.v(TAG, buildMessage(prefix, format, args)); in v() [all …]
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | ContactsAsyncHelper.java | 67 WorkerArgs args = (WorkerArgs) msg.obj; 70 if (args.listener != null) { 71 Log.d(this, "Notifying listener: " + args.listener.toString() + 72 " image: " + args.displayPhotoUri + " completed"); 73 args.listener.onImageLoadComplete(msg.what, args.photo, args.photoIcon, 74 args.cookie); 113 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage() local 120 inputStream = args.context.getContentResolver() in handleMessage() 121 .openInputStream(args.displayPhotoUri); in handleMessage() 127 args.photo = Drawable.createFromStream(inputStream, in handleMessage() [all …]
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | DictionaryMaker.java | 145 final LinkedList<String> args = new LinkedList<>(Arrays.asList(argsArray)); in Arguments() local 146 if (args.isEmpty()) { in Arguments() 159 while (!args.isEmpty()) { in Arguments() 160 final String arg = args.get(0); in Arguments() 161 args.remove(0); in Arguments() 171 if (args.isEmpty()) { in Arguments() 175 String filename = args.get(0); in Arguments() 176 args.remove(0); in Arguments() 232 public static void main(String[] args) in main() argument 235 final Arguments parsedArgs = new Arguments(args); in main() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | LogUtils.java | 185 public static int v(String tag, String format, Object... args) { in v() argument 187 return Log.v(tag, String.format(format, args)); in v() 203 public static int v(String tag, Throwable tr, String format, Object... args) { in v() argument 205 return Log.v(tag, String.format(format, args), tr); in v() 220 public static int d(String tag, String format, Object... args) { in d() argument 222 return Log.d(tag, String.format(format, args)); in d() 238 public static int d(String tag, Throwable tr, String format, Object... args) { in d() argument 240 return Log.d(tag, String.format(format, args), tr); in d() 255 public static int i(String tag, String format, Object... args) { in i() argument 257 return Log.i(tag, String.format(format, args)); in i() [all …]
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageDetail.java | 91 Bundle args = new Bundle(); in startBatteryDetailPage() local 92 args.putString(PowerUsageDetail.EXTRA_TITLE, entry.name); in startBatteryDetailPage() 93 args.putInt(PowerUsageDetail.EXTRA_PERCENT, (int) in startBatteryDetailPage() 95 args.putInt(PowerUsageDetail.EXTRA_GAUGE, (int) in startBatteryDetailPage() 97 args.putLong(PowerUsageDetail.EXTRA_USAGE_DURATION, helper.getStatsPeriod()); in startBatteryDetailPage() 98 args.putString(PowerUsageDetail.EXTRA_ICON_PACKAGE, entry.defaultPackageName); in startBatteryDetailPage() 99 args.putInt(PowerUsageDetail.EXTRA_ICON_ID, entry.iconId); in startBatteryDetailPage() 100 args.putDouble(PowerUsageDetail.EXTRA_NO_COVERAGE, entry.sipper.noCoveragePercent); in startBatteryDetailPage() 102 args.putInt(PowerUsageDetail.EXTRA_UID, entry.sipper.uidObj.getUid()); in startBatteryDetailPage() 104 args.putSerializable(PowerUsageDetail.EXTRA_DRAIN_TYPE, entry.sipper.drainType); in startBatteryDetailPage() [all …]
|
/packages/apps/Launcher3/util/com/android/launcher3/ |
D | DecoderRing.java | 82 public static void main(String[ ] args) in main() argument 91 for (int i = 0; i < args.length; i++) { in main() 92 if ("-k".equals(args[i])) { in main() 94 } else if ("-f".equals(args[i])) { in main() 96 } else if ("-j".equals(args[i])) { in main() 98 } else if ("-i".equals(args[i])) { in main() 100 } else if ("-s".equals(args[i])) { in main() 102 } else if ("-w".equals(args[i])) { in main() 104 } else if ("-S".equals(args[i])) { in main() 105 if ((i + 1) < args.length) { in main() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherProvider.java | 104 SqlArguments args = new SqlArguments(uri, null, null); in getType() local 105 if (TextUtils.isEmpty(args.where)) { in getType() 106 return "vnd.android.cursor.dir/" + args.table; in getType() 108 return "vnd.android.cursor.item/" + args.table; in getType() 116 SqlArguments args = new SqlArguments(uri, selection, selectionArgs); in query() local 118 qb.setTables(args.table); in query() 121 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder); in query() 137 SqlArguments args = new SqlArguments(uri, null, null); in deleteId() local 138 db.delete(args.table, args.where, args.args); in deleteId() 143 SqlArguments args = new SqlArguments(uri); in insert() local [all …]
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkCmdReceiver.java | 55 Bundle args = new Bundle(); in handleAction() local 58 args.putInt(StkAppService.OPCODE, op); in handleAction() 59 args.putInt(StkAppService.SLOT_ID, slot_id); in handleAction() 62 args.putParcelable(StkAppService.CMD_MSG, intent in handleAction() 72 args.putBoolean(AppInterface.CARD_STATUS, in handleAction() 74 args.putInt(AppInterface.REFRESH_RESULT, in handleAction() 79 args.putString(AppInterface.ALPHA_STRING, alphaString); in handleAction() 83 "args: " + args + ", slot id: " + slot_id); in handleAction() 85 toService.putExtras(args); in handleAction() 90 Bundle args = new Bundle(); in handleLocaleChange() local [all …]
|
D | StkAppService.java | 287 Bundle args = intent.getExtras(); in onStart() local 288 if (args == null) { in onStart() 293 int op = args.getInt(OPCODE); in onStart() 297 slotId = args.getInt(SLOT_ID); in onStart() 299 CatLog.d(LOG_TAG, "onStart sim id: " + slotId + ", op: " + op + ", " + args); in onStart() 331 msg.obj = args.getParcelable(CMD_MSG); in onStart() 338 msg.obj = args; in onStart() 592 private void handleCardStatusChangeAndIccRefresh(Bundle args, int slotId) { in handleCardStatusChangeAndIccRefresh() argument 593 boolean cardStatus = args.getBoolean(AppInterface.CARD_STATUS); in handleCardStatusChangeAndIccRefresh() 607 state.refreshResult = args.getInt(AppInterface.REFRESH_RESULT); in handleCardStatusChangeAndIccRefresh() [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountCreationFragment.java | 81 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 …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 113 SqlArguments args = new SqlArguments(uri, null, null); in getType() local 114 if (TextUtils.isEmpty(args.where)) { in getType() 115 return "vnd.android.cursor.dir/" + args.table; in getType() 117 return "vnd.android.cursor.item/" + args.table; in getType() 125 SqlArguments args = new SqlArguments(uri, selection, selectionArgs); in query() local 127 qb.setTables(args.table); in query() 130 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder); in query() 150 SqlArguments args = new SqlArguments(uri); in insert() local 162 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); in insert() 174 SqlArguments args = new SqlArguments(uri); in bulkInsert() local [all …]
|
/packages/apps/Mms/src/com/android/mms/ |
D | LogTag.java | 70 private static String logFormat(String format, Object... args) { in logFormat() argument 71 for (int i = 0; i < args.length; i++) { in logFormat() 72 if (args[i] instanceof String[]) { in logFormat() 73 args[i] = prettyArray((String[])args[i]); in logFormat() 76 String s = String.format(format, args); in logFormat() 81 public static void debug(String format, Object... args) { in debug() argument 82 Log.d(TAG, logFormat(format, args)); in debug() 85 public static void warn(String format, Object... args) { in warn() argument 86 Log.w(TAG, logFormat(format, args)); in warn() 89 public static void error(String format, Object... args) { in error() argument [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | PasswordInputWizardFragment.java | 71 Bundle args = new Bundle(); in newInstance() local 72 args.putString(EXTRA_TITLE, title); in newInstance() 73 args.putString(EXTRA_DESCRIPTION, description); in newInstance() 74 args.putInt(EXTRA_INPUT_TYPE, inputType); in newInstance() 75 args.putString(EXTRA_PREFILL, prefill); in newInstance() 76 args.putString(EXTRA_EDIT_SUFFIX, editSuffix); in newInstance() 77 fragment.setArguments(args); in newInstance() 101 Bundle args = getArguments(); in onCreateView() local 102 String title = args.getString(EXTRA_TITLE); in onCreateView() 103 String description = args.getString(EXTRA_DESCRIPTION); in onCreateView() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | CompatUtils.java | 80 public static Object newInstance(final Constructor<?> constructor, final Object ... args) { in newInstance() argument 85 return constructor.newInstance(args); in newInstance() 94 final Method method, final Object... args) { in invoke() argument 99 return method.invoke(receiver, args); in invoke() 178 public T invoke(final Object receiver, final Object... args) { in invoke() argument 179 return (T) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke() 190 public int invoke(final Object receiver, final Object... args) { in invoke() argument 191 return (int) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke() 202 public float invoke(final Object receiver, final Object... args) { in invoke() argument 203 return (float) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderSelectionDialog.java | 68 final Bundle args = new Bundle(4); in getInstance() local 69 args.putParcelable(ARG_FOLDER_TAG, currentFolder); in getInstance() 70 args.putParcelable(ARG_ACCOUNT_TAG, account); in getInstance() 71 args.putBoolean(ARG_BATCH_TAG, isBatch); in getInstance() 72 args.putParcelableArray(ARG_TARGET_TAG, target.toArray(new Conversation[target.size()])); in getInstance() 73 f.setArguments(args); in getInstance() 84 final Bundle args = getArguments(); in onCreate() local 86 mCurrentFolder = args.getParcelable(ARG_FOLDER_TAG); in onCreate() 87 mAccount = args.getParcelable(ARG_ACCOUNT_TAG); in onCreate() 88 mBatch = args.getBoolean(ARG_BATCH_TAG); in onCreate() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/base/ |
D | TextInputWizardFragment.java | 66 Bundle args = new Bundle(); in newInstance() local 67 args.putString(EXTRA_TITLE, title); in newInstance() 68 args.putBoolean(EXTRA_IS_PASSWORD, isPassword); in newInstance() 69 args.putString(EXTRA_PREFILL, prefill); in newInstance() 70 args.putBoolean(EXTRA_IS_NUMERIC, isNumeric); in newInstance() 71 fragment.setArguments(args); in newInstance() 90 Bundle args = getArguments(); in onCreateView() local 91 String title = args.getString(EXTRA_TITLE); in onCreateView() 92 boolean isPassword = args.getBoolean(EXTRA_IS_PASSWORD); in onCreateView() 93 String prefill = args.getString(EXTRA_PREFILL); in onCreateView() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsUi.java | 198 Bundle args = new Bundle(); in onPreferenceTreeClick() local 199 args.putLongArray(ProcessStatsMemDetail.EXTRA_MEM_TIMES, mMemTimes); in onPreferenceTreeClick() 200 args.putDoubleArray(ProcessStatsMemDetail.EXTRA_MEM_STATE_WEIGHTS, mMemStateWeights); in onPreferenceTreeClick() 201 args.putDouble(ProcessStatsMemDetail.EXTRA_MEM_CACHED_WEIGHT, mMemCachedWeight); in onPreferenceTreeClick() 202 args.putDouble(ProcessStatsMemDetail.EXTRA_MEM_FREE_WEIGHT, mMemFreeWeight); in onPreferenceTreeClick() 203 args.putDouble(ProcessStatsMemDetail.EXTRA_MEM_ZRAM_WEIGHT, mMemZRamWeight); in onPreferenceTreeClick() 204 args.putDouble(ProcessStatsMemDetail.EXTRA_MEM_KERNEL_WEIGHT, mMemKernelWeight); in onPreferenceTreeClick() 205 args.putDouble(ProcessStatsMemDetail.EXTRA_MEM_NATIVE_WEIGHT, mMemNativeWeight); in onPreferenceTreeClick() 206 args.putDouble(ProcessStatsMemDetail.EXTRA_MEM_TOTAL_WEIGHT, mMemTotalWeight); in onPreferenceTreeClick() 207 args.putBoolean(ProcessStatsMemDetail.EXTRA_USE_USS, mUseUss); in onPreferenceTreeClick() [all …]
|