/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | WallpaperCropActivity.java | 162 final LoadRequest req = (LoadRequest) msg.obj; in handleMessage() local 165 if (req.src == null) { in handleMessage() 175 req.result = new DrawableTileSource(this, in handleMessage() 180 req.src.loadInBackground(new InBitmapProvider() { in handleMessage() 217 req.result = new BitmapRegionTileSource(WallpaperCropActivity.this, req.src, in handleMessage() 219 loadSuccess = req.src.getLoadingState() == BitmapSource.State.LOADED; in handleMessage() 226 if (req == mCurrentLoadRequest) { in handleMessage() 227 onLoadRequestComplete(req, loadSuccess); in handleMessage() 229 addReusableBitmap(req.result); in handleMessage() 267 protected void onLoadRequestComplete(LoadRequest req, boolean success) { in onLoadRequestComplete() argument [all …]
|
D | WallpaperPickerActivity.java | 115 protected void onLoadRequestComplete(LoadRequest req, boolean success) { in onLoadRequestComplete() argument 116 super.onLoadRequestComplete(req, success); in onLoadRequestComplete()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadScanner.java | 106 for (ScanRequest req : mPending.values()) { in hasPendingScans() 107 if (nowRealtime < req.requestRealtime + SCAN_TIMEOUT) { in hasPendingScans() 122 public void requestScan(ScanRequest req) { in requestScan() argument 123 if (LOGV) Log.v(TAG, "requestScan() for " + req.path); in requestScan() 125 mPending.put(req.path, req); in requestScan() 128 req.exec(mConnection); in requestScan() 142 for (ScanRequest req : mPending.values()) { in onMediaScannerConnected() 143 req.exec(mConnection); in onMediaScannerConnected() 150 final ScanRequest req; in onScanCompleted() local 152 req = mPending.remove(path); in onScanCompleted() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BlobCache.java | 442 public boolean lookup(LookupRequest req) throws IOException { in lookup() argument 444 if (lookupInternal(req.key, mActiveHashStart)) { in lookup() 445 if (getBlob(mActiveDataFile, mFileOffset, req)) { in lookup() 456 if (lookupInternal(req.key, mInactiveHashStart)) { in lookup() 457 if (getBlob(mInactiveDataFile, mFileOffset, req)) { in lookup() 460 if (mActiveBytes + BLOB_HEADER_SIZE + req.length > mMaxBytes in lookup() 467 insertInternal(req.key, req.buffer, req.length); in lookup() 489 LookupRequest req) throws IOException { in getBlob() argument 502 if (blobKey != req.key) { in getBlob() 517 if (req.buffer == null || req.buffer.length < length) { in getBlob() [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | ChildSessionStateMachine.java | 1046 ReceivedRequest req = (ReceivedRequest) message.obj; in processStateMessage() local 1047 switch (req.exchangeSubtype) { in processStateMessage() 1291 ReceivedRequest req = (ReceivedRequest) message.obj; in processStateMessage() local 1292 switch (req.exchangeSubtype) { in processStateMessage() 1297 req.requestPayloads, mCurrentChildSaRecord)) { in processStateMessage() 1320 + req.exchangeSubtype)); in processStateMessage() 1338 ReceivedRequest req = (ReceivedRequest) message.obj; in processStateMessage() local 1339 if (req.exchangeSubtype == IKE_EXCHANGE_SUBTYPE_DELETE_CHILD) { in processStateMessage() 1340 handleDeleteSessionRequest(req.requestPayloads); in processStateMessage() 1395 ReceivedRequest req = (ReceivedRequest) message.obj; in processStateMessage() local [all …]
|
D | IkeSessionStateMachine.java | 1173 private void executeLocalRequest(LocalRequest req, Message message) { in executeLocalRequest() argument 1174 req.releaseWakeLock(); in executeLocalRequest() 1176 if (!isRequestForCurrentSa(req)) { in executeLocalRequest() 1182 switch (req.procedureType) { in executeLocalRequest() 1201 "Invalid local request procedure type: " + req.procedureType)); in executeLocalRequest() 1210 ChildLocalRequest req = (ChildLocalRequest) localRequest; in isRequestForCurrentSa() local 1211 if (req.remoteSpi == IkeLocalRequestScheduler.SPI_NOT_INCLUDED in isRequestForCurrentSa() 1212 || mRemoteSpiToChildSessionMap.get(req.remoteSpi) != null) { in isRequestForCurrentSa() 1216 IkeLocalRequest req = (IkeLocalRequest) localRequest; in isRequestForCurrentSa() local 1217 if (req.remoteSpi == IkeLocalRequestScheduler.SPI_NOT_INCLUDED in isRequestForCurrentSa() [all …]
|
D | IkeLocalRequestScheduler.java | 94 for (LocalRequest req : mRequestQueue) { in releaseAllLocalRequestWakeLocks() 95 req.releaseWakeLock(); in releaseAllLocalRequestWakeLocks()
|
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
D | SpeedMeasurementController.java | 322 UsbRequest req = mUsbConnection.requestWait(); in drainRequests() local 323 if (req == null) { in drainRequests() 327 req.close(); in drainRequests() 348 UsbRequest req = mUsbConnection.requestWait(); in writeBufferSize() local 349 if (req == null) { in writeBufferSize() 353 req.close(); in writeBufferSize() 395 UsbRequest req = mUsbConnection.requestWait(); in run() local 396 if (req == null) { in run() 400 req.close(); in run()
|
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
D | EmbmsTestDownloadApp.java | 305 DownloadRequest req = (DownloadRequest) downloadRequestSpinner.getSelectedItem(); in onCreate() local 306 if (req == null) { in onCreate() 311 mDownloadManager.addProgressListener(req, sInstance.getMainThreadHandler()::post, in onCreate() 333 DownloadRequest req = (DownloadRequest) downloadRequestSpinner.getSelectedItem(); in onCreate() local 334 if (req == null) { in onCreate() 339 mDownloadManager.addStatusListener(req, sInstance.getMainThreadHandler()::post, in onCreate() 359 DownloadRequest req = (DownloadRequest) downloadRequestSpinner.getSelectedItem(); in onCreate() local 360 if (req == null) { in onCreate() 366 mDownloadManager.addStatusListener(req, sInstance.getMainThreadHandler()::post, in onCreate() 377 mDownloadManager.addProgressListener(req, sInstance.getMainThreadHandler()::post, in onCreate()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | NetlinkSocketTest.java | 62 final byte[] req = RtNetlinkNeighborMessage.newGetNeighborsRequest(TEST_SEQNO); in testBasicWorkingGetNeighborsQuery() 63 assertNotNull(req); in testBasicWorkingGetNeighborsQuery() 66 assertEquals(req.length, NetlinkSocket.sendMessage(fd, req, 0, req.length, TIMEOUT)); in testBasicWorkingGetNeighborsQuery()
|
/packages/modules/NetworkStack/jni/ |
D | network_stack_utils_jni.cpp | 62 arpreq req = {}; in network_stack_utils_addArpEntry() local 63 sockaddr_in& netAddrStruct = *reinterpret_cast<sockaddr_in*>(&req.arp_pa); in network_stack_utils_addArpEntry() 64 sockaddr& ethAddrStruct = req.arp_ha; in network_stack_utils_addArpEntry() 84 env->GetStringUTFRegion(ifname, 0, ifLen, req.arp_dev); in network_stack_utils_addArpEntry() 86 req.arp_flags = ATF_COM; // Completed entry (ha valid) in network_stack_utils_addArpEntry() 93 if (ioctl(fd, SIOCSARP, &req)) { in network_stack_utils_addArpEntry()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | PublicApiFunctionalTest.java | 472 RecordedRequest req; in testEtagChanged() local 477 req = takeRequest(); in testEtagChanged() 478 assertNull(getHeaderValue(req, "Range")); in testEtagChanged() 479 assertNull(getHeaderValue(req, "If-Match")); in testEtagChanged() 485 req = takeRequest(); in testEtagChanged() 486 assertEquals("bytes=2-", getHeaderValue(req, "Range")); in testEtagChanged() 487 assertEquals(A, getHeaderValue(req, "If-Match")); in testEtagChanged() 786 private static String getHeaderValue(RecordedRequest req, String header) { in getHeaderValue() argument 788 for (String h : req.getHeaders()) { in getHeaderValue()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactRecipientPhotoManager.java | 69 final BindableMediaRequest<ImageResource> req = descriptor.buildAsyncMediaRequest( in populatePhotoBytesAsync() 90 req.bind(IMAGE_BYTES_REQUEST_STATIC_BINDING_ID); in populatePhotoBytesAsync() 92 Factory.get().getMediaResourceManager().requestMediaResourceAsync(req); in populatePhotoBytesAsync()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 689 public void startProvisioning(ProvisioningConfigurationParcelable req) { in startProvisioning() argument 691 IpClient.this.startProvisioning(ProvisioningConfiguration.fromStableParcelable(req)); in startProvisioning() 800 public void startProvisioning(ProvisioningConfiguration req) { in startProvisioning() argument 801 if (!req.isValid()) { in startProvisioning() 806 final ScanResultInfo scanResultInfo = req.mScanResultInfo; in startProvisioning() 817 if (req.mLayer2Info != null) { in startProvisioning() 818 mL2Key = req.mLayer2Info.mL2Key; in startProvisioning() 819 mCluster = req.mLayer2Info.mCluster; in startProvisioning() 821 sendMessage(CMD_START, new android.net.shared.ProvisioningConfiguration(req)); in startProvisioning()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 2413 final SendReq req = new SendReq(); 2417 req.setFrom(new EncodedStringValue(lineNumber)); 2422 req.setTo(encodedNumbers); 2426 req.setSubject(new EncodedStringValue(message.getMmsSubject())); 2429 req.setDate(timestampMillis / 1000L); 2432 req.setBody(bodyInfo.mPduBody); 2434 req.setMessageSize(bodyInfo.mMessageSize); 2436 req.setMessageClass(PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes()); 2438 req.setExpiry(expiryTime); 2440 req.setPriority(priority); [all …]
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | AoapServiceManager.java | 289 private void send(Messenger messenger, int req, Bundle data) { in send() argument 290 Message msg = Message.obtain(null, req, null); in send()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/ip/ |
D | IIpClient.aidl | 7 oneway void startProvisioning(in android.net.ProvisioningConfigurationParcelable req); in startProvisioning() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/ip/ |
D | IIpClient.aidl | 7 oneway void startProvisioning(in android.net.ProvisioningConfigurationParcelable req); in startProvisioning() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/ip/ |
D | IIpClient.aidl | 24 oneway void startProvisioning(in android.net.ProvisioningConfigurationParcelable req); in startProvisioning() argument
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ip/ |
D | IIpClient.aidl | 30 void startProvisioning(in ProvisioningConfigurationParcelable req); in startProvisioning() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/ip/ |
D | IIpClient.aidl | 7 oneway void startProvisioning(in android.net.ProvisioningConfigurationParcelable req); in startProvisioning() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/ip/ |
D | IIpClient.aidl | 25 oneway void startProvisioning(in android.net.ProvisioningConfigurationParcelable req); in startProvisioning() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ip/ |
D | IIpClient.aidl | 25 oneway void startProvisioning(in android.net.ProvisioningConfigurationParcelable req); in startProvisioning() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ip/ |
D | IIpClient.aidl | 25 oneway void startProvisioning(in android.net.ProvisioningConfigurationParcelable req); in startProvisioning() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/ip/ |
D | IIpClient.aidl | 25 oneway void startProvisioning(in android.net.ProvisioningConfigurationParcelable req); in startProvisioning() argument
|