Searched refs:threshold (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/app/
H A DIMediaContainerService.aidl31 PackageInfoLite getMinimalPackageInfo(in String packagePath, in int flags, in long threshold);
32 boolean checkInternalFreeStorage(in Uri fileUri, boolean isForwardLocked, in long threshold);
/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_config_service.h45 virtual status_t getPanicThreshold(int *threshold);
46 virtual status_t setPanicThreshold(int 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;
H A Dcommon_time_server.h71 status_t getPanicThreshold(int *threshold);
72 status_t setPanicThreshold(int threshold);
/frameworks/av/include/common_time/
H A DICommonTimeConfig.h50 virtual status_t getPanicThreshold(int *threshold) = 0;
51 virtual status_t setPanicThreshold(int threshold) = 0;
/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/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/av/media/libstagefright/codecs/aacenc/inc/
H A Dtns.h71 Word16 threshold; /* min. prediction gain for using tns TABUL * 100 */ member in struct:__anon552
/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/core/java/com/android/internal/widget/
H A DDrawableHolder.java128 final float threshold = 1.0f / 256.0f; // contribution less than 1 LSB of RGB byte
129 if (mAlpha <= threshold) // don't bother if it won't show up
/frameworks/compile/mclinker/lib/Support/
H A DSpace.cpp40 const size_t threshold = (PageSize*3)/4; // 3/4 page size in Linux local
41 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/wilhelm/src/android/
H A DAudioPlayer_to_android.h82 SLpermille threshold);
/frameworks/base/core/java/android/webkit/
H A DJniUtil.java186 long leftToAllocate = memInfo.availMem - memInfo.threshold;
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DBlur25.java82 mScript = new ScriptC_threshold(mRS, res, R.raw.threshold);
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DBlur25.java78 mScript = new ScriptC_threshold(mRS, res, R.raw.threshold);
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java159 long threshold) {
191 packagePath, flags, threshold);
198 long threshold) throws RemoteException {
201 return isUnderInternalThreshold(apkFile, isForwardLocked, threshold);
656 long threshold) {
716 fitsOnInternal = isUnderInternalThreshold(apkFile, isForwardLocked, threshold);
763 * Measure a file to see if it fits within the free space threshold.
766 * @param threshold byte threshold to compare against
767 * @return true if file fits under threshold
655 recommendAppInstallLocation(int installLocation, String archiveFilePath, int flags, long threshold) argument
770 isUnderInternalThreshold(File apkFile, boolean isForwardLocked, long threshold) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DDeviceStorageMonitorService.java52 * than a tunable threshold value (a secure settings parameter;
63 * storage differential goes below a threshold (again a secure
106 // This is the raw threshold that has been set at which we consider
109 // This is the threshold at which we start trying to flush caches
110 // to get below the low threshold limit. It is less than the low
111 // threshold; we will allow storage to get a bit beyond the limit
114 // This is the threshold that we try to get to when deleting cache
115 // files. This is greater than the low threshold so that we will flush
192 // Read the reporting threshold from secure settings
193 long threshold
[all...]
H A DThrottleService.java433 // check for new policy info (threshold limit/value/etc)
447 long threshold = Settings.Global.getLong(mContext.getContentResolver(),
452 mPolicyThreshold.set(threshold);
484 mPolicyPollPeriodSec + ", threshold=" + mPolicyThreshold.get() +
590 long threshold = mPolicyThreshold.get();
591 if (threshold == 0) {
604 if (currentTotal > threshold) {
607 if (DBG) Slog.d(TAG, "Threshold " + threshold + " exceeded!");
647 long warningThreshold = 2*threshold*timeUsed/(timeUsed+periodLength);
648 if ((currentTotal > warningThreshold) && (currentTotal > threshold/
[all...]
/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);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiWatchdogStateMachine.java57 * the instant packet loss is higher than a threshold, the WiFi watchdog sends a
113 * WiFi link statistics is monitored and recorded actively below this threshold.
115 * Larger threshold is more adaptive but increases sampling cost.
172 * Good threshold must be smaller than poor threshold.
173 * Use smaller poor threshold to avoid WiFi more aggressively.
174 * Use smaller good threshold to bring back WiFi more conservatively.
177 * 50% loss threshold is a good balance between accuracy and reponsiveness.
178 * <=10% good threshold is a safe value to avoid jumping back to WiFi too easily.
191 * A smaller threshold improve
1184 findRssiTarget(int from, int to, double threshold) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c187 tC->threshold = TNS_GAIN_THRESH;
254 tC->threshold = TNS_GAIN_THRESH;
302 temp = predictionGain - tC.threshold;
320 temp = predictionGain - tC.threshold;
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...]

Completed in 5085 milliseconds

12