Home
last modified time | relevance | path

Searched refs:EMPTY (Results 1 – 25 of 144) sorted by relevance

123456

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DRopeByteStringTest.java77 ByteString concatenated = ByteString.EMPTY; in testBalance()
103 ByteString unicode = ByteString.EMPTY; in testToString()
129 ByteString unicode = ByteString.EMPTY; in testCharsetToString()
150 RopeByteString.newInstanceForTest(ByteString.EMPTY, ByteString.EMPTY); in testToString_returnsCanonicalEmptyString()
152 ByteString.EMPTY.toString(Internal.UTF_8), ropeByteString.toString(Internal.UTF_8)); in testToString_returnsCanonicalEmptyString()
159 RopeByteString.newInstanceForTest(ByteString.EMPTY, ByteString.EMPTY); in testToString_raisesException()
DNioByteStringTest.java56 private static final ByteString EMPTY = new NioByteString(ByteBuffer.wrap(new byte[0])); field in NioByteStringTest
419 EMPTY, output.toByteString()); in testNewOutput()
438 EMPTY.toString(UTF_8), in testToString_returnsCanonicalEmptyString()
444 EMPTY.toString("invalid"); in testToString_raisesException()
462 testString.equals(EMPTY)); in testEquals()
464 EMPTY, testString.substring(55, 55)); in testEquals()
480 testString.equals(ByteString.EMPTY)); in testEqualsLiteralByteString()
482 ByteString.EMPTY, testString.substring(55, 55)); in testEqualsLiteralByteString()
501 testString.equals(ByteString.EMPTY.concat(ByteString.EMPTY))); in testEqualsRopeByteString()
503 ByteString.EMPTY.concat(ByteString.EMPTY), testString.substring(55, 55)); in testEqualsRopeByteString()
[all …]
DTextFormatParseLocationTest.java42 assertEquals(TextFormatParseLocation.EMPTY, location); in testCreateEmpty()
72 TextFormatParseLocation.EMPTY.hashCode(), TextFormatParseLocation.EMPTY.hashCode()); in testHashCode()
DIsValidUtf8Test.java152 RopeByteString.newInstanceForTest(ByteString.EMPTY, leaf), in assertValidUtf8()
153 RopeByteString.newInstanceForTest(ByteString.EMPTY, sub), in assertValidUtf8()
154 RopeByteString.newInstanceForTest(leaf, ByteString.EMPTY), in assertValidUtf8()
155 RopeByteString.newInstanceForTest(sub, ByteString.EMPTY), in assertValidUtf8()
DByteStringTest.java179 + "byte string", ByteString.EMPTY, byteString); in testReadFrom_emptyStream()
501 assertEquals(ByteString.EMPTY, byteString); in testNewOutputEmpty()
621 RopeByteString.newInstanceForTest(literalString, ByteString.EMPTY), in testConcat_empty()
622 RopeByteString.newInstanceForTest(ByteString.EMPTY, literalString)); in testConcat_empty()
623 ByteString quintet = RopeByteString.newInstanceForTest(temp, ByteString.EMPTY); in testConcat_empty()
672 assertTrue(string.startsWith(ByteString.EMPTY)); in testStartsWith()
678 assertFalse(ByteString.EMPTY.startsWith(prefix)); in testStartsWith()
679 assertTrue(ByteString.EMPTY.startsWith(ByteString.EMPTY)); in testStartsWith()
687 assertTrue(string.endsWith(ByteString.EMPTY)); in testEndsWith()
693 assertFalse(ByteString.EMPTY.endsWith(suffix)); in testEndsWith()
[all …]
/frameworks/minikin/libs/minikin/
DLocale.h42 EMPTY = 0b00000000, enumerator
60 EMPTY = 0, // No emoji style is specified. enumerator
68 EMPTY = 0, // No line break style is specified. enumerator
92 mEmojiStyle(EmojiStyle::EMPTY), in Locale()
93 mLBStyle(LineBreakStyle::EMPTY) {} in Locale()
110 inline bool hasLBStyle() const { return mLBStyle != LineBreakStyle::EMPTY; } in hasLBStyle()
111 inline bool hasEmojiStyle() const { return mEmojiStyle != EmojiStyle::EMPTY; } in hasEmojiStyle()
202 mEmojiStyle(EmojiStyle::EMPTY) {} in LocaleList()
DLocale.cpp213 if (mEmojiStyle == EmojiStyle::EMPTY) { in Locale()
250 return LineBreakStyle::EMPTY; in resolveLineBreakStyle()
274 return EmojiStyle::EMPTY; in resolveEmojiStyle()
284 return EmojiStyle::EMPTY; in scriptToEmojiStyle()
370 if (mLBStyle != LineBreakStyle::EMPTY) { in getString()
410 if ((bits & SubtagBits::LANGUAGE) != SubtagBits::EMPTY) { in getPartialLocale()
415 if ((bits & SubtagBits::SCRIPT) != SubtagBits::EMPTY) { in getPartialLocale()
419 if ((bits & SubtagBits::REGION) != SubtagBits::EMPTY) { in getPartialLocale()
422 if ((bits & SubtagBits::VARIANT) != SubtagBits::EMPTY) { in getPartialLocale()
425 if ((bits & SubtagBits::EMOJI) != SubtagBits::EMPTY) { in getPartialLocale()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DConfigurationContainerTests.java29 import static android.content.res.Configuration.EMPTY;
59 assertEquals(EMPTY, root.getRequestedOverrideConfiguration()); in testConfigurationInit()
60 assertEquals(EMPTY, root.getMergedOverrideConfiguration()); in testConfigurationInit()
61 assertEquals(EMPTY, root.getConfiguration()); in testConfigurationInit()
65 assertEquals(EMPTY, child1.getRequestedOverrideConfiguration()); in testConfigurationInit()
66 assertEquals(EMPTY, child1.getMergedOverrideConfiguration()); in testConfigurationInit()
67 assertEquals(EMPTY, child1.getConfiguration()); in testConfigurationInit()
74 assertEquals(EMPTY, child2.getRequestedOverrideConfiguration()); in testConfigurationInit()
87 assertEquals(EMPTY, child3.getRequestedOverrideConfiguration()); in testConfigurationInit()
283 container.onRequestedOverrideConfigurationChanged(EMPTY); in testRegisterConfigurationChangeListener()
[all …]
DWindowContainerControllerTests.java20 import static android.content.res.Configuration.EMPTY;
94 assertEquals(EMPTY, container.getRequestedOverrideConfiguration()); in testOnOverrideConfigurationChanged()
106 controller.onRequestedOverrideConfigurationChanged(EMPTY); in testOnOverrideConfigurationChanged()
/frameworks/minikin/tests/unittest/
DAndroidLineBreakerHelperTest.cpp26 const std::vector<float> EMPTY; in TEST() local
29 EMPTY, 0); in TEST()
38 EMPTY, 0); in TEST()
/frameworks/base/core/java/android/net/
DProxyInfo.java101 mPacFileUrl = Uri.EMPTY; in ProxyInfo()
159 mPacFileUrl = Uri.EMPTY; in ProxyInfo()
178 mPacFileUrl = Uri.EMPTY; in ProxyInfo()
237 if (!Uri.EMPTY.equals(mPacFileUrl)) return true; in isValid()
261 if (!Uri.EMPTY.equals(mPacFileUrl)) { in toString()
285 if (!Uri.EMPTY.equals(mPacFileUrl)) { in equals()
288 if (!Uri.EMPTY.equals(p.mPacFileUrl)) { in equals()
326 if (!Uri.EMPTY.equals(mPacFileUrl)) { in writeToParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java130 UserRestrictionsUtils.sortToGlobalAndLocal(Bundle.EMPTY, false /* isDeviceOwner */, in testSortToGlobalAndLocal()
205 UserRestrictionsUtils.sortToGlobalAndLocal(Bundle.EMPTY, false, in testSortToLocalAndGlobalWithCameraDisabled()
211 UserRestrictionsUtils.sortToGlobalAndLocal(Bundle.EMPTY, false, in testSortToLocalAndGlobalWithCameraDisabled()
280 Bundle.EMPTY)); in testAreEqual()
283 Bundle.EMPTY, in testAreEqual()
287 Bundle.EMPTY, in testAreEqual()
288 Bundle.EMPTY)); in testAreEqual()
292 Bundle.EMPTY)); in testAreEqual()
/frameworks/base/core/java/android/app/role/
DRoleControllerService.java152 callback.sendResult(qualified ? Bundle.EMPTY : null); in onBind()
163 callback.sendResult(visible ? Bundle.EMPTY : null); in onBind()
170 callback.sendResult(successful ? Bundle.EMPTY : null);
176 callback.sendResult(successful ? Bundle.EMPTY : null);
182 callback.sendResult(successful ? Bundle.EMPTY : null);
188 callback.sendResult(successful ? Bundle.EMPTY : null);
/frameworks/base/core/java/android/view/
DDisplayAdjustments.java38 ? configuration : Configuration.EMPTY); in DisplayAdjustments()
44 ? daj.mConfiguration : Configuration.EMPTY); in DisplayAdjustments()
70 mConfiguration.setTo(configuration != null ? configuration : Configuration.EMPTY); in setConfiguration()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DLazyFieldLite.java179 return memoizedBytes == ByteString.EMPTY in containsDefaultInstance()
180 || value == null && (delayedBytes == null || delayedBytes == ByteString.EMPTY); in containsDefaultInstance()
410 memoizedBytes = ByteString.EMPTY; in toByteString()
438 this.memoizedBytes = ByteString.EMPTY; in ensureInitialized()
444 this.memoizedBytes = ByteString.EMPTY; in ensureInitialized()
DTextFormatParseLocation.java45 public static final TextFormatParseLocation EMPTY = new TextFormatParseLocation(-1, -1); field in TextFormatParseLocation
56 return EMPTY; in create()
/frameworks/base/core/java/android/os/
DPersistableBundle.java42 public static final PersistableBundle EMPTY; field in PersistableBundle
45 EMPTY = new PersistableBundle();
46 EMPTY.mMap = ArrayMap.EMPTY;
298 return EMPTY; in restoreFromXml()
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DDirectStatementService.java202 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
207 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
212 resultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in onStartCommand()
262 mResultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in call()
272 mResultReceiver.send(RESULT_FAIL, Bundle.EMPTY); in call()
/frameworks/native/libs/ui/include_vndk/ui/
DSize.h41 static const Size EMPTY; member
83 void clear() { set(EMPTY); } in clear()
93 bool isEmpty() const { return *this == EMPTY; } in isEmpty()
/frameworks/native/libs/ui/include/ui/
DSize.h41 static const Size EMPTY; member
83 void clear() { set(EMPTY); } in clear()
93 bool isEmpty() const { return *this == EMPTY; } in isEmpty()
/frameworks/base/drm/java/android/drm/
DDrmManagerClient.java414 if (null == uri || Uri.EMPTY == uri) { in getConstraints()
429 if (null == uri || Uri.EMPTY == uri) { in getMetadata()
500 if ((null == uri || Uri.EMPTY == uri) && (null == mimeType || mimeType.equals(""))) { in canHandle()
589 if ((null == uri || Uri.EMPTY == uri) && (null == mimeType || mimeType.equals(""))) { in getDrmObjectType()
645 if (null == uri || Uri.EMPTY == uri) { in getOriginalMimeType()
670 if (null == uri || Uri.EMPTY == uri) { in checkRightsStatus()
702 if (null == uri || Uri.EMPTY == uri) { in checkRightsStatus()
730 if (null == uri || Uri.EMPTY == uri) { in removeRights()
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceUtils.cpp383 case type_t::EMPTY: in operator C2ParamFieldValues()
422 _mType = _mValues.isEmpty() ? type_t::EMPTY : type_t::VALUES; in limitTo()
425 case type_t::EMPTY: in limitTo()
431 _mType = _mValues.isEmpty() ? type_t::EMPTY : type_t::VALUES; in limitTo()
438 _mType = _mValues.isEmpty() ? type_t::EMPTY : type_t::VALUES; in limitTo()
445 _mType = _mValues.isEmpty() ? type_t::EMPTY : type_t::VALUES; in limitTo()
463 _mType = _mFlags.isEmpty() ? type_t::EMPTY : type_t::FLAGS; in limitTo()
466 case type_t::EMPTY: in limitTo()
472 _mType = _mValues.isEmpty() ? type_t::EMPTY : type_t::VALUES; in limitTo()
480 _mType = _mFlags.isEmpty() ? type_t::EMPTY : type_t::FLAGS; in limitTo()
[all …]
/frameworks/base/core/java/android/view/textservice/
DSuggestionsInfo.java28 private static final String[] EMPTY = ArrayUtils.emptyArray(String.class); field in SuggestionsInfo
73 mSuggestions = EMPTY; in SuggestionsInfo()
/frameworks/base/services/core/java/com/android/server/connectivity/
DProxyTracker.java92 && Uri.EMPTY.equals(proxy.getPacFileUrl())) { in canonicalizeProxyInfo()
244 !Uri.EMPTY.equals(proxyInfo.getPacFileUrl()))) { in setGlobalProxy()
253 pacFileUrl = Uri.EMPTY.equals(proxyInfo.getPacFileUrl()) in setGlobalProxy()
297 && (!Uri.EMPTY.equals(proxyInfo.getPacFileUrl())) in setDefaultProxy()
/frameworks/ml/nn/runtime/
DExecutionPlan.h240 bool isValid() const { return mState != EMPTY && mBody != nullptr && mBody->mSuccessfulFinish; } in isValid()
251 enum class Kind { ERROR, EMPTY, SIMPLE, COMPOUND }; enumerator
308 enum { EMPTY, SIMPLE, COMPOUND } mState = EMPTY; enumerator

123456