Home
last modified time | relevance | path

Searched refs:getEventType (Results 1 – 25 of 109) sorted by relevance

12345

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapperTest.java44 assertEquals("Expected START_TAG", START_TAG, parser.getEventType()); in testDataBindingLayout()
56 assertNotSame("Unexpected end of document", END_DOCUMENT, parser.getEventType()); in testDataBindingLayout()
69 assertEquals("Expected START_TAG", START_TAG, parser.getEventType()); in testNonDataBindingLayout()
81 assertNotSame("Unexpected end of document", END_DOCUMENT, parser.getEventType()); in testNonDataBindingLayout()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java112 final int eventType = getItem(position).getEventType(); in getItemViewType()
127 if (event.getEventType() == UsageEvents.Event.CONFIGURATION_CHANGE) { in getView()
147 holder.state.setText(eventToString(event.getEventType())); in getView()
151 event.getEventType() == UsageEvents.Event.CONFIGURATION_CHANGE) { in getView()
/frameworks/base/graphics/java/android/graphics/
DFontListParser.java68 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamilies()
92 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFamily()
127 if (parser.getEventType() == XmlPullParser.TEXT) { in readFont()
130 if (parser.getEventType() != XmlPullParser.START_TAG) continue; in readFont()
/frameworks/base/tests/AccessibilityEventsLogger/src/com/android/tests/accessibilityeventlogger/
DAELogger.java49 final String eventType = AccessibilityEvent.eventTypeToString(event.getEventType()); in onAccessibilityEvent()
61 if (0 != (TOAST_EVENT_TYPES & event.getEventType())) { in onAccessibilityEvent()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DStackOverflowXmlParser.java54 if (parser.getEventType() != XmlPullParser.START_TAG) { in readFeed()
91 if (parser.getEventType() != XmlPullParser.START_TAG) { in readEntry()
154 if (parser.getEventType() != XmlPullParser.START_TAG) { in skip()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotDeserializer.java95 if (parser.getEventType() != XmlPullParser.START_TAG) { in deserializeInternal()
164 if (parser.getEventType() != XmlPullParser.START_TAG) { in readWrappedApplicationKeys()
178 if (parser.getEventType() != XmlPullParser.START_TAG) { in readWrappedApplicationKey()
218 if (parser.getEventType() != XmlPullParser.START_TAG) { in readKeyChainProtectionParamsList()
234 if (parser.getEventType() != XmlPullParser.START_TAG) { in readKeyChainProtectionParams()
281 if (parser.getEventType() != XmlPullParser.START_TAG) { in readKeyDerivationParams()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationSession.java147 if (event.getEventType() != SelectionEvent.EVENT_SELECTION_STARTED in sanitizeEvent()
154 switch (event.getEventType()) { in sanitizeEvent()
215 switch (event.getEventType()) { in modifyAutoSelectionEventType()
/frameworks/base/services/core/java/com/android/server/slice/
DSlicePermissionManager.java180 while (parser.parser.getEventType() != XmlPullParser.END_DOCUMENT) { in writeBackup()
181 if (parser.parser.getEventType() == XmlPullParser.START_TAG) { in writeBackup()
205 while ((parser.getEventType() != XmlPullParser.START_TAG in readRestore()
207 && parser.getEventType() != XmlPullParser.END_DOCUMENT) { in readRestore()
215 while (parser.getEventType() != XmlPullParser.END_DOCUMENT) { in readRestore()
216 if (parser.getEventType() == XmlPullParser.START_TAG) { in readRestore()
DSliceProviderPermissions.java103 while (parser.getEventType() != XmlPullParser.START_TAG in createFrom()
113 if (parser.getEventType() == XmlPullParser.START_TAG in createFrom()
183 if (parser.getEventType() == XmlPullParser.START_TAG in readFrom()
DSliceClientPermissions.java161 while (parser.getEventType() != XmlPullParser.START_TAG in createFrom()
176 if (parser.getEventType() == XmlPullParser.START_TAG in createFrom()
299 if (parser.getEventType() == XmlPullParser.START_TAG in readFrom()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener_test.cpp466 ASSERT_THAT(tree.getEventType(), Ne(android::ResXMLTree::BAD_DOCUMENT)); in TEST_F()
467 ASSERT_THAT(tree.getEventType(), Ne(android::ResXMLTree::END_DOCUMENT)); in TEST_F()
489 ASSERT_THAT(tree.getEventType(), Ne(android::ResXMLTree::BAD_DOCUMENT)); in TEST_F()
490 ASSERT_THAT(tree.getEventType(), Ne(android::ResXMLTree::END_DOCUMENT)); in TEST_F()
510 ASSERT_THAT(tree.getEventType(), Ne(android::ResXMLTree::BAD_DOCUMENT)); in TEST_F()
511 ASSERT_THAT(tree.getEventType(), Ne(android::ResXMLTree::END_DOCUMENT)); in TEST_F()
530 ASSERT_THAT(tree.getEventType(), Ne(android::ResXMLTree::BAD_DOCUMENT)); in TEST_F()
531 ASSERT_THAT(tree.getEventType(), Ne(android::ResXMLTree::END_DOCUMENT)); in TEST_F()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java108 mEventType = mDelegate.getEventType(); in peekNext()
154 public int getEventType() throws XmlPullParserException { in getEventType() method in LayoutParserWrapper
155 return mPeeked ? mEventType : mDelegate.getEventType(); in getEventType()
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java828 int eventType = parser.getEventType(); in readThisMapXml()
857 int eventType = parser.getEventType(); in readThisArrayMapXml()
914 int eventType = parser.getEventType(); in readThisListXml()
979 int eventType = parser.getEventType(); in readThisSetXml()
1032 int eventType = parser.getEventType(); in readThisByteArrayXml()
1092 int eventType = parser.getEventType(); in readThisIntArrayXml()
1159 int eventType = parser.getEventType(); in readThisLongArrayXml()
1219 int eventType = parser.getEventType(); in readThisDoubleArrayXml()
1279 int eventType = parser.getEventType(); in readThisStringArrayXml()
1339 int eventType = parser.getEventType(); in readThisBooleanArrayXml()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSELinuxMMAC.java154 if (parser.getEventType() != XmlPullParser.START_TAG) { in readInstallPolicy()
235 if (parser.getEventType() != XmlPullParser.START_TAG) { in readSignerOrThrow()
278 if (parser.getEventType() != XmlPullParser.START_TAG) { in readPackageOrThrow()
306 if (p.getEventType() != XmlPullParser.START_TAG) { in skip()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java80 if ((t.getEventType() & mMask) != 0) { in accept()
106 if ((t.getEventType() & mMask) != 0) { in accept()
129 if ((t.getEventType() & mMask) != 0) { in accept()
131 mMask &= ~t.getEventType(); in accept()
401 if (event.getEventType() == type)
/frameworks/base/location/lib/java/com/android/location/provider/
DActivityRecognitionEvent.java38 public int getEventType() { in getEventType() method in ActivityRecognitionEvent
/frameworks/base/core/java/android/hardware/location/
DContextHubIntentEvent.java143 public int getEventType() { in getEventType() method in ContextHubIntentEvent
223 if (other.getEventType() == mEventType in equals()
DActivityRecognitionEvent.java42 public int getEventType() { in getEventType() method in ActivityRecognitionEvent
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java160 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in readTimezonesToDisplay()
161 while (xrp.getEventType() != XmlResourceParser.START_TAG) { in readTimezonesToDisplay()
162 if (xrp.getEventType() == XmlResourceParser.END_DOCUMENT) { in readTimezonesToDisplay()
171 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in readTimezonesToDisplay()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParser.java204 public int getEventType() { in getEventType() method in BridgeXmlBlockParser
353 if (type != getEventType() in require()
362 if (getEventType() != START_TAG) { in nextText()
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteXmlPullParserAdapter.java205 public int getEventType() throws XmlPullParserException, RemoteException { in getEventType() method in RemoteXmlPullParserAdapter
206 return mDelegate.getEventType(); in getEventType()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DVendorConfig.java188 if (parser.getEventType() != XmlPullParser.START_TAG) { in readTagList()
264 if (parser.getEventType() != XmlPullParser.START_TAG) { in readVendorConfig()
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteXmlPullParserAdapter.java320 public int getEventType() throws XmlPullParserException { in getEventType() method in RemoteXmlPullParserAdapter
322 return mDelegate.getEventType(); in getEventType()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiUtils.java475 if (parser.getEventType() != XmlPullParser.START_TAG) { in skip()
497 if (parser.getEventType() != XmlPullParser.START_TAG) { in readDevices()
528 if (parser.getEventType() != XmlPullParser.START_TAG) { in readDeviceConfig()
/frameworks/base/core/java/android/content/res/
DXmlBlock.java167 public int getEventType() throws XmlPullParserException { in getEventType() method in XmlBlock.Parser
287 if (type != getEventType() in require()
293 if(getEventType() != START_TAG) { in nextText()

12345