/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ForwardingContentProvider.java | 44 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/ |
D | DnsProxyListener.cpp | 569 : 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 …]
|
D | DnsProxyListener.h | 62 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/ |
D | Terminal.java | 70 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/ |
D | DataConnectivityListenerTest.java | 47 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()
|
D | SubscriptionsChangeListenerTest.java | 55 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()
|
D | MobileDataEnabledListenerTest.java | 40 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/ |
D | DocumentsProviderHelper.java | 68 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/ |
D | Listeners.java | 34 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()
|
D | CarProjectionService.java | 1032 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/ |
D | DataConnectivityListener.java | 32 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()
|
D | MobileNetworkActivity.java | 299 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/ |
D | AbstractJobTest.java | 54 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/ |
D | ImageBinder.java | 75 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/ |
D | ActivityTest.java | 74 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()
|
D | InternalStorageUiTest.java | 47 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/ |
D | SubscriptionsChangeListener.java | 41 private SubscriptionsChangeListenerClient mClient; field in SubscriptionsChangeListener 50 mClient = client; in SubscriptionsChangeListener() 91 mClient.onSubscriptionsChanged(); in subscriptionsChangedCallback() 97 mClient.onAirplaneModeChanged(isAirplaneModeOn()); in onChange()
|
D | MobileDataEnabledListener.java | 29 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/ |
D | SubscriptionsChangeListener.java | 41 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/ |
D | InputSessionManager.java | 410 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/ |
D | IngestService.java | 66 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/ |
D | PeripheralHandoverService.java | 76 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/ |
D | LocalSource.java | 54 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/ |
D | VmsClientManager.java | 277 .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/ |
D | MobileNetworkActivity.java | 249 private Client mClient; field in MobileNetworkActivity.PhoneChangeReceiver 257 mClient = client; in PhoneChangeReceiver() 271 mClient.onPhoneChange(); in onReceive()
|