Searched refs:associations (Results 1 – 18 of 18) sorted by relevance
222 List<AssociationInfo> associations = in getDeviceList_associationsButNoDevice() local224 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(associations); in getDeviceList_associationsButNoDevice()235 List<AssociationInfo> associations = mockAssociations(macs); in getDeviceList_singleDevice() local236 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(associations); in getDeviceList_singleDevice()252 List<AssociationInfo> associations = mockAssociations(macs); in getDeviceList_multipleDevices() local253 when(mCdm.getAssociations(mCn.getPackageName(), 0)).thenReturn(associations); in getDeviceList_multipleDevices()272 final AssociationInfo[] associations = new AssociationInfo[macAddresses.length]; in mockAssociations() local278 associations[index] = association; in mockAssociations()280 return ImmutableList.copyOf(associations); in mockAssociations()
83 List<AssociationInfo> associations = new ArrayList<>(); in getFakeAssociationInfoList() local86 associations.add( in getFakeAssociationInfoList()93 return associations; in getFakeAssociationInfoList()
322 ArrayList<UserIdentificationAssociation> associations = new ArrayList<>(numberAssociations); in toUserIdentificationResponse() local334 associations.add(association); in toUserIdentificationResponse()337 response.associations = associations.toArray( in toUserIdentificationResponse()338 new UserIdentificationAssociation[associations.size()]); in toUserIdentificationResponse()451 Objects.requireNonNull(request.associations, "associations must not be null"); in toHalPropValue()454 checkArgument(request.numberAssociations == request.associations.length, in toHalPropValue()464 UserIdentificationSetAssociation association = request.associations[i]; in toHalPropValue()726 request.associations = new UserIdentificationSetAssociation[0]; in emptyUserIdentificationSetRequest()
611 int actualType = response.associations[i].type; in getUserAssociation()627 UserIdentificationAssociation association = response.associations[i]; in getUserAssociation()659 int type = request.associations[i].type; in setUserAssociation()681 UserIdentificationSetAssociation association = request.associations[i]; in setUserAssociation()743 int expectedType = request.associations[i].type; in handleOnUserIdentificationAssociation()744 int actualType = response.associations[i].type; in handleOnUserIdentificationAssociation()771 UserIdentificationAssociation association = response.associations[i]; in logSetUserAssociationResponse()
89 List<AssociationInfo> associations = mCompanionDeviceManagerWrapper.getAllAssociations(); in startDiscoveryAsync() local90 Log.i(TAG, "Found associations: " + associations.size()); in startDiscoveryAsync()91 for (AssociationInfo association : associations) { in startDiscoveryAsync()
853 request.associations = null; in testUserIdentificationSetRequestToHalPropValue_nullAssociations()882 request.associations = new UserIdentificationSetAssociation[]{association1}; in testUserIdentificationSetRequestToHalPropValue_invalidType()895 request.associations = new UserIdentificationSetAssociation[]{association1}; in testUserIdentificationSetRequestToHalPropValue_invalidValue()912 request.associations = new UserIdentificationSetAssociation[]{association1}; in testUserIdentificationSetRequestToHalPropValue_missingRequestId()931 request.associations = new UserIdentificationSetAssociation[]{association1, association2}; in testUserIdentificationSetRequestToHalPropValue_ok()1453 UserIdentificationAssociation actualAssociation = response.associations[index]; in assertAssociation()
1485 assertThat(response.associations.length).isEqualTo(1); in testGetUserAssociation_ok()1486 UserIdentificationAssociation actualAssociation = response.associations[0]; in testGetUserAssociation_ok()1530 request.associations = new UserIdentificationSetAssociation[]{association1, association1}; in testSetUserAssociation_requestWithDuplicatedTypes()1762 assertThat(actualResponse.associations.length).isEqualTo(1); in testSetUserAssociation_ok()1763 UserIdentificationAssociation actualAssociation = actualResponse.associations[0]; in testSetUserAssociation_ok()1956 request.associations = new UserIdentificationSetAssociation[]{association1}; in validUserIdentificationSetRequest()
1597 int[] values = new int[halResponse.associations.length]; in getUserIdentificationAssociation()1599 values[i] = halResponse.associations[i].value; in getUserIdentificationAssociation()1634 ArrayList<UserIdentificationSetAssociation> associations = new ArrayList<>(); in setUserIdentificationAssociation() local1639 associations.add(association); in setUserIdentificationAssociation()1641 request.associations = in setUserIdentificationAssociation()1642 associations.toArray(new UserIdentificationSetAssociation[associations.size()]); in setUserIdentificationAssociation()1658 int respSize = resp.associations.length; in setUserIdentificationAssociation()1663 responseTypes[i] = resp.associations[i].value; in setUserIdentificationAssociation()
81 # This is for getting Thread<>Process associations and full process names.
828 response.associations = new UserIdentificationAssociation[types.length]; in mockHalGetUserIdentificationAssociation()833 response.associations[i] = association; in mockHalGetUserIdentificationAssociation()848 response.associations = new UserIdentificationAssociation[types.length]; in mockHalSetUserIdentificationAssociationSuccess()853 response.associations[i] = association; in mockHalSetUserIdentificationAssociationSuccess()
85 # This is for getting Thread-to-Process associations and full process names.
2760 int numberAssociations = response.associations.length;2763 UserIdentificationAssociation association = response.associations[i];2805 ArrayList<UserIdentificationSetAssociation> associations = new ArrayList<>();2838 associations.add(association);2841 int requestSize = associations.size();2842 request.associations = associations.toArray(2871 UserIdentificationSetAssociation association = request.associations[i];
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...