Home
last modified time | relevance | path

Searched refs:mDeviceId (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/core/java/android/app/servertransaction/
DConfigurationChangeItem.java35 private int mDeviceId; field in ConfigurationChangeItem
46 client.handleConfigurationChanged(mConfiguration, mDeviceId); in execute()
60 instance.mDeviceId = deviceId; in obtain()
68 mDeviceId = 0; in recycle()
79 dest.writeInt(mDeviceId); in writeToParcel()
85 mDeviceId = in.readInt(); in ConfigurationChangeItem()
109 && mDeviceId == other.mDeviceId; in equals()
115 result = 31 * result + mDeviceId; in hashCode()
122 return "ConfigurationChangeItem{deviceId=" + mDeviceId + ", config" + mConfiguration + "}"; in toString()
DLaunchActivityItem.java67 private int mDeviceId; field in LaunchActivityItem
112 client.handleLaunchActivity(r, pendingActions, mDeviceId, null /* customIntent */); in execute()
185 dest.writeInt(mDeviceId); in writeToParcel()
252 && mDeviceId == other.mDeviceId in equals()
277 result = 31 * result + mDeviceId; in hashCode()
328 + ",deviceId=" + mDeviceId in toString()
364 instance.mDeviceId = deviceId; in setValues()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceVibratorManager.java46 private final int mDeviceId; field in InputDeviceVibratorManager
53 mDeviceId = deviceId; in InputDeviceVibratorManager()
62 InputDevice inputDevice = InputDevice.getDevice(mDeviceId); in initializeVibrators()
64 mGlobal.getVibratorIds(mDeviceId); in initializeVibrators()
67 new InputDeviceVibrator(mDeviceId, vibratorIds[i])); in initializeVibrators()
79 if (deviceId == mDeviceId) { in onInputDeviceRemoved()
87 if (deviceId == mDeviceId) { in onInputDeviceChanged()
130 mGlobal.vibrate(mDeviceId, effect, mToken); in vibrate()
135 mGlobal.cancelVibrate(mDeviceId, mToken); in cancel()
DInputDeviceLightsManager.java42 private final int mDeviceId; field in InputDeviceLightsManager
48 mDeviceId = deviceId; in InputDeviceLightsManager()
59 return mGlobal.getLights(mDeviceId); in getLights()
70 return mGlobal.getLightState(mDeviceId, light); in getLightState()
79 mGlobal.openLightSession(mDeviceId, mPackageName, session.getToken()); in openSession()
115 mGlobal.requestLights(mDeviceId, request, getToken()); in requestLights()
124 mGlobal.closeLightSession(mDeviceId, getToken()); in close()
DInputDeviceVibrator.java45 private final int mDeviceId; field in InputDeviceVibrator
56 mDeviceId = deviceId; in InputDeviceVibrator()
96 return mGlobal.isVibrating(mDeviceId); in isVibrating()
135 if (!mGlobal.registerVibratorStateListener(mDeviceId, delegate)) { in addVibratorStateListener()
159 if (!mGlobal.unregisterVibratorStateListener(mDeviceId, delegate)) { in removeVibratorStateListener()
179 mGlobal.vibrate(mDeviceId, effect, mToken); in vibrate()
184 mGlobal.cancelVibrate(mDeviceId, mToken); in cancel()
/frameworks/base/media/java/android/media/tv/
DTvInputHardwareInfo.java99 private int mDeviceId; field in TvInputHardwareInfo
111 return mDeviceId; in getDeviceId()
150 b.append("TvInputHardwareInfo {id=").append(mDeviceId); in toString()
170 dest.writeInt(mDeviceId); in writeToParcel()
181 mDeviceId = source.readInt(); in readFromParcel()
194 .deviceId(mDeviceId) in toBuilder()
206 private Integer mDeviceId = null; field in TvInputHardwareInfo.Builder
217 mDeviceId = deviceId; in deviceId()
250 if (mDeviceId == null || mType == null) { in build()
259 info.mDeviceId = mDeviceId; in build()
DDvbDeviceInfo.java59 private final int mDeviceId; field in DvbDeviceInfo
63 mDeviceId = source.readInt(); in DvbDeviceInfo()
71 mDeviceId = deviceId; in DvbDeviceInfo()
89 return mDeviceId; in getDeviceId()
101 dest.writeInt(mDeviceId); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DOneTimePermissionUserManager.java163 private final int mDeviceId; field in OneTimePermissionUserManager.PackageInactivityListener
204 mDeviceId = deviceId; in PackageInactivityListener()
238 "Updated params for " + mPackageName + ", device ID " + mDeviceId in updateSessionParameters()
267 + " device ID=" + mDeviceId + ", state=" + state); in updateUidState()
290 + "). device ID " + mDeviceId); in updateUidState()
299 + mPackageName + " (" + mUid + "). device ID " + mDeviceId); in updateUidState()
337 + " device ID " + mDeviceId); in setAlarmLocked()
358 + " device ID " + mDeviceId); in cancelAlarmLocked()
375 + mPackageName + " (" + mUid + "). device ID " + mDeviceId, in onPackageInactiveLocked()
383 + mPackageName + " (" + mUid + "). deviceID " + mDeviceId); in onPackageInactiveLocked()
[all …]
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java130 private final int mDeviceId; field in HdmiDeviceInfo
204 mDeviceId = -1; in HdmiDeviceInfo()
228 this.mDeviceId = builder.mDeviceId; in HdmiDeviceInfo()
398 return mDeviceId; in getDeviceId()
493 dest.writeInt(mDeviceId); in writeToParcel()
520 s.append("device_id: ").append(String.format("0x%04X", mDeviceId)).append(" "); in toString()
560 && mDeviceId == other.mDeviceId in equals()
576 mDeviceId, in hashCode()
604 private int mDeviceId = -1; field in HdmiDeviceInfo.Builder
626 mDeviceId = hdmiDeviceInfo.mDeviceId; in Builder()
[all …]
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
DHotspotNetwork.java78 private final long mDeviceId; field in HotspotNetwork
96 private long mDeviceId = -1; field in HotspotNetwork.Builder
118 mDeviceId = deviceId; in setDeviceId()
213 mDeviceId, in build()
254 mDeviceId = deviceId; in HotspotNetwork()
270 return mDeviceId; in getDeviceId()
348 return mDeviceId == other.getDeviceId() in equals()
359 return Objects.hash(mDeviceId, mNetworkProviderInfo, mNetworkName, mHotspotSsid, in hashCode()
370 dest.writeLong(mDeviceId); in writeToParcel()
408 .append("deviceId=").append(mDeviceId) in toString()
/frameworks/base/core/java/android/hardware/biometrics/
DBiometricAuthenticator.java88 private long mDeviceId; // physical device this is associated with field in BiometricAuthenticator.Identifier
95 mDeviceId = deviceId; in Identifier()
118 return mDeviceId; in getDeviceId()
126 mDeviceId = deviceId; in setDeviceId()
/frameworks/base/core/java/android/view/
DVerifiedInputEvent.java56 private int mDeviceId; field in VerifiedInputEvent
65 mDeviceId = deviceId; in VerifiedInputEvent()
76 mDeviceId = in.readInt(); in VerifiedInputEvent()
88 return mDeviceId; in getDeviceId()
124 dest.writeInt(mDeviceId); in writeToParcel()
DHapticScrollFeedbackProvider.java55 private int mDeviceId = -1; field in HapticScrollFeedbackProvider
137 if (mAxis != axis || mSource != source || mDeviceId != deviceId) { in maybeUpdateCurrentConfig()
146 mDeviceId = deviceId; in maybeUpdateCurrentConfig()
/frameworks/native/include/input/
DInputEventBuilders.h71 mDeviceId = deviceId; in deviceId()
146 event.initialize(InputEvent::nextId(), mDeviceId, mSource, mDisplayId, INVALID_HMAC, in build()
157 int32_t mDeviceId{DEFAULT_DEVICE_ID};
184 mDeviceId = event.getDeviceId(); in KeyEventBuilder()
197 mDeviceId = deviceId; in deviceId()
238 event.initialize(InputEvent::nextId(), mDeviceId, mSource, mDisplayId, INVALID_HMAC, in build()
246 int32_t mDeviceId = DEFAULT_DEVICE_ID; variable
/frameworks/native/services/inputflinger/include/
DNotifyArgsBuilders.h44 mDeviceId = deviceId; in deviceId()
125 mDeviceId, in build()
150 int32_t mDeviceId{DEFAULT_DEVICE_ID};
176 mDeviceId = deviceId; in deviceId()
220 mDeviceId, in build()
235 int32_t mDeviceId = DEFAULT_DEVICE_ID; variable
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java63 private String mDeviceId; field in BandwidthTest
82 mDeviceId = mTManager.getDeviceId(); in setUp()
124 mTestServer, FILE_SIZE, mDeviceId, ts); in downloadFile()
137 results.putString("device_id", mDeviceId); in downloadFile()
175 mTestServer, FILE_SIZE, mDeviceId, ts); in uploadFile()
182 assertTrue(BandwidthTestUtil.postFileToServer(mTestServer, mDeviceId, ts, tmpSaveFile)); in uploadFile()
191 results.putString("device_id", mDeviceId); in uploadFile()
237 mTestServer, FILE_SIZE, mDeviceId, ts); in downloadFileUsingDownloadManager()
248 results.putString("device_id", mDeviceId); in downloadFileUsingDownloadManager()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.cpp36 mDeviceId = other.mDeviceId; in copyFrom()
82 if (mDeviceId < 0) { in validate()
83 ALOGD("deviceId out of range = %d", mDeviceId); in validate()
300 ALOGD("mDeviceId = %6d", mDeviceId); in dump()
DAAudioStreamParameters.h33 return mDeviceId; in getDeviceId()
37 mDeviceId = deviceId; in setDeviceId()
220 int32_t mDeviceId = AAUDIO_UNSPECIFIED; variable
/frameworks/base/media/java/android/media/
DAudioPlaybackConfiguration.java321 private int mDeviceId; field in AudioPlaybackConfiguration
350 mDeviceId = PLAYER_DEVICEID_INVALID; in AudioPlaybackConfiguration()
377 mDeviceId = deviceId; in setUpdateableFields()
455 deviceId = mDeviceId; in getAudioDeviceInfo()
685 changed = changed || (mDeviceId != deviceId); in handleStateEvent()
686 mDeviceId = deviceId; in handleStateEvent()
766 return Objects.hash(mPlayerIId, mDeviceId, mMutedState, mPlayerType, mClientUid, in hashCode()
780 dest.writeInt(mDeviceId); in writeToParcel()
799 mDeviceId = in.readInt(); in AudioPlaybackConfiguration()
820 && (mDeviceId == that.mDeviceId) in equals()
[all …]
DMicrophoneInfo.java154 private String mDeviceId; field in MicrophoneInfo
174 mDeviceId = deviceId; in MicrophoneInfo()
196 return mDeviceId; in getDescription()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceLog.java96 private final int mDeviceId; field in VirtualDeviceLog.LogEntry
102 this.mDeviceId = deviceId; in LogEntry()
113 sb.append(mDeviceId); in dump()
/frameworks/base/services/core/jni/tvinput/
DBufferProducerThread.cpp25 mDeviceId(deviceId), in BufferProducerThread()
62 mDevice->cancel_capture(mDevice, mDeviceId, mStream.stream_id, mSeq); in setSurfaceLocked()
141 mDevice->request_capture(mDevice, mDeviceId, mStream.stream_id, buffer->handle, ++mSeq); in threadLoop()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DProxyManager.java518 if (client.mDeviceId == deviceId) { in updateRelevantEventTypesLocked()
538 if (proxy != null && proxy.getDeviceId() == client.mDeviceId) { in computeRelevantEventTypesLocked()
547 Slog.v(LOG_TAG, "Relevant event types for device id " + client.mDeviceId in computeRelevantEventTypesLocked()
680 if (client.mDeviceId == deviceId) { in scheduleUpdateProxyClientsIfNeededLocked()
701 if (client.mDeviceId == deviceId) { in scheduleNotifyProxyClientsOfServicesStateChangeLocked()
725 if (client.mDeviceId == proxy.getDeviceId()) { in updateFocusAppearanceLocked()
882 if (client.mDeviceId != deviceId && uidBelongsToDevice) { in updateDeviceIdsIfNeededLocked()
887 client.mDeviceId = deviceId; in updateDeviceIdsIfNeededLocked()
888 } else if (client.mDeviceId == deviceId && !uidBelongsToDevice) { in updateDeviceIdsIfNeededLocked()
889 client.mDeviceId = DEVICE_ID_DEFAULT; in updateDeviceIdsIfNeededLocked()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1613 private int mDeviceId; field in CameraManager.AvailabilityCallback
1855 private int mDeviceId; field in CameraManager.TorchCallback
2370 if (devicePolicy == DEVICE_POLICY_DEFAULT && info.mDeviceId == DEVICE_ID_DEFAULT) { in shouldHideCamera()
2375 return currentDeviceId != info.mDeviceId; in shouldHideCamera()
2381 if (c.cameraId.equals(info.mCameraId) && c.deviceId == info.mDeviceId) { in cameraStatusesContains()
2807 if (shouldHideCamera(callback.mDeviceId, callback.mDevicePolicy, info)) { in updateCallbackLocked()
2827 if (shouldHideCamera(callback.mDeviceId, callback.mDevicePolicy, info)) { in updateCallbackLocked()
2840 info.mCameraId, status, info.mDeviceId)); in onStatusChangedLocked()
2845 info.mCameraId, status, info.mDeviceId)); in onStatusChangedLocked()
2897 if (shouldHideCamera(callback.mDeviceId, callback.mDevicePolicy, info)) { in onStatusChangedLocked()
[all …]
/frameworks/base/core/java/android/provider/
DE2eeContactKeysManager.java882 return Objects.hash(mDeviceId, mAccountId, mOwnerPackageName, mTimeUpdated, in hashCode()
896 return Objects.equals(mDeviceId, toCompare.mDeviceId) in equals()
910 dest.writeString8(mDeviceId); in writeToParcel()
980 return Objects.hash(mDeviceId, mAccountId, mOwnerPackageName, mTimeUpdated, in hashCode()
993 return Objects.equals(mDeviceId, toCompare.mDeviceId) in equals()
1003 dest.writeString8(mDeviceId); in writeToParcel()
1057 protected final String mDeviceId; field in E2eeContactKeysManager.E2eeBaseKey
1089 this.mDeviceId = deviceId; in E2eeBaseKey()
1107 return mDeviceId; in getDeviceId()

123