Searched defs:threshold (Results 1 - 18 of 18) sorted by relevance

/frameworks/compile/mclinker/lib/Support/
H A DSpace.cpp46 const size_t threshold = (PageSize*3)/4; // 3/4 page size in Linux local
47 if (pLength < threshold)
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java270 private void assertEqualFuzzy(float expected, float actual, float threshold) { argument
271 boolean fuzzyEqual = actual >= expected - threshold && actual <= expected + threshold;
273 "> while accepting a variation of: <"+threshold+">", fuzzyEqual);
/frameworks/base/services/common_time/
H A Dcommon_time_config_service.cpp92 status_t CommonTimeConfigService::getPanicThreshold(int *threshold) { argument
93 return mTimeServer.getPanicThreshold(threshold);
96 status_t CommonTimeConfigService::setPanicThreshold(int threshold) { argument
97 return mTimeServer.setPanicThreshold(threshold);
H A Dcommon_time_server_api.cpp223 status_t CommonTimeServer::getPanicThreshold(int *threshold) { argument
225 *threshold = mPanicThresholdUsec;
229 status_t CommonTimeServer::setPanicThreshold(int threshold) { argument
232 if (threshold < 1000) // Min threshold is 1mSec
235 mPanicThresholdUsec = threshold;
/frameworks/av/media/common_time/
H A DICommonTimeConfig.cpp246 virtual status_t getPanicThreshold(int *threshold) { argument
255 *threshold = reply.readInt32();
262 virtual status_t setPanicThreshold(int threshold) { argument
265 data.writeInt32(threshold);
462 int threshold; local
463 status_t status = getPanicThreshold(&threshold);
466 reply->writeInt32(threshold);
473 int threshold = data.readInt32(); local
474 status_t status = setPanicThreshold(threshold);
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dtns.h71 Word16 threshold; /* min. prediction gain for using tns TABUL * 100 */ member in struct:__anon576
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java163 long threshold) {
195 packagePath, flags, threshold);
202 long threshold) throws RemoteException {
205 return isUnderInternalThreshold(apkFile, isForwardLocked, threshold);
667 long threshold) {
727 fitsOnInternal = isUnderInternalThreshold(apkFile, isForwardLocked, threshold);
774 * Measure a file to see if it fits within the free space threshold.
777 * @param threshold byte threshold to compare against
778 * @return true if file fits under threshold
666 recommendAppInstallLocation(int installLocation, String archiveFilePath, int flags, long threshold) argument
781 isUnderInternalThreshold(File apkFile, boolean isForwardLocked, long threshold) argument
[all...]
/frameworks/base/core/java/android/os/
H A DCommonTimeConfig.java285 * Gets the panic threshold for the estimated error level of the common time service. When the
289 * @return The threshold (in microseconds) past which the common time service will panic.
299 * Sets the panic threshold for the estimated error level of the common time service. When the
303 * @param threshold The threshold (in microseconds) past which the common time service will
308 public int setPanicThreshold(int threshold) { argument
311 return mUtils.transactSetInt(METHOD_SET_PANIC_THRESHOLD, threshold);
/frameworks/base/media/java/android/media/videoeditor/
H A DAudioTrack.java111 * @param threshold Ducking will be activated when the relative energy in
458 * @param threshold Ducking will be activated when the energy in
465 public void enableDucking(int threshold, int duckedTrackVolume) { argument
466 if (threshold < 0 || threshold > 90) {
467 throw new IllegalArgumentException("Invalid threshold value: " + threshold);
480 mDuckingThreshold = threshold;
495 * Get the ducking threshold.
497 * @return The ducking threshold
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c212 u8 (*threshold)[16],
220 u8 (*threshold)[8],
2178 u8 (*threshold)[16],
2191 ASSERT(threshold);
2219 threshold[i][0] = (t1) ? tc0[indexA][t1] : 0;
2221 threshold[i][1] = (t2) ? tc0[indexA][t2] : 0;
2223 threshold[i][2] = (t1) ? tc0[indexA][t1] : 0;
2225 threshold[i][3] = (t2) ? tc0[indexA][t2] : 0;
2227 threshold[i][4] = (t1) ? tc0[indexA][t1] : 0;
2229 threshold[
2174 GetLumaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[16], u8 (*bs)[16], u32 filteringFlags ) argument
2304 GetChromaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[8], u8 (*bs)[16], u32 filteringFlags, i32 chromaQpIndexOffset) argument
[all...]
/frameworks/native/cmds/flatland/
H A DMain.cpp616 const double threshold = .0025; local
675 } while (fabs(result - prevResult) > threshold * result);
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java54 * {@link #getThreshold() the threshold}.</p>
497 * <p>When <code>threshold</code> is less than or equals 0, a threshold of
500 * @param threshold the number of characters to type before the drop down
507 public void setThreshold(int threshold) { argument
508 if (threshold <= 0) {
509 threshold = 1;
512 mThreshold = threshold;
734 + " threshold=" + mThreshold);
H A DSearchView.java1674 public void setThreshold(int threshold) { argument
1675 super.setThreshold(threshold);
1676 mThreshold = threshold;
1731 * We override this method so that we can allow a threshold of zero,
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiWatchdogStateMachine.java58 * the instant packet loss is higher than a threshold, the WiFi watchdog sends a
112 * WiFi link statistics is monitored and recorded actively below this threshold.
114 * Larger threshold is more adaptive but increases sampling cost.
171 * Good threshold must be smaller than poor threshold.
172 * Use smaller poor threshold to avoid WiFi more aggressively.
173 * Use smaller good threshold to bring back WiFi more conservatively.
176 * 50% loss threshold is a good balance between accuracy and reponsiveness.
177 * <=10% good threshold is a safe value to avoid jumping back to WiFi too easily.
190 * A smaller threshold improve
1173 findRssiTarget(int from, int to, double threshold) argument
[all...]
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp2130 SLpermille threshold) {
2136 ap->mAPlayer->setBufferingUpdateThreshold(threshold / 10);
2129 android_audioPlayer_setBufferingUpdateThresholdPerMille(CAudioPlayer *ap, SLpermille threshold) argument
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dadj_thr.c66 * description: loudness calculation (threshold to the power of redExp)
171 Word32 threshold; local
203 threshold = HOLE_THR_LONG;
205 threshold = HOLE_THR_SHORT;
229 tmpMinSnr = max(tmpMinSnr, threshold);
385 /* threshold reduction formula */
473 /* new threshold */
480 reduce threshold
488 increase threshold
1186 /* calc threshold necessar
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManager.java1209 * The threshold of {@link #availMem} at which we consider memory to be
1213 public long threshold; field in class:ActivityManager.MemoryInfo
1240 dest.writeLong(threshold);
1251 threshold = source.readLong();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java1614 public void setThreshold(int threshold) { argument
1615 super.setThreshold(threshold);
1616 mThreshold = threshold;
1671 * We override this method so that we can allow a threshold of zero,

Completed in 1306 milliseconds