/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ForwardingContentProvider.java | 46 private final ContentProviderClient mClient; field in ForwardingContentProvider 49 mClient = client; in ForwardingContentProvider() 56 return mClient.query(url, projection, selection, selectionArgs, sortOrder); in query() 67 return mClient.query(url, projection, selection, selectionArgs, sortOrder, in query() 77 return mClient.getType(url); in getType() 86 return mClient.getStreamTypes(url, mimeTypeFilter); in getStreamTypes() 95 return mClient.insert(url, initialValues); in insert() 104 return mClient.bulkInsert(url, initialValues); in bulkInsert() 113 return mClient.delete(url, selection, selectionArgs); in delete() 123 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/DocumentsUI/tests/common/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 71 private final ContentProviderClient mClient; field in DocumentsProviderHelper 77 mClient = userId.getContentResolver(context).acquireContentProviderClient(name); in DocumentsProviderHelper() 84 cursor = mClient.query(rootsUri, null, null, null, null); in getRoot() 103 Uri uri = DocumentsContract.createDocument(wrap(mClient), parentUri, mimeType, name); in createDocument() 130 Bundle out = mClient.call("createDocumentWithFlags", null, in); in createDocumentWithFlags() 150 ParcelFileDescriptor file = mClient.openFile(documentUri, "w", null); in writeDocument() 159 ParcelFileDescriptor file = mClient.openFile(documentUri, "wa", null); in writeAppendDocument() 167 mClient.call("waitForWrite", null, null); in waitForWrite() 171 ParcelFileDescriptor file = mClient.openFile(documentUri, "r", null); in readDocument() 297 try (Cursor cursor = mClient.query(uri, null, null, null, null, null)) { in listChildren() [all …]
|
/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/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()
|
/packages/services/Car/computepipe/runner/engine/ |
D | DefaultEngine.cpp | 54 mClient = std::move(client); in setClientInterface() 85 return mClient->activate(); in activate() 286 ret = mClient->handleConfigPhase(config); in broadcastClientConfig() 303 (void)mClient->handleConfigPhase(config); in abortClientConfig() 344 ret = mClient->handleExecutionPhase(runEvent); in broadcastStartRun() 388 (void)mClient->handleExecutionPhase(runEvent); in broadcastAbortRun() 410 (void)mClient->handleStopWithFlushPhase(runEvent); in broadcastStopWithFlush() 432 (void)mClient->handleStopWithFlushPhase(runEvent); in broadcastStopComplete() 457 (void)mClient->handleStopImmediatePhase(stopEvent); in broadcastHalt() 478 (void)mClient->handleStopImmediatePhase(stopEvent); in broadcastHalt() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | HalClientUnitTest.java | 51 private HalClient mClient; field in HalClientUnitTest 55 mClient = new HalClient(mIVehicle, Looper.getMainLooper(), mIVehicleCallback, in setFixtures() 68 () -> mClient.setValue(mProp)); in testSet_remoteExceptionThenFail() 80 mClient.setValue(mProp); in testSet_remoteExceptionThenOk() 88 () -> mClient.setValue(mProp)); in testSet_invalidArgument() 99 () -> mClient.setValue(mProp)); in testSet_otherError()
|
/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()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DirectoryResultTest.java | 36 private ContentProviderClient mClient; field in DirectoryResultTest 41 mClient = Mockito.mock(ContentProviderClient.class); in setUp() 50 result.client = mClient; in testClose() 56 Mockito.verify(mClient).close(); in testClose()
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsSubscriberManager.java | 77 private @Nullable VmsClient mClient; field in VmsSubscriberManager 143 mClient = null; in clearVmsSubscriberClientCallback() 242 if (mClient == null) { in getVmsClient() 245 return mClient; in getVmsClient() 262 mClient = client; in onClientConnected()
|
D | VmsPublisherClientService.java | 69 private @Nullable VmsClient mClient; field in VmsPublisherClientService 178 if (mClient == null) { in getVmsClient() 181 return mClient; in getVmsClient() 189 mClient = client; in onClientConnected()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobileDataEnabledListener.java | 26 private Client mClient; field in MobileDataEnabledListener 49 mClient = client; in MobileDataEnabledListener() 65 mClient.onMobileDataEnabledChange(); in start() 79 mClient.onMobileDataEnabledChange(); in start()
|
D | SubscriptionsChangeListener.java | 42 private SubscriptionsChangeListenerClient mClient; field in SubscriptionsChangeListener 51 mClient = client; in SubscriptionsChangeListener() 92 mClient.onSubscriptionsChanged(); in subscriptionsChangedCallback() 98 mClient.onAirplaneModeChanged(isAirplaneModeOn()); in onChange()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VmsHalService.java | 101 private VmsClient mClient; field in VmsHalService 225 if (mClient == null) { in dump() 231 writer.printf("AvailableLayers: %s\n", mClient.getAvailableLayers()); in dump() 232 writer.printf("SubscriptionState: %s\n", mClient.getSubscriptionState()); in dump() 326 mClient = mInitVmsClient.apply(mHandler, mClientCallback); in connectVmsClient() 332 if (mClient != null) { in disconnectVmsClient() 334 mClient.unregister(); in disconnectVmsClient() 338 mClient = null; in disconnectVmsClient() 362 if (mClient == null) { in getVmsClient() 365 return mClient; in getVmsClient()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/ |
D | ImageBinder.java | 76 private final Consumer<Drawable> mClient; field in ImageBinder 88 mClient = checkNotNull(consumer, "Cannot bind a null consumer"); in ImageBinder() 94 mClient = null; in ImageBinder() 98 if (mClient != null) { in setDrawable() 99 mClient.accept(drawable); in setDrawable()
|
/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/services/Car/watchdog/testclient/src/ |
D | WatchdogClient.cpp | 187 WatchdogClient::MessageHandlerImpl::MessageHandlerImpl(WatchdogClient* client) : mClient(client) {} in MessageHandlerImpl() 192 mClient->respondToWatchdog(); in handleMessage() 195 mClient->becomeInactive(); in handleMessage() 198 mClient->terminateProcess(); in handleMessage()
|
/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()
|