Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/
DSystemTimeZone.java123 @NonNull String timeZoneId, @TimeZoneConfidence int confidence, in setTimeZoneId() argument
128 + ", confidence=" + confidence in setTimeZoneId()
143 boolean timeZoneConfidenceChanged = setTimeZoneConfidence(confidence); in setTimeZoneId()
147 + ", (new) confidence=" + confidence in setTimeZoneId()
175 int confidence = SystemProperties.getInt( in getTimeZoneConfidence() local
177 if (!isValidTimeZoneConfidence(confidence)) { in getTimeZoneConfidence()
178 confidence = TIME_ZONE_CONFIDENCE_LOW; in getTimeZoneConfidence()
180 return confidence; in getTimeZoneConfidence()
195 private static boolean isValidTimeZoneConfidence(@TimeZoneConfidence int confidence) { in isValidTimeZoneConfidence() argument
196 return confidence >= TIME_ZONE_CONFIDENCE_LOW && confidence <= TIME_ZONE_CONFIDENCE_HIGH; in isValidTimeZoneConfidence()
DSystemClockTime.java117 @CurrentTimeMillisLong long unixEpochMillis, int confidence, @NonNull String logMsg) { in setTimeAndConfidence() argument
120 sTimeConfidence = confidence; in setTimeAndConfidence()
133 public static void setConfidence(@TimeConfidence int confidence, @NonNull String logMsg) { in setConfidence() argument
135 sTimeConfidence = confidence; in setConfidence()
DAlarmManagerInternal.java64 void setTimeZone(String tzId, @TimeZoneConfidence int confidence, String logInfo); in setTimeZone() argument
74 void setTime(@CurrentTimeMillisLong long unixEpochTimeMillis, @TimeConfidence int confidence, in setTime() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingClassifier.java42 protected Result falsed(double confidence, String reason) { in falsed() argument
43 return Result.falsed(confidence, getFalsingContext(), reason); in falsed()
177 private Result(boolean falsed, double confidence, String context, String reason) { in Result() argument
179 mConfidence = confidence; in Result()
199 public static Result falsed(double confidence, String context, String reason) { in falsed() argument
200 return new Result(true, confidence, context, reason); in falsed()
206 public static Result passed(double confidence) { in passed() argument
207 return new Result(false, confidence, null, null); in passed()
DTypeClassifier.java59 double confidence = 1; in calculateFalsingResult() local
68 confidence = 0; // Owners may return to original brightness. in calculateFalsingResult()
101 confidence = 0; in calculateFalsingResult()
109 return wrongDirection ? falsed(confidence, getReason(interactionType)) : Result.passed(0.5); in calculateFalsingResult()
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp243 std::vector<float> *confidence /*out*/, float *near /*out*/, float *far /*out*/) { in unpackDepth16() argument
255 confidence->push_back(normConfidence); in unpackDepth16()
270 std::vector<float> *confidence /*out*/, float *near /*out*/, float *far /*out*/) { in rotate0AndUnpack() argument
274 confidence, near, far); in rotate0AndUnpack()
282 std::vector<float> *confidence /*out*/, float *near /*out*/, float *far /*out*/) { in rotate90AndUnpack() argument
286 confidence, near, far); in rotate90AndUnpack()
293 std::vector<float> *confidence /*out*/, float *near /*out*/, float *far /*out*/) { in rotate180AndUnpack() argument
297 confidence, near, far); in rotate180AndUnpack()
305 std::vector<float> *confidence /*out*/, float *near /*out*/, float *far /*out*/) { in rotate270AndUnpack() argument
309 confidence, near, far); in rotate270AndUnpack()
[all …]
/frameworks/av/media/module/extractors/mpeg2/
DExtractorBundle.cpp51 float *confidence, in GETEXTRACTORDEF()
55 if (SniffMPEG2TS(&helper, confidence)) { in GETEXTRACTORDEF()
60 } else if (SniffMPEG2PS(&helper, confidence)) { in GETEXTRACTORDEF()
/frameworks/av/media/libmedia/
DCharacterEncodingDetector.cpp335 int confidence = ucsdet_getConfidence(ucma[i], &status); in getPreferred() local
336 ALOGV("%zu: %s %d", i, encname, confidence); in getPreferred()
345 int confidence = ucsdet_getConfidence(matches[0], &status); in getPreferred() local
346 if (confidence > 15) { in getPreferred()
362 int confidence = ucsdet_getConfidence(matches[i], &status); in getPreferred() local
380 ALOGV("%zu: %s %d", i, encname, confidence); in getPreferred()
386 confidence = 0; in getPreferred()
433 ALOGV("ICU confidence: %d, my confidence: %d (%d %d)", confidence, myconfidence, in getPreferred()
437 confidence = myconfidence; in getPreferred()
439 ALOGV("%d-%d=%d", confidence, demerit, confidence - demerit); in getPreferred()
[all …]
/frameworks/base/services/core/java/com/android/server/timedetector/
DEnvironmentImpl.java84 @CurrentTimeMillisLong long newTimeMillis, @TimeConfidence int confidence, in setSystemClock() argument
87 mAlarmManagerInternal.setTime(newTimeMillis, confidence, logMsg); in setSystemClock()
91 public void setSystemClockConfidence(@TimeConfidence int confidence, @NonNull String logMsg) { in setSystemClockConfidence() argument
93 SystemClockTime.setConfidence(confidence, logMsg); in setSystemClockConfidence()
/frameworks/av/media/module/extractors/amr/
DAMRExtractor.cpp121 DataSourceHelper *source, bool *isWide, float *confidence) { in SniffAMR() argument
132 *confidence = 0.5; in SniffAMR()
139 *confidence = 0.5; in SniffAMR()
152 float confidence; in AMRExtractor() local
153 if (!SniffAMR(mDataSource, &mIsWide, &confidence)) { in AMRExtractor()
399 float *confidence, in GETEXTRACTORDEF()
403 if (SniffAMR(&helper, nullptr, confidence)) { in GETEXTRACTORDEF()
/frameworks/av/media/libstagefright/
DMediaExtractorFactory.cpp81 float confidence; in CreateFromService() local
84 creator = sniff(source, &confidence, &meta, &freeMeta, plugin, &creatorVersion); in CreateFromService()
101 ex != nullptr ? ex->name() : "<null>", confidence); in CreateFromService()
133 const sp<DataSource> &source, float *confidence, void **meta, in sniff() argument
135 *confidence = 0.0f; in sniff()
164 if (newConfidence > *confidence) { in sniff()
165 *confidence = newConfidence; in sniff()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DHistoryTrackerTest.java121 private void addResult(boolean falsed, double confidence) { in addResult() argument
125 confidence, getClass().getSimpleName(), "test") in addResult()
126 : FalsingClassifier.Result.passed(confidence)), in addResult()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DEnvironmentImpl.java59 @NonNull String zoneId, @TimeZoneConfidence int confidence, in setDeviceTimeZoneAndConfidence() argument
63 alarmManagerInternal.setTimeZone(zoneId, confidence, logInfo); in setDeviceTimeZoneAndConfidence()
/frameworks/av/media/module/extractors/fuzzers/
DExtractorFuzzerBase.cpp38 float confidence; in getExtractorDef() local
44 extractorDef.u.v2.sniff(mDataSource->wrap(), &confidence, &meta, &freeMeta); in getExtractorDef()
46 extractorDef.u.v3.sniff(mDataSource->wrap(), &confidence, &meta, &freeMeta); in getExtractorDef()
/frameworks/av/media/module/extractors/midi/
DMidiExtractor.cpp328 bool SniffMidi(CDataSource *source, float *confidence) in SniffMidi() argument
332 *confidence = 0.8; in SniffMidi()
367 float *confidence, in GETEXTRACTORDEF()
370 if (SniffMidi(source, confidence)) { in GETEXTRACTORDEF()
/frameworks/av/media/module/extractors/aac/include/
DAACExtractor.h59 DataSourceHelper *source, String8 *mimeType, float *confidence, off64_t *offset);
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaExtractorFactory.h55 float *confidence, void **meta, FreeMetaFunc *freeMeta,
/frameworks/av/media/module/extractors/mpeg2/include/
DMPEG2PSExtractor.h76 bool SniffMPEG2PS(DataSourceHelper *source, float *confidence);
DMPEG2TSExtractor.h108 bool SniffMPEG2TS(DataSourceHelper *source, float *confidence);
/frameworks/base/tools/orientationplot/
DREADME.txt37 filtered accelerometer data, measured tilt and orientation angle, confidence
52 it 90 degrees. Note that the confidence intervals will all drop to 0 at some
62 settles, the confidence values should start trending to 0 again because
/frameworks/av/media/module/extractors/midi/include/
DMidiExtractor.h91 bool SniffMidi(CDataSource *source, float *confidence);
/frameworks/base/media/java/android/media/
DFaceDetector.java50 public float confidence() { in confidence() method in FaceDetector.Face
/frameworks/av/media/module/extractors/flac/
DFLACExtractor.cpp796 bool SniffFLAC(DataSourceHelper *source, float *confidence) in SniffFLAC() argument
837 *confidence = 0.5; in SniffFLAC()
861 float *confidence, in GETEXTRACTORDEF()
865 if (SniffFLAC(&helper, confidence)) { in GETEXTRACTORDEF()
/frameworks/av/media/module/extractors/aac/
DAACExtractor.cpp350 CDataSource *source, float *confidence, void **meta, in Sniff() argument
390 *confidence = 0.2; in Sniff()
/frameworks/av/include/media/
DMediaExtractorPluginApi.h110 CDataSource *source, float *confidence,

12