Home
last modified time | relevance | path

Searched refs:getNumber (Results 1 – 25 of 34) sorted by relevance

12

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/vibrator/
DVibratorStatsTests.java84 atom -> atom.getVibratorStateChanged().getState().getNumber()); in testVibratorStateChanged()
96 atom -> atom.getVibrationReported().getVibrationType().getNumber()); in testVibrationReportedSingleVibration()
108 atom -> atom.getVibrationReported().getVibrationType().getNumber()); in testVibrationReportedRepeatedVibration()
120 atom -> atom.getVibrationReported().getVibrationType().getNumber()); in testVibrationReportedComposedVibration()
136 atom -> atom.getVibrationReported().getVibrationType().getNumber()); in testVibrationReportedPredefinedVibration()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DUidAtomTests.java209 assertThat(atom.getIsInstantApp().getNumber()) in testAppCrashOccurred()
211 assertThat(atom.getForegroundState().getNumber()) in testAppCrashOccurred()
243 assertThat(atom.getIsInstantApp().getNumber())
245 assertThat(atom.getForegroundState().getNumber())
280 .getState().getNumber())
316 atom -> atom.getCameraStateChanged().getState().getNumber());
366 atom -> atom.getFlashlightStateChanged().getState().getNumber()); in testFlashlightState()
391 atom -> atom.getForegroundServiceStateChanged().getState().getNumber()); in testForegroundServiceState()
411 final int opName = atom.getAppOpName().getNumber(); in testForegroundServiceAccessAppOp()
465 assertThat(a0.getState().getNumber()).isEqualTo(stateOn); in testGpsScan()
[all …]
DHostAtomTests.java147 atom -> atom.getScreenStateChanged().getState().getNumber()); in testScreenStateChangedAtom()
197 atom -> atom.getChargingStateChanged().getState().getNumber()); in testChargingStateChangedAtom()
253 atom -> atom.getPluggedStateChanged().getState().getNumber()); in testPluggedStateChangedAtom()
340 atom -> atom.getDeviceIdleModeStateChanged().getState().getNumber()); in testDeviceIdleModeStateChangedAtom()
375 atom -> atom.getBatterySaverModeStateChanged().getState().getNumber()); in testBatterySaverModeStateChangedAtom()
556 assertThat(atom.getState().getNumber()).isEqualTo(AppBreadcrumbReported.State.START_VALUE); in testBreadcrumbAdb()
590 assertThat(atom.getState().getNumber()).isEqualTo(AppBreadcrumbReported.State.START_VALUE); in testDumpsysStats()
616 if (atom.getState().getNumber() in testConnectivityStateChange()
620 if (atom.getState().getNumber() in testConnectivityStateChange()
DProcStateAtomTests.java118 atom -> atom.getUidProcessStateChanged().getState().getNumber();
/cts/tests/tests/view/src/android/view/cts/
DKeyCharacterMapTest.java278 assertEquals('0', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_0)); in testGetNumber()
279 assertEquals('1', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_1)); in testGetNumber()
280 assertEquals('2', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_2)); in testGetNumber()
281 assertEquals('3', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_3)); in testGetNumber()
282 assertEquals('4', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_4)); in testGetNumber()
283 assertEquals('5', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_5)); in testGetNumber()
284 assertEquals('6', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_6)); in testGetNumber()
285 assertEquals('7', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_7)); in testGetNumber()
286 assertEquals('8', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_8)); in testGetNumber()
287 assertEquals('9', mKeyCharacterMap.getNumber(KeyEvent.KEYCODE_9)); in testGetNumber()
[all …]
DKeyEventTest.java310 assertEquals(48, mKeyEvent.getNumber()); in testGetNumber()
314 assertEquals(51, mKeyEvent.getNumber()); in testGetNumber()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/bluetooth/
DBluetoothStatsTests.java87 atom -> atom.getBleScanStateChanged().getState().getNumber()); in testBleScan()
112 assertThat(a0.getState().getNumber()).isEqualTo( in testBleUnoptimizedScan()
118 assertThat(a1.getState().getNumber()).isEqualTo( in testBleUnoptimizedScan()
147 assertThat(a0.getState().getNumber()).isEqualTo( in testBleOpportunisticScan()
153 assertThat(a1.getState().getNumber()).isEqualTo( in testBleOpportunisticScan()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appops/
DAppOpsTests.java125 expectedOps.remove(expectedOps.indexOf(valueDescriptor.getNumber())); in testAppOps()
130 int opCode = appOps.getOpId().getNumber(); in testAppOps()
144 expectedOps.remove(expectedOps.indexOf(appOps.getOpId().getNumber())); in testAppOps()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/jobscheduler/
DJobSchedulerStatsTests.java90 atom -> atom.getScheduledJobStateChanged().getState().getNumber()); in testScheduledJobState()
114 atom -> atom.getScheduledJobStateChanged().getState().getNumber()); in testScheduledJobState_CancelledJob()
143 atom -> atom.getScheduledJobStateChanged().getState().getNumber()); in testScheduledJobStatePriority()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaFormatTest.java108 Number value = format.getNumber(key); in assertGetNumbersThrowClassCastException()
114 Number value = format.getNumber(key, 321.f); in assertGetNumbersThrowClassCastException()
142 assertEquals(123, format.getNumber("int").intValue()); in testIntegerValue()
143 assertEquals(123, format.getNumber("int", 321).intValue()); in testIntegerValue()
169 assertEquals(9876543210L, format.getNumber("long").longValue()); in testLongValue()
170 assertEquals(9876543210L, format.getNumber("long", 9012345678L).longValue()); in testLongValue()
196 assertEquals(3.14f, format.getNumber("float").floatValue()); in testFloatValue()
197 assertEquals(3.14f, format.getNumber("float", 2.81f).floatValue()); in testFloatValue()
583 assertNull(format.getNumber(key)); in testNullOrMissingValue()
591 assertEquals(321.f, format.getNumber(key, 321.f)); in testNullOrMissingValue()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/wifi/
DWifiStatsTests.java124 atom -> atom.getWifiLockStateChanged().getState().getNumber()); in testWifiLockHighPerf()
175 atom -> atom.getWifiLockStateChanged().getState().getNumber()); in testWifiLockHighPerfDeprecated()
226 atom -> atom.getWifiLockStateChanged().getState().getNumber()); in testWifiLockLowLatency()
259 atom -> atom.getWifiMulticastLockStateChanged().getState().getNumber()); in testWifiMulticastLock()
370 assertThat(a0.getState().getNumber()).isEqualTo(stateOn); in testWifiScanLogsStateChangedAtoms()
371 assertThat(a1.getState().getNumber()).isEqualTo(stateOff); in testWifiScanLogsStateChangedAtoms()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DIncrementalAppErrorStatsTests.java154 assertThat(atom.getIsInstantApp().getNumber()) in testAppCrashOnIncremental()
156 assertThat(atom.getForegroundState().getNumber()) in testAppCrashOnIncremental()
203 assertThat(atom.getIsInstantApp().getNumber()) in testAppAnrIncremental()
205 assertThat(atom.getForegroundState().getNumber()) in testAppAnrIncremental()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallForwardInfoTest.java57 assertEquals(number, unparceledInfo.getNumber()); in createParcelUnparcel()
DImsSsDataTest.java273 assertEquals(info.getNumber(), testInfo.getNumber()); in testSetCallForwardingInfo()
DEmergencyCallDomainSelectionTestOnMockModem.java1182 && mLastOutgoingEmergencyNumber.getNumber().equals( in waitForOutgoingEmergencyCall()
1188 return TextUtils.equals(expectedNumber, mLastOutgoingEmergencyNumber.getNumber()); in waitForOutgoingEmergencyCall()
/cts/tests/tests/text/src/android/text/method/cts/
DDialerKeyListenerTest.java55 int keyChar = keyEvent.getNumber(); in testLookup()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DDevicePolicyEventWrapper.java51 return new Builder(atom.getEventId().getNumber()) in fromDevicePolicyAtom()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/credentials/
DCredentialsStatsTest.java113 assertThat(actualInitialMetric.getApiName().getNumber()).isEqualTo( in testInitialPhaseKnownCaller()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/
DPerformanceHintManagerStatsTests.java154 assertThat(a0.getSessionTag().getNumber()).isEqualTo(sessionTagApp); in testCreateHintSessionStatsdApp()
204 assertThat(a0.getSessionTag().getNumber()).isEqualTo(sessionTagGame); in testCreateHintSessionStatsdGame()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/usb/
DUsbStatsTests.java103 warningsString.append(warning.getNumber() + ", "); in simulateComplianceWarnings()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterystats/
DBatteryUsageStatsTests.java158 if (pcu.getComponent() == PowerComponentEnum.POWER_COMPONENT_CPU.getNumber()) { in assertBatteryUsageStatsAtom()
/cts/hostsidetests/telecom/src/android/telecom/cts/
DTelecomHostStatsTest.java168 assertThat(emergencyNumberDialedAtom.getNumber()) in testEmergencyNumberDialedAtom()
/cts/hostsidetests/time/host/src/android/time/cts/host/
DLocationTimeZoneManagerStatsTest.java287 return (providerIndex * PROVIDER_STATES_COUNT) + providerState.getNumber();
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/media/
DHdrCapabilitiesTests.java118 atom.getHdrCapabilities().getForceHdrFormat().getNumber()); in testForceHdrFormat()
/cts/tests/tests/telecom/src/android/telecom/cts/
DOutgoingCallTest.java243 Objects.equals(numberObj.getNumber(), TEST_EMERGENCY_NUMBER)); in doesEmergencyNumberListContainTestNumber()

12