Home
last modified time | relevance | path

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

123

/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DEventLogger.java38 mEvent = event; in EventLogger()
42 protected final E mEvent; field in EventLogger
50 mEvent.mPackageName = mContext.getPackageName(); in log()
51 mEvent.mTimestamp = Instant.now(); in log()
53 Events.getInstance(mContext, /* needsHistory= */ false).log(mEvent); in log()
/cts/tests/tests/gameservice/src/android/service/games/testing/
DGameSessionEventInfo.java61 private final int mEvent; field in GameSessionEventInfo
73 mEvent = event; in GameSessionEventInfo()
85 dest.writeInt(mEvent); in writeToParcel()
93 return mTaskId == that.mTaskId && mEvent == that.mEvent && Objects.equals( in equals()
99 return Objects.hash(mGamePackageName, mTaskId, mEvent); in hashCode()
111 + mEvent in toString()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminChoosePrivateKeyAliasEvent.java158 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminChoosePrivateKeyAliasEventLogger()
159 mEvent.mUid = uid; in DeviceAdminChoosePrivateKeyAliasEventLogger()
160 mEvent.mUri = new SerializableParcelWrapper<>(uri); in DeviceAdminChoosePrivateKeyAliasEventLogger()
161 mEvent.mAlias = alias; in DeviceAdminChoosePrivateKeyAliasEventLogger()
169 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
176 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
184 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
190 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
196 mEvent.mUid = uid; in setUid()
202 mEvent.mUri = new SerializableParcelWrapper<>(uri); in setUri()
[all …]
DDeviceAdminNetworkLogsAvailableEvent.java147 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminNetworkLogsAvailableEventLogger()
148 mEvent.mBatchToken = batchToken; in DeviceAdminNetworkLogsAvailableEventLogger()
149 mEvent.mNetworkLogsCount = networkLogsCount; in DeviceAdminNetworkLogsAvailableEventLogger()
157 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
164 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
172 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
178 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
184 mEvent.mBatchToken = batchToken; in setBatchToken()
190 mEvent.mNetworkLogsCount = networkLogsCount; in setNetworkLogsCount()
DDeviceAdminOperationSafetyStateChangedEvent.java133 mEvent.mReason = reason; in DeviceAdminOperationSafetyStateChangedEventLogger()
134 mEvent.mIsSafe = isSafe; in DeviceAdminOperationSafetyStateChangedEventLogger()
142 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
149 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
157 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
163 mEvent.mReason = reason; in setReason()
169 mEvent.mIsSafe = isSafe; in setIsSafe()
DDeviceAdminBugreportSharedEvent.java129 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminBugreportSharedEventLogger()
130 mEvent.mBugreportHash = bugreportHash; in DeviceAdminBugreportSharedEventLogger()
138 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
145 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
153 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
159 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
165 mEvent.mBugreportHash = bugreportHash; in setBugreportHash()
DDeviceAdminLockTaskModeEnteringEvent.java130 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminLockTaskModeEnteringEventLogger()
131 mEvent.mPkg = pkg; in DeviceAdminLockTaskModeEnteringEventLogger()
139 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
146 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
154 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
160 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
166 mEvent.mPkg = pkg; in setPkg()
DDeviceAdminBugreportFailedEvent.java132 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminBugreportFailedEventLogger()
133 mEvent.mFailureCode = failureCode; in DeviceAdminBugreportFailedEventLogger()
141 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
148 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
156 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
162 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
168 mEvent.mFailureCode = failureCode; in setFailureCode()
DDeviceAdminUserSwitchedEvent.java132 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminUserSwitchedEventLogger()
133 mEvent.mSwitchedUser = new SerializableParcelWrapper<>(switchedUser); in DeviceAdminUserSwitchedEventLogger()
141 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
148 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
156 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
162 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
168 mEvent.mSwitchedUser = new SerializableParcelWrapper<>(switchedUser); in setSwitchedUser()
DDeviceAdminUserStoppedEvent.java132 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminUserStoppedEventLogger()
133 mEvent.mStoppedUser = new SerializableParcelWrapper<>(stoppedUser); in DeviceAdminUserStoppedEventLogger()
141 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
148 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
156 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
162 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
168 mEvent.mStoppedUser = new SerializableParcelWrapper<>(stoppedUser); in setStoppedUser()
DDeviceAdminUserStartedEvent.java128 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminUserStartedEventLogger()
129 mEvent.mStartedUser = new SerializableParcelWrapper<>(startedUser); in DeviceAdminUserStartedEventLogger()
137 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
144 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
152 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
158 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
164 mEvent.mStartedUser = new SerializableParcelWrapper<>(startedUser); in setStartedUser()
DDeviceAdminUserRemovedEvent.java128 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminUserRemovedEventLogger()
129 mEvent.mRemovedUser = new SerializableParcelWrapper<>(removedUser); in DeviceAdminUserRemovedEventLogger()
137 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
144 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
152 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
158 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
164 mEvent.mRemovedUser = new SerializableParcelWrapper<>(removedUser); in setRemovedUser()
DDeviceAdminUserAddedEvent.java130 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminUserAddedEventLogger()
131 mEvent.mAddedUser = new SerializableParcelWrapper<>(addedUser); in DeviceAdminUserAddedEventLogger()
139 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
146 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
154 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
160 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
166 mEvent.mAddedUser = new SerializableParcelWrapper<>(addedUser); in setAddedUser()
DDeviceAdminPasswordExpiringEvent.java129 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminPasswordExpiringEventLogger()
137 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
144 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
152 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
158 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
165 mEvent.mUser = new SerializableParcelWrapper<>(userHandle); in setUserHandle()
DDeviceAdminPasswordSucceededEvent.java130 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminPasswordSucceededEventLogger()
138 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
145 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
153 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
159 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
166 mEvent.mUserHandle = new SerializableParcelWrapper<>(userHandle); in setUserHandle()
DDeviceAdminPasswordChangedEvent.java130 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminPasswordChangedEventLogger()
138 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
145 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
153 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
159 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
166 mEvent.mUserHandle = new SerializableParcelWrapper<>(userHandle); in setUserHandle()
DDeviceAdminSystemUpdatePendingEvent.java135 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminSystemUpdatePendingEventLogger()
144 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
151 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
159 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
165 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
172 mEvent.mReceivedTime = receivedTime; in setReceivedTime()
DDeviceAdminPasswordFailedEvent.java130 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminPasswordFailedEventLogger()
138 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
145 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
153 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
159 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
166 mEvent.mUserHandle = new SerializableParcelWrapper<>(userHandle); in setUserHandle()
DDeviceAdminDisableRequestedEvent.java112 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminDisableRequestedEventLogger()
120 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
127 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
135 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
141 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
DDeviceAdminBugreportSharingDeclinedEvent.java114 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DeviceAdminBugreportSharingDeclinedEventLogger()
122 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiver); in setDeviceAdminReceiver()
129 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClass); in setDeviceAdminReceiver()
137 mEvent.mDeviceAdminReceiver = new DeviceAdminReceiverInfo(deviceAdminReceiverClassName); in setDeviceAdminReceiver()
143 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/delegatedadminreceivers/
DDelegatedAdminChoosePrivateKeyAliasEvent.java159 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DelegatedAdminChoosePrivateKeyAliasEventLogger()
160 mEvent.mUid = uid; in DelegatedAdminChoosePrivateKeyAliasEventLogger()
161 mEvent.mUri = new SerializableParcelWrapper<>(uri); in DelegatedAdminChoosePrivateKeyAliasEventLogger()
162 mEvent.mAlias = alias; in DelegatedAdminChoosePrivateKeyAliasEventLogger()
170 mEvent.mDelegatedAdminReceiver = new DelegatedAdminReceiverInfo(delegatedAdminReceiver); in setDelegatedAdminReceiver()
177mEvent.mDelegatedAdminReceiver = new DelegatedAdminReceiverInfo(delegatedAdminReceiverClass); in setDelegatedAdminReceiver()
185mEvent.mDelegatedAdminReceiver = new DelegatedAdminReceiverInfo(delegatedAdminReceiverClassName); in setDelegatedAdminReceiver()
191 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
197 mEvent.mUid = uid; in setUid()
203 mEvent.mUri = new SerializableParcelWrapper<>(uri); in setUri()
[all …]
DDelegatedAdminNetworkLogsAvailableEvent.java194 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in DelegatedAdminNetworkLogsAvailableEventLogger()
195 mEvent.mBatchToken = batchToken; in DelegatedAdminNetworkLogsAvailableEventLogger()
196 mEvent.mNetworkLogsCount = networkLogsCount; in DelegatedAdminNetworkLogsAvailableEventLogger()
204 mEvent.mDelegatedAdminReceiver = new DelegatedAdminReceiverInfo(delegatedAdminReceiver); in setDelegatedAdminReceiver()
211 mEvent.mDelegatedAdminReceiver = new DelegatedAdminReceiverInfo( in setDelegatedAdminReceiver()
220 mEvent.mDelegatedAdminReceiver = new DelegatedAdminReceiverInfo( in setDelegatedAdminReceiver()
227 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
233 mEvent.mBatchToken = batchToken; in setBatchToken()
240 mEvent.mNetworkLogsCount = networkLogsCount; in setNetworkLogsCount()
/cts/tests/framework/base/windowmanager/backgroundactivity/common/src/android/server/wm/backgroundactivity/common/
DEventReceiver.java40 private final int mEvent; field in EventReceiver
43 mEvent = event; in EventReceiver()
50 if (event == mEvent) { in getNotifier()
67 throw new TimeoutException("Timed out waiting for event " + mEvent);
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/services/
DServiceStartedEvent.java132 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in ServiceStartedEventLogger()
133 mEvent.mFlags = flags; in ServiceStartedEventLogger()
134 mEvent.mStartId = startId; in ServiceStartedEventLogger()
141 mEvent.mService = ServiceInfo.builder() in setService()
150 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()
157 mEvent.mFlags = flags; in setFlags()
164 mEvent.mStartId = startId; in setStartId()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/broadcastreceivers/
DBroadcastReceivedEvent.java126 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in BroadcastReceivedEventLogger()
127 mEvent.mResultCode = resultCode; in BroadcastReceivedEventLogger()
135 mEvent.mBroadcastReceiver = new BroadcastReceiverInfo(broadcastReceiver); in setBroadcastReceiver()
142 mEvent.mBroadcastReceiver = new BroadcastReceiverInfo(broadcastReceiverClass); in setBroadcastReceiver()
150 mEvent.mBroadcastReceiver = new BroadcastReceiverInfo(broadcastReceiverClassName); in setBroadcastReceiver()
157 mEvent.mIntent = new SerializableParcelWrapper<>(intent); in setIntent()

123