/development/samples/browseable/Timer/src/com.example.android.wearable.timer/util/ |
D | TimerFormat.java | 49 String format; in setTime() local 85 format = showNeg ? NEG_TWO_DIGITS : TWO_DIGITS; in setTime() 86 mHours = String.format(format, hours); in setTime() 88 format = showNeg ? NEG_ONE_DIGIT : ONE_DIGIT; in setTime() 89 mHours = String.format(format, hours); in setTime() 96 format = (showNeg && hours == 0) ? NEG_TWO_DIGITS : TWO_DIGITS; in setTime() 97 mMinutes = String.format(format, minutes); in setTime() 99 format = (showNeg && hours == 0) ? NEG_ONE_DIGIT : ONE_DIGIT; in setTime() 100 mMinutes = String.format(format, minutes); in setTime() 104 mSeconds = String.format(TWO_DIGITS, seconds); in setTime() [all …]
|
/development/scripts/ |
D | gdbclient.py | 31 return path.format(root, arch, "64", "64") 33 return path.format(root, arch, "", "") 63 "BUILD_SYSTEM={}/build/core".format(root), 65 "{}/build/core/config.mk".format(root), 66 "dumpvar-{}".format(variable)] 82 sys.exit(msg.format(target_device, ", ".join(names))) 88 msg = "failed to find running process {}".format(process_name) 92 msg = "multiple processes match '{}': {}".format(process_name, pids) 146 sys.exit("failed to pull binary for PID {}".format(pid)) 150 " symbols may not be available.".format(sysroot)) [all …]
|
/development/python-packages/gdbrunner/ |
D | __init__.py | 64 sys.exit(msg.format(adb_path)) 167 "+{}".format(debug_socket)] 174 device.forward("tcp:{}".format(port), 175 "localfilesystem:{}".format(debug_socket)) 176 atexit.register(lambda: device.forward_remove("tcp:{}".format(port))) 181 "gdbclient-{}".format(os.getppid())) 182 print "Redirecting gdbclient output to {}".format(gdbclient_output_path) 209 raise ValueError("'{}' is not an absolute path".format(executable_path)) 225 file_name = "gdbclient-binary-{}".format(os.getppid()) 226 remote_temp_path = "/data/local/tmp/{}".format(file_name) [all …]
|
/development/ndk/platforms/android-3/include/linux/ |
D | device.h | 207 #define dev_printk(level, dev, format, arg...) printk(level "%s %s: " format , dev_driver_string(… argument 210 #define dev_dbg(dev, format, arg...) dev_printk(KERN_DEBUG , dev , format , ## arg) argument 212 #define dev_dbg(dev, format, arg...) do { (void)(dev); } while (0) argument 215 #define dev_err(dev, format, arg...) dev_printk(KERN_ERR , dev , format , ## arg) argument 216 #define dev_info(dev, format, arg...) dev_printk(KERN_INFO , dev , format , ## arg) argument 217 #define dev_warn(dev, format, arg...) dev_printk(KERN_WARNING , dev , format , ## arg) argument 218 #define dev_notice(dev, format, arg...) dev_printk(KERN_NOTICE , dev , format , ## arg) argument
|
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
D | Output.java | 51 public void write(String format, Object... args) { in write() argument 53 mWriter.write(String.format(format, args)); in write()
|
/development/perftests/panorama/feature_mos/src/mosaic_renderer/ |
D | FrameBuffer.cpp | 24 bool FrameBuffer::Init(int width, int height, GLenum format) { in Init() argument 35 format, in Init() 39 format, in Init() 66 mFormat = format; in Init()
|
/development/ndk/platforms/android-21/samples/native-codec/jni/ |
D | native-codec-jni.cpp | 134 AMediaFormat *format = NULL; in doCodecWork() local 135 format = AMediaCodec_getOutputFormat(d->codec); in doCodecWork() 136 LOGV("format changed to: %s", AMediaFormat_toString(format)); in doCodecWork() 137 AMediaFormat_delete(format); in doCodecWork() 245 AMediaFormat *format = AMediaExtractor_getTrackFormat(ex, i); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() local 246 const char *s = AMediaFormat_toString(format); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() 249 if (!AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime)) { in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() 257 AMediaCodec_configure(codec, format, d->window, NULL, 0); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer() 267 AMediaFormat_delete(format); in Java_com_example_nativecodec_NativeCodec_createStreamingMediaPlayer()
|
/development/ndk/platforms/android-3/include/android/ |
D | log.h | 101 __attribute__ ((format(printf, 3, 4))) 120 __attribute__ ((format(printf, 3, 4)))
|
/development/ndk/platforms/android-21/include/ |
D | stdio.h | 380 int vsnprintf(char *dest, size_t size, const char *format, __va_list ap) in vsnprintf() argument 382 return __builtin___vsnprintf_chk(dest, size, 0, __bos(dest), format, ap); in vsnprintf() 387 int vsprintf(char *dest, const char *format, __va_list ap) in vsprintf() argument 389 return __builtin___vsprintf_chk(dest, 0, __bos(dest), format, ap); in vsprintf() 400 int snprintf(char *dest, size_t size, const char *format, ...) in snprintf() argument 403 __bos(dest), format, __builtin_va_arg_pack()); in snprintf() 415 int sprintf(char *dest, const char *format, ...) in sprintf() argument 418 __bos(dest), format, __builtin_va_arg_pack()); in sprintf()
|
/development/perftests/panorama/feature_stab/src/dbregtest/ |
D | PgmImage.cpp | 29 PgmImage::PgmImage(int w, int h, int format) : in PgmImage() argument 30 m_colors(255),m_w(w),m_h(h),m_format(format),m_over_allocation(256) in PgmImage() 32 SetFormat(format); in PgmImage() 83 void PgmImage::SetFormat(int format) in SetFormat() argument 85 m_format = format; in SetFormat() 87 switch (format) in SetFormat()
|
D | PgmImage.h | 40 PgmImage(int w, int h, int format = PGM_BINARY_GRAYMAP); 74 void SetFormat(int format);
|
/development/ndk/platforms/android-21/include/media/ |
D | NdkMediaMuxer.h | 52 AMediaMuxer* AMediaMuxer_new(int fd, OutputFormat format); 91 ssize_t AMediaMuxer_addTrack(AMediaMuxer*, const AMediaFormat* format);
|
/development/ndk/platforms/android-9/include/android/ |
D | native_window.h | 50 int32_t format; member 99 …iveWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format);
|
/development/ndk/platforms/android-14/include/android/ |
D | native_window.h | 50 int32_t format; member 103 int32_t width, int32_t height, int32_t format);
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
D | BluetoothLeService.java | 131 int format = -1; in broadcastUpdate() local 133 format = BluetoothGattCharacteristic.FORMAT_UINT16; in broadcastUpdate() 136 format = BluetoothGattCharacteristic.FORMAT_UINT8; in broadcastUpdate() 139 final int heartRate = characteristic.getIntValue(format, 1); in broadcastUpdate() 140 Log.d(TAG, String.format("Received heart rate: %d", heartRate)); in broadcastUpdate() 148 stringBuilder.append(String.format("%02X ", byteChar)); in broadcastUpdate()
|
/development/ndk/tools/ |
D | headers-diff-bionic-vs-ndk.py | 38 print 'Wrong platforms list \n{0}'.format(str(self.platforms)) 176 print '{0:3}'.format(entry), 186 print '{0}/'.format(arch) 190 print ' {0}/'.format((lambda s: s if s != '' else '../include')(root)) 194 print ' {0:32}'.format(include), 242 app.archs = map((lambda s: 'arch-{0}'.format(s) if s != 'common' else s), args.archs) 247 print 'See `{0}\' for details'.format(app.diff_file)
|
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/ |
D | LoggingReceiver.java | 48 sb.append(String.format("-----0----: ")); in onSend() 52 sb.append(String.format("%10.3f: ", seconds)); in onSend()
|
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/ |
D | FloatingActionButtonBasicFragment.java | 58 Log.d(TAG, String.format("FAB 1 was %s.", isChecked ? "checked" : "unchecked")); in onCheckedChanged() 61 Log.d(TAG, String.format("FAB 2 was %s.", isChecked ? "checked" : "unchecked")); in onCheckedChanged()
|
/development/samples/browseable/ClippingBasic/src/com.example.android.clippingbasic/ |
D | ClippingBasicFragment.java | 86 Log.d(TAG, String.format("Clipping to outline is disabled")); in onViewCreated() 92 Log.d(TAG, String.format("Clipping to outline is enabled")); in onViewCreated() 120 Log.d(TAG, String.format("Text was changed.")); in changeText()
|
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/ |
D | DirectorySelectionFragment.java | 136 Log.d(TAG, String.format("Open Directory result Uri : %s", data.getData())); in onActivityResult() 204 Log.i(TAG, String.format( in createDirectory() 207 Toast.makeText(getActivity(), String.format("Created a directory [%s]", in createDirectory() 210 Log.w(TAG, String.format("Failed to create a directory : %s, Uri %s", directoryName, in createDirectory() 212 Toast.makeText(getActivity(), String.format("Failed to created a directory [%s] : ", in createDirectory()
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
D | FilterClassAdapter.java | 76 String filterName = String.format("%s#%s", mClassName, name); in visitField() 108 String filterName = String.format("%s#%s%s", mClassName, name, desc); in visitMethod() 117 filterName = String.format("%s#%s%s", mClassName, name, signature); in visitMethod()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyGetAppFrameRateEvent.java | 95 writer.write(String.format("%s:%.2f\n", sTestCaseName, avgFrameRate)); in writeAverageFrameRate() 126 String cmd = String.format(GET_APP_FRAMERATE_TMPL, sActivityName); in injectEvent() 131 System.err.println(String.format("// Shell command %s status was %s", in injectEvent()
|
/development/samples/browseable/CardView/src/com.example.android.cardview/ |
D | CardViewFragment.java | 87 Log.d(TAG, String.format("SeekBar Radius progress : %d", progress)); in onViewCreated() 105 Log.d(TAG, String.format("SeekBar Elevation progress : %d", progress)); in onViewCreated()
|
/development/apps/BuildWidget/src/com/android/buildwidget/ |
D | BuildWidget.java | 29 import android.text.format.DateUtils; 30 import android.text.format.Time;
|
/development/ndk/sources/android/ndk_helper/ |
D | GLContext.cpp | 141 EGLint format; in InitEGLSurface() local 142 eglGetConfigAttrib( display_, config_, EGL_NATIVE_VISUAL_ID, &format ); in InitEGLSurface() 143 ANativeWindow_setBuffersGeometry( window_, 0, 0, format ); in InitEGLSurface()
|