/frameworks/compile/mclinker/include/mcld/Script/ |
D | Operator.h | 114 static Operator& create(); 124 Operator& Operator::create<Operator::SIZEOF_HEADERS>(); 126 Operator& Operator::create<Operator::MAXPAGESIZE>(); 128 Operator& Operator::create<Operator::COMMONPAGESIZE>(); 132 Operator& Operator::create<Operator::UNARY_PLUS>(); 134 Operator& Operator::create<Operator::UNARY_MINUS>(); 136 Operator& Operator::create<Operator::LOGICAL_NOT>(); 138 Operator& Operator::create<Operator::BITWISE_NOT>(); 141 Operator& Operator::create<Operator::ABSOLUTE>(); 143 Operator& Operator::create<Operator::ADDR>(); [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | Operator.cpp | 45 m_pIntOperand = IntOperand::create(0); in Operator() 57 Operator& Operator::create<Operator::SIZEOF_HEADERS>() { in create() function in mcld::Operator 63 Operator& Operator::create<Operator::MAXPAGESIZE>() { in create() function in mcld::Operator 69 Operator& Operator::create<Operator::COMMONPAGESIZE>() { in create() function in mcld::Operator 76 Operator& Operator::create<Operator::UNARY_PLUS>() { in create() function in mcld::Operator 82 Operator& Operator::create<Operator::UNARY_MINUS>() { in create() function in mcld::Operator 88 Operator& Operator::create<Operator::LOGICAL_NOT>() { in create() function in mcld::Operator 94 Operator& Operator::create<Operator::BITWISE_NOT>() { in create() function in mcld::Operator 100 Operator& Operator::create<Operator::ABSOLUTE>() { in create() function in mcld::Operator 106 Operator& Operator::create<Operator::ADDR>() { in create() function in mcld::Operator [all …]
|
D | ScriptParser.yy | 294 { $$ = FileToken::create(*$1, m_ScriptFile.asNeeded()); } 296 { $$ = NameSpec::create(*$1, m_ScriptFile.asNeeded()); } 354 /* create exp for vma */ 468 { $$ = StrToken::create(*$1); } 501 WildcardPattern::create(*$1, WildcardPattern::SORT_NONE); 514 { $$ = WildcardPattern::create(*$1, WildcardPattern::SORT_NONE); } 516 { $$ = WildcardPattern::create(*$3, WildcardPattern::SORT_BY_NAME); } 538 WildcardPattern::create(*$2, WildcardPattern::SORT_NONE)); 543 WildcardPattern::create(*$1, WildcardPattern::SORT_NONE)); 563 { $$ = WildcardPattern::create(*$1, WildcardPattern::SORT_NONE); } [all …]
|
D | RpnExpr.cpp | 54 RpnExpr* RpnExpr::create() { in create() function in mcld::RpnExpr 81 RpnExpr* expr = RpnExpr::create(); in buildHelperExpr() 82 expr->push_back(SectDescOperand::create(*pIter)); in buildHelperExpr() 83 expr->push_back(&Operator::create<Operator::ADDR>()); in buildHelperExpr() 84 expr->push_back(SectDescOperand::create(*pIter)); in buildHelperExpr() 85 expr->push_back(&Operator::create<Operator::SIZEOF>()); in buildHelperExpr() 86 expr->push_back(&Operator::create<Operator::ADD>()); in buildHelperExpr() 92 RpnExpr* expr = RpnExpr::create(); in buildHelperExpr() 93 expr->push_back(FragOperand::create(pFrag)); in buildHelperExpr()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | CompatConfigTest.java | 82 assertThat(compatConfig.isChangeEnabled(1234L, ApplicationInfoBuilder.create().build())) in testUnknownChangeEnabled() 88 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testDisabledChangeDisabled() 92 assertThat(compatConfig.isChangeEnabled(1234L, ApplicationInfoBuilder.create().build())) in testDisabledChangeDisabled() 98 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testTargetSdkChangeDisabled() 103 ApplicationInfoBuilder.create().withTargetSdk(2).build())) in testTargetSdkChangeDisabled() 109 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testTargetSdkChangeEnabled() 114 ApplicationInfoBuilder.create().withTargetSdk(3).build())).isTrue(); in testTargetSdkChangeEnabled() 119 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testDisabledOverrideTargetSdkChange() 124 ApplicationInfoBuilder.create().withTargetSdk(3).build())).isFalse(); in testDisabledOverrideTargetSdkChange() 129 CompatConfig compatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testGetDisabledChanges() [all …]
|
D | OverrideValidatorImplTest.java | 88 CompatConfig config = CompatConfigBuilder.create(debuggableBuild(), mContext) in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 97 .thenReturn(ApplicationInfoBuilder.create() in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 132 CompatConfig config = CompatConfigBuilder.create(debuggableBuild(), mContext) in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride() 141 .thenReturn(ApplicationInfoBuilder.create() in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride() 175 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildTargetSdkChangeDebugApp_allowOverride() 182 .thenReturn(ApplicationInfoBuilder.create() in getOverrideAllowedState_betaBuildTargetSdkChangeDebugApp_allowOverride() 209 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildEnabledChangeDebugApp_allowOverride() 213 .thenReturn(ApplicationInfoBuilder.create() in getOverrideAllowedState_betaBuildEnabledChangeDebugApp_allowOverride() 228 CompatConfig config = CompatConfigBuilder.create(betaBuild(), mContext) in getOverrideAllowedState_betaBuildDisabledChangeDebugApp_allowOverride() 232 .thenReturn(ApplicationInfoBuilder.create() in getOverrideAllowedState_betaBuildDisabledChangeDebugApp_allowOverride() [all …]
|
D | PlatformCompatTest.java | 74 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testListAllChanges() 97 mCompatConfig = CompatConfigBuilder.create(mBuildClassifier, mContext) in testListUIChanges() 128 CompatibilityChangeConfigBuilder.create().enable(1L).build(), in testRegisterListenerReturn() 143 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverrides() 155 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerNotCalledOnWrongPackage() 166 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesTwoListeners() 178 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesTwoListeners() 191 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesForTest() 202 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesTwoListenersForTest() 214 CompatibilityChangeConfigBuilder.create().enable(1L).disable(2L).build(), in testListenerCalledOnSetOverridesTwoListenersForTest() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | RotationCacheTest.java | 19 import static android.util.Pair.create; 51 return create(o, rot); in setUp() 57 assertThat(mCache.getOrCompute("hello", 0), equalTo(create("hello", 0))); in getOrCompute_computes() 58 assertThat(mCache.getOrCompute("hello", 1), equalTo(create("hello", 1))); in getOrCompute_computes() 59 assertThat(mCache.getOrCompute("hello", 2), equalTo(create("hello", 2))); in getOrCompute_computes() 60 assertThat(mCache.getOrCompute("hello", 3), equalTo(create("hello", 3))); in getOrCompute_computes() 68 assertThat(mCache.getOrCompute("hello", 1), equalTo(create("hello", 1))); in getOrCompute_sameParam_sameRot_hitsCache() 80 assertThat(mCache.getOrCompute("hello", 1), equalTo(create("hello", 1))); in getOrCompute_sameParam_hitsCache_forAllRots() 81 assertThat(mCache.getOrCompute("hello", 0), equalTo(create("hello", 0))); in getOrCompute_sameParam_hitsCache_forAllRots() 82 assertThat(mCache.getOrCompute("hello", 2), equalTo(create("hello", 2))); in getOrCompute_sameParam_hitsCache_forAllRots() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
D | ImageFormat.java | 37 public static MutableFrameFormat create(int width, in create() method in ImageFormat 53 public static MutableFrameFormat create(int width, in create() method in ImageFormat 57 return create(width, in create() 65 public static MutableFrameFormat create(int colorspace, int target) { in create() method in ImageFormat 66 return create(FrameFormat.SIZE_UNSPECIFIED, in create() 74 public static MutableFrameFormat create(int colorspace) { in create() method in ImageFormat 75 return create(FrameFormat.SIZE_UNSPECIFIED, in create()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/ |
D | EncryptedChunkOrderingTest.java | 38 EncryptedChunkOrdering.create(TEST_BYTE_ARRAY_1); in testEncryptedChunkOrdering_returnsValue() 50 EncryptedChunkOrdering chunkOrdering1 = EncryptedChunkOrdering.create(TEST_BYTE_ARRAY_1); in testEquals() 52 EncryptedChunkOrdering.create(TEST_BYTE_ARRAY_1); in testEquals() 53 EncryptedChunkOrdering chunkOrdering2 = EncryptedChunkOrdering.create(TEST_BYTE_ARRAY_2); in testEquals() 61 EncryptedChunkOrdering chunkOrdering1 = EncryptedChunkOrdering.create(TEST_BYTE_ARRAY_1); in testHashCode() 63 EncryptedChunkOrdering.create(TEST_BYTE_ARRAY_1); in testHashCode() 64 EncryptedChunkOrdering chunkOrdering2 = EncryptedChunkOrdering.create(TEST_BYTE_ARRAY_2); in testHashCode()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/ |
D | EncryptedChunkTest.java | 59 () -> EncryptedChunk.create(chunkHash, shortNonce, ENCRYPTED_BYTES_1)); in testCreate_withIncorrectLength_throwsException() 66 EncryptedChunk.create(chunkHash, NONCE_1, ENCRYPTED_BYTES_1); in testEncryptedBytes_forNewlyCreatedObject_returnsCorrectValue() 80 EncryptedChunk.create(chunkHash, NONCE_1, ENCRYPTED_BYTES_1); in testKey_forNewlyCreatedObject_returnsCorrectValue() 91 EncryptedChunk.create(chunkHash, NONCE_1, ENCRYPTED_BYTES_1); in testNonce_forNewlycreatedObject_returnCorrectValue() 104 EncryptedChunk.create(chunkHash1, NONCE_1, ENCRYPTED_BYTES_1); in testEquals() 106 EncryptedChunk.create(equalChunkHash1, NONCE_1, ENCRYPTED_BYTES_1); in testEquals() 108 EncryptedChunk.create(chunkHash2, NONCE_2, ENCRYPTED_BYTES_2); in testEquals() 120 EncryptedChunk.create(chunkHash1, NONCE_1, ENCRYPTED_BYTES_1); in testHashCode() 122 EncryptedChunk.create(equalChunkHash1, NONCE_1, ENCRYPTED_BYTES_1); in testHashCode() 124 EncryptedChunk.create(chunkHash2, NONCE_2, ENCRYPTED_BYTES_2); in testHashCode()
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils_test.cpp | 64 bool create = false; in TEST() local 66 EXPECT_TRUE(ResourceUtils::ParseReference("@color/foo", &actual, &create, &private_ref)); in TEST() 68 EXPECT_FALSE(create); in TEST() 74 bool create = false; in TEST() local 76 EXPECT_TRUE(ResourceUtils::ParseReference("@android:color/foo", &actual, &create, &private_ref)); in TEST() 78 EXPECT_FALSE(create); in TEST() 84 bool create = false; in TEST() local 86 …EXPECT_TRUE(ResourceUtils::ParseReference("\t @android:color/foo\n \n\t", &actual, &create, &priva… in TEST() 88 EXPECT_FALSE(create); in TEST() 94 bool create = false; in TEST() local [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | RenderNodePerfTest.java | 36 final RenderNode node = RenderNode.create("benchmark", null); in testMeasureRenderNodeJniOverhead() 48 RenderNode.create(null, null); in testCreateRenderNodeNoName() 56 RenderNode.create("LinearLayout", null); in testCreateRenderNode() 63 RenderNode node = RenderNode.create("LinearLayout", null); in testIsValid() 72 RenderNode node = RenderNode.create("LinearLayout", null); in testStartEnd() 84 nodes[i] = RenderNode.create("LinearLayout", null); in testStartEndDeepHierarchy() 100 RenderNode node = RenderNode.create("LinearLayout", null); in testHasIdentityMatrix() 109 RenderNode node = RenderNode.create("LinearLayout", null); in testSetOutline()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 122 BrightnessMappingStrategy simple = BrightnessMappingStrategy.create(res); in testSimpleStrategyMappingAtControlPoints() 135 BrightnessMappingStrategy simple = BrightnessMappingStrategy.create(res); in testSimpleStrategyMappingBetweenControlPoints() 149 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res); in testSimpleStrategyIgnoresNewConfiguration() 164 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res); in testSimpleStrategyIgnoresNullConfiguration() 178 BrightnessMappingStrategy physical = BrightnessMappingStrategy.create(res); in testPhysicalStrategyMappingAtControlPoints() 191 BrightnessMappingStrategy physical = BrightnessMappingStrategy.create(res); in testPhysicalStrategyMappingBetweenControlPoints() 208 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res); in testPhysicalStrategyUsesNewConfigurations() 233 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res); in testDefaultStrategyIsPhysical() 246 BrightnessMappingStrategy strategy = BrightnessMappingStrategy.create(res); in testNonStrictlyIncreasingLuxLevelsFails() 252 strategy = BrightnessMappingStrategy.create(res); in testNonStrictlyIncreasingLuxLevelsFails() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_foreach_multi.java | 51 Ain0 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() 55 Ain1 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() 59 Ain2 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() 65 Ain3 = Allocation.createTyped(RS, type16Builder.create()); in initializeGlobals() 71 Out0 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() 74 Out1 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() 77 Out2 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_foreach_multi.java | 53 Ain0 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() 57 Ain1 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() 61 Ain2 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() 67 Ain3 = Allocation.createTyped(RS, type16Builder.create()); in initializeGlobals() 73 Out0 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() 76 Out1 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals() 79 Out2 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | DirectStatementRetriever.java | 71 public static Result create(List<Statement> statements, Long expireMillis) { in create() method in DirectStatementRetriever.Result 146 return Result.create(statements, DO_NOT_CACHE_RESULT); in retrieveStatementFromUrl() 154 return Result.create(statements, DO_NOT_CACHE_RESULT); in retrieveStatementFromUrl() 160 return Result.create(statements, DO_NOT_CACHE_RESULT); in retrieveStatementFromUrl() 172 return Result.create(statements, webContent.getExpireTimeMillis()); in retrieveStatementFromUrl() 174 return Result.create(statements, DO_NOT_CACHE_RESULT); in retrieveStatementFromUrl() 194 AndroidAppAsset actualSource = AndroidAppAsset.create(asset.getPackageName(), certFps); in retrieveFromAndroid() 207 return Result.create(statements, DO_NOT_CACHE_RESULT); in retrieveFromAndroid() 210 return Result.create(Collections.<Statement>emptyList(), DO_NOT_CACHE_RESULT); in retrieveFromAndroid()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 44 Typeface.create(Typeface.SANS_SERIF, 0), 45 Typeface.create(Typeface.SANS_SERIF, 1), 46 Typeface.create(Typeface.SERIF, 0), 47 Typeface.create(Typeface.SERIF, 1), 48 Typeface.create(Typeface.SERIF, 2), 49 Typeface.create(Typeface.SERIF, 3), 50 Typeface.create(Typeface.MONOSPACE, 0) 142 final Typeface result = Typeface.create(base, style); in testMultithreadCacheStressTest() 147 final Typeface result = Typeface.create(base, weight, italic); in testMultithreadCacheStressTest()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ParserFactory.java | 47 public static XmlPullParser create(@NonNull String filePath) in create() method in ParserFactory 49 return create(filePath, false); in create() 53 public static XmlPullParser create(@NonNull String filePath, boolean isLayout) in create() method in ParserFactory 67 public static XmlPullParser create(@NonNull InputStream stream, @Nullable String name) in create() method in ParserFactory 69 XmlPullParser parser = create(); in create() 78 public static XmlPullParser create() throws XmlPullParserException { in create() method in ParserFactory
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 101 return Arrays.binarySearch(ranges, Range.create(value, value), in binarySearchDistinctRanges() 144 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 155 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 171 return Range.create( 201 return Range.create((int)v, (int)Math.ceil(v)); 205 return Range.create((long)v, (long)Math.ceil(v)); 241 return Range.create( 246 return Range.create(value, value); 262 return Range.create( 267 return Range.create(value, value); [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | Frame.java | 107 return FrameValue.create(mBackingStore); in asFrameValue() 111 return FrameValues.create(mBackingStore); in asFrameValues() 115 return FrameBuffer1D.create(mBackingStore); in asFrameBuffer1D() 119 return FrameBuffer2D.create(mBackingStore); in asFrameBuffer2D() 123 return FrameImage2D.create(mBackingStore); in asFrameImage2D() 136 public static Frame create(FrameType type, int[] dimensions) { in create() method in Frame
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
D | AlignmentTest.java | 50 View create(String name, int size); in create() method 54 public View create(String name, int size) { 68 public View create(String name, int size) { 77 public View create(String name, int size) { 87 public static ViewGroup create(Context context1) { in create() method in AlignmentTest 99 container.addView(factory.create(name, 20), layoutParams); in create() 124 setContentView(create(getBaseContext())); in onCreate()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | LinearAllocatorTests.cpp | 30 TEST(LinearAllocator, create) { in TEST() argument 38 auto pair = la.create<SimplePair>(); in TEST() 50 la.create<TestUtils::SignalingDtor>()->setSignal(destroyed + i); in TEST() 51 la.create<SimplePair>(); in TEST() 55 la.create<TestUtils::SignalingDtor>(destroyed + 5 + i); in TEST() 77 auto sigdtor = la.create<TestUtils::SignalingDtor>(); in TEST()
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BNNMTest.java | 53 mBLAS = ScriptIntrinsicBLAS.create(mRS); in createTest() 223 Type a_type = builder.setX(k).setY(m).create(); in setTestSmall() 224 Type b_type = builder.setX(k).setY(n).create(); in setTestSmall() 225 Type c_type = builder.setX(n).setY(m).create(); in setTestSmall() 293 Type a_type = builder.setX(k).setY(m).create(); in setTestMedium() 294 Type b_type = builder.setX(k).setY(n).create(); in setTestMedium() 295 Type c_type = builder.setX(n).setY(m).create(); in setTestMedium() 342 Type a_type = builder.setX(k).setY(m).create(); in setTestLarge() 343 Type b_type = builder.setX(k).setY(n).create(); in setTestLarge() 344 Type c_type = builder.setX(n).setY(m).create(); in setTestLarge()
|
D | SGEMMTest.java | 51 mBLAS = ScriptIntrinsicBLAS.create(mRS); in createTest() 146 Type a_type = builder.setX(k).setY(m).create(); in setTestSmall() 147 Type b_type = builder.setX(n).setY(k).create(); in setTestSmall() 148 Type c_type = builder.setX(n).setY(m).create(); in setTestSmall() 201 Type a_type = builder.setX(k).setY(m).create(); in setTestMedium() 202 Type b_type = builder.setX(n).setY(k).create(); in setTestMedium() 203 Type c_type = builder.setX(n).setY(m).create(); in setTestMedium() 249 Type a_type = builder.setX(k).setY(m).create(); in setTestLarge() 250 Type b_type = builder.setX(n).setY(k).create(); in setTestLarge() 251 Type c_type = builder.setX(n).setY(m).create(); in setTestLarge()
|