Home
last modified time | relevance | path

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

123

/packages/apps/Calendar/src/com/android/calendar/
DContactsAsyncHelper.java85 WorkerArgs args = (WorkerArgs) msg.obj; in handleMessage() local
92 args.context.getContentResolver(), args.uri); in handleMessage()
98 args.result = Drawable.createFromStream(inputStream, args.uri.toString()); in handleMessage()
101 " token: " + msg.what + " image URI: " + args.uri); in handleMessage()
103 args.result = null; in handleMessage()
105 " token: " + msg.what + " image URI: " + args.uri + in handleMessage()
151 WorkerArgs args = new WorkerArgs(); in updateImageViewWithContactPhotoAsync() local
152 args.context = context; in updateImageViewWithContactPhotoAsync()
153 args.view = imageView; in updateImageViewWithContactPhotoAsync()
154 args.uri = person; in updateImageViewWithContactPhotoAsync()
[all …]
/packages/apps/Mms/src/com/android/mms/
DLogTag.java53 private static String logFormat(String format, Object... args) { in logFormat() argument
54 for (int i = 0; i < args.length; i++) { in logFormat()
55 if (args[i] instanceof String[]) { in logFormat()
56 args[i] = prettyArray((String[])args[i]); in logFormat()
59 String s = String.format(format, args); in logFormat()
64 public static void debug(String format, Object... args) { in debug() argument
65 Log.d(TAG, logFormat(format, args)); in debug()
68 public static void warn(String format, Object... args) { in warn() argument
69 Log.w(TAG, logFormat(format, args)); in warn()
72 public static void error(String format, Object... args) { in error() argument
[all …]
/packages/apps/Stk/src/com/android/stk/
DStkCmdReceiver.java44 Bundle args = new Bundle(); in handleCommandMessage() local
45 args.putInt(StkAppService.OPCODE, StkAppService.OP_CMD); in handleCommandMessage()
46 args.putParcelable(StkAppService.CMD_MSG, intent in handleCommandMessage()
49 .putExtras(args)); in handleCommandMessage()
53 Bundle args = new Bundle(); in handleSessionEnd() local
54 args.putInt(StkAppService.OPCODE, StkAppService.OP_END_SESSION); in handleSessionEnd()
56 .putExtras(args)); in handleSessionEnd()
DStkLauncherActivity.java33 Bundle args = new Bundle(); in onCreate() local
34 args.putInt(StkAppService.OPCODE, StkAppService.OP_LAUNCH_APP); in onCreate()
35 startService(new Intent(this, StkAppService.class).putExtras(args)); in onCreate()
DBootCompletedReceiver.java36 Bundle args = new Bundle(); in onReceive() local
37 args.putInt(StkAppService.OPCODE, StkAppService.OP_BOOT_COMPLETED); in onReceive()
39 .putExtras(args)); in onReceive()
DStkDialogActivity.java155 Bundle args = new Bundle(); in sendResponse() local
156 args.putInt(StkAppService.OPCODE, StkAppService.OP_RESPONSE); in sendResponse()
157 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
158 args.putBoolean(StkAppService.CONFIRMATION, confirmed); in sendResponse()
159 startService(new Intent(this, StkAppService.class).putExtras(args)); in sendResponse()
DToneDialog.java128 Bundle args = new Bundle(); in sendResponse() local
129 args.putInt(StkAppService.OPCODE, StkAppService.OP_RESPONSE); in sendResponse()
130 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
131 startService(new Intent(this, StkAppService.class).putExtras(args)); in sendResponse()
DStkMenuActivity.java325 Bundle args = new Bundle(); in sendResponse() local
326 args.putInt(StkAppService.OPCODE, StkAppService.OP_RESPONSE); in sendResponse()
327 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
328 args.putInt(StkAppService.MENU_SELECTION, itemId); in sendResponse()
329 args.putBoolean(StkAppService.HELP, help); in sendResponse()
331 .putExtras(args)); in sendResponse()
DStkAppService.java170 Bundle args = intent.getExtras(); in onStart() local
172 if (args == null) { in onStart()
177 msg.arg1 = args.getInt(OPCODE); in onStart()
180 msg.obj = args.getParcelable(CMD_MSG); in onStart()
183 msg.obj = args; in onStart()
451 private void handleCmdResponse(Bundle args) { in handleCmdResponse() argument
458 boolean helpRequired = args.getBoolean(HELP, false); in handleCmdResponse()
460 switch(args.getInt(RES_ID)) { in handleCmdResponse()
463 int menuSelection = args.getInt(MENU_SELECTION); in handleCmdResponse()
479 String input = args.getString(INPUT); in handleCmdResponse()
[all …]
DStkInputActivity.java189 Bundle args = new Bundle(); in sendResponse() local
190 args.putInt(StkAppService.OPCODE, StkAppService.OP_RESPONSE); in sendResponse()
191 args.putInt(StkAppService.RES_ID, resId); in sendResponse()
193 args.putString(StkAppService.INPUT, input); in sendResponse()
195 args.putBoolean(StkAppService.HELP, help); in sendResponse()
197 .putExtras(args)); in sendResponse()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerReceiver.java59 Bundle args = new Bundle(); in scan() local
60 args.putString("volume", volume); in scan()
62 new Intent(context, MediaScannerService.class).putExtras(args)); in scan()
66 Bundle args = new Bundle(); in scanFile() local
67 args.putString("filepath", path); in scanFile()
69 new Intent(context, MediaScannerService.class).putExtras(args)); in scanFile()
DMediaScannerService.java216 Bundle args = new Bundle();
217 args.putString("filepath", path);
218 args.putString("mimetype", mimeType);
220 args.putIBinder("listener", listener.asBinder());
223 MediaScannerService.class).putExtras(args));
/packages/apps/Phone/src/com/android/phone/
DBluetoothHandsfree.java1559 public AtCommandResult handleSetCommand(Object[] args) { in initializeHeadsetAtParser()
1576 public AtCommandResult handleBasicCommand(String args) { in initializeHandsfreeAtParser()
1585 public AtCommandResult handleBasicCommand(String args) { in initializeHandsfreeAtParser()
1586 if (args.length() > 0) { in initializeHandsfreeAtParser()
1587 if (args.charAt(0) == '>') { in initializeHandsfreeAtParser()
1590 if (args.startsWith(">9999")) { // for PTS test in initializeHandsfreeAtParser()
1596 if (args.charAt(args.length() - 1) == ';') { in initializeHandsfreeAtParser()
1597 args = args.substring(0, args.length() - 1); in initializeHandsfreeAtParser()
1600 Uri.fromParts("tel", args, null)); in initializeHandsfreeAtParser()
1634 public AtCommandResult handleSetCommand(Object[] args) { in initializeHandsfreeAtParser()
[all …]
DCallLogAsync.java130 public AsyncTask addCall(AddCallArgs args) { in addCall() argument
132 return new AddCallTask().execute(args); in addCall()
145 public AsyncTask getLastOutgoingCall(GetLastOutgoingCallArgs args) { in getLastOutgoingCall() argument
147 return new GetLastOutgoingCallTask(args.callback).execute(args); in getLastOutgoingCall()
200 for (GetLastOutgoingCallArgs args : list) { in doInBackground()
202 number = Calls.getLastOutgoingCall(args.context); in doInBackground()
DBluetoothAtPhonebook.java123 public AtCommandResult handleSetCommand(Object[] args) { in register()
124 if (args.length < 1) { in register()
127 String characterSet = (String)args[0]; in register()
161 public AtCommandResult handleSetCommand(Object[] args) { in register()
163 if (args.length < 1 || !(args[0] instanceof String)) { in register()
166 String pb = ((String)args[0]).trim(); in register()
185 public AtCommandResult handleSetCommand(Object[] args) { in register()
192 if (args.length < 1 || !(args[0] instanceof Integer)) { in register()
195 index1 = (Integer)args[0]; in register()
198 if (args.length == 1) { in register()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java93 SqlArguments args = new SqlArguments(uri, null, null); in getType() local
94 if (TextUtils.isEmpty(args.where)) { in getType()
95 return "vnd.android.cursor.dir/" + args.table; in getType()
97 return "vnd.android.cursor.item/" + args.table; in getType()
105 SqlArguments args = new SqlArguments(uri, selection, selectionArgs); in query() local
107 qb.setTables(args.table); in query()
110 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder); in query()
118 SqlArguments args = new SqlArguments(uri); in insert() local
121 final long rowId = db.insert(args.table, null, initialValues); in insert()
132 SqlArguments args = new SqlArguments(uri); in bulkInsert() local
[all …]
/packages/apps/Camera/src/com/android/camera/
DPreferenceInflater.java54 private CameraPreference newPreference(String tagName, Object[] args) { in newPreference() argument
65 return (CameraPreference) constructor.newInstance(args); in newPreference()
79 Object args[] = new Object[]{mContext, attrs}; in inflate() local
85 CameraPreference pref = newPreference(parser.getName(), args); in inflate()
/packages/apps/Mms/src/com/android/mms/transaction/
DTransactionService.java245 TransactionBundle args = new TransactionBundle( in onStartCommand() local
248 launchTransaction(startId, args, false); in onStartCommand()
267 TransactionBundle args = new TransactionBundle(intent.getExtras()); in onStartCommand() local
268 launchTransaction(startId, args, noNetwork); in onStartCommand()
618 TransactionBundle args = (TransactionBundle) msg.obj; in handleMessage() local
623 String mmsc = args.getMmscUrl(); in handleMessage()
626 mmsc, args.getProxyAddress(), args.getProxyPort()); in handleMessage()
632 int transactionType = args.getTransactionType(); in handleMessage()
642 String uri = args.getUri(); in handleMessage()
649 byte[] pushData = args.getPushData(); in handleMessage()
[all …]
/packages/apps/Email/tests/src/com/android/email/
DMockVendorPolicy.java27 public static Bundle getPolicy(String policy, Bundle args) { in getPolicy() argument
29 passedBundle = args; in getPolicy()
DVendorPolicyLoaderTest.java72 Bundle args = new Bundle(); in testGetPolicy() local
73 args.putString("arg1", "a"); in testGetPolicy()
76 Bundle actualResult = pl.getPolicy("policy1", args); in testGetPolicy()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java198 Bundle args = new Bundle(); in onCreate()
199 args.putCharSequence( in onCreate()
201 showDialog(DIALOG_WARNING, args); in onCreate()
217 protected Dialog onCreateDialog(int id, Bundle args) { in onCreateDialog() argument
220 CharSequence msg = args.getCharSequence(DeviceAdminReceiver.EXTRA_DISABLE_WARNING); in onCreateDialog()
235 return super.onCreateDialog(id, args); in onCreateDialog()
/packages/apps/Settings/tests/src/com/android/settings/tests/
DUtf8ByteLengthFilterTest.java37 args = {java.lang.CharSequence.class, int.class, int.class, android.text.Spanned.class,
43 args = {int.class}
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupCheckSettings.java297 final Object... args) { in showErrorDialog() argument
307 .setMessage(getString(msgResId, args)) in showErrorDialog()
341 Object[] args = new String[] { host }; in showSecurityRequiredDialog()
346 R.string.account_setup_security_policies_required_fmt, args)) in showSecurityRequiredDialog()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java87 Bundle args = new Bundle(); in stopActiveService() local
88 args.putParcelable("comp", si.mRunningService.service); in stopActiveService()
90 showDialog(DIALOG_CONFIRM_STOP, args); in stopActiveService()
464 protected Dialog onCreateDialog(int id, Bundle args) {
467 final ComponentName comp = (ComponentName)args.getParcelable("comp");
490 return super.onCreateDialog(id, args);
/packages/apps/Tag/src/com/android/apps/tag/
DWriteTagActivity.java54 public Cursor doInBackground(String... args) { in doInBackground() argument
59 new String[] { args[0] }, null); in doInBackground()

123