Home
last modified time | relevance | path

Searched refs:hasData (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
DTableChangeTest.kt34 assertThat(underTest.hasData()).isTrue() in setString_isString()
45 assertThat(underTest.hasData()).isTrue() in setString_null()
56 assertThat(underTest.hasData()).isTrue() in setBoolean_isBoolean()
67 assertThat(underTest.hasData()).isTrue() in setInt_isInt()
78 assertThat(underTest.hasData()).isTrue() in setInt_null()
90 assertThat(underTest.hasData()).isFalse() in setThenReset_isEmpty()
118 assertThat(underTest.hasData()).isTrue() in resetThenSet_hasNewValue()
133 assertThat(underTest.hasData()).isTrue() in updateTo_emptyToString_isString()
147 assertThat(underTest.hasData()).isFalse() in updateTo_intToEmpty_isEmpty()
162 assertThat(underTest.hasData()).isTrue() in updateTo_stringToBool_isBool()
[all …]
/frameworks/compile/mclinker/lib/Core/
DInputTree.cpp54 return !pos.hasData() && !pos.isRoot(); in isGroup()
58 return !pos.hasData() && !pos.isRoot(); in isGroup()
62 return !pos.hasData() && !pos.isRoot(); in isGroup()
66 return !pos.hasData() && !pos.isRoot(); in isGroup()
70 return !pos.hasData() && !pos.isRoot(); in isGroup()
74 return !pos.hasData() && !pos.isRoot(); in isGroup()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DPacketBuilderTest.java332 private void checkIpv4Header(final int l4proto, final boolean hasData, in checkIpv4Header() argument
347 final int dataLength = hasData ? DATA.limit() : 0; in checkIpv4Header()
352 assertEquals(hasData ? (short) 0xe488 : (short) 0xe48c, ipv4Header.checksum); in checkIpv4Header()
357 assertEquals(hasData ? (short) 0xe489 : (short) 0xe48d, ipv4Header.checksum); in checkIpv4Header()
368 private void checkTcpv4Packet(final boolean hasEther, final boolean hasData, in checkTcpv4Packet() argument
373 checkIpv4Header(IPPROTO_TCP, hasData, actual); in checkTcpv4Packet()
383 assertEquals(hasData ? (short) 0x4844 : (short) 0xe5e5, tcpHeader.checksum); in checkTcpv4Packet()
386 if (hasData) { in checkTcpv4Packet()
398 private void checkUdpv4Packet(final boolean hasEther, final boolean hasData, in checkUdpv4Packet() argument
403 checkIpv4Header(IPPROTO_UDP, hasData, actual); in checkUdpv4Packet()
[all …]
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRendererObserver.cpp57 if (elem.hasData.load()) { in getNextBuffer()
61 elem.hasData = false; in getNextBuffer()
73 if (!elem.hasData.load()) { in notify()
79 elem.hasData = true; in notify()
Dandroid_graphics_HardwareRendererObserver.h56 std::atomic_bool hasData = false; variable
/frameworks/av/include/private/media/
DVideoFrame.h41 uint32_t angle, uint32_t bpp, uint32_t bitDepth, bool hasData, size_t iccSize): in VideoFrame() argument
50 if (hasData && (mRowBytes == 0 || mSize == 0)) { in VideoFrame()
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DMyAutofillService.java131 boolean hasData = false; in handleRequest()
133 hasData = true; in handleRequest()
139 hasData = true; in handleRequest()
144 if (hasData) { in handleRequest()
/frameworks/av/media/libstagefright/foundation/tests/
DMetaDataBaseUnitTest.cpp200 status = metaData->hasData(kKeyMIMEType); in TEST_F()
207 status = metaData->hasData(kKeyMIMEType); in TEST_F()
231 status = metaData->hasData(kKeyWidth); in TEST_F()
235 status = metaData->hasData(kKeyMIMEType); in TEST_F()
/frameworks/base/tools/aapt/
DPackage.cpp248 const bool hasData = file->hasData(); in processFile() local
291 if (!hasData) { in processFile()
325 } else if (!hasData) { in processFile()
DAaptAssets.h169 bool hasData() const { return mData != NULL; } in hasData() function
DAaptAssets.cpp509 if (hasData()) { in getPrintableSource()
566 if (file->hasData()) { in print()
/frameworks/base/core/java/android/content/
DUndoManager.java535 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in getLastOperation()
569 if (mergeMode != MERGE_MODE_NONE && !mMerged && !mWorking.hasData()) { in addOperation()
601 if (mWorking.hasData()) { in pushWorkingState()
637 if (mWorking != null && mWorking.hasData()) { in commitState()
913 boolean hasData() { in hasData() method in UndoManager.UndoState
915 if (mOperations.get(i).hasData()) { in hasData()
DUndoOperation.java80 public boolean hasData() { in hasData() method in UndoOperation
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/table/
DTableLogBuffer.kt180 if (tableChange.hasData()) { in obtain()
223 if (!this.hasData()) { in dump()
DTableChange.kt74 fun hasData(): Boolean { in hasData() method
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java289 return mConnectionUtil.hasData(); in setDeviceWifiAndAirplaneMode()
302 return mConnectionUtil.hasData(); in hasMobileData()
/frameworks/av/media/mtp/
DMtpDataPacket.h125 inline bool hasData() const { return mPacketSize > MTP_CONTAINER_HEADER_SIZE; } in hasData() function
/frameworks/compile/mclinker/include/mcld/ADT/
DBinTree.h128 bool hasData() const { in hasData() function
214 bool hasData() const { in hasData() function
/frameworks/opt/telephony/testing/src/com/android/internal/telephony/testing/
DCursorSubject.java128 public void hasData(Object[][] rows) { in hasData() method in CursorSubject
/frameworks/av/media/libstagefright/include/media/stagefright/
DMetaDataBase.h351 bool hasData(uint32_t key) const;
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl116 …void notePhoneDataConnectionState(int dataType, boolean hasData, int serviceType, int nrFrequency); in notePhoneDataConnectionState() argument
/frameworks/compile/mclinker/include/mcld/
DInputTree.h45 bool isGroup() const { return !Base::hasData() && !Base::isRoot(); } in isGroup()
/frameworks/av/media/libstagefright/foundation/
DMetaDataBase.cpp285 bool MetaDataBase::hasData(uint32_t key) const { in hasData() function in android::MetaDataBase
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java725 public boolean hasData() { in hasData() method in ConnectionUtil
/frameworks/base/core/java/android/os/
DBatteryStats.java1353 boolean hasData = false; in appendHex()
1357 if (!hasData && digit == 0) { in appendHex()
1360 hasData = true; in appendHex()
4176 boolean hasData = false; in printCellularPerRatBreakdown()
4236 hasData = true; in printCellularPerRatBreakdown()
4247 if (!hasData) { in printCellularPerRatBreakdown()
4721 boolean hasData = false; in dumpCheckinLocked()
4725 if (val != 0) hasData = true; in dumpCheckinLocked()
4727 if (hasData) { in dumpCheckinLocked()
6179 boolean hasData = false; in dumpLocked()
[all …]

12