Searched defs:format (Results 1 - 25 of 364) sorted by last modified time

1234567891011>>

/frameworks/volley/src/com/android/volley/
H A DVolleyLog.java48 public static void v(String format, Object... args) { argument
50 Log.v(TAG, buildMessage(format, args));
54 public static void d(String format, Object... args) { argument
55 Log.d(TAG, buildMessage(format, args));
58 public static void e(String format, Object... args) { argument
59 Log.e(TAG, buildMessage(format, args));
62 public static void e(Throwable tr, String format, Object... args) { argument
63 Log.e(TAG, buildMessage(format, args), tr);
66 public static void wtf(String format, Object... args) { argument
67 Log.wtf(TAG, buildMessage(format, arg
70 wtf(Throwable tr, String format, Object... args) argument
78 buildMessage(String format, Object... args) argument
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c95 PCM *format; local
98 for (format = formats; format->numChannels; ++format) {
100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels,
101 format->milliHz / 1000, format->bitsPerSample);
109 format_pcm.numChannels = format->numChannels;
110 format_pcm.samplesPerSec = format->milliHz;
111 format_pcm.bitsPerSample = format
[all...]
/frameworks/rs/cpp/
H A DType.cpp149 void Type::Builder::setYuvFormat(RSYuvFormat format) { argument
150 if (format != RS_YUV_NONE && !(mElement->isCompatible(Element::YUV(mRS)))) {
155 if (format >= RS_YUV_MAX) {
156 ALOGE("Invalid YUV format.");
159 mYuvFormat = format;
/frameworks/rs/driver/
H A DrsdAllocation.cpp728 int format = 0; local
733 format = PIXEL_FORMAT_RGBA_8888;
735 r = native_window_set_buffers_format(nw, format);
737 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer format.");
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
H A DBallsView.java52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
53 super.surfaceChanged(holder, format, w, h);
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
H A DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
56 super.surfaceChanged(holder, format, w, h);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
56 super.surfaceChanged(holder, format, w, h);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
56 super.surfaceChanged(holder, format, w, h);
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsManager.java285 * @param format is the format of SMS pdu (3gpp or 3gpp2)
293 * @throws IllegalArgumentException if format is not one of 3gpp and 3gpp2.
295 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
296 if (!format.equals(SmsMessage.FORMAT_3GPP) && !format.equals(SmsMessage.FORMAT_3GPP2)) {
299 "Invalid pdu format. format must be either 3gpp or 3gpp2");
304 iccISms.injectSmsPdu(pdu, format, receivedIntent);
879 * Gets SMS format supporte
[all...]
H A DSmsMessage.java85 * Indicates a 3GPP format SMS message.
91 * Indicates a 3GPP2 format SMS message.
156 * intent <b>must</b> now pass the new {@code format} String extra from the intent
158 * extra format parameter. This is required in order to correctly decode the PDU on
160 * such as dual-mode GSM/CDMA and CDMA/LTE phones. Guess format based on Voice
161 * technology first, if it fails use other format.
166 // cdma(3gpp2) vs gsm(3gpp) format info was not given,
169 String format = (PHONE_TYPE_CDMA == activePhone) ?
171 message = createFromPdu(pdu, format);
174 // decoding pdu failed based on activePhone type, must be other format
192 createFromPdu(byte[] pdu, String format) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccSmsInterfaceManager.java411 * @param format is the format of SMS pdu (3gpp or 3gpp2)
417 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
421 "\n format=" + format +
424 mDispatcher.injectSmsPdu(pdu, format, receivedIntent);
H A DImsSMSDispatcher.java125 private void setImsSmsFormat(int format) { argument
126 // valid format?
127 switch (format) {
154 Rlog.e(TAG, "IMS format was unknown!");
155 // failed to retrieve valid IMS SMS format info, set IMS to unregistered
212 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
218 android.telephony.SmsMessage.createFromPdu(pdu, format);
229 if (format.equals(SmsConstants.FORMAT_3GPP)) {
231 ", format=" + format
356 getNewSubmitPduTracker(String destinationAddress, String scAddress, String message, SmsHeader smsHeader, int format, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean lastPart, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri, String fullMessageText) argument
397 isCdmaFormat(String format) argument
[all...]
H A DInboundSmsHandler.java599 * Return true if this handler is for 3GPP2 messages; false for 3GPP format.
606 * if no format-specific handling was required. Saves the PDU to the SMS provider raw table,
716 // strip format flags and convert to real port number, or -1
873 * @param format the message format, typically "3gpp" or "3gpp2"
877 void dispatchSmsDeliveryIntent(byte[][] pdus, String format, int destPort, argument
881 intent.putExtra("format", format);
995 * Returns whether the default message format for the current radio technology is 3GPP2.
996 * @return true if the radio technology uses 3GPP2 format b
[all...]
H A DSMSDispatcher.java127 /** IMS registration/SMS format changed */
199 Rlog.d(TAG, "SMSDispatcher: ctor mSmsCapable=" + mSmsCapable + " format=" + getFormat()
235 * The format of the message PDU in the associated broadcast intent.
236 * This will be either "3gpp" for GSM/UMTS/LTE messages in 3GPP format
237 * or "3gpp2" for CDMA/LTE messages in 3GPP2 format.
240 * SMS_RECEIVED_ACTION broadcast intent MUST pass the "format" extra from the intent
242 * extra format parameter. This is required in order to correctly decode the PDU on
246 * @return the format of the message PDU
777 * @param format is the format o
783 injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) argument
1307 SmsTracker(HashMap<String, Object> data, PendingIntent sentIntent, PendingIntent deliveryIntent, PackageInfo appInfo, String destAddr, String format, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri, SmsHeader smsHeader, boolean isExpectMore, String fullMessageText, int subId, boolean isText) argument
1529 getSmsTracker(HashMap<String, Object> data, PendingIntent sentIntent, PendingIntent deliveryIntent, String format, AtomicInteger unsentPartCount, AtomicBoolean anyPartFailed, Uri messageUri, SmsHeader smsHeader, boolean isExpectMore, String fullMessageText, boolean isText) argument
1555 getSmsTracker(HashMap<String, Object> data, PendingIntent sentIntent, PendingIntent deliveryIntent, String format, Uri messageUri, boolean isExpectMore, String fullMessageText, boolean isText) argument
[all...]
H A DUiccSmsController.java319 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
320 injectSmsPdu(SubscriptionManager.getDefaultSmsSubId(), pdu, format, receivedIntent);
324 public void injectSmsPdu(int subId, byte[] pdu, String format, PendingIntent receivedIntent) { argument
325 getIccSmsInterfaceManager(subId).injectSmsPdu(pdu, format, receivedIntent);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResponseData.java36 public abstract void format(ByteArrayOutputStream buf); method in class:ResponseData
59 public void format(ByteArrayOutputStream buf) { method in class:SelectItemResponseData
98 public void format(ByteArrayOutputStream buf) { method in class:GetInkeyInputResponseData
114 // ETSI TS 102 223 8.15, should use the same format as in SMS messages
171 public void format(ByteArrayOutputStream buf) { method in class:LanguageResponseData
209 public void format(ByteArrayOutputStream buf) { method in class:DTTZResponseData
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSMSDispatcher.java97 fillIn.putExtra("format", getFormat());
155 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSMSDispatcher.java85 * Handles 3GPP format-specific events coming from the phone stack.
137 fillIn.putExtra("format", getFormat());
203 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java253 return String.format("family: %s, given: %s, middle: %s, prefix: %s, suffix: %s",
369 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mNumber,
459 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mAddress,
678 return String.format("type: %d, label: %s, isPrimary: %s, pobox: %s, "
835 return String.format(
938 return String.format(
984 public PhotoData(String format, byte[] photoBytes, boolean isPrimary) { argument
985 mFormat = format;
1044 return String.format("format
[all...]
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java70 mFields.parse(String.format(Locale.US, "o=- %d %d %s", sessionId,
97 for (String format : parts[3].split(" ")) {
98 media.setFormat(format, null);
288 * Returns the {@code fmtp} attribute of the given format or
291 public String getFmtp(String format) { argument
292 return super.get("a=fmtp:" + format, ' ');
296 * Sets a format and its {@code fmtp} attribute. If the attribute is
299 public void setFormat(String format, String fmtp) { argument
300 mFormats.remove(format);
301 mFormats.add(format);
309 removeFormat(String format) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapClient.java170 * VCard format version 2.1
175 * VCard format version 3.0
650 * @param format vCard format of entries in the resulting list
656 public boolean pullPhoneBook(String pbName, long filter, byte format) { argument
657 return pullPhoneBook(pbName, filter, format, 0, 0);
688 * @param format vCard format of entries in the resulting list
697 public boolean pullPhoneBook(String pbName, long filter, byte format, int maxListCount, argument
699 BluetoothPbapRequest req = new BluetoothPbapRequestPullPhoneBook(pbName, filter, format,
837 pullVcardEntry(String handle, long filter, byte format) argument
[all...]
H A DBluetoothPbapRequestPullPhoneBook.java42 public BluetoothPbapRequestPullPhoneBook(String pbName, long filter, byte format, argument
59 /* make sure format is one of allowed values */
60 if (format != BluetoothPbapClient.VCARD_TYPE_21
61 && format != BluetoothPbapClient.VCARD_TYPE_30) {
62 format = BluetoothPbapClient.VCARD_TYPE_21;
69 oap.add(OAP_TAGID_FORMAT, format);
87 mFormat = format;
H A DBluetoothPbapRequestPullVcardEntry.java40 public BluetoothPbapRequestPullVcardEntry(String handle, long filter, byte format) { argument
45 /* make sure format is one of allowed values */
46 if (format != BluetoothPbapClient.VCARD_TYPE_21
47 && format != BluetoothPbapClient.VCARD_TYPE_30) {
48 format = BluetoothPbapClient.VCARD_TYPE_21;
57 oap.add(OAP_TAGID_FORMAT, format);
60 mFormat = format;
H A DBluetoothPbapVcardList.java51 public BluetoothPbapVcardList(InputStream in, byte format) throws IOException { argument
52 parse(in, format);
55 private void parse(InputStream in, byte format) throws IOException { argument
58 if (format == BluetoothPbapClient.VCARD_TYPE_30) {
/frameworks/native/include/android/
H A Dbitmap.h47 int32_t format; member in struct:__anon1178

Completed in 359 milliseconds

1234567891011>>