Home
last modified time | relevance | path

Searched refs:offer (Results 1 – 25 of 101) sorted by relevance

12345

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkOfferTest.kt46 val offer = NetworkOffer(score, NetworkCapabilities.Builder().build(), mockCallback, in testOfferNeededUnneeded() constant
50 offer.onNetworkNeeded(request1) in testOfferNeededUnneeded()
52 assertTrue(offer.neededFor(request1)) in testOfferNeededUnneeded()
53 assertFalse(offer.neededFor(request2)) in testOfferNeededUnneeded()
55 offer.onNetworkNeeded(request2) in testOfferNeededUnneeded()
57 assertTrue(offer.neededFor(request1)) in testOfferNeededUnneeded()
58 assertTrue(offer.neededFor(request2)) in testOfferNeededUnneeded()
64 offer.onNetworkUnneeded(request1) in testOfferNeededUnneeded()
66 assertFalse(offer.neededFor(request1)) in testOfferNeededUnneeded()
67 assertTrue(offer.neededFor(request2)) in testOfferNeededUnneeded()
[all …]
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpLeaseRepositoryTest.java246 DhcpLease offer = mRepo.getOffer(CLIENTID_UNSPEC, TEST_MAC_1, in testGetOffer_ExistingLease() local
248 assertEquals(TEST_INETADDR_1, offer.getNetAddr()); in testGetOffer_ExistingLease()
249 assertEquals(TEST_HOSTNAME_1, offer.getHostname()); in testGetOffer_ExistingLease()
260 DhcpLease offer = mRepo.getOffer(clientId, TEST_MAC_2, in testGetOffer_ClientIdHasExistingLease() local
262 assertEquals(TEST_INETADDR_1, offer.getNetAddr()); in testGetOffer_ClientIdHasExistingLease()
263 assertEquals(TEST_HOSTNAME_1, offer.getHostname()); in testGetOffer_ClientIdHasExistingLease()
275 DhcpLease offer = mRepo.getOffer(clientId2, TEST_MAC_1, in testGetOffer_DifferentClientId() local
278 assertNotEquals(TEST_INETADDR_1, offer.getNetAddr()); in testGetOffer_DifferentClientId()
279 assertEquals(HOSTNAME_NONE, offer.getHostname()); in testGetOffer_DifferentClientId()
280 assertEquals(TEST_MAC_1, offer.getHwAddr()); in testGetOffer_DifferentClientId()
[all …]
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DBankedTzIdSetsPacker.java82 if (bankHelper.offer(uniqueIdSets)) { in addTzIdSets()
90 if (!bankHelper.offer(uniqueIdSets)) { in addTzIdSets()
182 boolean offer(List<List<String>> uniqueIdSets) { in offer() method in BankedTzIdSetsPacker.BankHelper
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/util/
DBlockingResultReceiverTest.java48 resultCodeBlockingQueue.offer(receiver.getResultCode()); in testSend_andAssertCalled()
49 dataBlockingQueue.offer(receiver.getResultData()); in testSend_andAssertCalled()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java3884 informOffer(nri, noi.offer, mNetworkRanker); in disconnectAndDestroyNetwork()
4046 informOffer(nri, noi.offer, mNetworkRanker); in handleRegisterNetworkRequests()
4267 if (req.isRequest() && noi.offer.neededFor(req)) { in handleRemoveNetworkRequest()
4268 noi.offer.onNetworkUnneeded(req); in handleRemoveNetworkRequest()
4832 final NetworkOfferInfo offer = in handleMessage() local
4834 if (null != offer) { in handleMessage()
4835 handleUnregisterNetworkOffer(offer); in handleMessage()
6388 final NetworkOffer offer = new NetworkOffer( in offerNetwork() local
6390 mHandler.sendMessage(mHandler.obtainMessage(EVENT_REGISTER_NETWORK_OFFER, offer)); in offerNetwork()
6407 if (noi.offer.providerId == npi.providerId) { in handleUnregisterNetworkProvider()
[all …]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoCarousel.java151 mBitmapQueue.offer(photo); in onPostExecute()
170 mBitmapLoaders.offer(task); in maybeLoadMore()
DPicasaSource.java236 foundImages.offer(data); in findImages()
457 mRecycleBin.offer(data); in getStream()
/packages/providers/MediaProvider/tests/res/raw/
Dtest_srt.srt4 - Made him an offer he couldn't refuse.
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java199 sink.offer(this); in processMessage()
318 sink.offer(this); in processMessage()
428 sink.offer(this); in processMessage()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyActivity.java47 if (mResult.offer(resultCode) == false) { in onActivityResult()
DNetworkPolicyTestUtils.java278 blockingQueue.offer(successCode); in createActionListener()
283 blockingQueue.offer(reason); in createActionListener()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DGetResultActivity.java54 sResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleQueue.java34 mQueue.offer(sample); in queueSample()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleQueue.java35 mQueue.offer(sample); in queueSample()
/packages/apps/TV/src/com/android/tv/recommendation/
DChannelRecord.java92 mWatchHistory.offer(p); in logWatchHistory()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DSyncAnswerTest.java78 mExceptionReceiver.offer(exception); in logException()
/packages/modules/Connectivity/tests/cts/net/api23Test/src/android/net/cts/api23test/
DConnectivityManagerApi23Test.java122 result.offer(getResultCode()); in sendOrderedBroadcastAndReturnResultCode()
/packages/apps/Camera2/src/com/android/camera/widget/
DPreloader.java116 mItemLoadTokens.offer(loadTokens); in registerLoadTokens()
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses94 use, offer to sell, sell, import, and otherwise transfer the Work,
183 the Work or Derivative Works thereof, You may choose to offer,
276 use, offer to sell, sell, import, and otherwise transfer the Work,
365 the Work or Derivative Works thereof, You may choose to offer,
482 use, offer to sell, sell, import, and otherwise transfer the Work,
571 the Work or Derivative Works thereof, You may choose to offer,
688 use, offer to sell, sell, import, and otherwise transfer the Work,
777 the Work or Derivative Works thereof, You may choose to offer,
894 use, offer to sell, sell, import, and otherwise transfer the Work,
983 the Work or Derivative Works thereof, You may choose to offer,
[all …]
/packages/modules/NeuralNetworks/runtime/
DNOTICE89 use, offer to sell, sell, import, and otherwise transfer the Work,
178 the Work or Derivative Works thereof, You may choose to offer,
271 use, offer to sell, sell, import, and otherwise transfer the Work,
360 the Work or Derivative Works thereof, You may choose to offer,
500 (b) under Patent Claims of such Contributor to make, use, sell, offer
608 You may choose to offer, and to charge a fee for, warranty, support,
615 indemnity or liability terms You offer. You may include additional
991 use, offer to sell, sell, import, and otherwise transfer the Work,
1080 the Work or Derivative Works thereof, You may choose to offer,
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/
DLICENSE77 use, offer to sell, sell, import, and otherwise transfer the Work,
166 the Work or Derivative Works thereof, You may choose to offer,
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeLocalRequestScheduler.java111 mRequestQueue.offer(request); in addRequest()
/packages/apps/TV/res/raw/
Dthird_party_licenses107 use, offer to sell, sell, import, and otherwise transfer the Work,
196 the Work or Derivative Works thereof, You may choose to offer,
312 use, offer to sell, sell, import, and otherwise transfer the Work,
401 the Work or Derivative Works thereof, You may choose to offer,
518 use, offer to sell, sell, import, and otherwise transfer the Work,
607 the Work or Derivative Works thereof, You may choose to offer,
724 use, offer to sell, sell, import, and otherwise transfer the Work,
813 the Work or Derivative Works thereof, You may choose to offer,
930 use, offer to sell, sell, import, and otherwise transfer the Work,
1019 the Work or Derivative Works thereof, You may choose to offer,
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactInfoCache.java303 updateRequests.offer(request); in enqueueRequest()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java92 if (mActiveDownstreams.offer(new Downstream(downstream, mode, mNextSubnetId))) { in addActiveDownstream()

12345