Home
last modified time | relevance | path

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

/system/bt/embdrv/sbc/decoder/srce/
Ddequant.c125 INLINE float dequant_float(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) in dequant_float() argument
127 float result = (1 << (scale_factor+1)) * ((raw * 2.0f + 1.0f) / ((1 << bits) - 1.0f) - 1.0f); in dequant_float()
144 INLINE OI_INT32 OI_SBC_Dequant(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) in OI_SBC_Dequant() argument
156 d = (raw * 2) + 1; in OI_SBC_Dequant()
165 float_result = dequant_float(raw, scale_factor, bits); in OI_SBC_Dequant()
183 INLINE OI_INT32 OI_SBC_Dequant_Unscaled(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) in OI_SBC_Dequant_Unscaled() argument
196 result = (raw << 16) + raw - 0x7fff7fff; in OI_SBC_Dequant_Unscaled()
201 d = (raw * 2) + 1; in OI_SBC_Dequant_Unscaled()
Dreadsamplesjoint.inc77 OI_UINT32 raw;
82 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
83 dequant = OI_SBC_Dequant(raw, sf, bits);
91 OI_UINT32 raw;
96 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
97 dequant = OI_SBC_Dequant(raw, sf, bits);
Ddecoder-private.c211 OI_UINT32 raw; in OI_SBC_ReadSamples() local
212 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr); in OI_SBC_ReadSamples()
213 dequant = OI_SBC_Dequant(raw, sf, bits); in OI_SBC_ReadSamples()
/system/update_engine/update_manager/
Dreal_updater_provider.cc94 GetStatusHelper raw(system_state(), errmsg); in GetValue() local
95 if (!raw.is_success()) in GetValue()
98 return new Time(Time::FromTimeT(raw.last_checked_time())); in GetValue()
113 GetStatusHelper raw(system_state(), errmsg); in GetValue() local
114 if (!raw.is_success()) in GetValue()
117 if (raw.progress() < 0.0 || raw.progress() > 1.0) { in GetValue()
120 raw.progress()); in GetValue()
125 return new double(raw.progress()); in GetValue()
167 GetStatusHelper raw(system_state(), errmsg); in GetValue() local
168 if (!raw.is_success()) in GetValue()
[all …]
/system/connectivity/shill/
Dprofile.cc281 bool Profile::ParseIdentifier(const string& raw, Identifier* parsed) { in ParseIdentifier() argument
282 if (raw.empty()) { in ParseIdentifier()
285 if (raw[0] == '~') { in ParseIdentifier()
287 size_t slash = raw.find('/'); in ParseIdentifier()
291 string user(raw.begin() + 1, raw.begin() + slash); in ParseIdentifier()
292 string identifier(raw.begin() + slash + 1, raw.end()); in ParseIdentifier()
302 if (!IsValidIdentifierToken(raw)) { in ParseIdentifier()
306 parsed->identifier = raw; in ParseIdentifier()
Dprofile.h173 static bool ParseIdentifier(const std::string& raw, Identifier* parsed);
/system/tpm/trunks/
Dinterface.proto9 // The raw bytes of a TPM command.
15 // The raw bytes of a TPM response.
/system/extras/ANRdaemon/
DREADME5 global control /d/trace/trace_on. The raw trace file is stored at
21 drops, the last entry it leaves in the raw trace file is the scheduler switched
25 daemon process to some other process. Due to this artifact, when the raw trace
/system/media/audio_utils/
Decho_reference.c83 buffer->raw = NULL; in echo_reference_get_next_buffer()
213 int16_t *src16 = (int16_t *)buffer->raw; in echo_reference_write()
246 er->wr_src_buf = buffer->raw; in echo_reference_write()
262 srcBuf = buffer->raw; in echo_reference_write()
323 memset(buffer->raw, 0, er->rd_frame_size * buffer->frame_count); in echo_reference_read()
468 memcpy(buffer->raw, in echo_reference_read()
Dresampler.c110 if (buf.raw == NULL) { in resampler_resample_from_provider()
114 buf.raw, in resampler_resample_from_provider()
/system/media/audio_utils/include/audio_utils/
Decho_reference.h27 void *raw; // pointer to audio frame member
Dresampler.h34 void* raw; member
/system/sepolicy/tools/fc_sort/
DREADME9 $ wget https://raw.githubusercontent.com/TresysTechnology/refpolicy/master/support/fc_sort.c
/system/extras/tests/sdcard/
Dstopwatch.cpp100 void StopWatch::setPrintRawMode(bool raw) in setPrintRawMode() argument
102 printRaw = raw; in setPrintRawMode()
/system/core/libsysutils/src/
DNetlinkEvent.cpp275 char* raw = NULL; in parseNfPacketMessage() local
287 raw = (char*) nla_data(payload); in parseNfPacketMessage()
293 hex[4 + (i * 2)] = "0123456789abcdef"[(raw[i] >> 4) & 0xf]; in parseNfPacketMessage()
294 hex[5 + (i * 2)] = "0123456789abcdef"[raw[i] & 0xf]; in parseNfPacketMessage()
/system/vold/
DExt4Crypt.cpp92 char raw[EXT4_MAX_KEY_SIZE]; member
129 static_assert(EXT4_AES_256_XTS_KEY_SIZE <= sizeof(ext4_key->raw), "Key too long!"); in fill_key()
132 memset(ext4_key->raw, 0, sizeof(ext4_key->raw)); in fill_key()
133 memcpy(ext4_key->raw, key.data(), key.size()); in fill_key()
161 *raw_ref = generate_key_ref(ext4_key.raw, ext4_key.size); in install_key()
/system/core/libziparchive/
Dzip_archive_test.cc498 ZipArchiveHandle& handle, const std::string& entry_name, bool raw, in ZipArchiveStreamTest() argument
504 if (raw) { in ZipArchiveStreamTest()
530 const std::vector<uint8_t>& contents, bool raw) { in ZipArchiveStreamTestUsingContents() argument
536 ZipArchiveStreamTest(handle, entry_name, raw, true, &entry, &read_data); in ZipArchiveStreamTestUsingContents()
/system/core/adb/
Dshell_service.cpp404 Subprocess* raw = subprocess.release(); in StartThread() local
405 if (!adb_thread_create(ThreadHandler, raw)) { in StartThread()
408 kill(raw->pid_, SIGKILL); in StartThread()
/system/sepolicy/
Dbluetooth.te70 # bluetooth requires net_{admin,raw,bind_service} and wake_alarm and block_suspend.
Ddomain.te173 # Limit raw I/O to these whitelisted domains. Do not apply to debug builds.
255 # Don't allow raw read/write/open access to block_device
259 # Don't allow raw read/write/open access to generic devices.
Dsystem_server.te120 # as raw sockets, but the kernel doesn't yet distinguish between the two.
574 # escalation by writing to raw block devices.
/system/bt/embdrv/sbc/decoder/include/
Doi_codec_sbc_private.h214 INLINE OI_INT32 OI_SBC_Dequant(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits);
/system/bt/service/doc/
DIBluetoothLowEnergy.txt78 * must contain the raw advertising packet. Returns false if there were any
/system/extras/tests/workloads/
Dpwrtest.sh158 collectOutput=${testName}-power-raw.out
/system/core/libutils/
DREADME63 * assets: uncompressed, raw files packaged as part of an .apk and