/frameworks/base/media/java/android/media/ |
D | CameraProfile.java | 82 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/ |
D | SavedNetworkEvaluatorTest.java | 164 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 …]
|
D | WifiNetworkSelectorTest.java | 275 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 …]
|
D | ScoredNetworkEvaluatorTest.java | 124 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 …]
|
D | NetworkSuggestionEvaluatorTest.java | 85 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 …]
|
D | CarrierNetworkEvaluatorTest.java | 218 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 …]
|
D | WifiLastResortWatchdogTest.java | 93 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/ |
D | android_util_Log.cpp | 44 static levels_t levels; variable 68 return isLoggable(tag, levels.verbose); in android_util_Log_isVerboseLogEnabled() 128 … levels.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/ |
D | AndroidBidi.java | 106 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/ |
D | MediaProfiles.cpp | 411 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/ |
D | public_attr_map.py | 15 levels = [(1, 0x021c), (2, 0x021d), (3, 0x0269), (4, 0x028d), 20 for level, attrEntryId in levels:
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHalHidl.cpp | 595 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/ |
D | glext_api.in | 358 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/ |
D | system-lint-baseline.txt | 13 …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/ |
D | stderr.txt.expect | 1 int_ptr_ptr.rscript:4:7: error: multiple levels of pointers cannot be exported: 'myPtr'
|
/frameworks/compile/slang/tests/F_reduce_general_wrong_api/ |
D | stderr.txt.expect | 1 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/ |
D | stderr.txt.expect | 1 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/ |
D | stderr.txt.expect | 1 …_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/ |
D | BatteryMeterDrawableBaseTest.java | 60 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/ |
D | stderr.txt.expect | 1 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/ |
D | stderr.txt.expect | 1 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/ |
D | stderr.txt.expect | 1 …Invalid parameter 'in1' for compute kernel root(). Kernels targeting SDK levels 11-22 may not use …
|
/frameworks/compile/slang/tests/F_too_many_inputs/ |
D | stderr.txt.expect | 1 … Invalid parameter 'in8' for compute kernel bad(). Kernels targeting SDK levels 23+ may not use mo…
|
/frameworks/layoutlib/create/.settings/ |
D | README.txt | 2 This ensure proper compilation compliance and warning/error levels.
|
/frameworks/layoutlib/bridge/.settings/ |
D | README.txt | 2 This ensure proper compilation compliance and warning/error levels.
|