HomeSort by relevance Sort by last modified time
    Searched refs:ids (Results 76 - 100 of 1475) sorted by null

1 2 34 5 6 7 8 91011>>

  /packages/apps/Camera2/src/com/android/camera/one/v2/
Camera2OneCameraManagerImpl.java 40 * Pick camera ids from a list of devices based on defined characteristics.
73 String[] ids = mCameraManager.getCameraIdList(); local
74 return ids != null && ids.length > 0;
89 String[] ids = mCameraManager.getCameraIdList(); local
90 if(ids != null && ids.length > 0) {
91 return CameraId.from(ids[0]);
  /system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
TreeNodeTest.java 37 private List<String> ids = new ArrayList<>(); field in class:TreeNodeTest.TestTreeVisitor
41 ids.add(node.getId());
45 ids.clear();
67 assertEquals(testVisitor.ids, asList("id"));
104 testVisitor.ids);
115 assertEquals(asList("1", "1.2", "1.2.1", "1.2.2", "1.2.3"), testVisitor.ids);
122 testVisitor.ids);
  /packages/apps/Camera2/src/com/android/camera/
MultiToggleImageButton.java 42 * image ids (e.g. imageIds="@array/camera_flashmode_icons").
298 * Override the image ids of this button.
301 TypedArray ids = null; local
303 ids = getResources().obtainTypedArray(resId);
304 mImageIds = new int[ids.length()];
305 for (int i = 0; i < ids.length(); i++) {
306 mImageIds[i] = ids.getResourceId(i, 0);
309 if (ids != null) {
310 ids.recycle();
323 TypedArray ids = null local
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
embedding_ops_test.py 191 for ids, wts in zip(id_vals, weight_vals):
195 if isinstance(ids, compat.integral_types):
196 ids = [ids]
198 for i, weight_value in zip(ids, wts):
239 # both the ids are in the first shard, one of the resulting lookup
249 ids = constant_op.constant(list(id_vals), dtype=dtypes.int32)
250 print("Construct ids", ids.get_shape())
251 embedding = embedding_ops.embedding_lookup(p, ids)
    [all...]
  /packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
BlockedNumberBackupAgent.java 102 state.ids.add(dataInputStream.readInt());
109 SortedSet<Integer> deletedBlockedNumbers = new TreeSet<>(state.ids);
112 if (state.ids.contains(blockedNumber.id)) {
119 state.ids.add(blockedNumber.id);
126 state.ids.remove(id);
193 for (int i : state.ids) {
249 final SortedSet<Integer> ids; field in class:BlockedNumberBackupAgent.BackupState
251 BackupState(int version, SortedSet<Integer> ids) {
253 this.ids = ids;
    [all...]
  /external/libvpx/libvpx/examples/
vpx_temporal_svc_encoder.c 226 int ids[1] = { 0 }; local
231 memcpy(cfg->ts_layer_id, ids, sizeof(ids));
239 int ids[2] = { 0, 1 }; local
245 memcpy(cfg->ts_layer_id, ids, sizeof(ids));
265 int ids[3] = { 0, 1, 1 }; local
271 memcpy(cfg->ts_layer_id, ids, sizeof(ids));
283 int ids[6] = { 0, 2, 2, 1, 2, 2 } local
303 int ids[4] = { 0, 2, 1, 2 }; local
324 int ids[4] = { 0, 2, 1, 2 }; local
346 int ids[4] = { 0, 2, 1, 2 }; local
367 int ids[16] = { 0, 4, 3, 4, 2, 4, 3, 4, 1, 4, 3, 4, 2, 4, 3, 4 }; local
391 int ids[2] = { 0, 1 }; local
426 int ids[4] = { 0, 2, 1, 2 }; local
457 int ids[4] = { 0, 2, 1, 2 }; local
496 int ids[4] = { 0, 2, 1, 2 }; local
519 int ids[4] = { 0, 2, 1, 2 }; local
    [all...]
  /frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
TestUtil.java 32 public static User[] createUsersArray(int... ids) {
33 User[] result = new User[ids.length];
34 for (int i = 0; i < ids.length; i++) {
35 result[i] = createUser(ids[i]);
40 public static List<User> createUsersList(int... ids) {
42 for (int id : ids) {
  /packages/apps/Dialer/java/com/android/dialer/calllog/
ClearMissedCalls.java 88 * For the provided set of IDs from the system call log, cancels their missed call notifications
91 * @param ids IDs from the system call log (see {@link Calls#_ID}}.
93 public ListenableFuture<Void> clearBySystemCallLogId(Collection<Long> ids) {
94 ListenableFuture<Void> markNewFuture = markNotNew(ids);
98 for (long id : ids) {
120 * Marks all provided system call log IDs as not new, or if the provided collection is empty,
124 private ListenableFuture<Void> markNotNew(Collection<Long> ids) {
143 if (!ids.isEmpty()) {
144 selectionBuilder.and(Selection.column(Calls._ID).in(toStrings(ids)));
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/
DocsSelectionHelper.java 91 public void replaceSelection(Iterable<String> ids) {
93 mDelegate.setItemsSelected(ids, true);
102 public boolean setItemsSelected(Iterable<String> ids, boolean selected) {
103 return mDelegate.setItemsSelected(ids, selected);
226 public void replaceSelection(Iterable<String> ids) {
234 public boolean setItemsSelected(Iterable<String> ids, boolean selected) {
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DocsSelectionHelperTest.java 104 List<String> ids = new ArrayList<>(); local
105 ids.add("poodles");
106 ids.add("hammy");
107 mSelectionMgr.replaceSelection(ids);
164 public boolean setItemsSelected(Iterable<String> ids, boolean selected) {
165 for (String id : ids) {
  /external/libmojo/mojo/public/cpp/bindings/lib/
message_header_validator.cc 72 // storing interface IDs (which is important for safely calculating the
90 const uint32_t* ids = header_v2->payload_interface_ids.Get()->storage(); local
92 if (!IsValidInterfaceId(ids[i]) || IsMasterInterfaceId(ids[i])) {
  /libcore/luni/src/test/java/libcore/libcore/icu/
TransliteratorTest.java 25 Enumeration<String> ids = Transliterator.getAvailableIDs(); local
26 while (ids.hasMoreElements()) {
27 String id = ids.nextElement();
  /packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/
SuggestionService.java 38 final List<String> ids = new ArrayList<>(list.size()); local
40 ids.add(suggestion.getId());
45 .logGetSuggestion(ids, endTime - startTime);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_ioctl.py 32 ids = (os.getpgrp(), os.getsid(0))
36 self.assertIn(rpgrp, ids)
41 ids = (os.getpgrp(), os.getsid(0))
42 # A fill value unlikely to be in `ids`
54 self.assertIn(rpgrp, ids)
  /external/python/cpython2/Lib/test/
test_ioctl.py 32 ids = (os.getpgrp(), os.getsid(0))
36 self.assertIn(rpgrp, ids)
41 ids = (os.getpgrp(), os.getsid(0))
42 # A fill value unlikely to be in `ids`
54 self.assertIn(rpgrp, ids)
  /external/python/cpython3/Lib/test/
test_ioctl.py 32 ids = (os.getpgrp(), os.getsid(0))
36 self.assertIn(rpgrp, ids)
41 ids = (os.getpgrp(), os.getsid(0))
42 # A fill value unlikely to be in `ids`
54 self.assertIn(rpgrp, ids)
  /hardware/qcom/gps/msm8909w_3100/location/
location_interface.h 87 void (*removeGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
88 void (*modifyGeofences)(LocationAPI* client, size_t count, uint32_t* ids,
90 void (*pauseGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
91 void (*resumeGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
  /hardware/qcom/gps/msm8998/location/
location_interface.h 84 void (*removeGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
85 void (*modifyGeofences)(LocationAPI* client, size_t count, uint32_t* ids,
87 void (*pauseGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
88 void (*resumeGeofences)(LocationAPI* client, size_t count, uint32_t* ids);
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_ioctl.py 32 ids = (os.getpgrp(), os.getsid(0))
36 self.assertIn(rpgrp, ids)
41 ids = (os.getpgrp(), os.getsid(0))
42 # A fill value unlikely to be in `ids`
54 self.assertIn(rpgrp, ids)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_ioctl.py 32 ids = (os.getpgrp(), os.getsid(0))
36 self.assertIn(rpgrp, ids)
41 ids = (os.getpgrp(), os.getsid(0))
42 # A fill value unlikely to be in `ids`
54 self.assertIn(rpgrp, ids)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ioctl.py 32 ids = (os.getpgrp(), os.getsid(0))
36 self.assertIn(rpgrp, ids)
41 ids = (os.getpgrp(), os.getsid(0))
42 # A fill value unlikely to be in `ids`
54 self.assertIn(rpgrp, ids)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ioctl.py 32 ids = (os.getpgrp(), os.getsid(0))
36 self.assertIn(rpgrp, ids)
41 ids = (os.getpgrp(), os.getsid(0))
42 # A fill value unlikely to be in `ids`
54 self.assertIn(rpgrp, ids)
  /system/extras/simpleperf/
event_attr.h 31 std::vector<uint64_t> ids; member in struct:EventAttrWithId
  /test/vti/dashboard/src/main/java/com/android/vts/util/
Histogram.java 36 private List<String> ids; field in class:Histogram
47 this.ids = new ArrayList<>();
133 ids.add(id);
160 json.add(IDS_KEY, new Gson().toJsonTree(ids).getAsJsonArray());
LineGraph.java 32 private List<String> ids; field in class:LineGraph
41 ids = new ArrayList<>();
105 ids.add(id);
145 json.add(IDS_KEY, new Gson().toJsonTree(ids).getAsJsonArray());

Completed in 897 milliseconds

1 2 34 5 6 7 8 91011>>