Home
last modified time | relevance | path

Searched refs:mEvent (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyEventBuilder.java47 private final TelephonyEvent mEvent = new TelephonyEvent(); field in TelephonyEventBuilder
50 return mEvent; in build()
63 mEvent.timestampMillis = timestamp; in TelephonyEventBuilder()
64 mEvent.phoneId = phoneId; in TelephonyEventBuilder()
68 mEvent.type = TelephonyEvent.Type.SETTINGS_CHANGED; in setSettings()
69 mEvent.settings = settings; in setSettings()
74 mEvent.type = TelephonyEvent.Type.RIL_SERVICE_STATE_CHANGED; in setServiceState()
75 mEvent.serviceState = state; in setServiceState()
80 mEvent.type = TelephonyEvent.Type.IMS_CONNECTION_STATE_CHANGED; in setImsConnectionState()
81 mEvent.imsConnectionState = state; in setImsConnectionState()
[all …]
DCallSessionEventBuilder.java32 private final TelephonyCallSession.Event mEvent = new TelephonyCallSession.Event(); field in CallSessionEventBuilder
35 return mEvent; in build()
39 mEvent.type = type; in CallSessionEventBuilder()
43 mEvent.delay = delay; in setDelay()
48 mEvent.rilRequest = rilRequestType; in setRilRequest()
53 mEvent.rilRequestId = rilRequestId; in setRilRequestId()
58 mEvent.error = rilError; in setRilError()
63 mEvent.callIndex = callIndex; in setCallIndex()
68 mEvent.callState = state; in setCallState()
73 mEvent.srvccState = srvccState; in setSrvccState()
[all …]
DSmsSessionEventBuilder.java27 SmsSession.Event mEvent = new SmsSession.Event(); field in SmsSessionEventBuilder
30 return mEvent; in build()
34 mEvent.type = type; in SmsSessionEventBuilder()
38 mEvent.delay = delay; in setDelay()
43 mEvent.tech = tech; in setTech()
48 mEvent.errorCode = code; in setErrorCode()
53 mEvent.error = errno; in setRilErrno()
58 mEvent.imsError = errno; in setImsServiceErrno()
63 mEvent.settings = settings; in setSettings()
68 mEvent.serviceState = state; in setServiceState()
[all …]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java96 private Event mEvent; field in Event.Builder
99 mEvent = new Event(); in Builder()
103 mEvent.mId = id; in setId()
107 mEvent.mCommand = command; in setCommand()
111 mEvent.mName = name; in setName()
115 mEvent.mDescriptor = descriptor; in setDescriptor()
119 mEvent.mReport = report; in setReport()
123 mEvent.mFeatureReports = reports; in setFeatureReports()
127 mEvent.mVid = vid; in setVid()
131 mEvent.mPid = pid; in setPid()
[all …]
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccNotification.java69 @Event private final int mEvent; field in EuiccNotification
84 mEvent = event; in EuiccNotification()
101 return mEvent; in getEvent()
122 && mEvent == that.mEvent in equals()
131 result = 31 * result + mEvent; in hashCode()
144 + mEvent in toString()
159 dest.writeInt(mEvent); in writeToParcel()
166 mEvent = source.readInt(); in EuiccNotification()
/frameworks/base/core/java/android/app/admin/
DSecurityLog.java476 private Event mEvent; field in SecurityLog.SecurityEvent
500 mEvent = Event.fromBytes(data); in SecurityEvent()
507 return mEvent.getTimeNanos(); in getTimeNanos()
514 return mEvent.getTag(); in getTag()
521 return mEvent.getData(); in getData()
543 switch (mEvent.getTag()) { in getLogLevel()
605 dest.writeByteArray(mEvent.getBytes()); in writeToParcel()
629 return mEvent.equals(other.mEvent) && mId == other.mId; in equals()
637 return Objects.hash(mEvent, mId); in hashCode()
642 return other != null && mEvent.equals(other.mEvent); in eventEquals()
/frameworks/base/services/core/java/com/android/server/signedconfig/
DGlobalSettingsConfigApplicator.java70 private final SignedConfigEvent mEvent; field in GlobalSettingsConfigApplicator
76 mEvent = event; in GlobalSettingsConfigApplicator()
77 mVerifier = new SignatureVerifier(mEvent); in GlobalSettingsConfigApplicator()
85 mEvent.status = StatsLog.SIGNED_CONFIG_REPORTED__STATUS__SECURITY_EXCEPTION; in checkSignature()
116 mEvent.version = config.version; in applyConfig()
119 mEvent.status = StatsLog.SIGNED_CONFIG_REPORTED__STATUS__INVALID_CONFIG; in applyConfig()
126 mEvent.status = StatsLog.SIGNED_CONFIG_REPORTED__STATUS__OLD_CONFIG; in applyConfig()
136 mEvent.status = StatsLog.SIGNED_CONFIG_REPORTED__STATUS__NOT_APPLICABLE; in applyConfig()
142 mEvent.status = StatsLog.SIGNED_CONFIG_REPORTED__STATUS__APPLIED; in applyConfig()
DSignatureVerifier.java50 private final SignedConfigEvent mEvent; field in SignatureVerifier
55 mEvent = event; in SignatureVerifier()
99 mEvent.status = StatsLog.SIGNED_CONFIG_REPORTED__STATUS__BASE64_FAILURE_SIGNATURE; in verifySignature()
111 mEvent.verifiedWith = StatsLog.SIGNED_CONFIG_REPORTED__VERIFIED_WITH__DEBUG; in verifySignature()
122 mEvent.status = in verifySignature()
128 mEvent.verifiedWith = StatsLog.SIGNED_CONFIG_REPORTED__VERIFIED_WITH__PRODUCTION; in verifySignature()
132 mEvent.status = StatsLog.SIGNED_CONFIG_REPORTED__STATUS__SIGNATURE_CHECK_FAILED; in verifySignature()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelperTest.java68 private MotionEvent mEvent; field in NotificationSwipeHelperTest
83 mEvent = mock(MotionEvent.class); in setUp()
152 mSwipeHelper.onDownUpdate(mNotificationRow, mEvent); in testOnDownUpdate_ExpandableNotificationRow()
168 mSwipeHelper.onDownUpdate(mView, mEvent); in testOnDownUpdate_notExpandableNotificationRow()
182 mSwipeHelper.onMoveUpdate(mView, mEvent, 0, 10); in testOnMoveUpdate_menuRow()
193 mSwipeHelper.onMoveUpdate(mView, mEvent, 0, 10); in testOnMoveUpdate_noMenuRow()
201 mSwipeHelper.handleUpEvent(mEvent, mView, 0, 0)); in testHandleUpEvent_noMenuRow()
207 doNothing().when(mSwipeHelper).handleMenuRowSwipe(mEvent, mView, 0, mMenuRow); in testHandleUpEvent_menuRow()
210 mSwipeHelper.handleUpEvent(mEvent, mView, 0, 0)); in testHandleUpEvent_menuRow()
212 verify(mSwipeHelper, times(1)).handleMenuRowSwipe(mEvent, mView, 0, mMenuRow); in testHandleUpEvent_menuRow()
[all …]
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnectorException.java27 private NativeDaemonEvent mEvent; field in NativeDaemonConnectorException
40 mEvent = event; in NativeDaemonConnectorException()
44 return mEvent != null ? mEvent.getCode() : -1; in getCode()
/frameworks/native/services/sensorservice/
DRecentEventLogger.cpp67 ++j, ev.mEvent.timestamp/1e9, timeinfo->tm_hour, timeinfo->tm_min, timeinfo->tm_sec, in dump()
73 buffer.appendFormat("%" PRIu64 ", ", ev.mEvent.u64.step_counter); in dump()
76 buffer.appendFormat("%.2f, ", ev.mEvent.data[k]); in dump()
100 *event = mRecentEvents[0].mEvent; in populateLastEventIfCurrent()
121 RecentEventLogger::SensorEventLog::SensorEventLog(const sensors_event_t& e) : mEvent(e) { in SensorEventLog()
DRecentEventLogger.h57 sensors_event_t mEvent; member
/frameworks/base/core/java/android/animation/
DAnimatorSet.java483 if (event.mEvent == AnimationEvent.ANIMATION_END) {
485 } else if (event.mEvent == AnimationEvent.ANIMATION_DELAY_ENDED
503 if (event.mEvent == AnimationEvent.ANIMATION_START) {
505 } else if (event.mEvent == AnimationEvent.ANIMATION_END && anim.isStarted()) {
794 if (mEvents.get(i).mEvent == AnimationEvent.ANIMATION_DELAY_ENDED) {
800 if (mEvents.get(i).mEvent == AnimationEvent.ANIMATION_END) {
850 if (event.mEvent == AnimationEvent.ANIMATION_DELAY_ENDED) {
858 if (event.mEvent == AnimationEvent.ANIMATION_END) {
878 && event.mEvent == AnimationEvent.ANIMATION_DELAY_ENDED) {
1118 if (event.mEvent == AnimationEvent.ANIMATION_END) {
[all …]
/frameworks/ml/nn/runtime/include/
DNeuralNetworksWrapper.h313 ~Event() { ANeuralNetworksEvent_free(mEvent); } in ~Event()
327 ANeuralNetworksEvent_free(mEvent);
328 mEvent = other.mEvent;
329 other.mEvent = nullptr;
334 Result wait() { return static_cast<Result>(ANeuralNetworksEvent_wait(mEvent)); } in wait()
338 ANeuralNetworksEvent_free(mEvent); in set()
339 mEvent = newEvent; in set()
343 ANeuralNetworksEvent* getHandle() const { return mEvent; } in getHandle()
346 ANeuralNetworksEvent* mEvent = nullptr;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallManagerTest.java217 int mEvent = (Integer) field.get(CallManager.getInstance()); in testRegisterEvent() local
219 eq(mEvent), isNull()); in testRegisterEvent()
223 mEvent = (Integer) field.get(CallManager.getInstance()); in testRegisterEvent()
225 eq(mEvent), isA(Object.class)); in testRegisterEvent()
229 mEvent = (Integer) field.get(CallManager.getInstance()); in testRegisterEvent()
231 eq(mEvent), isA(Object.class)); in testRegisterEvent()
/frameworks/av/media/libnblog/include/media/nblog/
DEntry.h58 : mEvent(event), mLength(length), mData(data) {} in Entry()
67 Event mEvent; // event type variable
/frameworks/base/core/java/android/view/
DViewRootImpl.java5031 Slog.w(mTag, "Dropping event due to root view being removed: " + q.mEvent); in shouldDropInputEvent()
5034 && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_POINTER) in shouldDropInputEvent()
5036 || (mIsAmbientMode && !q.mEvent.isFromSource(InputDevice.SOURCE_CLASS_BUTTON)) in shouldDropInputEvent()
5037 || (mPausedForTransition && !isBack(q.mEvent))) { in shouldDropInputEvent()
5041 if (isTerminalInputEvent(q.mEvent)) { in shouldDropInputEvent()
5043 q.mEvent.cancel(); in shouldDropInputEvent()
5044 Slog.w(mTag, "Cancelling event due to no window focus: " + q.mEvent); in shouldDropInputEvent()
5049 Slog.w(mTag, "Dropping event due to no window focus: " + q.mEvent); in shouldDropInputEvent()
5124 final int deviceId = q.mEvent.getDeviceId(); in forward()
5128 if (!blocked && deviceId == curr.mEvent.getDeviceId()) { in forward()
[all …]
/frameworks/ml/nn/runtime/test/
DTestIntrospectionControl.cpp107 if (mEvent) { in TearDown()
108 ANeuralNetworksEvent_free(mEvent); in TearDown()
195 ANeuralNetworksEvent* mEvent = nullptr; member in __anon736024e70111::IntrospectionControlTest
256 EXPECT_EQ(ANeuralNetworksExecution_startCompute(mExecution, &mEvent), ANEURALNETWORKS_NO_ERROR); in TEST_F()
257 EXPECT_EQ(ANeuralNetworksEvent_wait(mEvent), ANEURALNETWORKS_NO_ERROR); in TEST_F()
918 ANeuralNetworksExecution_startCompute(mExecution, &mEvent)); in TEST_P()
922 Check(isPass, ANeuralNetworksEvent_wait(mEvent)); in TEST_P()
958 mExecution, nullptr, 0, 0, &mEvent)); in TEST_P()
964 Check(isPass, ANeuralNetworksEvent_wait(mEvent)); in TEST_P()
1298 EXPECT_EQ(ANeuralNetworksExecution_startCompute(mExecution, &mEvent), ANEURALNETWORKS_NO_ERROR); in TEST_F()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp289 TvInputEvent mEvent; member in android::JTvInputHal::NotifyHandler
563 mEvent = event; in NotifyHandler()
567 switch (mEvent.type) { in handleMessage()
569 mHal->onDeviceAvailable(mEvent.deviceInfo); in handleMessage()
572 mHal->onDeviceUnavailable(mEvent.deviceInfo.deviceId); in handleMessage()
575 mHal->onStreamConfigurationsChanged(mEvent.deviceInfo.deviceId); in handleMessage()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java526 private final SoundTriggerDetector.EventPayload mEvent; field in SoundTriggerTestService.CaptureAudioRecorder
530 mEvent = event; in CaptureAudioRecorder()
535 AudioFormat format = mEvent.getCaptureAudioFormat(); in run()
597 mEvent.getCaptureSession()); in run()
/frameworks/av/media/mtp/
DMtpServer.h64 MtpEventPacket mEvent; variable
DMtpServer.cpp287 mEvent.setEventCode(code); in sendEvent()
288 mEvent.setTransactionID(mRequest.getTransactionID()); in sendEvent()
289 mEvent.setParameter(1, param1); in sendEvent()
290 if (mEvent.write(mHandle)) in sendEvent()
/frameworks/av/media/libnblog/
DEntry.cpp36 return mEvent; in copyEntryDataAt()
DWriter.cpp150 log(etr.mEvent, etr.mData, etr.mLength); in log()
/frameworks/base/media/java/android/media/tv/
DTvInputManager.java2411 final InputEvent event = p.mEvent;
2483 p.mEvent = event;
2557 public InputEvent mEvent;
2564 mEvent = null;

12