Home
last modified time | relevance | path

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

12

/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DForwardingContentProvider.java44 private final ContentProviderClient mClient; field in ForwardingContentProvider
47 mClient = client; in ForwardingContentProvider()
54 return mClient.query(url, projection, selection, selectionArgs, sortOrder); in query()
65 return mClient.query(url, projection, selection, selectionArgs, sortOrder, in query()
75 return mClient.getType(url); in getType()
84 return mClient.getStreamTypes(url, mimeTypeFilter); in getStreamTypes()
93 return mClient.insert(url, initialValues); in insert()
102 return mClient.bulkInsert(url, initialValues); in bulkInsert()
111 return mClient.delete(url, selection, selectionArgs); in delete()
121 return mClient.update(url, values, selection, selectionArgs); in update()
[all …]
/packages/modules/DnsResolver/
DDnsProxyListener.cpp569 : mClient(c), mHost(host), mService(service), mHints(hints), mNetContext(netcontext) {} in GetAddrInfoHandler()
678 const uid_t uid = mClient->getUid(); in doDns64Synthesis()
715 maybeFixupNetContext(&mNetContext, mClient->getPid()); in run()
716 const uid_t uid = mClient->getUid(); in run()
745 success = !mClient->sendBinaryMsg(ResponseCode::DnsProxyOperationFailed, &rv, sizeof(rv)); in run()
747 success = !mClient->sendCode(ResponseCode::DnsProxyQueryResult); in run()
750 success = sendBE32(mClient, 1) && sendaddrinfo(mClient, ai); in run()
753 success = success && sendBE32(mClient, 0); in run()
758 << " pid " << mClient->getPid(); in run()
766 mClient->decRef(); in run()
[all …]
DDnsProxyListener.h62 SocketClient* mClient; // ref counted variable
90 SocketClient* mClient; // ref counted variable
117 SocketClient* mClient; // ref counted variable
142 SocketClient* mClient; // ref counted
/packages/apps/Terminal/src/com/android/terminal/
DTerminal.java70 private TerminalClient mClient; field in Terminal
79 if (mClient != null) {
80 mClient.onDamage(startRow, endRow, startCol, endCol);
88 if (mClient != null) {
89 mClient.onMoveRect(destStartRow, destEndRow, destStartCol, destEndCol, srcStartRow,
100 if (mClient != null) {
101 mClient.onMoveCursor(posRow, posCol, oldPosRow, oldPosCol, visible);
108 if (mClient != null) {
109 mClient.onBell();
141 mClient = client; in setClient()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DDataConnectivityListenerTest.java47 private DataConnectivityListener.Client mClient; field in DataConnectivityListenerTest
62 mListener = new DataConnectivityListener(mContext, mClient); in setUp()
82 verify(mClient, never()).onDataConnectivityChange(); in onCapabilitiesChanged_notActiveNetwork_noCallback()
88 verify(mClient).onDataConnectivityChange(); in onCapabilitiesChanged_activeNetwork_onDataConnectivityChangeFires()
95 verify(mClient).onDataConnectivityChange(); in onLosing_notActiveNetwork_onDataConnectivityChangeFires()
101 verify(mClient).onDataConnectivityChange(); in onLosing_activeNetwork_onDataConnectivityChangeFires()
108 verify(mClient).onDataConnectivityChange(); in onLost_notActiveNetwork_onDataConnectivityChangeFires()
114 verify(mClient).onDataConnectivityChange(); in onLost_activeNetwork_onDataConnectivityChangeFires()
DSubscriptionsChangeListenerTest.java55 private SubscriptionsChangeListenerClient mClient; field in SubscriptionsChangeListenerTest
73 mListener = new SubscriptionsChangeListener(mContext, mClient); in initListener()
97 verify(mClient).onSubscriptionsChanged(); in onSubscriptionsChangedEvent_subscriptionManagerFires_eventDeliveredToUs()
107 verify(mClient, never()).onSubscriptionsChanged(); in onSubscriptionsChangedEvent_ignoresStickyBroadcastFromBeforeRegistering()
110 verify(mClient, times(1)).onSubscriptionsChanged(); in onSubscriptionsChangedEvent_ignoresStickyBroadcastFromBeforeRegistering()
120 verify(mClient).onSubscriptionsChanged(); in onSubscriptionsChangedEvent_radioTechnologyChangedBroadcast_eventDeliveredToUs()
128 verify(mClient).onAirplaneModeChanged(true); in onAirplaneModeChangedEvent_becameTrue_eventFires()
137 verify(mClient).onAirplaneModeChanged(false); in onAirplaneModeChangedEvent_becameFalse_eventFires()
DMobileDataEnabledListenerTest.java40 private MobileDataEnabledListener.Client mClient; field in MobileDataEnabledListenerTest
49 mListener = new MobileDataEnabledListener(mContext, mClient); in setUp()
57 verify(mClient).onMobileDataEnabledChange(); in onMobileDataEnabledChange_firesCorrectly()
66 verify(mClient, never()).onMobileDataEnabledChange(); in onMobileDataEnabledChange_doesNotFireAfterStop()
76 verify(mClient).onMobileDataEnabledChange(); in onMobileDataEnabledChange_changedToDifferentId_firesCorrectly()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java68 private final ContentProviderClient mClient; field in DocumentsProviderHelper
73 mClient = client; in DocumentsProviderHelper()
80 cursor = mClient.query(rootsUri, null, null, null, null); in getRoot()
99 Uri uri = DocumentsContract.createDocument(wrap(mClient), parentUri, mimeType, name); in createDocument()
126 Bundle out = mClient.call("createDocumentWithFlags", null, in); in createDocumentWithFlags()
146 ParcelFileDescriptor file = mClient.openFile(documentUri, "w", null); in writeDocument()
155 ParcelFileDescriptor file = mClient.openFile(documentUri, "wa", null); in writeAppendDocument()
163 mClient.call("waitForWrite", null, null); in waitForWrite()
167 ParcelFileDescriptor file = mClient.openFile(documentUri, "r", null); in readDocument()
293 try (Cursor cursor = mClient.query(uri, null, null, null, null, null)) { in listChildren()
[all …]
/packages/services/Car/service/src/com/android/car/
DListeners.java34 private final ClientType mClient; field in Listeners.ClientWithRate
39 mClient = client; in ClientWithRate()
47 mClient == ((ClientWithRate) o).mClient) { in equals()
55 return mClient.hashCode(); in hashCode()
67 return mClient; in getClient()
DCarProjectionService.java1032 final WirelessClient mClient; field in CarProjectionService.WirelessClientDeathRecipient
1036 mClient = client; in WirelessClientDeathRecipient()
1037 mClient.deathRecipient = this; in WirelessClientDeathRecipient()
1042 Log.w(TAG, "Wireless client " + mClient + " died."); in binderDied()
1047 service.unregisterWirelessClientLocked(mClient.token); in binderDied()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDataConnectivityListener.java32 private Client mClient; field in DataConnectivityListener
41 mClient = client; in DataConnectivityListener()
60 mClient.onDataConnectivityChange(); in onCapabilitiesChanged()
66 mClient.onDataConnectivityChange(); in onLosing()
71 mClient.onDataConnectivityChange(); in onLost()
DMobileNetworkActivity.java299 private Client mClient; field in MobileNetworkActivity.PhoneChangeReceiver
308 mClient = client; in PhoneChangeReceiver()
330 != mClient.getSubscriptionId()) { in onReceive()
334 mClient.onPhoneChange(); in onReceive()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DAbstractJobTest.java54 ContentProviderClient mClient; field in AbstractJobTest
76 mClient = mResolver.acquireContentProviderClient(AUTHORITY); in setUp()
77 mDocs = new DocumentsProviderHelper(AUTHORITY, mClient); in setUp()
85 mClient.release(); in tearDown()
90 mClient.call("clear", null, null); in resetStorage()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DImageBinder.java75 private final Consumer<Drawable> mClient; field in ImageBinder
87 mClient = checkNotNull(consumer, "Cannot bind a null consumer"); in ImageBinder()
93 mClient = null; in ImageBinder()
97 if (mClient != null) { in setDrawable()
98 mClient.accept(drawable); in setDrawable()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DActivityTest.java74 protected ContentProviderClient mClient; field in ActivityTest
121 mClient = mResolver.acquireUnstableContentProviderClient(getTestingProviderAuthority()); in setUp()
122 mDocsHelper = new DocumentsProviderHelper(getTestingProviderAuthority(), mClient); in setUp()
143 mClient.release(); in tearDown()
159 mClient.call("clear", null, null); in resetStorage()
DInternalStorageUiTest.java47 mClient = mResolver.acquireUnstableContentProviderClient(Providers.AUTHORITY_STORAGE); in setUp()
48 mDocsHelper = new DocumentsProviderHelper(Providers.AUTHORITY_STORAGE, mClient); in setUp()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionsChangeListener.java41 private SubscriptionsChangeListenerClient mClient; field in SubscriptionsChangeListener
50 mClient = client; in SubscriptionsChangeListener()
91 mClient.onSubscriptionsChanged(); in subscriptionsChangedCallback()
97 mClient.onAirplaneModeChanged(isAirplaneModeOn()); in onChange()
DMobileDataEnabledListener.java29 private Client mClient; field in MobileDataEnabledListener
39 mClient = client; in MobileDataEnabledListener()
67 mClient.onMobileDataEnabledChange(); in onChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DSubscriptionsChangeListener.java41 private SubscriptionsChangeListenerClient mClient; field in SubscriptionsChangeListener
50 mClient = client; in SubscriptionsChangeListener()
90 mClient.onSubscriptionsChanged(); in subscriptionsChangedCallback()
96 mClient.onAirplaneModeChanged(isAirplaneModeOn()); in onChange()
/packages/apps/TV/src/com/android/tv/
DInputSessionManager.java410 private TvRecordingClientCompat mClient; field in InputSessionManager.RecordingSession
422 mClient = new TvRecordingClientCompat(mContext, tag, callback, handler); in RecordingSession()
433 mClient.release(); in release()
434 mClient = null; in release()
491 mClient.tune(inputId, channelUri); in tune()
497 mClient.startRecording(programHintUri); in startRecording()
502 mClient.stopRecording(); in stopRecording()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java66 private MtpClient mClient; field in IngestService
96 mClient = new MtpClient(getApplicationContext()); in onCreate()
97 List<MtpDevice> devices = mClient.getDeviceList(); in onCreate()
101 mClient.addListener(this); in onCreate()
106 mClient.close(); in onDestroy()
/packages/apps/Nfc/src/com/android/nfc/handover/
DPeripheralHandoverService.java76 Messenger mClient; field in PeripheralHandoverService
176 mClient = msgData.getParcelable(EXTRA_CLIENT); in doPeripheralHandover()
286 if (mClient == null) { in replyToClient()
294 mClient.send(msg); in replyToClient()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java54 private ContentProviderClient mClient; field in LocalSource
266 mClient = mApplication.getContentResolver() in resume()
272 mClient.release(); in pause()
273 mClient = null; in pause()
/packages/services/Car/service/src/com/android/car/vms/
DVmsClientManager.java277 .map(subscriber -> subscriber.mClient) in getAllSubscribers()
576 private final IVmsSubscriberClient mClient; field in VmsClientManager.SubscriberConnection
583 mClient = subscriberClient; in SubscriberConnection()
603 mBrokerService.removeDeadSubscriber(mClient); in terminate()
604 IBinder subscriberBinder = mClient.asBinder(); in terminate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkActivity.java249 private Client mClient; field in MobileNetworkActivity.PhoneChangeReceiver
257 mClient = client; in PhoneChangeReceiver()
271 mClient.onPhoneChange(); in onReceive()

12