/frameworks/base/media/java/android/media/ |
D | MediaSyncEvent.java | 55 public static MediaSyncEvent createEvent(int eventType) in createEvent() argument 57 if (!isValidType(eventType)) { in createEvent() 58 throw (new IllegalArgumentException(eventType in createEvent() 61 return new MediaSyncEvent(eventType); in createEvent() 68 private MediaSyncEvent(int eventType) { in MediaSyncEvent() argument 69 mType = eventType; in MediaSyncEvent()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | XmlUtils.java | 822 int eventType = parser.getEventType(); in readThisMapXml() local 824 if (eventType == parser.START_TAG) { in readThisMapXml() 827 } else if (eventType == parser.END_TAG) { in readThisMapXml() 834 eventType = parser.next(); in readThisMapXml() 835 } while (eventType != parser.END_DOCUMENT); in readThisMapXml() 879 int eventType = parser.getEventType(); in readThisListXml() local 881 if (eventType == parser.START_TAG) { in readThisListXml() 885 } else if (eventType == parser.END_TAG) { in readThisListXml() 892 eventType = parser.next(); in readThisListXml() 893 } while (eventType != parser.END_DOCUMENT); in readThisListXml() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeXmlBlockParser.java | 321 public static String eventTypeToString(int eventType) { in eventTypeToString() argument 322 switch (eventType) { in eventTypeToString() 367 int eventType = next(); in nextText() local 368 if (eventType == TEXT) { in nextText() 370 eventType = next(); in nextText() 371 if (eventType != END_TAG) { in nextText() 378 } else if (eventType == END_TAG) { in nextText() 389 int eventType = next(); in nextTag() local 390 if (eventType == TEXT && isWhitespace()) { // skip whitespace in nextTag() 391 eventType = next(); in nextTag() [all …]
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | SimpleInflater.java | 65 int eventType = parser.getEventType(); in parseMenu() local 72 if (eventType == XmlPullParser.START_TAG) { in parseMenu() 76 eventType = parser.next(); in parseMenu() 82 eventType = parser.next(); in parseMenu() 83 } while (eventType != XmlPullParser.END_DOCUMENT); in parseMenu() 87 switch (eventType) { in parseMenu() 119 eventType = parser.next(); in parseMenu()
|
/frameworks/base/core/java/android/hardware/location/ |
D | ActivityRecognitionEvent.java | 32 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { in ActivityRecognitionEvent() argument 34 mEventType = eventType; in ActivityRecognitionEvent() 55 int eventType = source.readInt(); 58 return new ActivityRecognitionEvent(activity, eventType, timestampNs);
|
D | ActivityRecognitionHardware.java | 101 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) { in enableActivityEvent() argument 109 int result = nativeEnableActivityEvent(activityType, eventType, reportLatencyNs); in enableActivityEvent() 114 public boolean disableActivityEvent(String activity, int eventType) { in disableActivityEvent() argument 122 int result = nativeDisableActivityEvent(activityType, eventType); in disableActivityEvent() 222 int eventType, in nativeEnableActivityEvent() argument 224 private native int nativeDisableActivityEvent(int activityType, int eventType); in nativeDisableActivityEvent() argument
|
D | IActivityRecognitionHardware.aidl | 51 boolean enableActivityEvent(in String activityType, int eventType, long reportLatencyNs); in enableActivityEvent() argument 56 boolean disableActivityEvent(in String activityType, int eventType); in disableActivityEvent() argument
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
D | BluetoothPbapVcardListing.java | 45 int eventType = parser.getEventType(); in parse() local 47 while (eventType != XmlPullParser.END_DOCUMENT) { in parse() 49 if (eventType == XmlPullParser.START_TAG && parser.getName().equals("card")) { in parse() 56 eventType = parser.next(); in parse()
|
/frameworks/av/media/libmedia/ |
D | IDrmClient.cpp | 43 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) in notify() argument 47 data.writeInt32((int)eventType); in notify() 66 int eventType = data.readInt32(); in onTransact() local 73 notify((DrmPlugin::EventType)eventType, extra, &obj); in onTransact()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 70 void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType) { in android_server_PowerManagerService_userActivity() argument 80 if (eventType >= 0 && eventType <= USER_ACTIVITY_EVENT_LAST) { in android_server_PowerManagerService_userActivity() 86 if (gLastEventTime[eventType] + MIN_TIME_BETWEEN_USERACTIVITIES > eventTime) { in android_server_PowerManagerService_userActivity() 89 gLastEventTime[eventType] = eventTime; in android_server_PowerManagerService_userActivity() 96 nanoseconds_to_milliseconds(eventTime), eventType, 0); in android_server_PowerManagerService_userActivity()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 455 int eventType = parser.getEventType(); in readJobMapImpl() local 456 while (eventType != XmlPullParser.START_TAG && in readJobMapImpl() 457 eventType != XmlPullParser.END_DOCUMENT) { in readJobMapImpl() 458 eventType = parser.next(); in readJobMapImpl() 461 if (eventType == XmlPullParser.END_DOCUMENT) { in readJobMapImpl() 482 eventType = parser.next(); in readJobMapImpl() 485 if (eventType == XmlPullParser.START_TAG) { in readJobMapImpl() 500 eventType = parser.next(); in readJobMapImpl() 501 } while (eventType != XmlPullParser.END_DOCUMENT); in readJobMapImpl() 527 int eventType; in restoreJobFromXml() local [all …]
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | AccessibilityDelegateCompat.java | 46 public void sendAccessibilityEvent(Object delegate, View host, int eventType); in sendAccessibilityEvent() argument 96 public void sendAccessibilityEvent(Object delegate, View host, int eventType) { in sendAccessibilityEvent() argument 158 public void sendAccessibilityEvent(View host, int eventType) { in newAccessiblityDelegateBridge() argument 159 compat.sendAccessibilityEvent(host, eventType); in newAccessiblityDelegateBridge() 203 public void sendAccessibilityEvent(Object delegate, View host, int eventType) { in sendAccessibilityEvent() argument 204 AccessibilityDelegateCompatIcs.sendAccessibilityEvent(delegate, host, eventType); in sendAccessibilityEvent() 249 public void sendAccessibilityEvent(View host, int eventType) { 250 compat.sendAccessibilityEvent(host, eventType); 335 public void sendAccessibilityEvent(View host, int eventType) { 336 IMPL.sendAccessibilityEvent(DEFAULT_DELEGATE, host, eventType);
|
/frameworks/support/v4/ics/android/support/v4/view/ |
D | AccessibilityDelegateCompatIcs.java | 37 public void sendAccessibilityEvent(View host, int eventType); in sendAccessibilityEvent() argument 74 public void sendAccessibilityEvent(View host, int eventType) { in newAccessibilityDelegateBridge() argument 75 bridge.sendAccessibilityEvent(host, eventType); in newAccessibilityDelegateBridge() 111 public static void sendAccessibilityEvent(Object delegate, View host, int eventType) { 112 ((AccessibilityDelegate) delegate).sendAccessibilityEvent(host, eventType);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ExploreByTouchHelper.java | 172 public boolean sendEventForVirtualView(int virtualViewId, int eventType) { in sendEventForVirtualView() argument 182 final AccessibilityEvent event = createEvent(virtualViewId, eventType); in sendEventForVirtualView() 254 private AccessibilityEvent createEvent(int virtualViewId, int eventType) { in createEvent() argument 257 return createEventForHost(eventType); in createEvent() 259 return createEventForChild(virtualViewId, eventType); in createEvent() 270 private AccessibilityEvent createEventForHost(int eventType) { in createEventForHost() argument 271 final AccessibilityEvent event = AccessibilityEvent.obtain(eventType); in createEventForHost() 286 private AccessibilityEvent createEventForChild(int virtualViewId, int eventType) { in createEventForChild() argument 287 final AccessibilityEvent event = AccessibilityEvent.obtain(eventType); in createEventForChild()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 176 public boolean sendEventForVirtualView(int virtualViewId, int eventType) { in sendEventForVirtualView() argument 186 final AccessibilityEvent event = createEvent(virtualViewId, eventType); in sendEventForVirtualView() 256 private AccessibilityEvent createEvent(int virtualViewId, int eventType) { in createEvent() argument 259 return createEventForHost(eventType); in createEvent() 261 return createEventForChild(virtualViewId, eventType); in createEvent() 272 private AccessibilityEvent createEventForHost(int eventType) { in createEventForHost() argument 273 final AccessibilityEvent event = AccessibilityEvent.obtain(eventType); in createEventForHost() 288 private AccessibilityEvent createEventForChild(int virtualViewId, int eventType) { in createEventForChild() argument 289 final AccessibilityEvent event = AccessibilityEvent.obtain(eventType); in createEventForChild()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | IntervalStats.java | 84 void update(String packageName, long timeStamp, int eventType) { in update() argument 89 if (eventType == UsageEvents.Event.MOVE_TO_BACKGROUND || in update() 90 eventType == UsageEvents.Event.END_OF_DAY) { in update() 96 usageStats.mLastEvent = eventType; in update() 100 if (eventType == UsageEvents.Event.MOVE_TO_FOREGROUND) { in update()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ActivityRecognitionProvider.java | 90 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) in enableActivityEvent() argument 92 return mService.enableActivityEvent(activity, eventType, reportLatencyNs); in enableActivityEvent() 95 public boolean disableActivityEvent(String activity, int eventType) throws RemoteException { in disableActivityEvent() argument 96 return mService.disableActivityEvent(activity, eventType); in disableActivityEvent()
|
D | ActivityRecognitionEvent.java | 27 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { in ActivityRecognitionEvent() argument 29 mEventType = eventType; in ActivityRecognitionEvent()
|
/frameworks/base/core/java/android/content/res/ |
D | XmlBlock.java | 279 int eventType = next(); in nextText() local 280 if(eventType == TEXT) { in nextText() 282 eventType = next(); in nextText() 283 if(eventType != END_TAG) { in nextText() 289 } else if(eventType == END_TAG) { in nextText() 298 int eventType = next(); in nextTag() local 299 if(eventType == TEXT && isWhitespace()) { // skip whitespace in nextTag() 300 eventType = next(); in nextTag() 302 if (eventType != START_TAG && eventType != END_TAG) { in nextTag() 307 return eventType; in nextTag()
|
/frameworks/base/core/java/android/nfc/cardemulation/ |
D | AidGroup.java | 137 int eventType = parser.getEventType(); in createFromXml() local 139 while (eventType != XmlPullParser.END_DOCUMENT && parser.getDepth() >= minDepth) { in createFromXml() 141 if (eventType == XmlPullParser.START_TAG) { in createFromXml() 161 } else if (eventType == XmlPullParser.END_TAG) { in createFromXml() 167 eventType = parser.next(); in createFromXml()
|
D | ApduServiceInfo.java | 131 int eventType = parser.getEventType(); in ApduServiceInfo() local 132 … while (eventType != XmlPullParser.START_TAG && eventType != XmlPullParser.END_DOCUMENT) { in ApduServiceInfo() 133 eventType = parser.next(); in ApduServiceInfo() 179 … while (((eventType = parser.next()) != XmlPullParser.END_TAG || parser.getDepth() > depth) in ApduServiceInfo() 180 && eventType != XmlPullParser.END_DOCUMENT) { in ApduServiceInfo() 182 if (eventType == XmlPullParser.START_TAG && "aid-group".equals(tagName) && in ApduServiceInfo() 205 } else if (eventType == XmlPullParser.END_TAG && "aid-group".equals(tagName) && in ApduServiceInfo() 215 } else if (eventType == XmlPullParser.START_TAG && "aid-filter".equals(tagName) && in ApduServiceInfo() 227 } else if (eventType == XmlPullParser.START_TAG && in ApduServiceInfo()
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageLogActivity.java | 113 final int eventType = getItem(position).getEventType(); in getItemViewType() local 114 if (eventType == UsageEvents.Event.CONFIGURATION_CHANGE) { in getItemViewType() 158 private String eventToString(int eventType) { in eventToString() argument 159 switch (eventType) { in eventToString() 170 return "Unknown: " + eventType; in eventToString()
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
D | ExpatPerformanceTest.java | 104 int eventType = pullParser.next(); in withPullParser() local 105 while (eventType != XmlPullParser.END_DOCUMENT) { in withPullParser() 106 switch (eventType) { in withPullParser() 122 eventType = pullParser.next(); in withPullParser()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CompatModePackages.java | 88 int eventType = parser.getEventType(); in CompatModePackages() local 89 while (eventType != XmlPullParser.START_TAG && in CompatModePackages() 90 eventType != XmlPullParser.END_DOCUMENT) { in CompatModePackages() 91 eventType = parser.next(); in CompatModePackages() 93 if (eventType == XmlPullParser.END_DOCUMENT) { in CompatModePackages() 99 eventType = parser.next(); in CompatModePackages() 101 if (eventType == XmlPullParser.START_TAG) { in CompatModePackages() 120 eventType = parser.next(); in CompatModePackages() 121 } while (eventType != XmlPullParser.END_DOCUMENT); in CompatModePackages()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | ObscureSpeechDelegate.java | 49 public void sendAccessibilityEvent(View host, int eventType) { in sendAccessibilityEvent() argument 50 super.sendAccessibilityEvent(host, eventType); in sendAccessibilityEvent() 54 if ((eventType == AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED) in sendAccessibilityEvent()
|