/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | TimeTest.java | 17 package android.text.format; 21 import android.text.format.Time; 193 String expectedTime = String.format("%d-%02d-%02d %02d:%02d", 195 String actualTime = String.format("%d-%02d-%02d %02d:%02d", 211 String expectedTime = String.format("%d-%02d-%02d %02d:%02d", 213 String actualTime = String.format("%d-%02d-%02d %02d:%02d", 234 String expectedTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d", 237 String actualTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d", 256 String expectedTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d", 259 String actualTime = String.format(" [all...] |
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
H A D | ProcessErrorsTest.java | 107 fail(String.format("Got %d errors:\n%s", errSet.size(), 125 fail(String.format("Got %d asynchronous errors:\n%s", mAsyncErrors.size(), 146 Log.i(TAG, String.format("Running activity %s/%s", app.activityInfo.packageName, 158 Log.i(TAG, String.format("Activity %s/%s is disabled, skipping", 228 Log.d(TAG, String.format("packageMatches(%s, %s)", appPkg, errPkg)); 304 builder.append(String.format("Process %s encountered %s (%s)", entry.processName, 307 builder.append(String.format(" with stack trace:\n%s\n", entry.stackTrace));
|
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 47 PixelFormat format; member in struct:android::CpuConsumerTestParams 53 << ::std::hex << p.format << "]"; 66 params.maxLockedBuffers, params.format); 168 switch(buf.format) { 214 ADD_FAILURE() << "Unknown format for check:" << buf.format; 430 void checkAnyBuffer(const CpuConsumer::LockedBuffer &buf, int format) { argument 431 switch (format) { 459 err = native_window_set_buffers_format(anw.get(), params.format); 480 // Produce one frame of image data; assumes format an [all...] |
/frameworks/base/packages/Osu/src/com/android/ |
H A D | MainActivity.java | 150 String.format("Credentials for %s was successfully installed", spName)); 155 String.format("Failed to install credentials for %s: %s: %s", 159 String.format("Failed to install credentials for %s: %s", 164 String.format("Failed to contact OSU: %s", provMessage)); 174 String.format("There is an issue connecting to %s [for the next %s]. " + 178 String.format("There is an issue connecting to %s. " + 183 String.format("There is an issue with the closest Access Point for %s. " + 221 Log.d("YYY", String.format("Service %x running, OSU %x", 232 Log.d("YYY", String.format("Service %x killed", System.identityHashCode(this))); 319 return String.format(" [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | SupplicantBridge.java | 137 String command = String.format("GET_HS20_ICON %s %s %d %d", 191 Log.d(Utils.hs2LogTag(getClass()), String.format("%s ANQP response for %012x: %s", 228 sb.append(String.format("%02x", octet & Constants.BYTE_MASK)); 284 commands.add(String.format("SET_NETWORK %s key_mgmt WPA-EAP", netID)); 285 commands.add(String.format("SET_NETWORK %s ssid %s", netID, escapeSSID(networkDetail))); 286 commands.add(String.format("SET_NETWORK %s bssid %s", 288 commands.add(String.format("SET_NETWORK %s eap %s", 298 commands.add(String.format("SET_NETWORK %s identity %s", 300 commands.add(String.format("SET_NETWORK %s password %s", 302 commands.add(String.format("SET_NETWOR [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 17 package android.text.format; 39 * <p>Most callers should avoid supplying their own format strings to this 40 * class' {@code format} methods and rely on the correctly localized ones 44 * of format strings, see {@link java.text.SimpleDateFormat}. 49 * <p>The {@code format} methods in this class implement a subset of Unicode 51 * The subset currently supported by this class includes the following format characters: 58 * Note that the non-{@code format} methods in this class are implemented by 163 * Returns true if user preference is set to 24-hour format. 165 * @return true if 24 hour time format is selected, false otherwise. 172 * Returns true if user preference with the given user handle is set to 24-hour format 342 public static CharSequence format(CharSequence inFormat, long inTimeInMillis) { method in class:DateFormat 353 public static CharSequence format(CharSequence inFormat, Date inDate) { method in class:DateFormat 438 public static CharSequence format(CharSequence inFormat, Calendar inDate) { method in class:DateFormat [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ColorUtils.h | 158 // finds color config in format, defaulting them to 0. 160 const sp<AMessage> &format, int *range, int *standard, int *transfer); 165 // finds color config in format as ColorAspects, defaulting them to 0. 166 static void getColorAspectsFromFormat(const sp<AMessage> &format, ColorAspects &aspects); 168 // writes |aspects| into format. iff |force| is false, Unspecified values are not 171 const ColorAspects &aspects, sp<AMessage> &format, bool force = false); 173 // finds HDR metadata in format as HDRStaticInfo, defaulting them to 0. 174 // Return |true| if could find HDR metadata in format. Otherwise, return |false|. 175 static bool getHDRStaticInfoFromFormat(const sp<AMessage> &format, HDRStaticInfo *info); 177 // writes |info| into format [all...] |
/frameworks/base/core/java/android/service/carrier/ |
H A D | CarrierMessagingService.java | 118 * @param format the format of the PDUs, typically "3gpp" or "3gpp2" 126 public void onFilterSms(@NonNull MessagePdu pdu, @NonNull String format, int destPort, argument 146 * @param format the format of the PDUs, typically "3gpp" or "3gpp2" 154 public void onReceiveTextSms(@NonNull MessagePdu pdu, @NonNull String format, argument 156 onFilterSms(pdu, format, destPort, subId, new ResultCallback<Boolean>() { 465 public void filterSms(MessagePdu pdu, String format, int destPort, argument 467 onReceiveTextSms(pdu, format, destPort, subId,
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SerializedFrame.java | 23 import android.filterfw.format.ObjectFormat; 165 SerializedFrame(FrameFormat format, FrameManager frameManager) { argument 166 super(format, frameManager); 181 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE); 182 SerializedFrame result = new SerializedFrame(format, frameManager);
|
H A D | NativeFrame.java | 36 NativeFrame(FrameFormat format, FrameManager frameManager) { argument 37 super(format, frameManager); 38 int capacity = format.getSize();
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
H A D | TestDelegates.java | 129 String.format("Delegate method %1$s.%2$s does not match the " + 139 String.format("Delegate method %1$s for class %2$s does not have the " + 148 String.format( 159 mErrors.add(String.format("Missing %1$s.%2$s", delegateClass.getName(), name)); 177 mErrors.add(String.format(
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ContiguousFIFOAggregator.java | 109 Log.d(TAG, String.format("ContiguousFIFOAggregator >> tasks: %s", prettyPrint())); 140 Log.d(TAG, String.format("ContiguousFIFOAggregator < tasks: %s", prettyPrint())); 178 Log.d(TAG, String.format("ContiguousFIFOAggregator ++ tasks: %s", prettyPrint())); 211 Log.d(TAG, String.format("ContiguousFIFOAggregator - tasks: %s", prettyPrint())); 234 Log.d(TAG, String.format("ContiguousFIFOAggregator first: %d", hash));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ResponseData.java | 36 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 182 public void format(ByteArrayOutputStream buf) { method in class:LanguageResponseData 220 public void format(ByteArrayOutputStream buf) { method in class:DTTZResponseData
|
/frameworks/av/include/camera/ |
H A D | CameraParameters.h | 94 void setPreviewFormat(const char *format); 99 void setPictureFormat(const char *format); 138 // The image format for preview frames. See CAMERA_MSG_PREVIEW_FRAME in 159 // The image format for captured pictures. See CAMERA_MSG_COMPRESSED_IMAGE 442 // sensitive). The format is three float values separated by commas. The 483 // The image format for video frames. See CAMERA_MSG_VIDEO_FRAME in 623 // Raw bayer format used for images, which is 10 bit precision samples 626 // Pixel format is not known to the framework 688 * corrsponding to the format given in the input string or -1 if no such 691 static int previewFormatToEnum(const char* format); [all...] |
/frameworks/av/media/libnbaio/ |
H A D | MonoPipe.cpp | 33 MonoPipe::MonoPipe(size_t reqFrames, const NBAIO_Format& format, bool writeCanBlock) : argument 34 NBAIO_Sink(format), 37 mBuffer(malloc(mMaxFrames * Format_frameSize(format))),
|
/frameworks/av/services/audioflinger/ |
H A D | BufferProviders.h | 53 // It handles a private buffer for use in converting format or channel masks from the 94 audio_channel_mask_t outputChannelMask, audio_format_t format, 122 audio_channel_mask_t outputChannelMask, audio_format_t format, 136 // to an acceptable mixer input format type. 154 audio_format_t format, uint32_t sampleRate,
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraDeviceBase.h | 105 * Create an output stream of the requested size, format, rotation and dataspace 111 uint32_t width, uint32_t height, int format, 117 * Create an input stream of width, height, and format. 122 int32_t format, /*out*/ int32_t *id) = 0; 135 uint32_t *format, android_dataspace *dataSpace) = 0;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | Tracer.java | 72 mOut.printf("%s %s\n", mDateFormat.format(new Date()), message); 176 log(String.format("%s (%s)", caller, join(", ", arguments))); 281 return String.format("%s.%s from %s() at %s:%d", shortClassName, caller.getMethodName(),
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 130 public void setFormat(int format) { argument 131 if (mRequestedFormat != format) { 132 mRequestedFormat = format;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.h | 54 const sp<AMessage> &format, 99 status_t getFormat(JNIEnv *env, bool input, jobject *format) const; 101 status_t getOutputFormat(JNIEnv *env, size_t index, jobject *format) const;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | RedEyeFilter.java | 26 import android.filterfw.format.ImageFormat; 167 FrameFormat format = ImageFormat.create(bitmapWidth, bitmapHeight, 170 mRedEyeFrame = context.getFrameManager().newFrame(format);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | AndroidAppAsset.java | 119 throw new AssociationServiceException(String.format(MISSING_FIELD_FORMAT_STRING, 126 String.format(MISSING_APPCERTS_FORMAT_STRING, 135 String.format(APPCERT_NOT_STRING_FORMAT_STRING,
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | DnsEventListenerService.java | 89 maybeLog(String.format("Logging %d results for netId %d", mEventCount, mNetId)); 95 return String.format("%s %d %d", getClass().getSimpleName(), mNetId, mEventCount); 138 maybeVerboseLog(String.format("onDnsEvent(%d, %d, %d, %d)",
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | CountdownConditionProvider.java | 30 import android.text.format.DateUtils; 131 if (DEBUG) Slog.d(TAG, String.format( 168 return String.format("Scheduled for %s, %s in the future (%s), now=%s",
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | Diagnostic.cpp | 29 // format - format this diagnostic into string, subsituting the formal 31 void Diagnostic::format(std::string& pOutStr) const { function in class:mcld::Diagnostic 35 format(desc.begin(), desc.end(), pOutStr); 68 // format - format the given formal string, subsituting the formal 70 void Diagnostic::format(const char* pBegin, function in class:mcld::Diagnostic 105 // DIAG's format error
|