Home
last modified time | relevance | path

Searched refs:supported (Results 1 – 25 of 134) sorted by relevance

123456

/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp370 ResTable_config supported, requested; in TEST() local
372 fillIn(NULL, NULL, NULL, NULL, &supported); in TEST()
375 EXPECT_TRUE(supported.match(requested)); in TEST()
377 fillIn("en", "CA", NULL, NULL, &supported); in TEST()
380 EXPECT_FALSE(supported.match(requested)); in TEST()
382 fillIn("tl", "PH", NULL, NULL, &supported); in TEST()
385 EXPECT_TRUE(supported.match(requested)); in TEST()
387 fillIn("qaa", "FR", NULL, NULL, &supported); in TEST()
390 EXPECT_FALSE(supported.match(requested)); in TEST()
392 fillIn("qaa", "FR", "Latn", NULL, &supported); in TEST()
[all …]
/frameworks/ml/nn/driver/sample/
DSampleDriverMinimal.cpp64 std::vector<bool> supported(count); in getSupportedOperations_1_2() local
67 supported[i] = false; in getSupportedOperations_1_2()
75 supported[i] = true; in getSupportedOperations_1_2()
83 cb(ErrorStatus::NONE, supported); in getSupportedOperations_1_2()
85 std::vector<bool> supported; in getSupportedOperations_1_2() local
86 cb(ErrorStatus::INVALID_ARGUMENT, supported); in getSupportedOperations_1_2()
DSampleDriverQuant.cpp59 std::vector<bool> supported(count); in getSupportedOperations_1_2() local
64 supported[i] = firstOperand.type == OperandType::TENSOR_QUANT8_ASYMM; in getSupportedOperations_1_2()
67 cb(ErrorStatus::NONE, supported); in getSupportedOperations_1_2()
69 std::vector<bool> supported; in getSupportedOperations_1_2() local
70 cb(ErrorStatus::INVALID_ARGUMENT, supported); in getSupportedOperations_1_2()
DSampleDriverFull.cpp44 std::vector<bool> supported(count, true); in getSupportedOperations_1_2() local
45 cb(ErrorStatus::NONE, supported); in getSupportedOperations_1_2()
47 std::vector<bool> supported; in getSupportedOperations_1_2() local
48 cb(ErrorStatus::INVALID_ARGUMENT, supported); in getSupportedOperations_1_2()
DSampleDriverFloatSlow.cpp63 std::vector<bool> supported(count); in getSupportedOperations_1_2() local
68 supported[i] = firstOperand.type == OperandType::TENSOR_FLOAT32; in getSupportedOperations_1_2()
71 cb(ErrorStatus::NONE, supported); in getSupportedOperations_1_2()
73 std::vector<bool> supported; in getSupportedOperations_1_2() local
74 cb(ErrorStatus::INVALID_ARGUMENT, supported); in getSupportedOperations_1_2()
DSampleDriverFloatFast.cpp63 std::vector<bool> supported(count); in getSupportedOperations_1_2() local
68 supported[i] = firstOperand.type == OperandType::TENSOR_FLOAT32; in getSupportedOperations_1_2()
71 cb(ErrorStatus::NONE, supported); in getSupportedOperations_1_2()
73 std::vector<bool> supported; in getSupportedOperations_1_2() local
74 cb(ErrorStatus::INVALID_ARGUMENT, supported); in getSupportedOperations_1_2()
/frameworks/base/core/java/android/net/util/
DKeepaliveUtils.java72 int supported; in getSupportedKeepalives() local
75 supported = Integer.parseInt(arr[1]); in getSupportedKeepalives()
84 if (supported < 0) { in getSupportedKeepalives()
86 "Invalid supported count " + supported + " for " in getSupportedKeepalives()
89 ret[transport] = supported; in getSupportedKeepalives()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DUnsafeUtil.java143 boolean supported = false; in supportsUnsafeArrayOperations()
153 supported = true; in supportsUnsafeArrayOperations()
158 return supported; in supportsUnsafeArrayOperations()
162 boolean supported = false; in supportsUnsafeByteBufferOperations()
172 supported = true; in supportsUnsafeByteBufferOperations()
177 return supported; in supportsUnsafeByteBufferOperations()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagRelocations.inc25 "relocation type `%0' is not supported for symbol `%1'\nPlease report to "
27 "relocation type `%0' is not supported for symbol `%1'\nPlease report to "
64 "supported yet",
66 "supported yet")
69 "applying relocation `%0' for .debug_str is not supported. "
71 "applying relocation `%0' for .debug_str is not supported. "
DDiagLayouts.inc3 "Exception handling has not been fully supported yet.\nsection `%0'.",
4 "Exception handling has not been fully supported yet.\nsection `%0'.")
7 "Symbolic versioning has not been fully supported yet.\nsection `%0'.",
8 "Symbolic versioning has not been fully supported yet.\nsection `%0'")
/frameworks/base/services/core/java/com/android/server/hdmi/
DDetectTvSystemAudioModeSupportAction.java85 private void finishAction(boolean supported) { in finishAction() argument
86 mCallback.onResult(supported); in finishAction()
87 audioSystem().setTvSystemAudioModeSupport(supported); in finishAction()
/frameworks/minikin/libs/minikin/
DLocale.cpp448 int Locale::calcScoreFor(const LocaleList& supported) const { in calcScoreFor()
453 for (size_t i = 0; i < supported.size(); ++i) { in calcScoreFor()
454 if (mEmojiStyle != EmojiStyle::EMPTY && mEmojiStyle == supported[i].mEmojiStyle) { in calcScoreFor()
456 if (mLanguage == supported[i].mLanguage) { in calcScoreFor()
460 if (isEqualScript(supported[i]) || in calcScoreFor()
461 supportsScript(supported[i].mSubScriptBits, mSubScriptBits)) { in calcScoreFor()
463 if (mLanguage == supported[i].mLanguage) { in calcScoreFor()
469 if (supportsScript(supported.getUnionOfSubScriptBits(), mSubScriptBits)) { in calcScoreFor()
471 if (mLanguage == supported[0].mLanguage && supported.isAllTheSameLocale()) { in calcScoreFor()
/frameworks/native/libs/nativewindow/
DANativeWindow.cpp37 bool supported = false; in isDataSpaceValid() local
46 native_window_get_wide_color_support(window, &supported); in isDataSpaceValid()
47 return supported; in isDataSpaceValid()
50 native_window_get_hdr_support(window, &supported); in isDataSpaceValid()
51 return supported; in isDataSpaceValid()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp184 audio_channel_mask_t supported = mChannelMasks[i]; in checkCompatibleChannelMask() local
185 if (supported == channelMask) { in checkCompatibleChannelMask()
192 if (isRecordThread && supported != AUDIO_CHANNEL_NONE) { in checkCompatibleChannelMask()
211 const bool isSupportedIndex = (audio_channel_mask_get_representation(supported) in checkCompatibleChannelMask()
213 const uint32_t supportedChannelCount = audio_channel_count_from_in_mask(supported); in checkCompatibleChannelMask()
219 & audio_channel_mask_get_bits(supported)); in checkCompatibleChannelMask()
230 equivalentBits & audio_channel_mask_get_bits(supported)); in checkCompatibleChannelMask()
235 & audio_channel_mask_get_bits(supported)); in checkCompatibleChannelMask()
236 switch (supported) { in checkCompatibleChannelMask()
255 updatedChannelMask = supported; in checkCompatibleChannelMask()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DLocaleUtils.java48 private static byte calculateMatchingSubScore(@NonNull final ULocale supported, in calculateMatchingSubScore() argument
51 if (supported.equals(desired)) { in calculateMatchingSubScore()
57 final String supportedScript = supported.getScript(); in calculateMatchingSubScore()
63 final String supportedCountry = supported.getCountry(); in calculateMatchingSubScore()
/frameworks/compile/mclinker/include/mcld/Config/
DLinkers.def.cmake10 // This file enumerates all of the linkers supported by this build of MCLinker.
16 // The set of targets supported by MCLD is generated at configuration
DTargets.def.in10 |* This file enumerates all of the target architectures supported by *|
16 |* The set of targets supported by MCLD is generated at configuration *|
DTargets.def.cmake10 |* This file enumerates all of the target architectures supported by *|
16 |* The set of targets supported by MCLD is generated at configuration *|
DLinkers.def.in10 // This file enumerates all of the linkers supported by this build of MCLinker.
16 // The set of targets supported by MCLD is generated at configuration
DLinkers.def10 // This file enumerates all of the linkers supported by this build of MCLinker.
16 // The set of targets supported by MCLD is generated at configuration
/frameworks/wilhelm/src/itf/
DIBassBoost.cpp158 int32_t supported = 0; in IBassBoost_IsStrengthSupported()
165 &supported); in IBassBoost_IsStrengthSupported()
169 *pSupported = (SLboolean) (supported != 0); in IBassBoost_IsStrengthSupported()
DIVirtualizer.cpp160 int32_t supported = 0; in IVirtualizer_IsStrengthSupported()
167 VIRTUALIZER_PARAM_STRENGTH_SUPPORTED, &supported); in IVirtualizer_IsStrengthSupported()
171 *pSupported = (SLboolean) (supported != 0); in IVirtualizer_IsStrengthSupported()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationModeController.java316 final Boolean supported = isGestureNavSupportedByDefaultLauncher(mCurrentUserContext); in switchFromGestureNavModeIfNotSupportedByDefaultLauncher() local
317 if (supported == null || supported) { in switchFromGestureNavModeIfNotSupportedByDefaultLauncher()
341 final Boolean supported = isGestureNavSupportedByDefaultLauncher(mCurrentUserContext); in showNotificationIfDefaultLauncherSupportsGestureNav() local
342 if (supported == null || !supported) { in showNotificationIfDefaultLauncherSupportsGestureNav()
/frameworks/base/core/java/android/os/
DLocaleList.java337 private static int matchScore(Locale supported, Locale desired) { in matchScore() argument
338 if (supported.equals(desired)) { in matchScore()
341 if (!supported.getLanguage().equals(desired.getLanguage())) { in matchScore()
344 if (isPseudoLocale(supported) || isPseudoLocale(desired)) { in matchScore()
349 final String supportedScr = getLikelyScript(supported); in matchScore()
354 final String supportedRegion = supported.getCountry(); in matchScore()
/frameworks/ml/nn/runtime/
DVersionedInterfaces.cpp492 hidl_vec<bool> supported(model.operations.size()); in getSupportedOperations() local
493 std::fill(supported.begin(), supported.end(), false); in getSupportedOperations()
494 return std::make_pair(ErrorStatus::NONE, std::move(supported)); in getSupportedOperations()
501 const hidl_vec<bool>& supported = result.second; in getSupportedOperations() local
504 for (size_t i = 0; i < supported.size(); ++i) { in getSupportedOperations()
505 if (supported[i]) { in getSupportedOperations()
517 model, [&result](ErrorStatus error, const hidl_vec<bool>& supported) { in getSupportedOperations() argument
518 result = std::make_pair(error, supported); in getSupportedOperations()
548 [&result](ErrorStatus error, const hidl_vec<bool>& supported) { in getSupportedOperations() argument
549 result = std::make_pair(error, supported); in getSupportedOperations()
[all …]

123456