/frameworks/base/core/tests/coretests/src/android/net/ |
D | SntpClientTest.java | 70 private SntpTestServer mServer; field in SntpClientTest 78 mServer = new SntpTestServer(); in setUp() 84 mServer.setServerReply(HexEncoding.decode(WORKING_VERSION4.toCharArray(), false)); in testBasicWorkingSntpClientQuery() 85 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testBasicWorkingSntpClientQuery() 86 assertEquals(1, mServer.numRequestsReceived()); in testBasicWorkingSntpClientQuery() 87 assertEquals(1, mServer.numRepliesSent()); in testBasicWorkingSntpClientQuery() 97 mServer.clearServerReply(); in testTimeoutFailure() 98 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testTimeoutFailure() 99 assertEquals(1, mServer.numRequestsReceived()); in testTimeoutFailure() 100 assertEquals(0, mServer.numRepliesSent()); in testTimeoutFailure() [all …]
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceService.java | 54 private MidiDeviceServer mServer; field in MidiDeviceService 91 mServer = server; in onCreate() 109 if (mServer == null) { in getOutputPortReceivers() 112 return mServer.getOutputPortReceivers(); in getOutputPortReceivers() 139 if (SERVICE_INTERFACE.equals(intent.getAction()) && mServer != null) { in onBind() 140 return mServer.getBinderInterface().asBinder(); in onBind()
|
D | MidiDeviceServer.java | 184 private final IMidiDeviceServer mServer = new IMidiDeviceServer.Stub() { field in MidiDeviceServer 378 return mServer; in getBinderInterface() 382 return mServer.asBinder(); in asBinder() 395 mMidiManager.setDeviceStatus(mServer, status); in updateDeviceStatus() 421 mMidiManager.unregisterDeviceServer(mServer); in close()
|
/frameworks/base/core/java/android/os/ |
D | FileBridge.java | 63 private final FileDescriptor mServer = new FileDescriptor(); field in FileBridge 70 Os.socketpair(AF_UNIX, SOCK_STREAM, 0, mServer, mClient); in FileBridge() 82 IoUtils.closeQuietly(mServer); in forceClose() 99 while (IoBridge.read(mServer, temp, 0, MSG_LENGTH) == MSG_LENGTH) { in run() 105 int n = IoBridge.read(mServer, temp, 0, Math.min(temp.length, len)); in run() 117 IoBridge.write(mServer, temp, 0, MSG_LENGTH); in run() 124 IoBridge.write(mServer, temp, 0, MSG_LENGTH); in run()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ViewServer.java | 70 private ServerSocket mServer; field in ViewServer 107 mServer = new ServerSocket(mPort, VIEW_SERVER_MAX_CONNECTIONS, InetAddress.getLocalHost()); in start() 139 mServer.close(); in stop() 140 mServer = null; in stop() 169 Socket client = mServer.accept(); in run()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbMidiDevice.java | 54 private MidiDeviceServer mServer; field in UsbMidiDevice 207 final MidiReceiver[] outputReceivers = mServer.getOutputPortReceivers(); in openLocked() 297 mServer = midiManager.createDeviceServer(mInputPortReceivers, mSubdeviceCount, in register() 299 if (mServer == null) { in register() 314 if (mServer != null) { in close() 315 IoUtils.closeQuietly(mServer); in close()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 95 private MtpServer mServer; field in MtpDatabase 265 if (mServer != null) { 267 mServer.sendDevicePropertyChanged( 283 if (MtpDatabase.this.mServer != null) in MtpDatabase() 284 MtpDatabase.this.mServer.sendObjectAdded(id); in MtpDatabase() 289 if (MtpDatabase.this.mServer != null) in MtpDatabase() 290 MtpDatabase.this.mServer.sendObjectRemoved(id); in MtpDatabase() 295 if (MtpDatabase.this.mServer != null) in MtpDatabase() 296 MtpDatabase.this.mServer.sendObjectInfoChanged(id); in MtpDatabase() 306 mServer = server; in setServer() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 66 private MockWebServer mServer = null; field in DownloadManagerBaseTest 241 mServer = new MockWebServer(); in setUp() 242 mServer.play(); in setUp() 249 mServer.shutdown(); in tearDown() 290 mServer.enqueue(resp); in enqueueResponse() 447 URL url = mServer.getUrl("/" + filename); in getServerUri() 931 mServer.enqueue(buildResponse(HTTP_OK, body)); in enqueueDownloadRequest() 946 mServer.enqueue(buildResponse(HTTP_OK, body)); in enqueueDownloadRequest()
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 260 @NonNull private final String mServer; field in NtpTrustedTime.NtpConnectionInfo 264 mServer = Objects.requireNonNull(server); in NtpConnectionInfo() 270 return mServer; in getServer()
|
/frameworks/base/services/midi/java/com/android/server/midi/ |
D | MidiService.java | 286 private IMidiDeviceServer mServer; field in MidiService.Device 322 if (mServer != null) { in setDeviceServer() 329 mServer = server; in setDeviceServer() 331 mServer = null; in setDeviceServer() 335 } else if (mServer != null) { in setDeviceServer() 336 server = mServer; in setDeviceServer() 337 mServer = null; in setDeviceServer() 375 return mServer; in getDeviceServer() 396 if (mServer != null) { in addDeviceConnection() 398 connection.notifyClient(mServer); in addDeviceConnection()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 147 uint32_t mServer; // Number of filled frames consumed by server (mIsOut), member 300 return mEpoch + mCblk->mServer; in getPosition()
|
/frameworks/av/services/audioflinger/ |
D | FastCapture.cpp | 226 cblk->mServer += framesWritten; in onWork()
|
D | Tracks.cpp | 762 mCblk->mServer, in appendDump() 780 result.appendFormat("%10s", mCblk->mServer != 0 ? "unavail" : "new"); in appendDump() 2263 mCblk->mServer, in appendDump() 2276 result.appendFormat("%10s", mCblk->mServer != 0 ? "unavail" : "new"); in appendDump()
|
D | Threads.cpp | 4971 ALOGVV("track(%d) s=%08x [OK] on thread %p", trackId, cblk->mServer, this); in prepareTracks_l() 5002 if (cblk->mServer != 0) { in prepareTracks_l() 5009 } else if (cblk->mServer != 0) { in prepareTracks_l() 5201 ALOGVV("track(%d) s=%08x [NOT READY] on thread %p", trackId, cblk->mServer, this); in prepareTracks_l() 5709 ALOGVV("track(%d) s=%08x [OK]", trackId, cblk->mServer); in prepareTracks_l() 6261 ALOGVV("OffloadThread: track(%d) s=%08x [OK]", track->id(), cblk->mServer); in prepareTracks_l() 6305 ALOGVV("OffloadThread: track(%d) s=%08x [NOT READY]", track->id(), cblk->mServer); in prepareTracks_l()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrackShared.cpp | 51 : mServer(0), mFutex(0), mMinimum(0) in audio_track_cblk_t() 863 cblk->mServer += stepCount; in releaseBuffer() 1200 cblk->mServer += stepCount; in releaseBuffer()
|
D | AudioTrack.cpp | 1583 mServer = 0; in createTrack_l() 2403 const int32_t delta = (newServer - mServer).signedValue(); in updateAndGetPosition_l() 2415 mServer = newServer; in updateAndGetPosition_l() 2764 const int32_t pipelineDepthInFrames = (mServer - timestamp.mPosition).signedValue(); in getTimestamp_l() 2773 timestamp.mPosition = (mPosition - mServer + timestamp.mPosition).value(); in getTimestamp_l()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioTrack.h | 1140 Modulo<uint32_t> mServer; // in frames, last known mProxy->getPosition() variable
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 39263 Landroid/media/midi/MidiDeviceServer;->mServer:Landroid/media/midi/IMidiDeviceServer; 39269 Landroid/media/midi/MidiDeviceService;->mServer:Landroid/media/midi/MidiDeviceServer; 42328 Landroid/mtp/MtpDatabase;->mServer:Landroid/mtp/MtpServer; 49794 Landroid/os/FileBridge;->mServer:Ljava/io/FileDescriptor; 72116 Landroid/util/NtpTrustedTime;->mServer:Ljava/lang/String;
|