/frameworks/layoutlib/validator/src/com/android/tools/idea/validator/ |
D | ValidatorData.java | 19 import com.android.tools.layoutlib.annotations.NotNull; 58 @NotNull public final EnumSet<Type> mTypes; 60 @NotNull public final EnumSet<Level> mLevels; 65 @NotNull public final HashSet<AccessibilityHierarchyCheck> mChecks = new HashSet(); 67 public Policy(@NotNull EnumSet<Type> types, @NotNull EnumSet<Level> levels) { in Policy() 77 @NotNull 79 @NotNull 81 @NotNull 83 @NotNull 89 @NotNull [all …]
|
D | LayoutValidator.java | 22 import com.android.tools.layoutlib.annotations.NotNull; 100 @NotNull 103 @NotNull View view, in validate() 126 @NotNull 128 @NotNull View view, in buildHierarchy() 146 @NotNull 147 public static ValidatorResult validate(@NotNull ValidatorHierarchy hierarchy) { in validate() 155 public static void updatePolicy(@NotNull ValidatorData.Policy policy) { in updatePolicy()
|
D | ValidatorResult.java | 21 import com.android.tools.layoutlib.annotations.NotNull; 38 @NotNull private final ImmutableBiMap<Long, View> mSrcMap; 39 @NotNull private final ImmutableBiMap<Long, AccessibilityNodeInfo> mNodeInfoMap; 40 @NotNull private final ArrayList<Issue> mIssues; 41 @NotNull private final Metric mMetric; 106 @NotNull public final BiMap<Long, View> mSrcMap = HashBiMap.create(); 107 @NotNull public final BiMap<Long, AccessibilityNodeInfo> mNodeInfoMap = HashBiMap.create(); 108 @NotNull public final ArrayList<Issue> mIssues = new ArrayList<>(); 109 @NotNull public final Metric mMetric = new Metric();
|
D | AtfBufferedImage.java | 21 import com.android.tools.layoutlib.annotations.NotNull; 42 @NotNull private final BufferedImage mImage; 44 @NotNull private final Metric mMetric; 57 @NotNull BufferedImage image, in AtfBufferedImage() 58 @NotNull Metric metric, in AtfBufferedImage() 81 @NotNull BufferedImage image, in AtfBufferedImage() 82 @NotNull Metric metric, in AtfBufferedImage() 110 @NotNull 120 @NotNull
|
D | ValidatorUtil.java | 28 import com.android.tools.layoutlib.annotations.NotNull; 115 @NotNull ValidatorData.Policy policy, in buildHierarchy() 116 @NotNull View view, in buildHierarchy() 174 @NotNull ValidatorData.Policy policy, in generateResults() 175 @NotNull ValidatorHierarchy hierarchy) { in generateResults() 201 @NotNull Set<AccessibilityHierarchyCheck> checks = policyChecks.isEmpty() ? in generateResults() 291 @NotNull 292 private static String getCheckClassCategory(@NotNull Class<?> checkClass) { in getCheckClassCategory() 305 @NotNull 306 private static ValidatorData.Level convertLevel(@NotNull AccessibilityCheckResultType type) { in convertLevel() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | ApkAssets_test.cpp | 31 using ::testing::NotNull; 39 ASSERT_THAT(loaded_apk, NotNull()); in TEST() 42 ASSERT_THAT(loaded_arsc, NotNull()); in TEST() 43 ASSERT_THAT(loaded_arsc->GetPackageById(0x7fu), NotNull()); in TEST() 44 ASSERT_THAT(loaded_apk->GetAssetsProvider()->Open("res/layout/main.xml"), NotNull()); in TEST() 53 ASSERT_THAT(loaded_apk, NotNull()); in TEST() 56 ASSERT_THAT(loaded_arsc, NotNull()); in TEST() 57 ASSERT_THAT(loaded_arsc->GetPackageById(0x7fu), NotNull()); in TEST() 58 ASSERT_THAT(loaded_apk->GetAssetsProvider()->Open("res/layout/main.xml"), NotNull()); in TEST() 63 ASSERT_THAT(loaded_apk, NotNull()); in TEST() [all …]
|
D | BigBuffer_test.cpp | 22 using ::testing::NotNull; 29 EXPECT_THAT(buffer.NextBlock<char>(2), NotNull()); in TEST() 37 EXPECT_THAT(b1, NotNull()); in TEST() 40 EXPECT_THAT(b2, NotNull()); in TEST() 48 EXPECT_THAT(buffer.NextBlock<char>(32), NotNull()); in TEST() 56 ASSERT_THAT(b1, NotNull()); in TEST() 62 ASSERT_THAT(b1, NotNull()); in TEST() 89 ASSERT_THAT(buffer.NextBlock<char>(2), NotNull()); in TEST()
|
D | LoadedArsc_test.cpp | 40 using ::testing::NotNull; 55 ASSERT_THAT(loaded_arsc, NotNull()); in TEST() 59 ASSERT_THAT(package, NotNull()); in TEST() 67 ASSERT_THAT(type_spec, NotNull()); in TEST() 81 ASSERT_THAT(loaded_arsc, NotNull()); in TEST() 102 ASSERT_THAT(loaded_arsc, NotNull()); in TEST() 130 ASSERT_THAT(loaded_arsc, NotNull()); in TEST() 144 ASSERT_THAT(loaded_arsc, NotNull()); in TEST() 148 ASSERT_THAT(package, NotNull()); in TEST() 154 ASSERT_THAT(type_spec, NotNull()); in TEST() [all …]
|
D | FileStream_test.cpp | 28 using ::testing::NotNull; 48 ASSERT_THAT(buffer, NotNull()); in TEST() 54 ASSERT_THAT(buffer, NotNull()); in TEST() 63 ASSERT_THAT(buffer, NotNull()); in TEST() 73 ASSERT_THAT(buffer, NotNull()); in TEST() 79 ASSERT_THAT(buffer, NotNull()); in TEST() 100 ASSERT_THAT(buffer, NotNull()); in TEST() 106 ASSERT_THAT(buffer, NotNull()); in TEST() 112 ASSERT_THAT(buffer, NotNull()); in TEST()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | StubClassAdapter.java | 19 import com.android.tools.layoutlib.annotations.NotNull; 39 @NotNull 40 MethodVisitor create(@NotNull MethodVisitor mv, in create() 41 @NotNull String methodName, in create() 42 @NotNull Type returnType, in create() 43 @NotNull String invokeSignature, in create() 57 private Builder(@NotNull Log log, @NotNull ClassVisitor classVisitor) { in Builder() 62 @NotNull 68 @NotNull 79 @NotNull [all …]
|
D | JarUtil.java | 19 import com.android.tools.layoutlib.annotations.NotNull; 42 public static void createJar(@NotNull FileOutputStream outStream, in createJar() 43 @NotNull Map<String, byte[]> all, @NotNull Function<byte[], byte[]> transform) in createJar() 70 public static void createJar(@NotNull FileOutputStream outStream, in createJar() 71 @NotNull Map<String, byte[]> all) throws IOException { in createJar()
|
D | StubExceptionMethodAdapter.java | 19 import com.android.tools.layoutlib.annotations.NotNull; 35 public StubExceptionMethodAdapter(@NotNull MethodVisitor mv, @NotNull String methodName, in StubExceptionMethodAdapter() 36 @NotNull Type returnType, @NotNull String invokeSignature, boolean isStatic, in StubExceptionMethodAdapter()
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/ide/common/resources/deprecated/ |
D | ResourceRepository.java | 26 import com.android.tools.layoutlib.annotations.NotNull; 60 protected ResourceRepository(@NotNull TestFolderWrapper resFolder, in ResourceRepository() 130 @NotNull ResourceFolderType type, in add() 131 @NotNull FolderConfiguration config, in add() 132 @NotNull IAbstractFolder folder) { in add() 173 @NotNull 174 public ResourceItem getResourceItem(@NotNull ResourceType type, @NotNull String name) { in getResourceItem() 243 @NotNull 244 protected abstract ResourceItem createResourceItem(@NotNull String name); in createResourceItem() 252 private ResourceFolder processFolder(@NotNull TestFolderWrapper folder) { in processFolder() [all …]
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable_test.cpp | 27 using ::testing::NotNull; 41 EXPECT_THAT(symbol_source.FindByName(test::ParseNameOrDie("android:id/foo")), NotNull()); in TEST() 42 EXPECT_THAT(symbol_source.FindByName(test::ParseNameOrDie("android:id/bar")), NotNull()); in TEST() 46 ASSERT_THAT(s, NotNull()); in TEST() 47 EXPECT_THAT(s->attribute, NotNull()); in TEST() 60 ASSERT_THAT(s, NotNull()); in TEST() 61 EXPECT_THAT(s->attribute, NotNull()); in TEST() 75 EXPECT_THAT(symbol_table.FindByName(test::ParseNameOrDie("id/foo")), NotNull()); in TEST() 76 EXPECT_THAT(symbol_table.FindByName(test::ParseNameOrDie("com.android.lib:id/foo")), NotNull()); in TEST() 129 EXPECT_THAT(symbol_table.FindByName(test::ParseNameOrDie("com.android.lib:id/foo")), NotNull()); in TEST_F() [all …]
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser_test.cpp | 39 using ::testing::NotNull; 98 ASSERT_THAT(str, NotNull()); in TEST_F() 104 ASSERT_THAT(str, NotNull()); in TEST_F() 140 ASSERT_THAT(str, NotNull()); in TEST_F() 159 ASSERT_THAT(str, NotNull()); in TEST_F() 166 ASSERT_THAT(str, NotNull()); in TEST_F() 175 ASSERT_THAT(str, NotNull()); in TEST_F() 183 ASSERT_THAT(str, NotNull()); in TEST_F() 191 ASSERT_THAT(str, NotNull()); in TEST_F() 198 ASSERT_THAT(str, NotNull()); in TEST_F() [all …]
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator_test.cpp | 48 using ::testing::NotNull; 127 EXPECT_THAT(ValueForConfig(new_table, xhdpi_), NotNull()); in TEST_F() 129 EXPECT_THAT(ValueForConfig(new_table, default_), NotNull()); in TEST_F() 130 EXPECT_THAT(GetValue<Id>(new_table, "android:string/one"), NotNull()); in TEST_F() 152 EXPECT_THAT(ValueForConfig(new_table, xhdpi_), NotNull()); in TEST_F() 153 EXPECT_THAT(ValueForConfig(new_table, v19_), NotNull()); in TEST_F() 154 EXPECT_THAT(ValueForConfig(new_table, v21_), NotNull()); in TEST_F() 155 EXPECT_THAT(GetValue<Id>(new_table, "android:string/one"), NotNull()); in TEST_F() 177 EXPECT_THAT(ValueForConfig(new_table, xhdpi_), NotNull()); in TEST_F() 178 EXPECT_THAT(ValueForConfig(new_table, v19_), NotNull()); in TEST_F() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | NinePatchInputStream.java | 19 import com.android.tools.layoutlib.annotations.NotNull; 43 public NinePatchInputStream(@NotNull InputStream stream, @NotNull String path) { in NinePatchInputStream() 48 @NotNull
|
D | ChoreographerCallbacks.java | 20 import com.android.tools.layoutlib.annotations.NotNull; 46 private Callback(@NotNull Object action, Object token, long dueTime) { in Callback() 78 public void execute(long currentTimeMs, @NotNull ILayoutLog logger) { in execute() 105 private static void executeSafely(@NotNull Object action, long frameTimeNanos, in executeSafely() 106 @NotNull ILayoutLog logger) { in executeSafely()
|
/frameworks/base/tools/aapt2/link/ |
D | ReferenceLinker_test.cpp | 24 using ::testing::NotNull; 59 ASSERT_THAT(ref, NotNull()); in TEST() 64 ASSERT_THAT(ref, NotNull()); in TEST() 69 ASSERT_THAT(ref, NotNull()); in TEST() 90 ASSERT_THAT(style, NotNull()); in TEST() 121 ASSERT_THAT(style, NotNull()); in TEST() 130 ASSERT_THAT(ValueCast<BinaryPrimitive>(style->entries[0].value.get()), NotNull()); in TEST() 134 ASSERT_THAT(ValueCast<BinaryPrimitive>(style->entries[1].value.get()), NotNull()); in TEST() 167 ASSERT_THAT(style, NotNull()); in TEST() 270 ASSERT_THAT(symbol, NotNull()); in TEST() [all …]
|
D | AutoVersioner_test.cpp | 24 using ::testing::NotNull; 88 ASSERT_THAT(style, NotNull()); in TEST() 93 ASSERT_THAT(style, NotNull()); in TEST() 100 ASSERT_THAT(style, NotNull()); in TEST() 108 ASSERT_THAT(style, NotNull()); in TEST()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 28 using ::testing::NotNull; 119 ASSERT_THAT(id, NotNull()); in TEST() 189 ASSERT_THAT(new_id, NotNull()); in TEST() 207 ASSERT_THAT(prim, NotNull()); in TEST() 213 ASSERT_THAT(prim, NotNull()); in TEST() 218 ASSERT_THAT(actual_ref, NotNull()); in TEST() 225 ASSERT_THAT(actual_file_ref, NotNull()); in TEST() 230 ASSERT_THAT(actual_styled_str, NotNull()); in TEST() 240 ASSERT_THAT(search_result.value().entry, NotNull()); in TEST() 320 ASSERT_THAT(actual_attr.compiled_value, NotNull()); in TEST() [all …]
|
/frameworks/base/tools/aapt2/io/ |
D | StringStream_test.cpp | 25 using ::testing::NotNull; 43 ASSERT_THAT(buffer, NotNull()); in TEST() 60 ASSERT_THAT(buffer, NotNull()); in TEST() 68 ASSERT_THAT(buffer, NotNull()); in TEST()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | SessionInteractiveData.java | 5 import com.android.tools.layoutlib.annotations.NotNull; 17 @NotNull 22 @NotNull
|
/frameworks/base/cmds/idmap2/tests/ |
D | IdmapTests.cpp | 40 using ::testing::NotNull; 69 ASSERT_THAT(header, NotNull()); in TEST() 105 ASSERT_THAT(header, NotNull()); in TEST() 116 ASSERT_THAT(data, NotNull()); in TEST() 144 ASSERT_THAT(idmap->GetHeader(), NotNull()); in TEST() 159 ASSERT_THAT(data, NotNull()); in TEST() 203 ASSERT_THAT(idmap, NotNull()); in TEST() 205 ASSERT_THAT(idmap->GetHeader(), NotNull()); in TEST() 232 ASSERT_THAT(idmap, NotNull()); in TEST() 238 ASSERT_THAT(data, NotNull()); in TEST() [all …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlActionExecutor_test.cpp | 21 using ::testing::NotNull; 48 ASSERT_THAT(manifest_el, NotNull()); in TEST() 51 ASSERT_THAT(application_el, NotNull()); in TEST()
|