/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/base/core/jni/ |
D | android_util_Log.cpp | 43 static levels_t levels; variable 67 return isLoggable(tag, levels.verbose); in android_util_Log_isVerboseLogEnabled() 127 … levels.verbose = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "VERBOSE", "I")); in register_android_util_Log() 128 levels.debug = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "DEBUG", "I")); in register_android_util_Log() 129 levels.info = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "INFO", "I")); in register_android_util_Log() 130 levels.warn = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "WARN", "I")); in register_android_util_Log() 131 levels.error = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "ERROR", "I")); in register_android_util_Log() 132 levels.assert = env->GetStaticIntField(clazz, GetStaticFieldIDOrDie(env, clazz, "ASSERT", "I")); in register_android_util_Log()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessThrottlerTest.java | 166 List<ThrottlingLevel> levels = new ArrayList<>(); in testThermalThrottlingSingleLevel() local 167 levels.add(level); in testThermalThrottlingSingleLevel() 168 final ThermalBrightnessThrottlingData data = ThermalBrightnessThrottlingData.create(levels); in testThermalThrottlingSingleLevel() 223 List<ThrottlingLevel> levels = new ArrayList<>(); in testThermalThrottlingMultiLevel() local 224 levels.add(levelLo); in testThermalThrottlingMultiLevel() 225 levels.add(levelHi); in testThermalThrottlingMultiLevel() 226 final ThermalBrightnessThrottlingData data = ThermalBrightnessThrottlingData.create(levels); in testThermalThrottlingMultiLevel() 302 List<ThrottlingLevel> levels = new ArrayList<>(List.of(level)); in testThermalThrottlingWithDisplaySensor() local 303 final ThermalBrightnessThrottlingData data = ThermalBrightnessThrottlingData.create(levels); in testThermalThrottlingWithDisplaySensor() 349 List<ThrottlingLevel> levels = new ArrayList<>(); in testUpdateThermalThrottlingData() local [all …]
|
/frameworks/base/core/java/android/text/ |
D | AndroidBidi.java | 76 public static Directions directions(int dir, byte[] levels, int lstart, in directions() argument 83 int curLevel = levels[lstart]; in directions() 87 int level = levels[i]; in directions() 135 int level = levels[i]; in directions() 177 if (levels[ld[i]] >= level) { in directions() 179 while (e < ld.length && levels[ld[e]] >= level) { in directions()
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/ |
D | TestUtil.java | 262 config.phraseRecognitionExtras[0].levels = new ConfidenceLevel[]{new ConfidenceLevel()}; in createRecognitionConfig() 263 config.phraseRecognitionExtras[0].levels[0].userId = 234; in createRecognitionConfig() 264 config.phraseRecognitionExtras[0].levels[0].levelPercent = 34; in createRecognitionConfig() 283 assertEquals(1, halPhraseExtra.levels.size()); in validateRecognitionConfig_2_0() 284 android.hardware.soundtrigger.V2_0.ConfidenceLevel halLevel = halPhraseExtra.levels.get(0); in validateRecognitionConfig_2_0() 302 assertEquals(1, halPhraseExtra.levels.size()); in validateRecognitionConfig_2_1() 303 android.hardware.soundtrigger.V2_0.ConfidenceLevel halLevel = halPhraseExtra.levels.get(0); in validateRecognitionConfig_2_1() 408 extra.levels = new ConfidenceLevel[]{level}; in createPhraseRecognitionEvent() 429 halExtra.levels.add(halLevel); in createPhraseRecognitionEvent_2_0() 450 halExtra.levels.add(halLevel); in createPhraseRecognitionEvent_2_1() [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/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | ConversionUtil.java | 243 hidlExtra.levels.ensureCapacity(aidlExtra.levels.length); in aidl2hidlPhraseRecognitionExtra() 244 for (ConfidenceLevel aidlLevel : aidlExtra.levels) { in aidl2hidlPhraseRecognitionExtra() 245 hidlExtra.levels.add(aidl2hidlConfidenceLevel(aidlLevel)); in aidl2hidlPhraseRecognitionExtra() 257 aidlExtra.levels = new ConfidenceLevel[hidlExtra.levels.size()]; in hidl2aidlPhraseRecognitionExtra() 258 for (int i = 0; i < hidlExtra.levels.size(); ++i) { in hidl2aidlPhraseRecognitionExtra() 259 aidlExtra.levels[i] = hidl2aidlConfidenceLevel(hidlExtra.levels.get(i)); in hidl2aidlPhraseRecognitionExtra()
|
D | ValidationUtil.java | 97 Objects.requireNonNull(extra.levels); in validateRecognitionConfig() 98 for (ConfidenceLevel level : extra.levels) { in validateRecognitionConfig()
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 673 ImageEncodingQualityLevels *levels = mImageEncodingQualityLevels[i]; in findImageEncodingQualityLevels() local 674 if (levels->mCameraId == cameraId) { in findImageEncodingQualityLevels() 675 return levels; in findImageEncodingQualityLevels() 687 ImageEncodingQualityLevels *levels = findImageEncodingQualityLevels(cameraId); in addImageEncodingQualityLevel() local 689 if (levels == NULL) { in addImageEncodingQualityLevel() 690 levels = new ImageEncodingQualityLevels(); in addImageEncodingQualityLevel() 691 levels->mCameraId = cameraId; in addImageEncodingQualityLevel() 692 mImageEncodingQualityLevels.add(levels); in addImageEncodingQualityLevel() 695 levels->mLevels.add(quality); in addImageEncodingQualityLevel() 1185 ImageEncodingQualityLevels *levels = new ImageEncodingQualityLevels(); in createDefaultImageEncodingQualityLevels() local [all …]
|
/frameworks/av/services/audiopolicy/tests/ |
D | spatializer_tests.cpp | 51 std::vector<Spatialization::Level> levels; in SetUp() local 52 binder::Status status = mSpatializer->getSupportedLevels(&levels); in SetUp() 54 for (auto level : levels) { in SetUp()
|
/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/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/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/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/base/core/java/android/hardware/soundtrigger/ |
D | ConversionUtil.java | 192 aidlExtra.levels = new ConfidenceLevel[apiExtra.confidenceLevels.length]; in api2aidlPhraseRecognitionExtra() 194 aidlExtra.levels[i] = api2aidlConfidenceLevel(apiExtra.confidenceLevels[i]); in api2aidlPhraseRecognitionExtra() 202 new SoundTrigger.ConfidenceLevel[aidlExtra.levels.length]; in aidl2apiPhraseRecognitionExtra() 203 for (int i = 0; i < aidlExtra.levels.length; ++i) { in aidl2apiPhraseRecognitionExtra() 204 apiLevels[i] = aidl2apiConfidenceLevel(aidlExtra.levels[i]); in aidl2apiPhraseRecognitionExtra()
|
/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/compile/slang/tests/F_kernel_badsig/ |
D | stderr.txt.expect | 1 kernel_badsig.rscript:5:16: error: Compute kernel root() targeting SDK levels 11-22 must have at le…
|
/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/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | ThemedBatteryDrawable.kt | 161 val levels = res.obtainTypedArray(R.array.batterymeter_color_levels) in <lambda>() constant 163 val N = levels.length() in <lambda>() 166 colorLevels[2 * i] = levels.getInt(i, 0) in <lambda>() 174 levels.recycle() in <lambda>()
|
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/ |
D | AidlConversionSpatializer.cpp | 182 std::vector<Spatialization::Level> levels; in getParameter() local 187 levels.emplace_back(level); in getParameter() 190 const uint8_t num = levels.size(); in getParameter() 192 for (const auto level : levels) { in getParameter()
|
/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/ |
D | ValidatorData.java | 67 public Policy(@NotNull EnumSet<Type> types, @NotNull EnumSet<Level> levels) { in Policy() argument 69 mLevels = levels; in Policy()
|