Home
last modified time | relevance | path

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

123

/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.java156 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in ignoreNetworksIfUseExternalScores() local
161 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreNetworksIfUseExternalScores()
183 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in ignoreEphemeralNetworks() local
188 freqs, caps, levels, securities, mWifiConfigManager, mClock); in ignoreEphemeralNetworks()
211 int[] levels = in setCandidateScanResultsForAllSavedNetworks() local
217 freqs, caps, levels, securities, mWifiConfigManager, mClock); in setCandidateScanResultsForAllSavedNetworks()
250 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in chooseStrongerRssi2GNetwork() local
255 freqs, caps, levels, securities, mWifiConfigManager, mClock); in chooseStrongerRssi2GNetwork()
278 int[] levels = {mThresholdQualifiedRssi5G + 8, mThresholdQualifiedRssi5G + 10}; in chooseStrongerRssi5GNetwork() local
283 freqs, caps, levels, securities, mWifiConfigManager, mClock); in chooseStrongerRssi5GNetwork()
[all …]
DScoredNetworkEvaluatorTest.java110 int[] levels = {mThresholdQualifiedRssi2G + 8}; in testUpdate_recommendationsDisabled() local
115 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_recommendationsDisabled()
134 int[] levels = {mThresholdQualifiedRssi2G + 8}; in testUpdate_emptyScanList() local
139 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_emptyScanList()
153 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in testUpdate_allNetworksUnscored() local
157 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_allNetworksUnscored()
178 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in testUpdate_oneScored_oneUnscored() local
182 ssids, bssids, freqs, caps, levels, securities, mWifiConfigManager, mClock); in testUpdate_oneScored_oneUnscored()
224 int[] levels = {mThresholdQualifiedRssi2G + 8, mThresholdQualifiedRssi2G + 10}; in testEvaluateNetworks_chooseEphemeralNetworkBecauseOfNoSavedNetwork() local
229 ssids, bssids, freqs, caps, levels, mClock); in testEvaluateNetworks_chooseEphemeralNetworkBecauseOfNoSavedNetwork()
[all …]
DWifiNetworkSelectorTest.java177 int[] levels = new int[0]; in emptyScanResults() local
182 freqs, caps, levels, securities, mWifiConfigManager, mClock); in emptyScanResults()
206 int[] levels = {mThresholdMinimumRssi2G - 1, mThresholdMinimumRssi5G - 1}; in verifyMinimumRssiThreshold() local
211 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyMinimumRssiThreshold()
235 int[] levels = {mThresholdMinimumRssi2G + 1, mThresholdMinimumRssi5G + 1}; in verifyMinimumTimeGapWhenConnected() local
241 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyMinimumTimeGapWhenConnected()
273 int[] levels = {mThresholdMinimumRssi2G + 1, mThresholdMinimumRssi5G + 1}; in verifyNoMinimumTimeGapWhenDisconnected() local
279 freqs, caps, levels, securities, mWifiConfigManager, mClock); in verifyNoMinimumTimeGapWhenDisconnected()
315 int[] levels = {mThresholdQualifiedRssi5G + 8}; in noNetworkSelectionWhenCurrentOneIsSufficient() local
320 freqs, caps, levels, securities, mWifiConfigManager, mClock); in noNetworkSelectionWhenCurrentOneIsSufficient()
[all …]
DWifiNetworkSelectorTestUtil.java86 String[] bssids, int[] freqs, String[] caps, int[] levels, int[] securities, in setupScanDetailsAndConfigStore() argument
88 List<ScanDetail> scanDetails = buildScanDetails(ssids, bssids, freqs, caps, levels, clock); in setupScanDetailsAndConfigStore()
122 String[] caps, int[] levels, Clock clock) { in buildScanDetails() argument
128 bssids[index], caps[index], levels[index], freqs[index], timeStamp, 0); in buildScanDetails()
/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.java64 public static Directions directions(int dir, byte[] levels, int lstart, in directions() argument
71 int curLevel = levels[lstart]; in directions()
75 int level = levels[i]; in directions()
123 int level = levels[i]; in directions()
165 if (levels[ld[i]] >= level) { in directions()
167 while (e < ld.length && levels[ld[e]] >= level) { in directions()
/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/media/libmedia/
DMediaProfiles.cpp351 ImageEncodingQualityLevels *levels = mImageEncodingQualityLevels[i]; in findImageEncodingQualityLevels() local
352 if (levels->mCameraId == cameraId) { in findImageEncodingQualityLevels()
353 return levels; in findImageEncodingQualityLevels()
364 ImageEncodingQualityLevels *levels = findImageEncodingQualityLevels(cameraId); in addImageEncodingQualityLevel() local
366 if (levels == NULL) { in addImageEncodingQualityLevel()
367 levels = new ImageEncodingQualityLevels(); in addImageEncodingQualityLevel()
368 levels->mCameraId = cameraId; in addImageEncodingQualityLevel()
369 mImageEncodingQualityLevels.add(levels); in addImageEncodingQualityLevel()
372 levels->mLevels.add(quality); in addImageEncodingQualityLevel()
826 ImageEncodingQualityLevels *levels = new ImageEncodingQualityLevels(); in createDefaultImageEncodingQualityLevels() local
[all …]
/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp396 halLevels[i].userId = extra->levels[i].user_id; in convertPhraseRecognitionExtraToHal()
397 halLevels[i].levelPercent = extra->levels[i].level; in convertPhraseRecognitionExtraToHal()
399 halExtra->levels.setToExternal(halLevels, extra->num_levels); in convertPhraseRecognitionExtraToHal()
401 halExtra->levels.resize(extra->num_levels); in convertPhraseRecognitionExtraToHal()
545 for (i = 0; i < halExtra->levels.size() && i < SOUND_TRIGGER_MAX_USERS; i++) { in convertPhraseRecognitionExtraFromHal()
546 extra->levels[i].user_id = halExtra->levels[i].userId; in convertPhraseRecognitionExtraFromHal()
547 extra->levels[i].level = halExtra->levels[i].levelPercent; in convertPhraseRecognitionExtraFromHal()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java55 final int levels[] = { 0, 1, 5, 10, 25, 50, 75, 90, 95, 99, 100 }; in testDrawingForTypicalValues() local
57 for (int l : levels) { in testDrawingForTypicalValues()
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in349 void API_ENTRY(glTexStorage1DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei wid…
350 CALL_GL_API(glTexStorage1DEXT, target, levels, internalformat, width);
352 void API_ENTRY(glTexStorage2DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei wid…
353 CALL_GL_API(glTexStorage2DEXT, target, levels, internalformat, width, height);
355 void API_ENTRY(glTexStorage3DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei wid…
356 CALL_GL_API(glTexStorage3DEXT, target, levels, internalformat, width, height, depth);
358 void API_ENTRY(glTextureStorage1DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum interna…
359 CALL_GL_API(glTextureStorage1DEXT, texture, target, levels, internalformat, width);
361 void API_ENTRY(glTextureStorage2DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum interna…
362 CALL_GL_API(glTextureStorage2DEXT, texture, target, levels, internalformat, width, height);
[all …]
/frameworks/compile/slang/tests/F_int_ptr_ptr/
Dstderr.txt.expect1 int_ptr_ptr.rs: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.rs:5:12: error: reduction kernels are not supported in SDK levels 11-23
/frameworks/compile/slang/tests/F_root_11_ox/
Dstderr.txt.expect1 root_11_ox.rs:5:6: error: Compute kernel root() targeting SDK levels 11-13 may not skip parameters
/frameworks/compile/slang/tests/F_v15_non_root_kernel/
Dstderr.txt.expect1 v15_non_root_kernel.rs:5:6: error: Non-root compute kernel foo() is not supported in SDK levels 11-…
/frameworks/compile/slang/tests/F_z_wrong_api/
Dstderr.txt.expect1 z_wrong_api.rs:5:60: error: compute kernel bad() targeting SDK levels 11-22 may not use special par…
/frameworks/compile/slang/tests/F_kernel_16/
Dstderr.txt.expect1 kernel_16.rs:5:16: error: Compute kernel root() targeting SDK levels 11-16 may not use pass-by-valu…
/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/base/tools/layoutlib/create/.settings/
DREADME.txt2 This ensure proper compilation compliance and warning/error levels.
/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/base/tools/layoutlib/bridge/.settings/
DREADME.txt2 This ensure proper compilation compliance and warning/error levels.
/frameworks/compile/slang/tests/F_kernel_badsig/
Dstderr.txt.expect1 kernel_badsig.rs:5:16: error: Compute kernel root() targeting SDK levels 11-22 must have at least o…
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp297 Vector<int> levels = sProfiles->getImageEncodingQualityLevels(cameraId); in android_media_MediaProfiles_native_get_image_encoding_quality_level() local
298 if (index < 0 || index >= (jint) levels.size()) { in android_media_MediaProfiles_native_get_image_encoding_quality_level()
302 return static_cast<jint>(levels[index]); in android_media_MediaProfiles_native_get_image_encoding_quality_level()
/frameworks/base/tools/layoutlib/bridge/resources/bars/
DREADME5 resource directory is used as a backup for all earlier API levels.

123