/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageFormatTest.java | 31 BipImageFormat format = BipImageFormat.parseNative("JPEG", "1280*1024", null); in testParseNative_requiredOnly() local 32 Assert.assertEquals(BipImageFormat.FORMAT_NATIVE, format.getType()); in testParseNative_requiredOnly() 33 Assert.assertEquals(new BipEncoding(BipEncoding.JPEG, null), format.getEncoding()); in testParseNative_requiredOnly() 34 Assert.assertEquals(BipPixel.createFixed(1280, 1024), format.getPixel()); in testParseNative_requiredOnly() 35 Assert.assertEquals(new BipTransformation(), format.getTransformation()); in testParseNative_requiredOnly() 36 Assert.assertEquals(-1, format.getSize()); in testParseNative_requiredOnly() 37 Assert.assertEquals(-1, format.getMaxSize()); in testParseNative_requiredOnly() 38 Assert.assertEquals(expected, format.toString()); in testParseNative_requiredOnly() 44 BipImageFormat format = BipImageFormat.parseNative("JPEG", "1280*1024", "1048576"); in testParseNative_withSize() local 45 Assert.assertEquals(BipImageFormat.FORMAT_NATIVE, format.getType()); in testParseNative_withSize() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/interface/utils/ |
D | ImsMediaTrace.h | 45 #define IMLOGD_PACKET0(type, format) \ argument 47 type, "[%s:%d] " format, ImsMediaTrace::IM_StripFileName((char*)__FILE__), __LINE__) 48 #define IMLOGD_PACKET1(type, format, a) \ argument 49 ImsMediaTrace::IMLOGD_PACKET_ARG(type, "[%s:%d] " format, \ 51 #define IMLOGD_PACKET2(type, format, a, b) \ argument 52 ImsMediaTrace::IMLOGD_PACKET_ARG(type, "[%s:%d] " format, \ 54 #define IMLOGD_PACKET3(type, format, a, b, c) \ argument 55 ImsMediaTrace::IMLOGD_PACKET_ARG(type, "[%s:%d] " format, \ 57 #define IMLOGD_PACKET4(type, format, a, b, c, d) \ argument 58 ImsMediaTrace::IMLOGD_PACKET_ARG(type, "[%s:%d] " format, \ [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | Log.java | 43 public static void d(String prefix, String format, Object... args) { in d() argument 44 android.util.Log.d(TAG, (args == null || args.length == 0) ? format : in d() 45 String.format(prefix + ": " + format, args)); in d() 48 public static void d(Object objectPrefix, String format, Object... args) { in d() argument 49 android.util.Log.d(TAG, (args == null || args.length == 0) ? format : in d() 50 String.format(getPrefixFromObject(objectPrefix) + ": " + format, args)); in d() 53 public static void i(String prefix, String format, Object... args) { in i() argument 54 android.util.Log.i(TAG, (args == null || args.length == 0) ? format : in i() 55 String.format(prefix + ": " + format, args)); in i() 58 public static void i(Object objectPrefix, String format, Object... args) { in i() argument [all …]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | bidirectional_sequence_rnn_state_output.mod.py | 221 "{{ {}, {}, {} }}".format(num_batches, max_time, input_size)), 223 "{{ {}, {} }}".format(fw_num_units, input_size)), 226 "{{ {}, {} }}".format(fw_num_units, fw_num_units)), 227 fw_bias=Input("fw_bias", "TENSOR_FLOAT32", "{{ {} }}".format(fw_num_units)), 229 "{{ {}, {} }}".format(num_batches, fw_num_units)), 231 "{{ {}, {} }}".format(bw_num_units, input_size)), 234 "{{ {}, {} }}".format(bw_num_units, bw_num_units)), 235 bw_bias=Input("bw_bias", "TENSOR_FLOAT32", "{{ {} }}".format(bw_num_units)), 237 "{{ {}, {} }}".format(num_batches, bw_num_units)), 246 "{{ {}, {}, {} }}".format(num_batches, max_time, fw_num_units)), [all …]
|
D | bidirectional_sequence_lstm_state_output.mod.py | 26 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 29 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 31 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 33 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 35 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 38 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 40 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 42 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 44 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 47 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_rnn_1_3.mod.py | 216 "{{ {}, {}, {} }}".format(num_batches, max_time, input_size)), 218 "{{ {}, {} }}".format(fw_num_units, input_size)), 221 "{{ {}, {} }}".format(fw_num_units, fw_num_units)), 222 fw_bias=Input("fw_bias", "TENSOR_FLOAT32", "{{ {} }}".format(fw_num_units)), 224 "{{ {}, {} }}".format(num_batches, fw_num_units)), 226 "{{ {}, {} }}".format(bw_num_units, input_size)), 229 "{{ {}, {} }}".format(bw_num_units, bw_num_units)), 230 bw_bias=Input("bw_bias", "TENSOR_FLOAT32", "{{ {} }}".format(bw_num_units)), 232 "{{ {}, {} }}".format(num_batches, bw_num_units)), 235 "{{ {}, {}, {} }}".format(num_batches, max_time, input_size)), [all …]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | bidirectional_sequence_rnn.mod.py | 209 input=Input("input", "TENSOR_FLOAT32", "{{ {}, {}, {} }}".format( 211 fw_weights=Input("fw_weights", "TENSOR_FLOAT32", "{{ {}, {} }}".format( 214 "fw_recurrent_weights", "TENSOR_FLOAT32", "{{ {}, {} }}".format( 216 fw_bias=Input("fw_bias", "TENSOR_FLOAT32", "{{ {} }}".format(fw_num_units)), 218 "{{ {}, {} }}".format(num_batches, fw_num_units)), 219 bw_weights=Input("bw_weights", "TENSOR_FLOAT32", "{{ {}, {} }}".format( 222 "bw_recurrent_weights", "TENSOR_FLOAT32", "{{ {}, {} }}".format( 224 bw_bias=Input("bw_bias", "TENSOR_FLOAT32", "{{ {} }}".format(bw_num_units)), 226 "{{ {}, {} }}".format(num_batches, bw_num_units)), 233 "fw_output", "TENSOR_FLOAT32", "{{ {}, {}, {} }}".format( [all …]
|
D | bidirectional_sequence_lstm_float16_batch_major.mod.py | 26 input = Input("input", "TENSOR_FLOAT16", "{{{}, {}, {}}}".format(n_batch, max_time, n_input)) 29 "fw_input_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 31 "fw_input_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 33 "fw_input_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 35 "fw_input_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 38 "fw_recurrent_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 40 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 42 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 44 "fw_recurrent_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 47 "fw_cell_to_input_weights", "TENSOR_FLOAT16", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm.mod.py | 26 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 29 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 31 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 33 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 35 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 38 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 40 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 42 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 44 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 47 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_cifg_peephole.mod.py | 26 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 29 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 31 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 33 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 35 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 38 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 40 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 42 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 44 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 47 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_float16_batch_major_merge_outputs.mod.py | 27 input = Input("input", "TENSOR_FLOAT16", "{{{}, {}, {}}}".format(n_batch, max_time, n_input)) 30 "fw_input_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 32 "fw_input_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 34 "fw_input_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 36 "fw_input_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 39 "fw_recurrent_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 41 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 43 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 45 "fw_recurrent_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 48 "fw_cell_to_input_weights", "TENSOR_FLOAT16", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_merge_outputs.mod.py | 27 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 30 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 32 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 34 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 36 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 39 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 41 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 43 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 45 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 48 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_aux_input.mod.py | 28 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 31 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 33 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 35 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 37 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 40 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 42 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 44 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 46 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 49 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_float16_batch_major_aux_input.mod.py | 29 input = Input("input", "TENSOR_FLOAT16", "{{{}, {}, {}}}".format(n_batch, max_time, n_input)) 32 "fw_input_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 34 "fw_input_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 36 "fw_input_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 38 "fw_input_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_input)) 41 "fw_recurrent_to_input_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 43 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 45 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 47 "fw_recurrent_to_output_weights", "TENSOR_FLOAT16", "{{{}, {}}}".format(n_cell, n_output)) 50 "fw_cell_to_input_weights", "TENSOR_FLOAT16", "{{{}}}".format(n_cell)) [all …]
|
D | bidirectional_sequence_lstm_norm_fw_output.mod.py | 27 input = Input("input", "TENSOR_FLOAT32", "{{{}, {}, {}}}".format(max_time, n_batch, n_input)) 30 "fw_input_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 32 "fw_input_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 34 "fw_input_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 36 "fw_input_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_input)) 39 "fw_recurrent_to_input_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 41 "fw_recurrent_to_forget_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 43 "fw_recurrent_to_cell_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 45 "fw_recurrent_to_output_weights", "TENSOR_FLOAT32", "{{{}, {}}}".format(n_cell, n_output)) 48 "fw_cell_to_input_weights", "TENSOR_FLOAT32", "{{{}}}".format(n_cell)) [all …]
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/util/ |
D | LogUtil.java | 48 public static int v(@FormatString String format, Object... params) { in v() argument 50 String msg = format(format, params); in v() 66 public static int d(@FormatString String format, Object... params) { in d() argument 68 String msg = format(format, params); in d() 76 public static int d(Throwable tr, @FormatString String format, Object... params) { in d() argument 78 String msg = format(format, params); in d() 91 public static int i(@FormatString String format, Object... params) { in i() argument 92 String msg = format(format, params); in i() 103 public static int w(@FormatString String format, Object... params) { in w() argument 104 String msg = format(format, params); in w() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/ |
D | LogUtils.java | 156 public static void v(String tag, String format, Object... args) { in v() argument 158 VvmLog.v(tag, String.format(format, args)); in v() 172 public static void v(String tag, Throwable tr, String format, Object... args) { in v() argument 174 VvmLog.v(tag, String.format(format, args), tr); in v() 187 public static void d(String tag, String format, Object... args) { in d() argument 189 VvmLog.d(tag, String.format(format, args)); in d() 203 public static void d(String tag, Throwable tr, String format, Object... args) { in d() argument 205 VvmLog.d(tag, String.format(format, args), tr); in d() 218 public static void i(String tag, String format, Object... args) { in i() argument 220 VvmLog.i(tag, String.format(format, args)); in i() [all …]
|
/packages/modules/AdServices/adservices/framework/java/com/android/adservices/ |
D | LogUtil.java | 45 public static int v(@FormatString String format, Object... params) { in v() argument 47 String msg = format(format, params); in v() 63 public static int d(@FormatString String format, Object... params) { in d() argument 65 String msg = format(format, params); in d() 73 public static int d(Throwable tr, @FormatString String format, Object... params) { in d() argument 75 String msg = format(format, params); in d() 91 public static int i(@FormatString String format, Object... params) { in i() argument 93 String msg = format(format, params); in i() 109 public static int w(@FormatString String format, Object... params) { in w() argument 111 String msg = format(format, params); in w() [all …]
|
D | LoggerFactory.java | 105 public int v(@FormatString String format, Object... params) { in v() argument 107 String msg = format(format, params); in v() 123 public int d(@FormatString String format, Object... params) { in d() argument 125 String msg = format(format, params); in d() 133 public int d(Throwable tr, @FormatString String format, Object... params) { in d() argument 135 String msg = format(format, params); in d() 151 public int i(@FormatString String format, Object... params) { in i() argument 153 String msg = format(format, params); in i() 169 public int w(@FormatString String format, Object... params) { in w() argument 171 String msg = format(format, params); in w() [all …]
|
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/ |
D | LoggerFactory.java | 59 public int v(String format, Object... params) { in v() argument 61 String msg = format(format, params); in v() 76 public int d(String format, Object... params) { in d() argument 78 String msg = format(format, params); in d() 85 public int d(Throwable tr, String format, Object... params) { in d() argument 87 String msg = format(format, params); in d() 102 public int i(String format, Object... params) { in i() argument 104 String msg = format(format, params); in i() 119 public int w(String format, Object... params) { in w() argument 121 String msg = format(format, params); in w() [all …]
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/ |
D | LogUtil.java | 45 public static int v(@FormatString String format, Object... params) { in v() argument 47 String msg = format(format, params); in v() 63 public static int d(@FormatString String format, Object... params) { in d() argument 65 String msg = format(format, params); in d() 73 public static int d(Throwable tr, @FormatString String format, Object... params) { in d() argument 75 String msg = format(format, params); in d() 91 public static int i(@FormatString String format, Object... params) { in i() argument 93 String msg = format(format, params); in i() 109 public static int w(@FormatString String format, Object... params) { in w() argument 111 String msg = format(format, params); in w() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageProperties.java | 93 public Builder addNativeFormat(BipImageFormat format) { in addNativeFormat() argument 94 mProperties.addNativeFormat(format); in addNativeFormat() 104 public Builder addVariantFormat(BipImageFormat format) { in addVariantFormat() argument 105 mProperties.addVariantFormat(format); in addVariantFormat() 115 public Builder addAttachment(BipAttachmentFormat format) { in addAttachment() argument 116 mProperties.addAttachment(format); in addAttachment() 241 private void addNativeFormat(BipImageFormat format) { in addNativeFormat() argument 242 Objects.requireNonNull(format); in addNativeFormat() 243 if (format.getType() != BipImageFormat.FORMAT_NATIVE) { in addNativeFormat() 246 + format.getType() in addNativeFormat() [all …]
|
/packages/apps/TV/tuner/src/com/google/android/exoplayer/ |
D | MediaFormatUtil.java | 31 public static MediaFormat createMediaFormat(android.media.MediaFormat format) { in createMediaFormat() argument 32 String mimeType = format.getString(android.media.MediaFormat.KEY_MIME); in createMediaFormat() 33 String language = getOptionalStringV16(format, android.media.MediaFormat.KEY_LANGUAGE); in createMediaFormat() 35 getOptionalIntegerV16(format, android.media.MediaFormat.KEY_MAX_INPUT_SIZE); in createMediaFormat() 36 int width = getOptionalIntegerV16(format, android.media.MediaFormat.KEY_WIDTH); in createMediaFormat() 37 int height = getOptionalIntegerV16(format, android.media.MediaFormat.KEY_HEIGHT); in createMediaFormat() 38 int rotationDegrees = getOptionalIntegerV16(format, "rotation-degrees"); in createMediaFormat() 40 getOptionalIntegerV16(format, android.media.MediaFormat.KEY_CHANNEL_COUNT); in createMediaFormat() 41 int sampleRate = getOptionalIntegerV16(format, android.media.MediaFormat.KEY_SAMPLE_RATE); in createMediaFormat() 42 int encoderDelay = getOptionalIntegerV16(format, "encoder-delay"); in createMediaFormat() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | DvrStorageManager.java | 88 private void readFormatInt(DataInputStream in, MediaFormat format, String key) in readFormatInt() argument 92 format.setInteger(key, val); in readFormatInt() 96 private void readFormatLong(DataInputStream in, MediaFormat format, String key) in readFormatLong() argument 100 format.setLong(key, val); in readFormatLong() 104 private void readFormatFloat(DataInputStream in, MediaFormat format, String key) in readFormatFloat() argument 108 format.setFloat(key, val); in readFormatFloat() 122 private void readFormatString(DataInputStream in, MediaFormat format, String key) in readFormatString() argument 126 format.setString(key, str); in readFormatString() 130 private void readFormatStringOptional(DataInputStream in, MediaFormat format, String key) { in readFormatStringOptional() argument 134 format.setString(key, str); in readFormatStringOptional() [all …]
|
/packages/providers/MediaProvider/tools/genfiles/ |
D | genfiles.sh | 54 while read format mediatype mimetype data; 56 if [ "$format" == "14337" ] 60 elif [ "$format" == "14347" ] 64 elif [ "$format" == "14343" -a "$mediatype" == "0" ] 68 elif [ "$format" == "12292" -a "$mediatype" == "0" ] 72 elif [ "$format" == "12293" -a "$mediatype" == "0" ] 76 elif [ "$format" == "12297" ] 80 elif [ "$format" == "12296" ] 84 elif [ "$format" == "12299" -a "$mediatype" == "0" ] 88 elif [ "$format" == "12299" -a "$mediatype" == "3" ] [all …]
|