Home
last modified time | relevance | path

Searched refs:selection (Results 1 – 25 of 110) sorted by relevance

12345

/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp/
DUlpMessage.java66 private ChoiceComponent selection; field in UlpMessage
129 return selection.ordinal(); in getSelectionOrdinal()
135 return selection; in getSelectedComponent()
149 selection = Extend.values()[ordinal]; in createAndSetValue()
151 selection = Select.values()[ordinal]; in createAndSetValue()
153 element = selection.createElement(); in createAndSetValue()
163 selection = select; in createAndSetValue()
357 return !hasExtensionValue() && Select.$MsSUPLINIT == selection; in isMsSUPLINIT()
372 selection = Select.$MsSUPLINIT; in setMsSUPLINIT()
386 return !hasExtensionValue() && Select.$MsSUPLSTART == selection; in isMsSUPLSTART()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/rrlp_components/
DGANSSAlmanacElement.java51 private ChoiceComponent selection; field in GANSSAlmanacElement
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
216 return !hasExtensionValue() && Select.$KeplerianAlmanacSet == selection; in isKeplerianAlmanacSet()
231 selection = Select.$KeplerianAlmanacSet; in setKeplerianAlmanacSet()
347 return hasExtensionValue() && Extend.$KeplerianNAVAlmanac == selection; in isExtensionKeplerianNAVAlmanac()
[all …]
DGANSSOrbitModel.java51 private ChoiceComponent selection; field in GANSSOrbitModel
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
216 return !hasExtensionValue() && Select.$KeplerianSet == selection; in isKeplerianSet()
231 selection = Select.$KeplerianSet; in setKeplerianSet()
333 return hasExtensionValue() && Extend.$NavKeplerianSet == selection; in isExtensionNavKeplerianSet()
[all …]
DGANSSClockModel.java51 private ChoiceComponent selection; field in GANSSClockModel
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
216 return !hasExtensionValue() && Select.$StandardClockModelList == selection; in isStandardClockModelList()
231 selection = Select.$StandardClockModelList; in setStandardClockModelList()
333 return hasExtensionValue() && Extend.$NavClockModel == selection; in isExtensionNavClockModel()
[all …]
DNeighborIdentity.java51 private ChoiceComponent selection; field in NeighborIdentity
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
306 return !hasExtensionValue() && Select.$BsicAndCarrier == selection; in isBsicAndCarrier()
321 selection = Select.$BsicAndCarrier; in setBsicAndCarrier()
335 return !hasExtensionValue() && Select.$Ci == selection; in isCi()
[all …]
DReferenceIdentityType.java51 private ChoiceComponent selection; field in ReferenceIdentityType
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
288 return !hasExtensionValue() && Select.$BsicAndCarrier == selection; in isBsicAndCarrier()
303 selection = Select.$BsicAndCarrier; in setBsicAndCarrier()
317 return !hasExtensionValue() && Select.$Ci == selection; in isCi()
[all …]
DMethodType.java51 private ChoiceComponent selection; field in MethodType
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
270 return !hasExtensionValue() && Select.$MsAssisted == selection; in isMsAssisted()
285 selection = Select.$MsAssisted; in setMsAssisted()
299 return !hasExtensionValue() && Select.$MsBased == selection; in isMsBased()
[all …]
DGANSSAddUTCModel.java51 private ChoiceComponent selection; field in GANSSAddUTCModel
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
252 return !hasExtensionValue() && Select.$UtcModel2 == selection; in isUtcModel2()
267 selection = Select.$UtcModel2; in setUtcModel2()
281 return !hasExtensionValue() && Select.$UtcModel3 == selection; in isUtcModel3()
[all …]
DSatStatus.java51 private ChoiceComponent selection; field in SatStatus
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
252 return !hasExtensionValue() && Select.$NewSatelliteAndModelUC == selection; in isNewSatelliteAndModelUC()
267 selection = Select.$NewSatelliteAndModelUC; in setNewSatelliteAndModelUC()
360 return !hasExtensionValue() && Select.$OldSatelliteAndModel == selection; in isOldSatelliteAndModel()
[all …]
DGANSSAuxiliaryInformation.java51 private ChoiceComponent selection; field in GANSSAuxiliaryInformation
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
234 return !hasExtensionValue() && Select.$GanssID1 == selection; in isGanssID1()
249 selection = Select.$GanssID1; in setGanssID1()
263 return !hasExtensionValue() && Select.$GanssID3 == selection; in isGanssID3()
[all …]
DOTD_MsrsOfOtherSets.java51 private ChoiceComponent selection; field in OTD_MsrsOfOtherSets
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
234 return !hasExtensionValue() && Select.$IdentityNotPresent == selection; in isIdentityNotPresent()
249 selection = Select.$IdentityNotPresent; in setIdentityNotPresent()
263 return !hasExtensionValue() && Select.$IdentityPresent == selection; in isIdentityPresent()
[all …]
DSystemInfoAssistBTS_R98_ExpOTD.java51 private ChoiceComponent selection; field in SystemInfoAssistBTS_R98_ExpOTD
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
313 return !hasExtensionValue() && Select.$NotPresent == selection; in isNotPresent()
328 selection = Select.$NotPresent; in setNotPresent()
342 return !hasExtensionValue() && Select.$Present == selection; in isPresent()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/supl_triggered_start/
DAreaId.java51 private ChoiceComponent selection; field in AreaId
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
342 return !hasExtensionValue() && Select.$GSMAreaId == selection; in isGSMAreaId()
357 selection = Select.$GSMAreaId; in setGSMAreaId()
371 return !hasExtensionValue() && Select.$WCDMAAreaId == selection; in isWCDMAAreaId()
[all …]
DGeographicTargetArea.java54 private ChoiceComponent selection; field in GeographicTargetArea
117 return selection.ordinal(); in getSelectionOrdinal()
123 return selection; in getSelectedComponent()
137 selection = Extend.values()[ordinal]; in createAndSetValue()
139 selection = Select.values()[ordinal]; in createAndSetValue()
141 element = selection.createElement(); in createAndSetValue()
151 selection = select; in createAndSetValue()
255 return !hasExtensionValue() && Select.$CircularArea == selection; in isCircularArea()
270 selection = Select.$CircularArea; in setCircularArea()
284 return !hasExtensionValue() && Select.$EllipticalArea == selection; in isEllipticalArea()
[all …]
DTriggerParams.java51 private ChoiceComponent selection; field in TriggerParams
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
234 return !hasExtensionValue() && Select.$PeriodicParams == selection; in isPeriodicParams()
249 selection = Select.$PeriodicParams; in setPeriodicParams()
263 return !hasExtensionValue() && Select.$AreaEventParams == selection; in isAreaEventParams()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ver2_ulp_components/
DVer2_CellInfo_extension.java51 private ChoiceComponent selection; field in Ver2_CellInfo_extension
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
288 return !hasExtensionValue() && Select.$HrpdCell == selection; in isHrpdCell()
303 selection = Select.$HrpdCell; in setHrpdCell()
317 return !hasExtensionValue() && Select.$UmbCell == selection; in isUmbCell()
[all …]
/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassifierValueObjectsTest.java79 final TextSelection selection = new TextSelection.Builder(START, END) in testTextSelection() local
86 assertEquals(START, selection.getSelectionStartIndex()); in testTextSelection()
87 assertEquals(END, selection.getSelectionEndIndex()); in testTextSelection()
88 assertEquals(2, selection.getEntityCount()); in testTextSelection()
89 assertEquals(TextClassifier.TYPE_EMAIL, selection.getEntity(0)); in testTextSelection()
90 assertEquals(TextClassifier.TYPE_ADDRESS, selection.getEntity(1)); in testTextSelection()
91 assertEquals(addressScore, selection.getConfidenceScore(TextClassifier.TYPE_ADDRESS), in testTextSelection()
93 assertEquals(emailScore, selection.getConfidenceScore(TextClassifier.TYPE_EMAIL), in testTextSelection()
95 assertEquals(0, selection.getConfidenceScore("random_type"), ACCEPTED_DELTA); in testTextSelection()
96 assertEquals(ID, selection.getId()); in testTextSelection()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/rrlp_messages/
DRRLP_Component.java57 private ChoiceComponent selection; field in RRLP_Component
120 return selection.ordinal(); in getSelectionOrdinal()
126 return selection; in getSelectedComponent()
140 selection = Extend.values()[ordinal]; in createAndSetValue()
142 selection = Select.values()[ordinal]; in createAndSetValue()
144 element = selection.createElement(); in createAndSetValue()
154 selection = select; in createAndSetValue()
294 return !hasExtensionValue() && Select.$MsrPositionReq == selection; in isMsrPositionReq()
309 selection = Select.$MsrPositionReq; in setMsrPositionReq()
323 return !hasExtensionValue() && Select.$MsrPositionRsp == selection; in isMsrPositionRsp()
[all …]
/cts/tests/tests/location/src/android/location/cts/asn1/supl2/ulp_components/
DVelocity.java51 private ChoiceComponent selection; field in Velocity
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
270 return !hasExtensionValue() && Select.$Horvel == selection; in isHorvel()
285 selection = Select.$Horvel; in setHorvel()
299 return !hasExtensionValue() && Select.$Horandvervel == selection; in isHorandvervel()
[all …]
DCellInfo.java52 private ChoiceComponent selection; field in CellInfo
115 return selection.ordinal(); in getSelectionOrdinal()
121 return selection; in getSelectedComponent()
135 selection = Extend.values()[ordinal]; in createAndSetValue()
137 selection = Select.values()[ordinal]; in createAndSetValue()
139 element = selection.createElement(); in createAndSetValue()
149 selection = select; in createAndSetValue()
253 return !hasExtensionValue() && Select.$GsmCell == selection; in isGsmCell()
268 selection = Select.$GsmCell; in setGsmCell()
282 return !hasExtensionValue() && Select.$WcdmaCell == selection; in isWcdmaCell()
[all …]
DSLPAddress.java51 private ChoiceComponent selection; field in SLPAddress
114 return selection.ordinal(); in getSelectionOrdinal()
120 return selection; in getSelectedComponent()
134 selection = Extend.values()[ordinal]; in createAndSetValue()
136 selection = Select.values()[ordinal]; in createAndSetValue()
138 element = selection.createElement(); in createAndSetValue()
148 selection = select; in createAndSetValue()
234 return !hasExtensionValue() && Select.$IPAddress == selection; in isIPAddress()
249 selection = Select.$IPAddress; in setIPAddress()
263 return !hasExtensionValue() && Select.$FQDN == selection; in isFQDN()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DDatabaseAsserts.java167 String[] projection, String selection, String[] selectionArgs, String sortOrder, in assertStoredValuesInUriMatchExactly() argument
169 final Cursor cursor = resolver.query(uri, projection, selection, selectionArgs, sortOrder); in assertStoredValuesInUriMatchExactly()
268 StringBuilder selection = new StringBuilder(); in buildIdSelection() local
269 selection.append(BaseColumns._ID + " in "); in buildIdSelection()
270 selection.append("("); in buildIdSelection()
272 if (i != 0) selection.append(","); in buildIdSelection()
273 selection.append(ids[i]); in buildIdSelection()
275 selection.append(")"); in buildIdSelection()
276 return selection.toString(); in buildIdSelection()
286 final String selection = buildIdSelection(ids); in checkProjection() local
[all …]
/cts/tests/tests/content/src/android/content/cts/
DMockContentProvider.java139 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
146 if (null == selection) { in delete()
148 selection = "1"; in delete()
150 count = db.delete("TestTable1", selection, selectionArgs); in delete()
155 (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""), in delete()
159 count = db.delete("TestTable2", selection, selectionArgs); in delete()
164 (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""), in delete()
256 public Cursor query(Uri uri, String[] projection, String selection, in query() argument
258 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
262 public Cursor query(Uri uri, String[] projection, String selection, in query() argument
[all …]
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DApnDatabaseTest.java134 final String selection = Carriers.NUMERIC + "=?"; in testValidCase() local
138 + "\ntestInsertCarriers selection: " + selection in testValidCase()
141 uri, apnProjection, selection, selectionArgs, null); in testValidCase()
158 final int updateCount = mContentResolver.update(uri, contentValues, selection, in testValidCase()
163 cursor = mContentResolver.query(uri, apnProjection, selection, selectionArgs, null); in testValidCase()
180 cursor = mContentResolver.query(uri, apnProjection, selection, selectionArgs, null); in testValidCase()
216 final String selection = invalidColumn + "=?"; in testQueryConflictCase() local
219 + "\ntestInsertCarriers selection: " + selection in testQueryConflictCase()
222 uri, testProjection, selection, selectionArgs, null); in testQueryConflictCase()
271 String selection = Carriers.NAME + "=?"; in testUpdateConflictCase() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java165 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
205 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query()
231 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
239 if (selection != null && selection.length() > 0) { in update()
240 selection = idSelection + " AND " + selection; in update()
242 selection = idSelection; in update()
249 if (selection != null && selection.length() > 0) { in update()
250 selection = testNameSelection + " AND " + selection; in update()
252 selection = testNameSelection; in update()
268 int numUpdated = db.update(TABLE_NAME, values, selection, selectionArgs); in update()
[all …]

12345