/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | NetworkOfferTest.kt | 46 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/ |
D | DhcpLeaseRepositoryTest.java | 246 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/ |
D | BankedTzIdSetsPacker.java | 82 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/ |
D | BlockingResultReceiverTest.java | 48 resultCodeBlockingQueue.offer(receiver.getResultCode()); in testSend_andAssertCalled() 49 dataBlockingQueue.offer(receiver.getResultData()); in testSend_andAssertCalled()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 3884 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/ |
D | PhotoCarousel.java | 151 mBitmapQueue.offer(photo); in onPostExecute() 170 mBitmapLoaders.offer(task); in maybeLoadMore()
|
D | PicasaSource.java | 236 foundImages.offer(data); in findImages() 457 mRecycleBin.offer(data); in getStream()
|
/packages/providers/MediaProvider/tests/res/raw/ |
D | test_srt.srt | 4 - Made him an offer he couldn't refuse.
|
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/ |
D | BluetoothRouteManager.java | 199 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/ |
D | MyActivity.java | 47 if (mResult.offer(resultCode) == false) { in onActivityResult()
|
D | NetworkPolicyTestUtils.java | 278 blockingQueue.offer(successCode); in createActionListener() 283 blockingQueue.offer(reason); in createActionListener()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | GetResultActivity.java | 54 sResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); in onActivityResult()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | SampleQueue.java | 34 mQueue.offer(sample); in queueSample()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | SampleQueue.java | 35 mQueue.offer(sample); in queueSample()
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | ChannelRecord.java | 92 mWatchHistory.offer(p); in logWatchHistory()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/ |
D | SyncAnswerTest.java | 78 mExceptionReceiver.offer(exception); in logException()
|
/packages/modules/Connectivity/tests/cts/net/api23Test/src/android/net/cts/api23test/ |
D | ConnectivityManagerApi23Test.java | 122 result.offer(getResultCode()); in sendOrderedBroadcastAndReturnResultCode()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | Preloader.java | 116 mItemLoadTokens.offer(loadTokens); in registerLoadTokens()
|
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/ |
D | third_party_licenses | 94 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/ |
D | NOTICE | 89 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/ |
D | LICENSE | 77 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/ |
D | IkeLocalRequestScheduler.java | 111 mRequestQueue.offer(request); in addRequest()
|
/packages/apps/TV/res/raw/ |
D | third_party_licenses | 107 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/ |
D | ContactInfoCache.java | 303 updateRequests.offer(request); in enqueueRequest()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinator.java | 92 if (mActiveDownstreams.offer(new Downstream(downstream, mode, mNextSubnetId))) { in addActiveDownstream()
|