/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayIdGeneratorTest.cpp | 30 DisplayIdGenerator<Id> generator; in testGenerateId() local 33 std::generate_n(std::back_inserter(ids), 10, [&] { return generator.generateId(); }); in testGenerateId() 55 DisplayIdGenerator<GpuVirtualDisplayId> generator(kMaxIdsCount); in TEST() local 57 const auto id = generator.generateId(); in TEST() 61 EXPECT_TRUE(generator.generateId()); in TEST() 64 EXPECT_FALSE(generator.generateId()); in TEST() 66 generator.releaseId(*id); in TEST() 67 EXPECT_TRUE(generator.generateId()); in TEST() 72 DisplayIdGenerator<GpuVirtualDisplayId> generator(kMaxIdsCount); in TEST() local 75 EXPECT_TRUE(generator.generateId()); in TEST() [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator_test.cpp | 46 JavaClassGenerator generator(context.get(), table.get(), {}); in TEST() local 50 EXPECT_FALSE(generator.Generate("android", &out)); in TEST() 70 JavaClassGenerator generator(context.get(), table.get(), {}); in TEST() local 74 EXPECT_TRUE(generator.Generate("android", &out)); in TEST() 94 JavaClassGenerator generator(context.get(), table.get(), {}); in TEST() local 98 ASSERT_TRUE(generator.Generate("android", "com.android.internal", &out)); in TEST() 130 JavaClassGenerator generator(context.get(), table.get(), {}); in TEST() local 134 EXPECT_TRUE(generator.Generate("app", &out)); in TEST() 166 JavaClassGenerator generator(context.get(), table.get(), {}); in TEST() local 170 ASSERT_TRUE(generator.Generate("android", &out)); in TEST() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | Filter.java | 564 GenerateFinalPort generator = (GenerateFinalPort)annotation; in addAndSetFinalPorts() local 565 String name = generator.name().isEmpty() ? field.getName() : generator.name(); in addAndSetFinalPorts() 566 boolean hasDefault = generator.hasDefault(); in addAndSetFinalPorts() 571 } else if (!generator.hasDefault()) { in addAndSetFinalPorts() 584 GenerateFieldPort generator = (GenerateFieldPort)annotation; in addAnnotatedPorts() local 585 addFieldGenerator(generator, field); in addAnnotatedPorts() 587 GenerateProgramPort generator = (GenerateProgramPort)annotation; in addAnnotatedPorts() local 588 addProgramGenerator(generator, field); in addAnnotatedPorts() 591 for (GenerateProgramPort generator : generators.value()) { in addAnnotatedPorts() 592 addProgramGenerator(generator, field); in addAnnotatedPorts() [all …]
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator_test.cpp | 115 MultiApkGeneratorWrapper generator{&apk, ctx.get()}; in TEST_F() local 117 generator.FilterTable(ctx.get(), artifact, *apk.GetResourceTable(), &chain); in TEST_F() 142 MultiApkGeneratorWrapper generator{&apk, ctx.get()};; in TEST_F() local 144 generator.FilterTable(ctx.get(), artifact, *apk.GetResourceTable(), &chain); in TEST_F() 167 MultiApkGeneratorWrapper generator{&apk, ctx.get()}; in TEST_F() local 169 generator.FilterTable(ctx.get(), artifact, *apk.GetResourceTable(), &chain); in TEST_F()
|
/frameworks/rs/script_api/ |
D | Android.bp | 1 // Build API doc generator ==================== 8 name: "rs-api-doc-generator",
|
D | generate.sh | 48 $ANDROID_HOST_OUT/bin/rs-api-doc-generator rs_core.spec rs_value_types.spec rs_object_types.spec rs…
|
/frameworks/rs/ |
D | Android.bp | 116 // Build rsg-generator ==================== 119 name: "rsg-generator", 139 tools: ["rsg-generator"], 144 cmd: "cat $(location rs.spec) $(location rsg.spec) | $(location rsg-generator) $(in) $(out)", 155 tools: ["rsg-generator"], 160 cmd: "cat $(location rs.spec) $(location rsg.spec) | $(location rsg-generator) $(in) $(out)",
|
D | support.bp | 17 tools: ["rsg-generator"], 22 …cmd: "cat $(location rs.spec) $(location rs_compat.spec) | $(location rsg-generator) $(in) $(out)", 33 tools: ["rsg-generator"], 38 …cmd: "cat $(location rs.spec) $(location rs_compat.spec) | $(location rsg-generator) $(in) $(out)",
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowKeyStoreManager.java | 108 KeyGenerator generator = KeyGenerator.getInstance( in generateKeyStoreEncryptionKeyIfNeeded() local 118 generator.init(parameterSpecBuilder.build()); in generateKeyStoreEncryptionKeyIfNeeded() 119 return generator.generateKey(); in generateKeyStoreEncryptionKeyIfNeeded()
|
D | ManagedProfilePasswordCache.java | 93 KeyGenerator generator; in storePassword() local 96 generator = KeyGenerator.getInstance(KeyProperties.KEY_ALGORITHM_AES, in storePassword() 98 generator.init(new KeyGenParameterSpec.Builder( in storePassword() 108 key = generator.generateKey(); in storePassword()
|
/frameworks/base/core/java/android/text/format/ |
D | DateTimeFormat.java | 51 DateTimePatternGenerator generator = DateTimePatternGenerator.getInstance( in format() local 53 formatter = new SimpleDateFormat(generator.getBestPattern(skeleton), icuLocale); in format()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | BufferGenerator.cpp | 384 BufferGenerator* generator = static_cast<BufferGenerator*>(bufferGenerator); in setBuffer() local 385 generator->mGraphicBuffer = buffer; in setBuffer() 386 generator->mFence = fence; in setBuffer() 387 generator->mPending = false; in setBuffer() 388 generator->mConditionVariable.notify_all(); in setBuffer()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | EventLogTest.java | 58 private Event createEvent(Runnable generator, int expectedTag) throws Exception { in createEvent() argument 61 generator.run(); in createEvent()
|
/frameworks/native/libs/math/tests/ |
D | mat_test.cpp | 562 std::default_random_engine generator(82828); in TYPED_TEST() local 564 auto rand_gen = std::bind(distribution, generator); in TYPED_TEST() 581 std::default_random_engine generator(112233); in TYPED_TEST() local 583 auto rand_gen = std::bind(distribution, generator); in TYPED_TEST() 602 std::default_random_engine generator(112233); in TYPED_TEST() local 604 auto rand_gen = std::bind(distribution, generator); in TYPED_TEST() 641 std::default_random_engine generator(112233); in TYPED_TEST() local 643 auto rand_gen = std::bind(distribution, generator); in TYPED_TEST() 670 std::default_random_engine generator(992626); in TYPED_TEST() local 672 auto rand_gen = std::bind(distribution, generator); in TYPED_TEST()
|
D | quat_test.cpp | 277 std::default_random_engine generator(171717); in TEST_F() local 279 auto rand_gen = std::bind(distribution, generator); in TEST_F()
|
/frameworks/native/vulkan/ |
D | README.md | 17 …nually because the generator is not part of the platform toolchain (yet?). Files named `foo_gen.*`…
|
/frameworks/base/tools/aapt2/compile/ |
D | PseudolocaleGenerator_test.cpp | 199 PseudolocaleGenerator generator; in TEST() local 200 ASSERT_TRUE(generator.Consume(context.get(), table.get())); in TEST() 251 PseudolocaleGenerator generator; in TEST() local 252 ASSERT_TRUE(generator.Consume(context.get(), table.get())); in TEST() 288 PseudolocaleGenerator generator; in TEST() local 289 ASSERT_TRUE(generator.Consume(context.get(), table.get())); in TEST()
|
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
D | PlatformInspectableProcessor.java | 74 final InspectionCompanionGenerator generator = in process() local 79 generator.generate(model); in process()
|
/frameworks/layoutlib/create/ |
D | README.txt | 83 generator. 89 The generator is constructed from a CreateInfo struct that acts as a config file and lists: 101 The core method of the generator is transform(): it takes an input ASM ClassReader and modifies it 159 and the generator. 167 - CreateInfo class, which configured the generator. Not used yet, but could in theory help us track 168 what the generator changed. 196 replace. To do so, the generator renames Paint to _original_Paint. Later the bridge provides its own 221 In this case we have a strategy that tells the generator that anything returning, for example, the
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SecurityEventTest.java | 171 private SecurityEvent createEvent(Runnable generator, int expectedTag) throws Exception { in createEvent() argument 174 generator.run(); in createEvent()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SimpleCursorAdapterTest.java | 73 Random generator = new Random(); in createTestList() local 80 Integer r = generator.nextInt(); in createTestList()
|
/frameworks/wilhelm/tools/hashgen/ |
D | README.txt | 6 * GNU gperf perfect hash generator
|
/frameworks/native/cmds/installd/ |
D | otapreopt.cpp | 539 std::default_random_engine generator; in ChooseRelocationOffsetDelta() local 540 generator.seed(GetSeed()); in ChooseRelocationOffsetDelta() 542 int32_t r = distribution(generator); in ChooseRelocationOffsetDelta()
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | buildStrategiesStructureFile.py | 45 product strategies structure file generator.\n\
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | SecureBox.java | 114 ECPoint generator = 125 EC_PARAM_SPEC = new ECParameterSpec(curveSpec, generator, generatorOrder, /* cofactor */ 1);
|