/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
IllegalBlockingModeExceptionTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 18 import java.nio.channels.IllegalBlockingModeException; 30 * @tests {@link java.nio.channels.IllegalBlockingModeException#IllegalBlockingModeException()}
|
IllegalSelectorExceptionTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 18 import java.nio.channels.IllegalSelectorException; 30 * @tests {@link java.nio.channels.IllegalSelectorException#IllegalSelectorException()}
|
NoConnectionPendingExceptionTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 18 import java.nio.channels.NoConnectionPendingException; 30 * @tests {@link java.nio.channels.NoConnectionPendingException#NoConnectionPendingException()}
|
NonReadableChannelExceptionTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 18 import java.nio.channels.NonReadableChannelException; 30 * @tests {@link java.nio.channels.NonReadableChannelException#NonReadableChannelException()}
|
NonWritableChannelExceptionTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 18 import java.nio.channels.NonWritableChannelException; 30 * @tests {@link java.nio.channels.NonWritableChannelException#NonWritableChannelException()}
|
NotYetBoundExceptionTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 18 import java.nio.channels.NotYetBoundException; 30 * @tests {@link java.nio.channels.NotYetBoundException#NotYetBoundException()}
|
NotYetConnectedExceptionTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 18 import java.nio.channels.NotYetConnectedException; 30 * @tests {@link java.nio.channels.NotYetConnectedException#NotYetConnectedException()}
|
OverlappingFileLockExceptionTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 18 import java.nio.channels.OverlappingFileLockException; 30 * @tests {@link java.nio.channels.OverlappingFileLockException#OverlappingFileLockException()}
|
UnresolvedAddressExceptionTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 18 import java.nio.channels.UnresolvedAddressException; 30 * @tests {@link java.nio.channels.UnresolvedAddressException#UnresolvedAddressException()}
|
UnsupportedAddressTypeExceptionTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 18 import java.nio.channels.UnsupportedAddressTypeException; 30 * @tests {@link java.nio.channels.UnsupportedAddressTypeException#UnsupportedAddressTypeException()}
|
FileChannelTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 32 import java.nio.channels.ClosedChannelException; 33 import java.nio.channels.DatagramChannel; 34 import java.nio.channels.FileChannel; 35 import java.nio.channels.FileLock; 36 import java.nio.channels.NonReadableChannelException; 37 import java.nio.channels.NonWritableChannelException; 38 import java.nio.channels.OverlappingFileLockException; 39 import java.nio.channels.Pipe; 40 import java.nio.channels.ReadableByteChannel [all...] |
MockDatagramChannel.java | 18 package org.apache.harmony.tests.java.nio.channels; 27 import java.nio.channels.DatagramChannel; 28 import java.nio.channels.MembershipKey; 29 import java.nio.channels.ServerSocketChannel; 30 import java.nio.channels.spi.SelectorProvider;
|
/libcore/luni/src/test/java/libcore/java/nio/channels/spi/ |
AsynchronousChannelProviderTest.java | 17 package libcore.java.nio.channels.spi; 21 import java.nio.channels.AsynchronousChannelGroup; 22 import java.nio.channels.spi.AsynchronousChannelProvider;
|
/packages/apps/TV/src/com/android/tv/data/ |
ChannelLogoFetcher.java | 43 * Fetches channel logos from the cloud into the database. It's for the channels which have no logos 60 public static void startFetchingChannelLogos(Context context, List<Channel> channels) { 70 if (channels == null || channels.isEmpty()) { 73 sFetchTask = new FetchLogoTask(context.getApplicationContext(), channels); 83 private FetchLogoTask(Context context, List<Channel> channels) { 85 mChannels = channels; 107 // Iterating channels. 123 // Removes non existing channels from SharedPreferences. 161 // Removes it from the shared preference for the failed channels to make i [all...] |
Lineup.java | 49 return channels; 60 private final List<String> channels; field in class:Lineup 103 public Lineup(String id, int type, String name, String location, List<String> channels) { 108 this.channels = Collections.unmodifiableList(channels);
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
Utils.java | 20 import android.media.tv.TvContract.Channels; 26 resolver.delete(Channels.CONTENT_URI, null, null); 27 // Programs and WatchedPrograms table will be automatically cleared when the Channels
|
/frameworks/av/media/libaudioprocessing/tests/ |
test-resampler.cpp | 39 fprintf(stderr,"Usage: %s [-p] [-f] [-F] [-v] [-c channels]" 48 fprintf(stderr," -c # channels (1-2 for lq|mq|hq; 1-8 for dlq|dmq|dhq)\n"); 109 int channels = 1; local 132 channels = atoi(optarg); 181 if (channels < 1 182 || channels > (quality < AudioResampler::DYN_LOW_QUALITY ? 2 : 8)) { 183 fprintf(stderr, "invalid number of audio channels %d\n", channels); 218 input_size = info.frames * info.channels * sizeof(short); 222 channels = info.channels 253 reinterpret_cast<int16_t*>(input_vaddr), input_frames * channels); local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
pooling_ops_3d_gpu.cu.cc | 33 const int channels, const int plane, const int height, const int width, 43 int c = (index / pooled_width / pooled_height / pooled_plane) % channels; 44 int n = (index / pooled_width / pooled_height / pooled_plane / channels); 57 bottom_data + n * channels * plane * height * width; 74 top_diff[n * channels * plane * height * width + maxidx]; 83 const int channels, const int plane, const int height, const int width, 91 int c = n % channels; 92 n /= channels; 108 bottom_data + n * plane * height * width * channels; 113 int idx = ((p * height + h) * width + w) * channels + c [all...] |
encode_jpeg_op.cc | 94 // image channels are consistent. 95 int channels; variable 98 channels = dim_size2; 99 if (channels == 1) { 101 } else if (channels == 3) { 106 errors::InvalidArgument("image must have 1 or 3 channels, got ", 111 channels = 1; 113 channels = 3; 115 OP_REQUIRES(context, channels == dim_size2, 117 channels, " channels, got " [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
KnownBandsChannelHelper.java | 27 * ChannelHelper that offers channel manipulation utilities when the channels in a band are known. 28 * This allows more fine operations on channels than if band channels are not known. 68 WifiScanner.ChannelSpec[] channelSpec, int offset, int[] channels) { 69 for (int i = 0; i < channels.length; i++) { 70 channelSpec[offset + i] = new WifiScanner.ChannelSpec(channels[i]); 87 return settings.channels.length * SCAN_PERIOD_PER_CHANNEL_MS; 120 settingsChannels = settings.channels; 133 * ChannelCollection that merges channels so that the optimal schedule will be generated. 134 * When the max channels value is satisfied this implementation will always create a channe [all...] |
/external/brotli/java/org/brotli/wrapper/dec/ |
BrotliDecoderChannelTest.java | 16 import java.nio.channels.Channels; 17 import java.nio.channels.ReadableByteChannel; 79 ReadableByteChannel src = Channels.newChannel(new ByteArrayInputStream(compressed)); 83 crc = BundleHelper.fingerprintStream(Channels.newInputStream(decoder));
|
/external/devlib/devlib/instrument/ |
__init__.py | 168 def __init__(self, path, channels=None, sample_rate_hz=None): 170 self.channels = channels 172 if self.channels is None: 174 headings = [chan.label for chan in self.channels] 183 yield [Measurement(v, c) for (v, c) in zip(values, self.channels)] 199 self.channels = [] 216 self.channels.append(chan) 272 self.channels = collections.OrderedDict() 279 return self.channels.values( [all...] |
/external/tensorflow/tensorflow/core/kernels/fuzzing/ |
encode_jpeg_fuzz.cc | 28 // Pick random channels and aspect ratio, and then set the 30 int64 channels = (data[0] % 2) * 2 + 1; // 1, 3 39 int64 pixels = remaining_bytes / channels; 44 size_t actual_pixels = height * width * channels; 50 TensorShape({height, width, channels}));
|
/libcore/ojluni/src/main/java/java/net/ |
SocketOption.java | 31 * <p> In the {@link java.nio.channels channels} package, the {@link 32 * java.nio.channels.NetworkChannel} interface defines the {@link 33 * java.nio.channels.NetworkChannel#setOption(SocketOption,Object) setOption} 34 * and {@link java.nio.channels.NetworkChannel#getOption(SocketOption) getOption}
|
/external/mesa3d/src/mesa/main/ |
format_parser.py | 53 self.name = None # Set when the channels are added to the format 54 self.shift = -1 # Set when the channels are added to the format 55 self.index = -1 # Set when the channels are added to the format 107 A Swizzle is a mapping from one set of channels in one format to the 108 channels in another. Each channel in the destination format is 120 case, the source channels are represented by the characters "x", "y", 124 channels maps to the first luminance-alpha channel and the alpha channel 209 a permutation with no channels added or removed, then this 230 def __init__(self, name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace): 231 """Constructs a Format from some metadata and a list of channels [all...] |