Home
last modified time | relevance | path

Searched refs:mServer (Results 1 – 6 of 6) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/
DMtpService.java113 private MtpServer mServer; field in MtpService
189 if (mServer == null && isCurrentUser) { in manageServiceLocked()
191 mServer = new MtpServer(mDatabase, mPtpMode); in manageServiceLocked()
192 mDatabase.setServer(mServer); in manageServiceLocked()
196 mServer.start(); in manageServiceLocked()
197 } else if (mServer != null && !isCurrentUser) { in manageServiceLocked()
201 mServer = null; in manageServiceLocked()
219 if (mServer != null) {
220 mServer.sendObjectAdded(objectHandle);
227 if (mServer != null) {
[all …]
/packages/apps/Camera/src/com/android/camera/
DActivityBase.java554 private Server mServer; field in ActivityBase.MyAppBridge
609 mServer = s; in setServer()
623 if (mServer != null) mServer.addSecureAlbumItem(isVideo, id); in addSecureAlbumItem()
627 if (mServer != null) mServer.setCameraRelativeFrame(frame); in setCameraRelativeFrame()
631 if (mServer != null) mServer.switchWithCaptureAnimation(offset); in switchWithCaptureAnimation()
635 if (mServer != null) mServer.setSwipingEnabled(enabled); in setSwipingEnabled()
639 if (mServer != null) mServer.notifyScreenNailChanged(); in notifyScreenNailChanged()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java61 protected MockWebServer mServer; field in AbstractDownloadProviderFunctionalTest
175 mServer = new MockWebServer(); in setUp()
176 mServer.play(); in setUp()
182 mServer.shutdown(); in tearDown()
220 mServer.enqueue(resp); in enqueueResponse()
243 RecordedRequest request = mServer.takeRequest(); in takeRequest()
249 return mServer.getUrl(path).toString(); in getServerUri()
DPublicApiFunctionalTest.java420 .setHeader("Location", mServer.getUrl("/" + i).toString())); in testRunawayRedirect()
737 .setHeader("Location", mServer.getUrl(REDIRECTED_PATH).toString())); in runRedirectionTest()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnDialog.java53 private TextView mServer; field in VpnDialog
87 mServer = (TextView) mView.findViewById(R.id.server); in onCreate()
105 mServer.setText(mProfile.server); in onCreate()
128 mServer.addTextChangedListener(this); in onCreate()
256 if (mName.getText().length() == 0 || mServer.getText().length() == 0 || in validate()
340 profile.server = mServer.getText().toString().trim(); in getProfile()
/packages/apps/Settings/src/com/android/settings/
DApnEditor.java75 private EditTextPreference mServer; field in ApnEditor
165 mServer = (EditTextPreference) findPreference("apn_server"); in onCreate()
260 mServer.setText(mCursor.getString(SERVER_INDEX)); in fillUi()
304 mServer.setSummary(checkNull(mServer.getText())); in fillUi()
550 values.put(Telephony.Carriers.SERVER, checkNotSet(mServer.getText())); in validateAndSave()