/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
GrantPermissionsActivity.java | 135 AppPermissionGroup group = null; local 138 group = nextGroup; 142 if (group == null) { 147 if (!group.isUserFixed() && !group.isPolicyFixed()) { 150 if (!group.areRuntimePermissionsGranted()) { 151 group.grantRuntimePermissions(false); 153 group.setPolicyFixed(); 157 if (group.areRuntimePermissionsGranted()) { 158 group.revokeRuntimePermissions(false) [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
FeatureGroupInfoTest.java | 116 FeatureGroupInfo group = new FeatureGroupInfo(); local 117 group.features = featureInfos; 118 return group; 121 private static void sortFeatureInfos(FeatureGroupInfo[] group) { 122 for (FeatureGroupInfo g : group) {
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyPermissionUtil.java | 43 private static final String PERMISSION_GROUP_PREFIX = "android.permission-group."; 108 return pi.group != null && pi.protectionLevel == PermissionInfo.PROTECTION_DANGEROUS 110 && isModernPermissionGroup(pi.group); 162 String group = pi.group; local 163 if (group != null) { 164 if (group.startsWith(PERMISSION_GROUP_PREFIX)) { 165 group = group.substring(PERMISSION_GROUP_PREFIX.length()); 168 System.out.println(String.format("// Permission: %s [%s]", name, group)); [all...] |
/external/aac/libAACdec/src/ |
rvlcconceal.cpp | 116 int band,bnds,group,startBand; local 139 for (group=conceal_group_min; group >= 0; group--) { 141 bnds = 16*group+band; 191 int band,bnds,group,startBand; local 215 for (group=conceal_group_max; group < pRvlc->numWindowGroups; group++) { 217 bnds = 16*group+band 269 int band,bnds,startBand,endBand,group; local 405 int band,bnds,startBand,endBand,group; local 535 int band,bnds,group; local 643 int band,bnds,group; local [all...] |
/external/avahi/avahi-client/ |
client-test.c | 44 printf ("ENTRY-GROUP: Callback on %p, state -> %d, data -> %s\n", (void*) g, state, (char*)userdata); 183 printf ("Freeing entry group\n"); 191 printf ("Resetting entry group\n"); 202 printf ("Updating entry group\n"); 214 AvahiEntryGroup *group, *group2; local 251 group = avahi_entry_group_new(avahi, avahi_entry_group_callback, (char*) "omghai"); 252 printf("Creating entry group: %s\n", group ? "OK" : avahi_strerror(avahi_client_errno (avahi))); 254 assert(group); 256 printf("Sucessfully created entry group %p\n", (void*) group) [all...] |
/external/avahi/avahi-core/ |
avahi-test.c | 44 static AvahiSEntryGroup *group = NULL; variable 114 avahi_log_debug("entry group state: %i", state); 146 if (group) 147 avahi_s_entry_group_reset(group); 156 if (!group) 157 group = avahi_s_entry_group_new(server, entry_group_callback, NULL); 159 assert(avahi_s_entry_group_is_empty(group)); 169 if (avahi_server_add_service(server, group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, service_name, "_http._tcp", NULL, NULL, 80, "foo", NULL) < 0) { 174 if (avahi_server_add_service(server, group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, service_name, "_ftp._tcp", NULL, NULL, 21, "foo", NULL) < 0) { 179 if (avahi_server_add_service(server, group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0,service_name, "_webdav._tcp", NULL, NULL, 80, "foo", NULL) (…) [all...] |
/external/avahi/avahi-daemon/ |
static-hosts.c | 40 AvahiSEntryGroup *group; member in struct:StaticHost 88 s->group = NULL; 102 if (s->group) 103 avahi_s_entry_group_free (s->group); 126 if (!h->group) 127 if (!(h->group = avahi_s_entry_group_new (avahi_server, entry_group_callback, h))) { 132 if (avahi_s_entry_group_is_empty(h->group)) { 141 if ((err = avahi_server_add_address(avahi_server, h->group, AVAHI_IF_UNSPEC, p, 0, h->host, &h->address)) < 0) { 146 avahi_s_entry_group_commit (h->group); 152 if (h->group) [all...] |
/external/boringssl/src/crypto/ecdsa/ |
ecdsa.c | 148 const EC_GROUP *group; local 157 if ((group = EC_KEY_get0_group(eckey)) == NULL || 179 const BIGNUM *order = EC_GROUP_get0_order(group); 206 point = EC_POINT_new(group); 211 if (!EC_POINT_mul(group, point, u1, pub_key, u2, ctx)) { 215 if (!EC_POINT_get_affine_coordinates_GFp(group, point, X, NULL, ctx)) { 239 const EC_GROUP *group; local 242 if (eckey == NULL || (group = EC_KEY_get0_group(eckey)) == NULL) { 263 tmp_point = EC_POINT_new(group); 269 const BIGNUM *order = EC_GROUP_get0_order(group); 371 const EC_GROUP *group; local [all...] |
/external/boringssl/src/ssl/ |
ssl_ecdh.c | 55 EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid); local 56 if (group == NULL) { 61 const BIGNUM *order = EC_GROUP_get0_order(group); 69 public_key = EC_POINT_new(group); 71 !EC_POINT_mul(group, public_key, private_key, NULL, NULL, bn_ctx)) { 77 group, public_key, POINT_CONVERSION_UNCOMPRESSED, NULL, 0, bn_ctx); 81 EC_POINT_point2oct(group, public_key, POINT_CONVERSION_UNCOMPRESSED, ptr, 89 EC_GROUP_free(group); 111 EC_GROUP *group = EC_GROUP_new_by_curve_name(ctx->method->nid); local 114 if (group == NULL) [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLECGroupContext.java | 142 long group; local 144 group = NativeCrypto.EC_GROUP_new_arbitrary( 152 if (group == 0) { 156 NativeRef.EC_GROUP groupRef = new NativeRef.EC_GROUP(group);
|
OpenSSLECPrivateKey.java | 42 protected transient OpenSSLECGroupContext group; field in class:OpenSSLECPrivateKey 44 public OpenSSLECPrivateKey(OpenSSLECGroupContext group, OpenSSLKey key) { 45 this.group = group; 50 this.group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP( 57 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); 59 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getNativeRef(), null, 67 OpenSSLECGroupContext group; local 69 group = OpenSSLECGroupContext.getInstance(ecPrivateKey.getParams()); 71 throw new InvalidKeyException("Unknown group parameters", e) 112 OpenSSLECGroupContext group; local 131 OpenSSLECGroupContext group = OpenSSLECGroupContext.getInstance(ecPrivateKey local [all...] |
OpenSSLECPublicKey.java | 38 protected transient OpenSSLECGroupContext group; field in class:OpenSSLECPublicKey 40 public OpenSSLECPublicKey(OpenSSLECGroupContext group, OpenSSLKey key) { 41 this.group = group; 46 this.group = new OpenSSLECGroupContext(new NativeRef.EC_GROUP( 53 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); 55 NativeCrypto.get_EC_GROUP_type(group.getNativeRef()), group, ecKeySpec.getW()); 56 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getNativeRef(), 65 OpenSSLECGroupContext group = OpenSSLECGroupContex local [all...] |
/external/dbus/bus/ |
policy.h | 103 } group; member in union:BusPolicyRule::__anon10156
|
/external/deqp/modules/gles2/stress/ |
es2sVertexArrayTests.cpp | 337 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, "single_attribute", "Single attribute"); member in class:deqp::gles2::Stress::tcu 338 addChild(group); 342 group->addChild(new SingleVertexArrayStrideTests(m_context)); 343 group->addChild(new SingleVertexArrayUsageTests(m_context)); 344 group->addChild(new SingleVertexArrayOffsetTests(m_context)); 345 group->addChild(new SingleVertexArrayFirstTests(m_context));
|
/external/deqp/modules/gles31/functional/ |
es31fInternalFormatQueryTests.cpp | 444 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, textureTargets[groupNdx].name, glu::getInternalFormatTargetName(textureTargets[groupNdx].target)); member in class:deqp::gles31::Functional::tcu 447 addChild(group); 454 group->addChild(new FormatSamplesCase(m_context, name.c_str(), desc.c_str(), texTarget, internalFormats[caseNdx].format, internalFormats[caseNdx].type)); 460 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, "partial_query", "Query data to too short a buffer"); member in class:deqp::gles31::Functional::tcu 462 addChild(group); 464 group->addChild(new NumSampleCountsBufferCase (m_context, "num_sample_counts", "Query GL_NUM_SAMPLE_COUNTS to too short a buffer")); 465 group->addChild(new SamplesBufferCase (m_context, "samples", "Query GL_SAMPLES to too short a buffer"));
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
RelationshipTester.java | 67 public RelationshipTester<T> addRelatedGroup(Iterable<? extends T> group) { 68 groups.add(ImmutableList.copyOf(group)); 74 ImmutableList<T> group = groups.get(groupNumber); local 75 for (int itemNumber = 0; itemNumber < group.size(); itemNumber++) { 76 // check related items in same group 77 for (int relatedItemNumber = 0; relatedItemNumber < group.size(); relatedItemNumber++) { 149 .append(" [group ")
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UCharacterNameReader.java | 74 // reading the group information records 78 char group[] = ICUBinary.getChars(m_byteBuffer_, count, 0); local 84 data.setGroup(group, groupstring); 125 * Size of the group information block in number of char 138 * Size of an algorithmic name information group
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDecimalFormatSymbols.java | 74 char group = en.getGroupingSeparator(); local 75 fr.setGroupingSeparator(group);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UCharacterNameReader.java | 74 // reading the group information records 78 char group[] = ICUBinary.getChars(m_byteBuffer_, count, 0); local 84 data.setGroup(group, groupstring); 125 * Size of the group information block in number of char 138 * Size of an algorithmic name information group
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDecimalFormatSymbols.java | 70 char group = en.getGroupingSeparator(); local 71 fr.setGroupingSeparator(group);
|
/external/iproute2/ip/ |
iptuntap.c | 40 fprintf(stderr, " [ mode { tun | tap } ] [ user USER ] [ group GROUP ]\n"); 44 fprintf(stderr, " GROUP := { STRING | NUMBER }\n"); 149 } else if (gid && matches(*argv, "group") == 0) { 151 unsigned long group; local 155 if (**argv && ((group = strtol(*argv, &end, 10)), !*end)) 156 *gid = group; 158 struct group *gr = getgrnam(*argv); 160 fprintf(stderr, "invalid group \"%s\"\n", *argv); 278 long flags, owner = -1, group = -1 local [all...] |
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
ReportStructureTestDriver.java | 107 final IReportGroupVisitor group = reportVisitor.visitGroup("group"); local 108 sendBundle(group); 113 final IReportGroupVisitor group = groupVisitor.visitGroup("group"); local 114 sendBundle(group);
|
/external/libnl/include/netlink/ |
netlink-kernel.h | 19 /** Multicast group subscriptions */ 193 __u32 group; member in struct:nl_pktinfo
|
/external/llvm/utils/llvm-build/llvmbuild/ |
main.py | 457 # Otherwise if it is a group, yield or traverse depending on what 847 group = OptionGroup(parser, "Input Options") 848 group.add_option("", "--source-root", dest="source_root", metavar="PATH" 894 group = OptionGroup(parser, "Configuration Options") variable [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
AbstractFileSystemEntry.java | 35 private String group;
field in class:AbstractFileSystemEntry 54 return group;
57 public void setGroup(String group) {
58 this.group = group;
|