/cts/tests/admin/src/android/admin/cts/ |
DeviceAdminInfoTest.java | 62 DeviceAdminInfo info = new DeviceAdminInfo(mContext, resolveInfo); local 63 assertEquals(mComponent, info.getComponent()); 64 assertEquals(mComponent.getPackageName(), info.getPackageName()); 65 assertEquals(mComponent.getClassName(), info.getReceiverName()); 67 assertTrue(info.usesPolicy(DeviceAdminInfo.USES_POLICY_FORCE_LOCK)); 68 assertTrue(info.usesPolicy(DeviceAdminInfo.USES_POLICY_LIMIT_PASSWORD)); 69 assertTrue(info.usesPolicy(DeviceAdminInfo.USES_POLICY_RESET_PASSWORD)); 70 assertTrue(info.usesPolicy(DeviceAdminInfo.USES_POLICY_WATCH_LOGIN)); 71 assertTrue(info.usesPolicy(DeviceAdminInfo.USES_POLICY_WIPE_DATA)); 74 info.getTagForPolicy(DeviceAdminInfo.USES_POLICY_FORCE_LOCK)) 94 DeviceAdminInfo info = new DeviceAdminInfo(mContext, resolveInfo); local [all...] |
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvTrackInfoTest.java | 34 final TvTrackInfo info = new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, "id_audio") local 40 assertEquals(TvTrackInfo.TYPE_AUDIO, info.getType()); 41 assertEquals("id_audio", info.getId()); 42 assertEquals(2, info.getAudioChannelCount()); 43 assertEquals(48000, info.getAudioSampleRate()); 44 assertEquals("eng", info.getLanguage()); 45 assertEquals(bundle.get("testTrue"), info.getExtra().get("testTrue")); 46 assertEquals(0, info.describeContents()); 50 info.writeToParcel(p, 0); 69 final TvTrackInfo info = new TvTrackInfo.Builder(TvTrackInfo.TYPE_VIDEO, "id_video" local 113 final TvTrackInfo info = new TvTrackInfo.Builder(TvTrackInfo.TYPE_SUBTITLE, "id_subtitle") local [all...] |
/external/selinux/libsemanage/src/ |
ports_file.c | 62 parse_info_t * info, semanage_port_t * port) 69 if (parse_skip_space(handle, info) < 0) 71 if (!info->ptr) 75 if (parse_assert_str(handle, info, "portcon") < 0) 77 if (parse_assert_space(handle, info) < 0) 81 if (parse_fetch_string(handle, info, &str, ' ') < 0) 89 info->filename, info->lineno, info->orig_line); 96 if (parse_assert_space(handle, info) < 0 [all...] |
booleans_file.c | 39 parse_info_t * info, semanage_bool_t * boolean) 45 if (parse_skip_space(handle, info) < 0) 47 if (!info->ptr) 51 if (parse_fetch_string(handle, info, &str, '=') < 0) 60 if (parse_skip_space(handle, info) < 0) 62 if (parse_assert_ch(handle, info, '=') < 0) 66 if (parse_skip_space(handle, info) < 0) 68 if (parse_optional_str(info, "true") != STATUS_NODATA) 70 else if (parse_optional_str(info, "TRUE") != STATUS_NODATA) 72 else if (parse_optional_str(info, "false") != STATUS_NODATA [all...] |
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/ |
flavor | 13 $(info u $(flavor u)) 14 $(info s $(flavor s)) 15 $(info r $(flavor r)) 20 $(info ra $(flavor ra)) 21 $(info rc $(flavor rc)) 26 $(info s $(flavor s)) 27 $(info r $(flavor r))
|
/external/skia/src/core/ |
SkMallocPixelRef.cpp | 18 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { 19 if (info.width() < 0 || info.height() < 0 || 20 (unsigned)info.colorType() > (unsigned)kLastEnum_SkColorType || 21 (unsigned)info.alphaType() > (unsigned)kLastEnum_SkAlphaType) 30 if (kIndex8_SkColorType == info.fColorType && nullptr == ctable) { 33 if (kIndex8_SkColorType != info.fColorType && ctable) { 40 SkMallocPixelRef* SkMallocPixelRef::NewDirect(const SkImageInfo& info, 44 if (!is_valid(info, ctable)) { 47 return new SkMallocPixelRef(info, addr, rowBytes, ctable, nullptr, nullptr) [all...] |
/external/webrtc/webrtc/base/ |
systeminfo_unittest.cc | 17 rtc::SystemInfo info; local 18 LOG(LS_INFO) << "CpuVendor: " << info.GetCpuVendor(); 19 EXPECT_FALSE(info.GetCpuVendor().empty()); 25 rtc::SystemInfo info; local 27 EXPECT_TRUE(rtc::string_match(info.GetCpuVendor().c_str(), 29 rtc::string_match(info.GetCpuVendor().c_str(), 32 EXPECT_TRUE(rtc::string_match(info.GetCpuVendor().c_str(), "ARM")); 39 rtc::SystemInfo info; local 40 LOG(LS_INFO) << "CpuArchitecture: " << info.GetCpuArchitecture(); 41 rtc::SystemInfo::Architecture architecture = info.GetCpuArchitecture() 57 rtc::SystemInfo info; local 83 rtc::SystemInfo info; local 90 rtc::SystemInfo info; local 97 rtc::SystemInfo info; local 110 rtc::SystemInfo info; local 117 rtc::SystemInfo info; local 124 rtc::SystemInfo info; local 132 rtc::SystemInfo info; local 139 rtc::SystemInfo info; local 146 rtc::SystemInfo info; local [all...] |
/external/iptables/extensions/ |
libxt_tcpmss.c | 39 const struct xt_tcpmss_match_info *info = (void *)match->data; local 41 printf(" tcpmss match %s", info->invert ? "!" : ""); 42 if (info->mss_min == info->mss_max) 43 printf("%u", info->mss_min); 45 printf("%u:%u", info->mss_min, info->mss_max); 50 const struct xt_tcpmss_match_info *info = (void *)match->data; local 52 printf("%s --mss ", info->invert ? " !" : ""); 53 if (info->mss_min == info->mss_max [all...] |
libxt_rateest.c | 116 struct xt_rateest_match_info *info = (void *)(*match)->data; local 130 strncpy(info->name1, optarg, sizeof(info->name1) - 1); 143 strncpy(info->name2, optarg, sizeof(info->name2) - 1); 144 info->flags |= XT_RATEEST_MATCH_REL; 157 info->flags |= XT_RATEEST_MATCH_BPS; 163 if (rateest_get_rate(&info->bps1, argv[optind]) < 0) 180 info->flags |= XT_RATEEST_MATCH_PPS; 190 info->pps1 = val 293 struct xt_rateest_match_info *info = cb->data; local 342 const struct xt_rateest_match_info *info = (const void *)match->data; local 417 const struct xt_rateest_match_info *info = (const void *)match->data; local [all...] |
libxt_physdev.c | 42 struct xt_physdev_info *info = cb->data; local 47 xtables_parse_interface(cb->arg, info->physindev, 48 (unsigned char *)info->in_mask); 50 info->invert |= XT_PHYSDEV_OP_IN; 51 info->bitmask |= XT_PHYSDEV_OP_IN; 54 xtables_parse_interface(cb->arg, info->physoutdev, 55 (unsigned char *)info->out_mask); 57 info->invert |= XT_PHYSDEV_OP_OUT; 58 info->bitmask |= XT_PHYSDEV_OP_OUT; 61 info->bitmask |= XT_PHYSDEV_OP_ISIN 87 const struct xt_physdev_info *info = (const void *)match->data; local 110 const struct xt_physdev_info *info = (const void *)match->data; local [all...] |
libxt_owner.c | 139 struct ipt_owner_info *info = cb->data; local 152 info->invert |= IPT_OWNER_UID; 153 info->match |= IPT_OWNER_UID; 154 info->uid = id; 162 info->invert |= IPT_OWNER_GID; 163 info->match |= IPT_OWNER_GID; 164 info->gid = id; 168 info->invert |= IPT_OWNER_PID; 169 info->match |= IPT_OWNER_PID; 173 info->invert |= IPT_OWNER_SID 186 struct ip6t_owner_info *info = cb->data; local 244 struct xt_owner_match_info *info = cb->data; local 432 const struct ipt_owner_info *info = (void *)match->data; local 445 const struct ip6t_owner_info *info = (void *)match->data; local 456 const struct xt_owner_match_info *info = (void *)match->data; local 466 const struct ipt_owner_info *info = (void *)match->data; local 478 const struct ip6t_owner_info *info = (void *)match->data; local 488 const struct xt_owner_match_info *info = (void *)match->data; local [all...] |
/external/tremolo/Tremolo/ |
mapping0.c | 50 void mapping_clear_info(vorbis_info_mapping *info){ 51 if(info){ 52 if(info->chmuxlist)_ogg_free(info->chmuxlist); 53 if(info->submaplist)_ogg_free(info->submaplist); 54 if(info->coupling)_ogg_free(info->coupling); 55 memset(info,0,sizeof(*info)); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
InfoDropTarget.java | 44 public static void startDetailsActivityForInfo(Object info, Launcher launcher) { 46 if (info instanceof AppInfo) { 47 componentName = ((AppInfo) info).componentName; 48 } else if (info instanceof ShortcutInfo) { 49 componentName = ((ShortcutInfo) info).intent.getComponent(); 50 } else if (info instanceof PendingAddItemInfo) { 51 componentName = ((PendingAddItemInfo) info).componentName; 54 if (info instanceof ItemInfo) { 55 user = ((ItemInfo) info).user; 66 protected boolean supportsDrop(DragSource source, Object info) { [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
dis-buf.c | 26 /* Get LENGTH bytes from info's buffer, at target address memaddr. 32 struct disassemble_info *info) 34 unsigned int opb = info->octets_per_byte; 36 unsigned int max_addr_offset = info->buffer_length / opb; 37 unsigned int octets = (memaddr - info->buffer_vma) * opb; 39 if (memaddr < info->buffer_vma 40 || memaddr - info->buffer_vma > max_addr_offset 41 || memaddr - info->buffer_vma + end_addr_offset > max_addr_offset) 44 memcpy (myaddr, info->buffer + octets, length); 55 struct disassemble_info *info) [all...] |
vax-dis.c | 54 (p += 1, FETCH_DATA (info, p), \ 60 (p += 2, FETCH_DATA (info, p), \ 66 (p += 4, FETCH_DATA (info, p), \ 81 /* Make sure that bytes from INFO->PRIVATE_DATA->BUFFER (inclusive) 84 #define FETCH_DATA(info, addr) \ 85 ((addr) <= ((struct private *)(info->private_data))->max_fetched \ 86 ? 1 : fetch_data ((info), (addr))) 89 fetch_data (struct disassemble_info *info, bfd_byte *addr) 92 struct private *priv = (struct private *) info->private_data; 95 status = (*info->read_memory_func) (start 301 (*info->print_address_func) (addr + 2 + NEXTBYTE (p), info); local 310 (*info->print_address_func) (addr + 3 + NEXTWORD (p), info); local 319 (*info->print_address_func) (addr + 5 + NEXTLONG (p), info); local 362 (*info->print_address_func) (addr + 1 + NEXTBYTE (p), info); local 364 (*info->print_address_func) (addr + 2 + NEXTWORD (p), info); local [all...] |
tilepro-dis.c | 39 disassemble_info *info) 46 if ((*info->read_memory_func) (memaddr, opbuf, 47 TILEPRO_BUNDLE_SIZE_IN_BYTES, info) != 0) 80 print_insn_tilepro (bfd_vma memaddr, disassemble_info *info) 88 status = (*info->read_memory_func) (memaddr, opbuf, 89 TILEPRO_BUNDLE_SIZE_IN_BYTES, info); 92 (*info->memory_error_func) (status, memaddr, info); 96 info->bytes_per_line = TILEPRO_BUNDLE_SIZE_IN_BYTES; 97 info->bytes_per_chunk = TILEPRO_BUNDLE_SIZE_IN_BYTES [all...] |
pdp11-dis.c | 30 #define FPRINTF (*info->fprintf_func) 31 #define F info->stream 38 read_word (bfd_vma memaddr, int *word, disassemble_info *info) 43 status = (*info->read_memory_func) (memaddr, x, 2, info); 52 print_signed_octal (int n, disassemble_info *info) 61 print_reg (int reg, disassemble_info *info) 77 print_freg (int freg, disassemble_info *info) 83 print_operand (bfd_vma *memaddr, int code, disassemble_info *info) 92 print_reg (reg, info); 107 print_signed_octal (sign_extend (data), info); local 163 print_signed_octal (sign_extend (disp), info); local [all...] |
tic80-dis.c | 36 print_operand_integer (struct disassemble_info *info, long value) 39 (*info->fprintf_func) (info->stream, "%#lx", value); 41 (*info->fprintf_func) (info->stream, "%ld", value); 50 print_operand_float (struct disassemble_info *info, long value) 55 (*info->fprintf_func) (info->stream, "%g", fval.f); 59 print_operand_control_register (struct disassemble_info *info, long value) 65 (*info->fprintf_func) (info->stream, "%s", tmp) 119 (*info->print_address_func) (memaddr + 4 * value, info); local [all...] |
/system/extras/f2fs_utils/ |
f2fs_sparseblock.c | 127 static void dbg_print_info_struct(struct f2fs_info *info) 133 SLOGD("blocks_per_segment: %"PRIu64, info->blocks_per_segment); 134 SLOGD("block_size: %d", info->block_size); 135 SLOGD("sit_bmp loc: %p", info->sit_bmp); 136 SLOGD("sit_bmp_size: %d", info->sit_bmp_size); 137 SLOGD("blocks_per_sit: %"PRIu64, info->blocks_per_sit); 138 SLOGD("sit_blocks loc: %p", info->sit_blocks); 139 SLOGD("sit_sums loc: %p", info->sit_sums); 140 SLOGD("sit_sums num: %d", le16_to_cpu(info->sit_sums->n_sits)); 142 for(i = 0; i < (le16_to_cpu(info->sit_sums->n_sits)); i++) 383 struct f2fs_info *info; local 546 struct f2fs_info *info; member in struct:privdata 612 struct f2fs_info *info = generate_f2fs_info(infd); local [all...] |
/hardware/libhardware/modules/gralloc/ |
framebuffer.cpp | 86 m->info.reserved[0] = 0x54445055; // "UPDT"; 87 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); 88 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); 105 m->info.activate = FB_ACTIVATE_VBL; 106 m->info.yoffset = offset / m->finfo.line_length; 107 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { 123 0, 0, m->info.xres, m->info.yres, 128 0, 0, m->info.xres, m->info.yres 170 struct fb_var_screeninfo info; local [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
ALSAMixer.cpp | 174 mixer_info_t *info = mixerMasterProp[i].mInfo = new mixer_info_t; local 177 info->name, 192 if (info->elem == NULL && 193 strcmp(elementName, info->name) == 0 && 196 info->elem = elem; 197 getVolumeRange[i] (elem, &info->min, &info->max); 198 info->volume = info->max; 199 setVol[i] (elem, info->volume) 211 mixer_info_t *info = mixerProp[j][i].mInfo = new mixer_info_t; local 269 mixer_info_t *info = mixerMasterProp[SND_PCM_STREAM_PLAYBACK].mInfo; local 288 mixer_info_t *info = mixerMasterProp[SND_PCM_STREAM_CAPTURE].mInfo; local 310 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_PLAYBACK].mInfo; local 333 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_CAPTURE].mInfo; local 356 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_CAPTURE].mInfo; local 382 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_CAPTURE].mInfo; local 397 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_PLAYBACK].mInfo; local 423 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_PLAYBACK].mInfo; local [all...] |
/external/libdrm/amdgpu/ |
amdgpu_gpu_info.c | 102 struct drm_amdgpu_info_hw_ip *info) 107 request.return_pointer = (uintptr_t)info; 108 request.return_size = sizeof(*info); 152 dev->info.asic_id = dev->dev_info.device_id; 153 dev->info.chip_rev = dev->dev_info.chip_rev; 154 dev->info.chip_external_rev = dev->dev_info.external_rev; 155 dev->info.family_id = dev->dev_info.family; 156 dev->info.max_engine_clk = dev->dev_info.max_engine_clock; 157 dev->info.max_memory_clk = dev->dev_info.max_memory_clock; 158 dev->info.gpu_counter_freq = dev->dev_info.gpu_counter_freq [all...] |
/packages/apps/Dialer/src/com/android/dialer/filterednumber/ |
NumbersAdapter.java | 69 ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso); local 70 if (info == null) { 71 info = new ContactInfo(); 72 info.number = number; 74 final CharSequence locationOrType = getNumberTypeOrLocation(info); 75 final String displayNumber = getDisplayNumber(info); 80 if (!TextUtils.isEmpty(info.name)) { 81 nameForDefaultImage = info.name; 82 callerName.setText(info.name); 94 loadContactPhoto(info, nameForDefaultImage, quickContactBadge) [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
AppStateNotificationBridge.java | 34 * Connects the info provided by ApplicationsState and the NotificationBackend. 57 app.extraInfo = mNotifBackend.loadAppRow(mContext, mPm, app.info); 63 app.extraInfo = mNotifBackend.loadAppRow(mContext, mPm, app.info); 72 public boolean filterApp(AppEntry info) { 73 if (info == null || info.extraInfo == null) { 76 if (info.extraInfo instanceof AppRow) { 77 AppRow row = (AppRow) info.extraInfo; 90 public boolean filterApp(AppEntry info) { 91 if (info == null || info.extraInfo == null) [all...] |
/external/mesa3d/src/glsl/ |
ralloc.c | 73 static void unlink_block(ralloc_header *info); 74 static void unsafe_free(ralloc_header *info); 79 ralloc_header *info = (ralloc_header *) (((char *) ptr) - local 81 assert(info->canary == CANARY); 82 return info; 85 #define PTR_FROM_HEADER(info) (((char *) info) + sizeof(ralloc_header)) 88 add_child(ralloc_header *parent, ralloc_header *info) 91 info->parent = parent; 92 info->next = parent->child 111 ralloc_header *info = (ralloc_header *) block; local 134 ralloc_header *child, *old, *info; local 201 ralloc_header *info; local 251 ralloc_header *info, *parent; local 267 ralloc_header *info; local 297 ralloc_header *info = get_header(ptr); local [all...] |