Home
last modified time | relevance | path

Searched refs:calculator (Results 1 – 12 of 12) sorted by relevance

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCbSendMessageCalculatorTest.java87 CbSendMessageCalculator calculator = createCalculator(threshold, mSquare); in testSquareOutside() local
88 calculator.addCoordinate(coor, accuracy); in testSquareOutside()
89 assertEquals(CbSendMessageCalculator.SEND_MESSAGE_ACTION_DONT_SEND, calculator.getAction()); in testSquareOutside()
101 CbSendMessageCalculator calculator = createCalculator(threshold, mSquare); in testSquareInside() local
102 calculator.addCoordinate(coor, accuracy); in testSquareInside()
103 assertEquals(CbSendMessageCalculator.SEND_MESSAGE_ACTION_SEND, calculator.getAction()); in testSquareInside()
127 CbSendMessageCalculator calculator = createCalculator(tmoThreshold, poly); in testTMoThresholdsWithExistingTestGeofence() local
131 calculator.addCoordinate(llInThreshold, accuracy); in testTMoThresholdsWithExistingTestGeofence()
132 assertEquals(CbSendMessageCalculator.SEND_MESSAGE_ACTION_SEND, calculator.getAction()); in testTMoThresholdsWithExistingTestGeofence()
146 calculator = createCalculator(tmoThreshold, poly); in testTMoThresholdsWithExistingTestGeofence()
[all …]
DGsmCellBroadcastHandlerTest.java471 CbSendMessageCalculator calculator = createMockCalculator(); in createMockCalculatorAndSendCellBroadcast() local
481 return calculator; in createMockCalculatorAndSendCellBroadcast()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java362 CbSendMessageCalculator calculator = in handleBroadcastSms() local
372 performGeoFencing(message, uri, calculator, location, slotIndex, in handleBroadcastSms()
374 if (!isMessageInAmbiguousState(calculator)) { in handleBroadcastSms()
382 calculator, message, uri, slotIndex); in handleBroadcastSms()
403 protected boolean isMessageInAmbiguousState(CbSendMessageCalculator calculator) { in isMessageInAmbiguousState() argument
404 return calculator.getAction() == SEND_MESSAGE_ACTION_AMBIGUOUS in isMessageInAmbiguousState()
405 || calculator.getAction() == SEND_MESSAGE_ACTION_NO_COORDINATES; in isMessageInAmbiguousState()
426 protected void onLocationUnavailable(CbSendMessageCalculator calculator, SmsCbMessage message, in onLocationUnavailable() argument
428 @CbSendMessageCalculator.SendMessageAction int action = calculator.getAction(); in onLocationUnavailable()
435 if (isMessageInAmbiguousState(calculator)) { in onLocationUnavailable()
[all …]
DGsmCellBroadcastHandler.java368 CbSendMessageCalculator calculator = calculators[i]; in handleGeoFencingTriggerMessage()
369 if (calculator.getFences().isEmpty()) { in handleGeoFencingTriggerMessage()
371 slotIndex, calculator); in handleGeoFencingTriggerMessage()
374 calculator, location, slotIndex, accuracy); in handleGeoFencingTriggerMessage()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DAppsSettingsTests.java86 UiObject2 calculator = mDevice.wait( in testAppSettingsListForCalculator() local
88 calculator.click(); in testAppSettingsListForCalculator()
101 UiObject2 calculator = mDevice.wait( in testDisablingAndEnablingSystemApp() local
103 calculator.click(); in testDisablingAndEnablingSystemApp()
DAppsSettingsRetainFilterTests.java62 UiObject2 calculator = mDevice.wait( in testDisablingSystemAppAndRotateDevice() local
64 assertThat(calculator).isNotNull(); in testDisablingSystemAppAndRotateDevice()
65 calculator.click(); in testDisablingSystemAppAndRotateDevice()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DWallpaperGlideModule.java41 MemorySizeCalculator calculator = new MemorySizeCalculator.Builder(context) in applyOptions() local
45 builder.setMemorySizeCalculator(calculator); in applyOptions()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dro_wordlist.combined.gz