Home
last modified time | relevance | path

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

1234

/frameworks/base/media/java/android/media/
DCameraProfile.java82 int[] levels = sCache.get(cameraId); in getJpegEncodingQualityParameter() local
83 if (levels == null) { in getJpegEncodingQualityParameter()
84 levels = getImageEncodingQualityLevels(cameraId); in getJpegEncodingQualityParameter()
85 sCache.put(cameraId, levels); in getJpegEncodingQualityParameter()
87 return levels[quality]; in getJpegEncodingQualityParameter()
102 int[] levels = new int[nLevels]; in getImageEncodingQualityLevels() local
104 levels[i] = native_get_image_encoding_quality_level(cameraId, i); in getImageEncodingQualityLevels()
106 Arrays.sort(levels); // Lower quality level ALWAYS comes before higher one in getImageEncodingQualityLevels()
107 return levels; in getImageEncodingQualityLevels()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSavedNetworkEvaluatorTest.java164 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in ignoreNetworksIfUseExternalScores() local
169 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreNetworksIfUseExternalScores()
191 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in ignoreEphemeralNetworks() local
196 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreEphemeralNetworks()
219 int[] levels = in setCandidateScanResultsForAllSavedNetworks() local
225 freqs, caps, levels, securities, mWifiConfigManager, mClock); in setCandidateScanResultsForAllSavedNetworks()
259 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in chooseStrongerRssi2GNetwork() local
264 freqs, caps, levels, securities, mWifiConfigManager, mClock); in chooseStrongerRssi2GNetwork()
287 int[] levels = {mThresholdQualifiedRssi5G + 8, mThresholdQualifiedRssi5G + 10}; in chooseStrongerRssi5GNetwork() local
292 freqs, caps, levels, securities, mWifiConfigManager, mClock); in chooseStrongerRssi5GNetwork()
[all …]
DWifiNetworkSelectorTest.java275 int[] levels = new int[0]; in emptyScanResults() local
280 freqs, caps, levels, securities, mWifiConfigManager, mClock); in emptyScanResults()
305 int[] levels = {mThresholdMinimumRssi2G - 1, mThresholdMinimumRssi5G - 1}; in verifyMinimumRssiThreshold() local
310 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyMinimumRssiThreshold()
335 int[] levels = {mThresholdMinimumRssi2G + RSSI_BUMP, mThresholdMinimumRssi5G + RSSI_BUMP}; in verifyMinimumTimeGapWhenConnected() local
341 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyMinimumTimeGapWhenConnected()
374 int[] levels = {mThresholdMinimumRssi2G + RSSI_BUMP, mThresholdMinimumRssi5G + RSSI_BUMP}; in verifyNoMinimumTimeGapWhenDisconnected() local
380 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyNoMinimumTimeGapWhenDisconnected()
417 int[] levels = {mThresholdQualifiedRssi5G + 8}; in openNetworkIsNotSufficient() local
422 freqs, caps, levels, securities, mWifiConfigManager, mClock); in openNetworkIsNotSufficient()
[all …]
DScoredNetworkEvaluatorTest.java124 int[] levels = {mThresholdQualifiedRssi2G + 8}; in testUpdate_recommendationsDisabled() local
129 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_recommendationsDisabled()
148 int[] levels = {mThresholdQualifiedRssi2G + 8}; in testUpdate_emptyScanList() local
153 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_emptyScanList()
167 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in testUpdate_allNetworksUnscored() local
171 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_allNetworksUnscored()
192 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in testUpdate_oneScored_oneUnscored() local
196 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_oneScored_oneUnscored()
236 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in testUpdate_externalScorerNotPermittedToSeeScanResults() local
243 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_externalScorerNotPermittedToSeeScanResults()
[all …]
DNetworkSuggestionEvaluatorTest.java85 int[] levels = {-67, -76}; in testSelectNetworkSuggestionForNoMatch() local
95 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForNoMatch()
123 int[] levels = {-67, -76}; in testSelectNetworkSuggestionForOneMatch() local
133 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForOneMatch()
168 int[] levels = {-56, -45}; in testSelectNetworkSuggestionForMultipleMatch() local
178 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForMultipleMatch()
215 int[] levels = {-56, -45}; in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins() local
225 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
264 int[] levels = {-23, -45}; in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestions() local
275 buildScanDetails(scanSsids, bssids, freqs, caps, levels, mClock); in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestions()
[all …]
DCarrierNetworkEvaluatorTest.java218 int[] levels = {10, 20, 11, 15, 50}; in testSelectOneFromMultiple() local
221 freqs, caps, levels, mClock); in testSelectOneFromMultiple()
279 int[] levels = {40}; in testSelectFromNoneAvailable() local
282 freqs, caps, levels, mClock); in testSelectFromNoneAvailable()
306 int[] levels = {10, 20, 30, 40, 50}; in testNoCarrierCert() local
311 freqs, caps, levels, mClock); in testNoCarrierCert()
337 int[] levels = {10}; in testAvailableButPreviouslyUserDeleted() local
344 freqs, caps, levels, mClock); in testAvailableButPreviouslyUserDeleted()
365 int[] levels = {10}; in testAvailableButBlacklisted() local
370 freqs, caps, levels, mClock); in testAvailableButBlacklisted()
[all …]
DWifiLastResortWatchdogTest.java93 String[] bssids, int[] frequencies, String[] caps, int[] levels, in createFilteredQnsCandidates() argument
100 bssids[index], caps[index], levels[index], frequencies[index], timeStamp, in createFilteredQnsCandidates()
116 String[] bssids, int[] frequencies, String[] caps, int[] levels, in createFilteredQnsCandidates() argument
124 bssids[index], caps[index], levels[index], frequencies[index], timeStamp, in createFilteredQnsCandidates()
866 int[] levels = {-60, -86, -50, -62, -60, -86, -50, -62}; in testFailureCounting_countFailuresAcrossSsids() local
874 bssids, frequencies, caps, levels, isEphemeral, hasEverConnected); in testFailureCounting_countFailuresAcrossSsids()
1476 int[] levels = {-60, -86, -50, -62, -60}; in testMetricsCollection() local
1481 bssids, frequencies, caps, levels, isEphemeral, hasEverConnected); in testMetricsCollection()
1583 bssids, frequencies, caps, levels, isEphemeral, hasEverConnected); in testMetricsCollection()
1782 int[] levels = {-60}; in testIncrementingWatchdogConnectionFailuresAfterTrigger() local
[all …]
/frameworks/base/core/jni/
Dandroid_util_Log.cpp44 static levels_t levels; variable
68 return isLoggable(tag, levels.verbose); in android_util_Log_isVerboseLogEnabled()
128levels.verbose = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "VERBOSE", "I")); in register_android_util_Log()
129 levels.debug = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "DEBUG", "I")); in register_android_util_Log()
130 levels.info = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "INFO", "I")); in register_android_util_Log()
131 levels.warn = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "WARN", "I")); in register_android_util_Log()
132 levels.error = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "ERROR", "I")); in register_android_util_Log()
133 levels.assert = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "ASSERT", "I")); in register_android_util_Log()
/frameworks/base/core/java/android/text/
DAndroidBidi.java106 public static Directions directions(int dir, byte[] levels, int lstart, in directions() argument
113 int curLevel = levels[lstart]; in directions()
117 int level = levels[i]; in directions()
165 int level = levels[i]; in directions()
207 if (levels[ld[i]] >= level) { in directions()
209 while (e < ld.length && levels[ld[e]] >= level) { in directions()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp411 ImageEncodingQualityLevels *levels = mImageEncodingQualityLevels[i]; in findImageEncodingQualityLevels() local
412 if (levels->mCameraId == cameraId) { in findImageEncodingQualityLevels()
413 return levels; in findImageEncodingQualityLevels()
424 ImageEncodingQualityLevels *levels = findImageEncodingQualityLevels(cameraId); in addImageEncodingQualityLevel() local
426 if (levels == NULL) { in addImageEncodingQualityLevel()
427 levels = new ImageEncodingQualityLevels(); in addImageEncodingQualityLevel()
428 levels->mCameraId = cameraId; in addImageEncodingQualityLevel()
429 mImageEncodingQualityLevels.add(levels); in addImageEncodingQualityLevel()
432 levels->mLevels.add(quality); in addImageEncodingQualityLevel()
886 ImageEncodingQualityLevels *levels = new ImageEncodingQualityLevels(); in createDefaultImageEncodingQualityLevels() local
[all …]
/frameworks/base/tools/aapt2/tools/
Dpublic_attr_map.py15 levels = [(1, 0x021c), (2, 0x021d), (3, 0x0269), (4, 0x028d),
20 for level, attrEntryId in levels:
/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp595 halExtra->levels.resize(extra->num_levels); in convertPhraseRecognitionExtraToHal()
597 halExtra->levels[i].userId = extra->levels[i].user_id; in convertPhraseRecognitionExtraToHal()
598 halExtra->levels[i].levelPercent = extra->levels[i].level; in convertPhraseRecognitionExtraToHal()
764 for (i = 0; i < halExtra->levels.size() && i < SOUND_TRIGGER_MAX_USERS; i++) { in convertPhraseRecognitionExtraFromHal()
765 extra->levels[i].user_id = halExtra->levels[i].userId; in convertPhraseRecognitionExtraFromHal()
766 extra->levels[i].level = halExtra->levels[i].levelPercent; in convertPhraseRecognitionExtraFromHal()
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in358 void API_ENTRY(glTexStorage1DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei wid…
359 CALL_GL_API(glTexStorage1DEXT, target, levels, internalformat, width);
361 void API_ENTRY(glTexStorage2DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei wid…
362 CALL_GL_API(glTexStorage2DEXT, target, levels, internalformat, width, height);
364 void API_ENTRY(glTexStorage3DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei wid…
365 CALL_GL_API(glTexStorage3DEXT, target, levels, internalformat, width, height, depth);
367 void API_ENTRY(glTextureStorage1DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum interna…
368 CALL_GL_API(glTextureStorage1DEXT, texture, target, levels, internalformat, width);
370 void API_ENTRY(glTextureStorage2DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum interna…
371 CALL_GL_API(glTextureStorage2DEXT, texture, target, levels, internalformat, width, height);
[all …]
/frameworks/base/packages/Tethering/common/TetheringLib/api/
Dsystem-lint-baseline.txt13 …Callbacks must be abstract class instead of interface to enable extension in future API levels: St…
15 …Callbacks must be abstract class instead of interface to enable extension in future API levels: Te…
/frameworks/compile/slang/tests/F_int_ptr_ptr/
Dstderr.txt.expect1 int_ptr_ptr.rscript:4:7: error: multiple levels of pointers cannot be exported: 'myPtr'
/frameworks/compile/slang/tests/F_reduce_general_wrong_api/
Dstderr.txt.expect1 reduce_general_wrong_api.rscript:5:12: error: reduction kernels are not supported in SDK levels 11-…
/frameworks/compile/slang/tests/F_root_11_ox/
Dstderr.txt.expect1 root_11_ox.rscript:5:6: error: Compute kernel root() targeting SDK levels 11-13 may not skip parame…
/frameworks/compile/slang/tests/F_v15_non_root_kernel/
Dstderr.txt.expect1 …_root_kernel.rscript:5:6: error: Non-root compute kernel foo() is not supported in SDK levels 11-15
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java60 final int levels[] = { 0, 1, 5, 10, 25, 50, 75, 90, 95, 99, 100 }; in testDrawingForTypicalValues() local
62 for (int l : levels) { in testDrawingForTypicalValues()
/frameworks/compile/slang/tests/F_z_wrong_api/
Dstderr.txt.expect1 z_wrong_api.rscript:5:60: error: compute kernel bad() targeting SDK levels 11-22 may not use specia…
/frameworks/compile/slang/tests/F_kernel_16/
Dstderr.txt.expect1 kernel_16.rscript:5:16: error: Compute kernel root() targeting SDK levels 11-16 may not use pass-by…
/frameworks/compile/slang/tests/F_multi_in_target_version/
Dstderr.txt.expect1 …Invalid parameter 'in1' for compute kernel root(). Kernels targeting SDK levels 11-22 may not use …
/frameworks/compile/slang/tests/F_too_many_inputs/
Dstderr.txt.expect1 … Invalid parameter 'in8' for compute kernel bad(). Kernels targeting SDK levels 23+ may not use mo…
/frameworks/layoutlib/create/.settings/
DREADME.txt2 This ensure proper compilation compliance and warning/error levels.
/frameworks/layoutlib/bridge/.settings/
DREADME.txt2 This ensure proper compilation compliance and warning/error levels.

1234