/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
D | ProcessorErrors.kt | 48 expectedReturnTypes: List<TypeName>): String { in insertionMethodReturnTypeMismatch() 78 fun multiplePrimaryKeyAnnotations(primaryKeys: List<String>): String { in multiplePrimaryKeyAnnotations() 86 fun primaryKeyColumnDoesNotExist(columnName: String, allColumns: List<String>): String { in primaryKeyColumnDoesNotExist() 161 fun tooManyMatchingGetters(field: Field, methodNames: List<String>): String { in tooManyMatchingGetters() 168 fun tooManyMatchingSetter(field: Field, methodNames: List<String>): String { in tooManyMatchingSetter() 182 fun missingParameterForBindVariable(bindVarName: List<String>): String { in missingParameterForBindVariable() 187 fun unusedQueryMethodParameter(unusedParams: List<String>): String { in unusedQueryMethodParameter() 194 fun duplicateTableNames(tableName: String, entityNames: List<String>): String { in duplicateTableNames() 206 fun duplicateDao(dao: TypeName, methodNames: List<String>): String { in duplicateDao() 217 fun pojoMissingNonNull(pojoTypeName: TypeName, missingPojoFields: List<String>, in pojoMissingNonNull() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraUtilsTypeReferenceTest.java | 27 import java.util.List; 146 TypeReference<List<Integer>> listToken = new TypeReference<List<Integer>>() {{ }}; in testRawTypes() 147 assertRawTypeEquals(listToken, List.class); in testRawTypes() 149 TypeReference<List<List<Integer>>> listListToken = in testRawTypes() 150 new TypeReference<List<List<Integer>>>() {{ }}; in testRawTypes() 151 assertRawTypeEquals(listListToken, List.class); in testRawTypes() 159 TypeReference<List<Integer>[]> listArrayToken = new TypeReference<List<Integer>[]>() {{ }}; in testRawTypes() 160 assertRawTypeEquals(listArrayToken, List[].class); in testRawTypes() 169 private class IntListToken1 extends TypeReference<List<Integer>> {} 170 private class IntListToken2 extends TypeReference<List<Integer>> {} [all …]
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
D | FragmentManagerNonConfig.java | 24 import java.util.List; 36 private final List<Fragment> mFragments; 37 private final List<FragmentManagerNonConfig> mChildNonConfigs; 38 private final List<ViewModelStore> mViewModelStores; 40 FragmentManagerNonConfig(List<Fragment> fragments, in FragmentManagerNonConfig() 41 List<FragmentManagerNonConfig> childNonConfigs, in FragmentManagerNonConfig() 42 List<ViewModelStore> viewModelStores) { in FragmentManagerNonConfig() 51 List<Fragment> getFragments() { in getFragments() 58 List<FragmentManagerNonConfig> getChildNonConfigs() { in getChildNonConfigs() 65 List<ViewModelStore> getViewModelStores() { in getViewModelStores()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/ |
D | WorkSpecDao.java | 33 import java.util.List; 71 WorkSpec[] getWorkSpecs(List<String> ids); in getWorkSpecs() 81 List<WorkSpec.IdAndState> getWorkSpecIdAndStatesForName(String name); in getWorkSpecIdAndStatesForName() 87 List<String> getAllWorkSpecIds(); in getAllWorkSpecIds() 163 List<WorkSpec.WorkStatusPojo> getWorkStatusPojoForIds(List<String> ids); in getWorkStatusPojoForIds() 174 LiveData<List<WorkSpec.WorkStatusPojo>> getWorkStatusPojoLiveDataForIds(List<String> ids); in getWorkStatusPojoLiveDataForIds() 185 List<WorkSpec.WorkStatusPojo> getWorkStatusPojoForTag(String tag); in getWorkStatusPojoForTag() 197 LiveData<List<WorkSpec.WorkStatusPojo>> getWorkStatusPojoLiveDataForTag(String tag); in getWorkStatusPojoLiveDataForTag() 208 List<WorkSpec.WorkStatusPojo> getWorkStatusPojoForName(String name); in getWorkStatusPojoForName() 220 LiveData<List<WorkSpec.WorkStatusPojo>> getWorkStatusPojoLiveDataForName(String name); in getWorkStatusPojoLiveDataForName() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBackupRestoreTest.java | 45 import java.util.List; 178 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenNetworkBackupRestore() 182 List<WifiConfiguration> retrievedConfigurations = in testSingleOpenNetworkBackupRestore() 194 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleOpenHiddenNetworkBackupRestore() 198 List<WifiConfiguration> retrievedConfigurations = in testSingleOpenHiddenNetworkBackupRestore() 209 List<WifiConfiguration> configurations = new ArrayList<>(); in testSinglePskNetworkBackupRestore() 213 List<WifiConfiguration> retrievedConfigurations = in testSinglePskNetworkBackupRestore() 224 List<WifiConfiguration> configurations = new ArrayList<>(); in testSinglePskHiddenNetworkBackupRestore() 228 List<WifiConfiguration> retrievedConfigurations = in testSinglePskHiddenNetworkBackupRestore() 239 List<WifiConfiguration> configurations = new ArrayList<>(); in testSingleWepNetworkBackupRestore() [all …]
|
/frameworks/support/paging/common/src/main/java/androidx/paging/ |
D | DataSource.java | 26 import java.util.List; 172 @NonNull final Function<List<Value>, List<ToValue>> function) { in mapByPage() 183 static <X, Y> Function<List<X>, List<Y>> createListFunction( 185 return new Function<List<X>, List<Y>>() { 187 public List<Y> apply(@NonNull List<X> source) { 188 List<Y> out = new ArrayList<>(source.size()); 197 static <A, B> List<B> convert(Function<List<A>, List<B>> function, List<A> source) { 198 List<B> dest = function.apply(source); 228 @NonNull Function<List<Value>, List<ToValue>> function); 256 static void validateInitialLoadParams(@NonNull List<?> data, int position, int totalCount) {
|
D | WrapperItemKeyedDataSource.java | 23 import java.util.List; 27 private final Function<List<A>, List<B>> mListFunction; 32 Function<List<A>, List<B>> listFunction) { in WrapperItemKeyedDataSource() 57 private List<B> convertWithStashedKeys(List<A> source) { in convertWithStashedKeys() 58 List<B> dest = convert(mListFunction, source); in convertWithStashedKeys() 74 public void onResult(@NonNull List<A> data, int position, int totalCount) { in loadInitial() 79 public void onResult(@NonNull List<A> data) { in loadInitial() 90 public void onResult(@NonNull List<A> data) { in loadAfter() 101 public void onResult(@NonNull List<A> data) { in loadBefore()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | OsuProviderInfo.java | 32 import java.util.List; 73 private final List<I18Name> mFriendlyNames; 75 private final List<Integer> mMethodList; 76 private final List<IconInfo> mIconInfoList; 78 private final List<I18Name> mServiceDescriptions; 81 public OsuProviderInfo(List<I18Name> friendlyNames, Uri serverUri, List<Integer> methodList, in OsuProviderInfo() 82 List<IconInfo> iconInfoList, String nai, List<I18Name> serviceDescriptions) { in OsuProviderInfo() 112 List<I18Name> friendlyNameList = parseI18Names(friendlyNameBuffer); in parse() 120 List<Integer> methodList = new ArrayList<>(); in parse() 130 List<IconInfo> iconInfoList = new ArrayList<>(); in parse() [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/ |
D | CertXml.java | 29 import java.util.List; 49 private final List<X509Certificate> intermediateCerts; 50 private final List<X509Certificate> endpointCerts; 55 List<X509Certificate> intermediateCerts, in CertXml() 56 List<X509Certificate> endpointCerts) { in CertXml() 78 List<X509Certificate> getAllIntermediateCerts() { in getAllIntermediateCerts() 83 List<X509Certificate> getAllEndpointCerts() { in getAllEndpointCerts() 130 List<String> contents = in parseSerial() 140 List<String> contents = in parseRefreshInterval() 149 private static List<X509Certificate> parseIntermediateCerts(Element rootNode) in parseIntermediateCerts() [all …]
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 77 import java.util.List; 103 public static List<String> readAll(File file) throws FileNotFoundException { in readAll() 108 public static List<String> readAll(ParcelFileDescriptor pfd) { in readAll() 129 public static String concatResult(List<String> result) { in concatResult() 138 public static boolean resultContains(List<String> result, String expected) { in resultContains() 147 public static List<String> assertSuccess(List<String> result) { in assertSuccess() 154 public static List<String> assertContains(List<String> result, String expected) { in assertContains() 162 public static List<String> runCommand(Instrumentation instrumentation, String command) { in runCommand() 165 public static List<String> runCommand(Instrumentation instrumentation, String command, in runCommand() 166 Predicate<List<String>> resultAsserter) { in runCommand() [all …]
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/ |
D | WorkContinuationImpl.java | 41 import java.util.List; 58 private final List<? extends WorkRequest> mWork; 59 private final List<String> mIds; 60 private final List<String> mAllIds; 61 private final List<WorkContinuationImpl> mParents; 79 public List<? extends WorkRequest> getWork() { in getWork() 84 public List<String> getIds() { in getIds() 88 public List<String> getAllIds() { in getAllIds() 103 public List<WorkContinuationImpl> getParents() { in getParents() 109 @NonNull List<? extends WorkRequest> work) { in WorkContinuationImpl() [all …]
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | QueryTransactionTest.java | 57 import java.util.List; 120 List<Entity1> allEntities = mDao.allEntities(); in readList() 126 LiveData<List<Entity1>> listLiveData = mDao.liveData(); in liveData() 143 Flowable<List<Entity1>> flowable = mDao.flowable(); in flowable() 144 TestSubscriber<List<Entity1>> subscriber = observe(flowable); in flowable() 152 List<Entity1> allEntities = subscriber.values().get(1); in flowable() 164 Maybe<List<Entity1>> listMaybe = mDao.maybe(); in maybe() 165 TestObserver<List<Entity1>> observer = observe(listMaybe); in maybe() 167 List<Entity1> allEntities = observer.values().get(0); in maybe() 177 Single<List<Entity1>> listMaybe = mDao.single(); in single() [all …]
|
/frameworks/base/core/java/android/app/ |
D | FragmentManagerNonConfig.java | 20 import java.util.List; 36 private final List<Fragment> mFragments; 37 private final List<FragmentManagerNonConfig> mChildNonConfigs; 39 FragmentManagerNonConfig(List<Fragment> fragments, in FragmentManagerNonConfig() 40 List<FragmentManagerNonConfig> childNonConfigs) { in FragmentManagerNonConfig() 48 List<Fragment> getFragments() { in getFragments() 55 List<FragmentManagerNonConfig> getChildNonConfigs() { in getChildNonConfigs()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/ |
D | DiffUtilActivity.java | 38 import java.util.List; 61 List<String> cheeseList = createRandomCheeseList(Collections.<String>emptyList(), 50); in onCreate() 74 new AsyncTask<List<String>, Void, Pair<List<String>, DiffUtil.DiffResult>>() { in onCreate() 77 protected Pair<List<String>, DiffUtil.DiffResult> doInBackground( in onCreate() 78 List<String>... lists) { in onCreate() 79 List<String> oldList = lists[0]; in onCreate() 80 List<String> newList = createRandomCheeseList(oldList, 5); in onCreate() 89 Pair<List<String>, DiffUtil.DiffResult> resultPair) { in onCreate() 104 private final List<String> mOld; 105 private final List<String> mNew; [all …]
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | ParsedStatement.java | 19 import java.util.List; 26 private final List<Statement> mStatements; 27 private final List<String> mDelegates; 29 public ParsedStatement(List<Statement> statements, List<String> delegates) { in ParsedStatement() 34 public List<Statement> getStatements() { in getStatements() 38 public List<String> getDelegates() { in getDelegates()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/ |
D | UserPetDao.java | 37 import java.util.List; 44 List<UserAndPet> loadAll(); in loadAll() 47 List<UserAndGenericPet> loadAllGeneric(); in loadAllGeneric() 50 List<UserAndPet> loadUsers(); in loadUsers() 53 List<UserAndPetNonNull> loadUsersWithNonNullPet(); in loadUsersWithNonNullPet() 56 List<UserAndPet> loadPets(); in loadPets() 62 List<UserAndAllPets> loadAllUsersWithTheirPets(); in loadAllUsersWithTheirPets() 65 List<UserIdAndPetNames> loadUserAndPetNames(); in loadUserAndPetNames() 68 List<UserWithPetsAndToys> loadUserWithPetsAndToys(); in loadUserWithPetsAndToys() 71 List<UserAndAllPets> unionByItself(); in unionByItself() [all …]
|
D | UserDao.java | 41 import java.util.List; 60 public abstract List<User> findUsersByName(String name); in findUsersByName() 69 public abstract List<User> findByCustomField(String customField); in findByCustomField() 90 public abstract int updateAll(List<User> users); in updateAll() 96 public abstract List<User> findByAdmin(boolean isAdmin); in findByAdmin() 117 public abstract List<Integer> loadIds(); in loadIds() 127 public abstract LiveData<List<User>> liveUsersListByName(String name); in liveUsersListByName() 130 public abstract List<User> findByNameLength(int length); in findByNameLength() 133 public abstract List<User> findByAge(int age); in findByAge() 136 public abstract List<AvgWeightByAge> weightByAge(); in weightByAge() [all …]
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | PropertyNodesVerifierElem.java | 27 import java.util.List; 50 private final HashMap<String, List<PropertyNode>> mOrderedNodeMap; 56 mOrderedNodeMap = new HashMap<String, List<PropertyNode>>(); in PropertyNodesVerifierElem() 73 String propName, List<String> propValueList, ContentValues contentValues) { in addExpectedNodeWithOrder() 79 String propName, String propValue, List<String> propValueList) { in addExpectedNodeWithOrder() 85 String propName, List<String> propValueList) { in addExpectedNodeWithOrder() 98 List<String> propValueList, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder() 104 List<String> propValueList, ContentValues paramMap, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder() 116 List<String> propValueList, TypeSet paramMap_TYPE) { in addExpectedNodeWithOrder() 122 List<String> propValueList, ContentValues paramMap) { in addExpectedNodeWithOrder() [all …]
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/ |
D | CollectionExtensions.kt | 25 fun <T> List<List<T>>.cartesianProduct(): List<List<T>> { in cartesianProduct() 29 private fun <T> cartesianProductInternal(index: Int, lists: List<List<T>>): List<MutableList<T>> { in cartesianProductInternal()
|
/frameworks/support/room/compiler/src/test/data/daoWriter/input/ |
D | ComplexDao.java | 19 import java.util.List; 40 abstract public List<FullName> fullNames(int id); in fullNames() 49 abstract public List<User> loadAllByIds(int... ids); in loadAllByIds() 58 abstract public List<Integer> getAllAgesAsList(List<Integer> ids); in getAllAgesAsList() 64 abstract public LiveData<List<User>> loadUsersByIdsLive(int... ids); in loadUsersByIdsLive() 67 abstract public List<Integer> getAllAgesAsList(List<Integer> ids1, in getAllAgesAsList()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
D | Expr.java | 37 import java.util.List; 42 protected List<Expr> mChildren = new ArrayList<Expr>(); 45 private List<Expr> mParents = new ArrayList<Expr>(); 53 private List<Dependency> mDependencies; 55 private List<Dependency> mDependants = new ArrayList<Dependency>(); 67 private List<Location> mLocations = new ArrayList<Location>(); 131 public List<Location> getLocations() { in getLocations() 280 public List<Expr> getChildren() { in getChildren() 284 public List<Expr> getParents() { in getParents() 329 public final List<ExecutionPath> toExecutionPath(ExecutionPath path) { in toExecutionPath() [all …]
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/paging/ |
D | LimitOffsetDataSourceTest.java | 38 import java.util.List; 68 List<User> users = createUsers(1); in singleItem() 71 List<User> initial = dataSource.loadRange(0, 10); in singleItem() 79 List<User> users = createUsers(10); in initial() 82 List<User> initial = dataSource.loadRange(0, 1); in initial() 84 List<User> second = dataSource.loadRange(1, 1); in initial() 90 List<User> users = createUsers(10); in loadAll() 93 List<User> all = dataSource.loadRange(0, 10); in loadAll() 99 List<User> users = createUsers(10); in loadAfter() 101 List<User> result = dataSource.loadRange(4, 2); in loadAfter() [all …]
|
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/ |
D | EntityBundle.java | 30 import java.util.List; 49 private List<FieldBundle> mFields; 53 private List<IndexBundle> mIndices; 55 private List<ForeignKeyBundle> mForeignKeys; 71 List<FieldBundle> fields, in EntityBundle() 73 List<IndexBundle> indices, in EntityBundle() 74 List<ForeignKeyBundle> foreignKeys) { in EntityBundle() 123 public List<FieldBundle> getFields() { in getFields() 137 public List<IndexBundle> getIndices() { in getIndices() 144 public List<ForeignKeyBundle> getForeignKeys() { in getForeignKeys() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaInserter.java | 26 import java.util.List; 35 private final HashMap<Uri, List<ContentValues>> mRowMap = 36 new HashMap<Uri, List<ContentValues>>(); 37 private final HashMap<Uri, List<ContentValues>> mPriorityRowMap = 38 new HashMap<Uri, List<ContentValues>>(); 57 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap; in insert() 58 List<ContentValues> list = rowmap.get(tableUri); in insert() 73 List<ContentValues> list = mRowMap.get(tableUri); in flushAll() 81 List<ContentValues> list = mPriorityRowMap.get(tableUri); in flushAllPriority() 87 private void flush(Uri tableUri, List<ContentValues> list) throws RemoteException { in flush()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/wizard/ |
D | GuidedStepAttributesTest.java | 41 import java.util.List; 82 final List<Integer> ACTIONS_WITH_DISABLED_FOCUS = new ArrayList<>( in testFocusDisabledOnActions() 85 List<Integer> EXPECTED_ACTIONS_ID_AFTER_EACH_SELECT = new ArrayList<>(); in testFocusDisabledOnActions() 103 List<GuidedAction> actionList = new ArrayList<>(); in testFocusDisabledOnActions() 157 List<GuidedAction> allActions = fragment.getActions(); 178 final List<Integer> DISABLED_ACTIONS = new ArrayList<>( in testDisabledActions() 185 List<Integer> CLICK_SEQUENCE = new ArrayList<>(); in testDisabledActions() 189 List<Integer> EXPECTED_FOCUSED_SEQUENCE = new ArrayList<>(); in testDisabledActions() 190 List<Integer> EXPECTED_CLICKED_SEQUENCE = new ArrayList<>(); in testDisabledActions() 192 List<Boolean> EXPECTED_ACTIONS_STATE = new ArrayList<>( in testDisabledActions() [all …]
|