Home
last modified time | relevance | path

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

12

/frameworks/base/services/common_time/
Dcommon_time_config_service.cpp92 status_t CommonTimeConfigService::getPanicThreshold(int *threshold) { in getPanicThreshold() argument
93 return mTimeServer.getPanicThreshold(threshold); in getPanicThreshold()
96 status_t CommonTimeConfigService::setPanicThreshold(int threshold) { in setPanicThreshold() argument
97 return mTimeServer.setPanicThreshold(threshold); in setPanicThreshold()
Dcommon_time_server_api.cpp223 status_t CommonTimeServer::getPanicThreshold(int *threshold) { in getPanicThreshold() argument
225 *threshold = mPanicThresholdUsec; in getPanicThreshold()
229 status_t CommonTimeServer::setPanicThreshold(int threshold) { in setPanicThreshold() argument
232 if (threshold < 1000) // Min threshold is 1mSec in setPanicThreshold()
235 mPanicThresholdUsec = threshold; in setPanicThreshold()
Dcommon_time_config_service.h44 virtual status_t getPanicThreshold(int *threshold);
45 virtual status_t setPanicThreshold(int threshold);
Dcommon_time_server.h70 status_t getPanicThreshold(int *threshold);
71 status_t setPanicThreshold(int threshold);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_deblocking.c212 u8 (*threshold)[16],
220 u8 (*threshold)[8],
2178 u8 (*threshold)[16], in GetLumaEdgeThresholds()
2191 ASSERT(threshold); in GetLumaEdgeThresholds()
2219 threshold[i][0] = (t1) ? tc0[indexA][t1] : 0; in GetLumaEdgeThresholds()
2221 threshold[i][1] = (t2) ? tc0[indexA][t2] : 0; in GetLumaEdgeThresholds()
2223 threshold[i][2] = (t1) ? tc0[indexA][t1] : 0; in GetLumaEdgeThresholds()
2225 threshold[i][3] = (t2) ? tc0[indexA][t2] : 0; in GetLumaEdgeThresholds()
2227 threshold[i][4] = (t1) ? tc0[indexA][t1] : 0; in GetLumaEdgeThresholds()
2229 threshold[i][5] = (t2) ? tc0[indexA][t2] : 0; in GetLumaEdgeThresholds()
[all …]
/frameworks/av/media/common_time/
DICommonTimeConfig.cpp245 virtual status_t getPanicThreshold(int *threshold) { in getPanicThreshold() argument
254 *threshold = reply.readInt32(); in getPanicThreshold()
261 virtual status_t setPanicThreshold(int threshold) { in setPanicThreshold() argument
264 data.writeInt32(threshold); in setPanicThreshold()
461 int threshold; in onTransact() local
462 status_t status = getPanicThreshold(&threshold); in onTransact()
465 reply->writeInt32(threshold); in onTransact()
472 int threshold = data.readInt32(); in onTransact() local
473 status_t status = setPanicThreshold(threshold); in onTransact()
/frameworks/base/media/java/android/media/videoeditor/
DAudioTrack.java465 public void enableDucking(int threshold, int duckedTrackVolume) { in enableDucking() argument
466 if (threshold < 0 || threshold > 90) { in enableDucking()
467 throw new IllegalArgumentException("Invalid threshold value: " + threshold); in enableDucking()
480 mDuckingThreshold = threshold; in enableDucking()
/frameworks/base/core/java/com/android/internal/app/
DIMediaContainerService.aidl31 PackageInfoLite getMinimalPackageInfo(in String packagePath, in int flags, in long threshold); in getMinimalPackageInfo() argument
32 boolean checkInternalFreeStorage(in Uri fileUri, boolean isForwardLocked, in long threshold); in checkInternalFreeStorage() argument
/frameworks/av/include/common_time/
DICommonTimeConfig.h50 virtual status_t getPanicThreshold(int *threshold) = 0;
51 virtual status_t setPanicThreshold(int threshold) = 0;
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java157 long threshold) {
188 packagePath, flags, threshold);
195 long threshold) throws RemoteException {
198 return isUnderInternalThreshold(apkFile, isForwardLocked, threshold);
635 long threshold) { in recommendAppInstallLocation() argument
695 fitsOnInternal = isUnderInternalThreshold(apkFile, isForwardLocked, threshold); in recommendAppInstallLocation()
749 private boolean isUnderInternalThreshold(File apkFile, boolean isForwardLocked, long threshold) in isUnderInternalThreshold() argument
764 return (availInternalSize - size) > threshold; in isUnderInternalThreshold()
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java270 private void assertEqualFuzzy(float expected, float actual, float threshold) { in assertEqualFuzzy() argument
271 boolean fuzzyEqual = actual >= expected - threshold && actual <= expected + threshold; in assertEqualFuzzy()
273 "> while accepting a variation of: <"+threshold+">", fuzzyEqual); in assertEqualFuzzy()
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java128 final float threshold = 1.0f / 256.0f; // contribution less than 1 LSB of RGB byte in draw() local
129 if (mAlpha <= threshold) // don't bother if it won't show up in draw()
/frameworks/base/docs/html/tools/help/
Ddmtracedump.jd62 <td>Minimum threshold for including child nodes in the graph (child's inclusive time as a
63 percentage of parent inclusive time). If this option is not used, the default threshold is
/frameworks/base/core/java/android/os/
DCommonTimeConfig.java308 public int setPanicThreshold(int threshold) { in setPanicThreshold() argument
311 return mUtils.transactSetInt(METHOD_SET_PANIC_THRESHOLD, threshold); in setPanicThreshold()
/frameworks/base/services/java/com/android/server/
DDeviceStorageMonitorService.java173 long threshold = Settings.Secure.getLong(mContentResolver, in restatDataDir() local
178 if (delta > threshold || delta < -threshold) { in restatDataDir()
DThrottleService.java445 long threshold = Settings.Secure.getLong(mContext.getContentResolver(), in onPolicyChanged() local
450 mPolicyThreshold.set(threshold); in onPolicyChanged()
588 long threshold = mPolicyThreshold.get(); in checkThrottleAndPostNotification() local
589 if (threshold == 0) { in checkThrottleAndPostNotification()
602 if (currentTotal > threshold) { in checkThrottleAndPostNotification()
605 if (DBG) Slog.d(TAG, "Threshold " + threshold + " exceeded!"); in checkThrottleAndPostNotification()
645 long warningThreshold = 2*threshold*timeUsed/(timeUsed+periodLength); in checkThrottleAndPostNotification()
646 if ((currentTotal > warningThreshold) && (currentTotal > threshold/4)) { in checkThrottleAndPostNotification()
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dtns.h71 Word16 threshold; /* min. prediction gain for using tns TABUL * 100 */ member
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java507 public void setThreshold(int threshold) { in setThreshold() argument
508 if (threshold <= 0) { in setThreshold()
509 threshold = 1; in setThreshold()
512 mThreshold = threshold; in setThreshold()
/frameworks/av/media/libaah_rtp/
Daah_decoder_pump.h46 bool isAboutToUnderflow(int64_t threshold);
Daah_decoder_pump.cpp251 bool AAH_DecoderPump::isAboutToUnderflow(int64_t threshold) { in isAboutToUnderflow() argument
277 return ((tt_now + threshold - last_queued_pts_tt) > 0); in isAboutToUnderflow()
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.h82 SLpermille threshold);
/frameworks/compile/mclinker/lib/Support/
DMemoryArea.cpp345 const size_t threshold = (PageSize*3)/4; // 3/4 page size in Linux in policy() local
346 if (pLength < threshold) in policy()
/frameworks/base/core/java/android/webkit/
DJniUtil.java186 long leftToAllocate = memInfo.availMem - memInfo.threshold; in canSatisfyMemoryAllocation()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dtns.c187 tC->threshold = TNS_GAIN_THRESH; in InitTnsConfigurationLong()
254 tC->threshold = TNS_GAIN_THRESH; in InitTnsConfigurationShort()
302 temp = predictionGain - tC.threshold; in TnsDetect()
320 temp = predictionGain - tC.threshold; in TnsDetect()
/frameworks/base/core/java/android/app/
DActivityManager.java1101 public long threshold; field in ActivityManager.MemoryInfo
1128 dest.writeLong(threshold); in writeToParcel()
1139 threshold = source.readLong(); in readFromParcel()

12