/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/dvb/ |
D | DvbTunerHalTest.java | 48 int signal = mDvbTunerHal.getSignalStrength(); in getSignalStrength_notUsed() local 49 assertThat(signal).isEqualTo(TvInputConstantCompat.SIGNAL_STRENGTH_NOT_USED); in getSignalStrength_notUsed() 55 int signal = mDvbTunerHal.getSignalStrength(); in getSignalStrength_errorMax() local 56 assertThat(signal).isEqualTo(TvInputConstantCompat.SIGNAL_STRENGTH_ERROR); in getSignalStrength_errorMax() 62 int signal = mDvbTunerHal.getSignalStrength(); in getSignalStrength_errorMin() local 63 assertThat(signal).isEqualTo(TvInputConstantCompat.SIGNAL_STRENGTH_ERROR); in getSignalStrength_errorMin() 69 int signal = mDvbTunerHal.getSignalStrength(); in getSignalStrength_error() local 70 assertThat(signal).isEqualTo(TvInputConstantCompat.SIGNAL_STRENGTH_ERROR); in getSignalStrength_error() 76 int signal = mDvbTunerHal.getSignalStrength(); in getSignalStrength_curvedMax() local 77 assertThat(signal).isEqualTo(100); in getSignalStrength_curvedMax() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetAgIndicatorEnableState.java | 24 public boolean signal; field in HeadsetAgIndicatorEnableState 31 signal = newSignal; in HeadsetAgIndicatorEnableState() 41 return service == other.service && roam == other.roam && signal == other.signal in equals() 50 if (signal) result += 4; in hashCode() 66 .append(signal) in buildString()
|
D | HeadsetNativeInterface.java | 200 private void onAtBia(boolean service, boolean roam, boolean signal, boolean battery, in onAtBia() argument 203 new HeadsetAgIndicatorEnableState(service, roam, signal, battery); in onAtBia() 351 int callState, int signal, int roam, int batteryCharge) { in cindResponse() argument 352 return cindResponseNative(service, numActive, numHeld, callState, signal, roam, in cindResponse() 485 int callState, int signal, int roam, int batteryCharge, byte[] address); in cindResponseNative() argument 487 private native boolean notifyDeviceStatusNative(int networkState, int serviceType, int signal, in notifyDeviceStatusNative() argument
|
D | HeadsetDeviceState.java | 45 HeadsetDeviceState(int service, int roam, int signal, int batteryCharge) { in HeadsetDeviceState() argument 48 mSignal = signal; in HeadsetDeviceState()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | VCardRequest.java | 91 final CountDownLatch signal = new CountDownLatch(1); in loadMediaBlocking() local 92 if (!parseVCard(mDescriptor.vCardUri, signal)) { in loadMediaBlocking() 97 signal.await(VCARD_LOADING_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in loadMediaBlocking() 118 private boolean parseVCard(final Uri targetUri, final CountDownLatch signal) { in parseVCard() argument 147 return doActuallyReadOneVCard(targetUri, true, detector, null, signal); in parseVCard() 153 final CountDownLatch signal) { in doActuallyReadOneVCard() argument 161 builder.addEntryHandler(new ContactVCardEntryHandler(signal)); in doActuallyReadOneVCard() 246 public ContactVCardEntryHandler(final CountDownLatch signal) { in ContactVCardEntryHandler() argument 247 mSignal = signal; in ContactVCardEntryHandler()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
D | MediaResourceManagerTest.java | 136 final CountDownLatch signal = new CountDownLatch(1); in loadImage() local 138 createAssertListener(shouldBeCached, shouldFail, signal)); in loadImage() 143 signal.await(); in loadImage() 150 final boolean shouldBeCached, final boolean shouldFail, final CountDownLatch signal) { in createAssertListener() argument 163 signal.countDown(); in createAssertListener() 171 signal.countDown(); in createAssertListener()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ForwardingContentProvider.java | 140 CancellationSignal signal) { in openFile() argument 142 return mClient.openFile(url, mode, signal); in openFile() 161 CancellationSignal signal) { in openAssetFile() argument 163 return mClient.openAssetFile(url, mode, signal); in openAssetFile() 179 Bundle opts, CancellationSignal signal) { in openTypedAssetFileDescriptor() argument 181 return mClient.openTypedAssetFileDescriptor(uri, mimeType, opts, signal); in openTypedAssetFileDescriptor()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 739 @Nullable CancellationSignal signal) in queryRecentDocuments() argument 890 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument() argument 909 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException { in openDocumentThumbnail() argument 916 return openOrCreateImageThumbnailCleared(id, sizeHint, signal); in openDocumentThumbnail() 918 return openOrCreateImageThumbnailCleared(ident.id, sizeHint, signal); in openDocumentThumbnail() 921 return openOrCreateVideoThumbnailCleared(id, sizeHint, signal); in openDocumentThumbnail() 923 return openOrCreateVideoThumbnailCleared(ident.id, sizeHint, signal); in openDocumentThumbnail() 1237 CancellationSignal signal) throws FileNotFoundException { in openImageThumbnailCleared() argument 1243 return resolver.openTypedAssetFile(uri, "image/*", opts, signal); in openImageThumbnailCleared() 1247 CancellationSignal signal) throws FileNotFoundException { in openOrCreateImageThumbnailCleared() argument [all …]
|
D | MediaProvider.java | 840 public void onIdleMaintenance(@NonNull CancellationSignal signal) { in onIdleMaintenance() argument 847 signal.throwIfCanceled(); in onIdleMaintenance() 858 pruneThumbnails(signal); in onIdleMaintenance() 863 null, null, null, null, null, null, signal)) { in onIdleMaintenance() argument 887 null, null, null, null, signal)) { in onIdleMaintenance() argument 1674 public Cursor query(Uri uri, String[] projection, Bundle queryArgs, CancellationSignal signal) { in query() argument 1677 return queryInternal(uri, projection, queryArgs, signal); in query() 1684 CancellationSignal signal) { in queryInternal() argument 1840 data = ensureThumbnail(fullUri, signal).getAbsolutePath(); in queryInternal() 1856 selection, selectionArgs, groupBy, having, sortOrder, limit, signal); in queryInternal() [all …]
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | PipeThread.java | 46 int signal = mPipe.read(); in run() local 47 while (signal != NetworkedVirtualDisplay.PIPE_STOP) { in run() 48 Log.i(TAG, "Received non-stop signal: " + signal); in run() 49 signal = mPipe.read(); in run()
|
D | NetworkedVirtualDisplay.java | 376 int signal = pipe.read(); in tryPipeConnect() local 377 while (signal != PIPE_START) { in tryPipeConnect() 378 Log.i(TAG, "Received non-start signal: " + signal); in tryPipeConnect() 379 signal = pipe.read(); in tryPipeConnect()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 1306 int signal; in handleMessageCheckSignalStrength() local 1310 signal = source.getSignalStrength(); in handleMessageCheckSignalStrength() 1311 return handleSignal(signal); in handleMessageCheckSignalStrength() 1319 protected boolean handleSignal(int signal) { in handleSignal() argument 1320 if (signal == TvInputConstantCompat.SIGNAL_STRENGTH_NOT_USED in handleSignal() 1321 || signal == TvInputConstantCompat.SIGNAL_STRENGTH_ERROR) { in handleSignal() 1322 notifySignal(signal); in handleSignal() 1325 if (signal != mSignalStrength && signal >= 0) { in handleSignal() 1326 notifySignal(signal); in handleSignal() 1334 protected void notifySignal(int signal) { in notifySignal() argument [all …]
|
D | TunerSessionWorker.java | 1373 int signal; in handleMessageCheckSignalStrength() local 1377 signal = source.getSignalStrength(); in handleMessageCheckSignalStrength() 1378 return handleSignal(signal); in handleMessageCheckSignalStrength() 1386 protected boolean handleSignal(int signal) { in handleSignal() argument 1387 if (signal == TvInputConstantCompat.SIGNAL_STRENGTH_NOT_USED in handleSignal() 1388 || signal == TvInputConstantCompat.SIGNAL_STRENGTH_ERROR) { in handleSignal() 1389 notifySignal(signal); in handleSignal() 1392 if (signal != mSignalStrength && signal >= 0) { in handleSignal() 1393 notifySignal(signal); in handleSignal() 1401 protected void notifySignal(int signal) { in notifySignal() argument [all …]
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | FilesActivityPerfTest.java | 85 final CountDownLatch signal = new CountDownLatch(1); in testFilesListedPerformance() local 107 signal.countDown(); in testFilesListedPerformance() 118 signal.await(); in testFilesListedPerformance()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ReadableArchive.java | 264 String documentId, String mode, @Nullable final CancellationSignal signal) in openDocument() argument 291 String documentId, Point sizeHint, final CancellationSignal signal) in openDocumentThumbnail() argument 326 openDocument(documentId, "r", signal), range[0], range[1], extras); in openDocumentThumbnail() 340 openDocument(documentId, "r", signal), 0, entry.getSize(), null); in openDocumentThumbnail()
|
D | ArchivesProvider.java | 216 String documentId, String mode, final CancellationSignal signal) in openDocument() argument 219 return loader.get().openDocument(documentId, mode, signal); in openDocument() 224 String documentId, Point sizeHint, final CancellationSignal signal) in openDocumentThumbnail() argument 227 return loader.get().openDocumentThumbnail(documentId, sizeHint, signal); in openDocumentThumbnail()
|
D | WriteableArchive.java | 202 String documentId, String mode, @Nullable final CancellationSignal signal) in openDocument() argument 247 if (signal != null) { in openDocument() 248 signal.throwIfCanceled(); in openDocument()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/ |
D | DvbTunerHal.java | 218 private int updatingSignal(int signal) { in updatingSignal() argument 219 int delta = Math.abs(signal - mSignalStrength); in updatingSignal() 221 mSignalStrength = signal; in updatingSignal()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ChannelBannerView.java | 587 int signal = 0; 590 signal = R.drawable.quantum_ic_signal_cellular_0_bar_white_24; 592 signal = R.drawable.quantum_ic_signal_cellular_1_bar_white_24; 594 signal = R.drawable.quantum_ic_signal_cellular_2_bar_white_24; 596 signal = R.drawable.quantum_ic_signal_cellular_3_bar_white_24; 598 signal = R.drawable.quantum_ic_signal_cellular_4_bar_white_24; 601 return signal;
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 182 final CancellationSignal signal = mSignals.remove(volumeName); in onDetachVolume() local 183 if (signal != null) { in onDetachVolume() 184 signal.cancel(); in onDetachVolume() 191 CancellationSignal signal = mSignals.get(volumeName); in getOrCreateSignal() local 192 if (signal == null) { in getOrCreateSignal() 193 signal = new CancellationSignal(); in getOrCreateSignal() 194 mSignals.put(volumeName, signal); in getOrCreateSignal() 196 return signal; in getOrCreateSignal()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | MainFragment.java | 260 final int signal = mConnectivityListener.getCellSignalStrength(); in updateWifi() local 261 switch (signal) { in updateWifi() 284 final int signal = mConnectivityListener.getWifiSignalStrength(5); in updateWifi() local 285 switch (signal) { in updateWifi()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | ImageBackend.java | 279 protocol.signal(); in releaseSemaphoreReference() 651 imageShadowTask.getProtocol().signal(); in decrementTaskDone() 899 public void signal() { in signal() method in ImageBackend.BlockSignalProtocol 901 mSignal.signal(); in signal()
|
/packages/apps/TV/common/src/com/android/tv/common/compat/internal/ |
D | tif_events.proto | 43 // Notifies the TV Application the current signal strength. 45 // The signal strength as a percent (0 to 100),
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/ |
D | FiniteTicketPool.java | 106 nextWaiter.getCondition().signal(); in releaseTicket() 196 waiter.getCondition().signal(); in close()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 368 @Nullable Bundle queryArgs, @Nullable CancellationSignal signal) in queryRecentDocuments() argument 524 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument() argument 530 return super.openDocument(docId, mode, signal); in openDocument() 541 return resolver.openFileDescriptor(contentUri, mode, signal); in openDocument() 843 String selection, String[] selectionArgs, CancellationSignal signal) in queryForSingleItem() argument 846 ContentResolver.createSqlQueryBundle(selection, selectionArgs, null), signal); in queryForSingleItem()
|