Home
last modified time | relevance | path

Searched refs:isDemoMode (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/satellite/
DEnableRequestAttributes.java73 public boolean isDemoMode() { in isDemoMode() method in EnableRequestAttributes
109 public Builder setDemoMode(boolean isDemoMode) { in setDemoMode() argument
111 mIsDemoMode = isDemoMode; in setDemoMode()
DSatelliteManager.java562 attributes.isDemoMode(), attributes.isEmergencyMode(), errorCallback); in requestEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/data/
DDeviceBasedSatelliteRepositorySwitcher.kt64 private val isDemoMode = in <lambda>() constant
90 isDemoMode in <lambda>()
91 .mapLatest { isDemoMode -> in <lambda>() method
92 if (isDemoMode) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/
DWifiRepositorySwitcher.kt67 private val isDemoMode = in <lambda>() constant
93 isDemoMode in <lambda>()
94 .mapLatest { isDemoMode -> in <lambda>() method
95 if (isDemoMode) { in <lambda>()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DDatagramControllerTest.java190 private void testUpdateSendStatus(boolean isDemoMode, int datagramType, int sendState) { in testUpdateSendStatus() argument
191 mDatagramControllerUT.setDemoMode(isDemoMode); in testUpdateSendStatus()
204 if (isDemoMode) { in testUpdateSendStatus()
215 private void testUpdateReceiveStatus(boolean isDemoMode, int receiveState) { in testUpdateReceiveStatus() argument
216 mDatagramControllerUT.setDemoMode(isDemoMode); in testUpdateReceiveStatus()
229 if (isDemoMode && receiveState == SATELLITE_DATAGRAM_TRANSFER_STATE_IDLE) { in testUpdateReceiveStatus()
DDatagramReceiverTest.java502 protected void setDemoMode(boolean isDemoMode) { in setDemoMode() argument
503 super.setDemoMode(isDemoMode); in setDemoMode()
DDatagramDispatcherTest.java794 protected void setDemoMode(boolean isDemoMode) { in setDemoMode() argument
795 super.setDemoMode(isDemoMode); in setDemoMode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/
DControllerMetricsStats.java136 @NonNull @SatelliteManager.DatagramType int datagramType, boolean isDemoMode) { in reportOutgoingDatagramSuccessCount() argument
140 if (isDemoMode) { in reportOutgoingDatagramSuccessCount()
161 @NonNull @SatelliteManager.DatagramType int datagramType, boolean isDemoMode) { in reportOutgoingDatagramFailCount() argument
165 if (isDemoMode) { in reportOutgoingDatagramFailCount()
186 @NonNull @SatelliteManager.SatelliteResult int result, boolean isDemoMode) { in reportIncomingDatagramCount() argument
189 if (isDemoMode) { in reportIncomingDatagramCount()
DSessionMetricsStats.java199 public SessionMetricsStats setIsDemoMode(boolean isDemoMode) { in setIsDemoMode() argument
200 mIsDemoMode = isDemoMode; in setIsDemoMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileRepositorySwitcher.kt77 val isDemoMode: StateFlow<Boolean> = in <lambda>() constant
104 isDemoMode in <lambda>()
196 if (isDemoMode.value) { in <lambda>()
203 if (isDemoMode.value) { in <lambda>()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiTrackerInjector.java50 mIsDemoMode = NonSdkApiWrapper.isDemoMode(context); in WifiTrackerInjector()
68 boolean isDemoMode() { in isDemoMode() method in WifiTrackerInjector
DNonSdkApiWrapper.java111 static boolean isDemoMode(@NonNull Context context) { in isDemoMode() method in NonSdkApiWrapper
DStandardWifiEntry.java448 if (mInjector.isDemoMode()) { in canShare()
484 if (mInjector.isDemoMode()) { in canEasyConnect()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DDatagramController.java423 public void setDemoMode(boolean isDemoMode) { in setDemoMode() argument
424 mIsDemoMode = isDemoMode; in setDemoMode()
425 mDatagramDispatcher.setDemoMode(isDemoMode); in setDemoMode()
426 mDatagramReceiver.setDemoMode(isDemoMode); in setDemoMode()
428 if (!isDemoMode) { in setDemoMode()
DPointingAppController.java371 public void startPointingUI(boolean needFullScreenPointingUI, boolean isDemoMode, in startPointingUI() argument
393 + ", isDemoMode: " + isDemoMode + ", isEmergency: " + isEmergency); in startPointingUI()
395 launchIntent.putExtra("isDemoMode", isDemoMode); in startPointingUI()
405 mLastIsDemoMode = isDemoMode; in startPointingUI()
DSatelliteSessionController.java411 public void setDemoMode(boolean isDemoMode) { in setDemoMode() argument
412 mIsDemoMode = isDemoMode; in setDemoMode()
425 private boolean isDemoMode() { in isDemoMode() method in SatelliteSessionController
1122 if (isDemoMode()) { in getSatelliteStayAtListeningFromSendingMillis()
1131 if (isDemoMode()) { in getSatelliteStayAtListeningFromReceivingMillis()
1140 if (isDemoMode()) { in getSatelliteNbIotInactivityTimeoutMillis()
DDatagramDispatcher.java430 protected void setDemoMode(boolean isDemoMode) { in setDemoMode() argument
431 mIsDemoMode = isDemoMode; in setDemoMode()
DDatagramReceiver.java764 protected void setDemoMode(boolean isDemoMode) { in setDemoMode() argument
765 mIsDemoMode = isDemoMode; in setDemoMode()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/sdk_src/src/com/android/wifitrackerlib/
DNonSdkApiWrapper.java71 static boolean isDemoMode(@NonNull Context context) { in isDemoMode() method in NonSdkApiWrapper
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSatelliteStats.java786 public Builder setIsDemoMode(boolean isDemoMode) { in setIsDemoMode() argument
787 this.mIsDemoMode = isDemoMode; in setIsDemoMode()
900 public Builder setIsDemoMode(boolean isDemoMode) { in setIsDemoMode() argument
901 this.mIsDemoMode = isDemoMode; in setIsDemoMode()
1015 public Builder setIsDemoMode(boolean isDemoMode) { in setIsDemoMode() argument
1016 this.mIsDemoMode = isDemoMode; in setIsDemoMode()
2196 proto.isDemoMode = param.getIsDemoMode(); in onSatelliteSessionMetrics()
2208 proto.isDemoMode = param.getIsDemoMode(); in onSatelliteIncomingDatagramMetrics()
2220 proto.isDemoMode = param.getIsDemoMode(); in onSatelliteOutgoingDatagramMetrics()
DMetricsCollector.java1494 satelliteSession.isDemoMode, in buildStatsEvent()
1504 stats.isDemoMode); in buildStatsEvent()
1514 stats.isDemoMode); in buildStatsEvent()
DPersistAtomsStorage.java2333 && stats.isDemoMode == key.isDemoMode in find()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DSatelliteStatsTest.java205 assertEquals(param.getIsDemoMode(), stats.isDemoMode); in onSatelliteSessionMetrics_withAtoms()
230 assertEquals(param.getIsDemoMode(), stats.isDemoMode); in onSatelliteIncomingDatagramMetrics_withAtoms()
255 assertEquals(param.getIsDemoMode(), stats.isDemoMode); in onSatelliteOutgoingDatagramMetrics_withAtoms()
DPersistAtomsStorageTest.java1198 mSatelliteSession1.isDemoMode = false; in generateTestSatelliteData()
1216 mSatelliteSession2.isDemoMode = true; in generateTestSatelliteData()
1228 mSatelliteIncomingDatagram1.isDemoMode = false; in generateTestSatelliteData()
1234 mSatelliteIncomingDatagram1.isDemoMode = true; in generateTestSatelliteData()
1247 mSatelliteOutgoingDatagram1.isDemoMode = false; in generateTestSatelliteData()
1255 mSatelliteOutgoingDatagram1.isDemoMode = true; in generateTestSatelliteData()
5854 && stats.isDemoMode == expectedStats.isDemoMode) { in assertHasStatsAndCount()
5871 && stats.isDemoMode == expectedStats.isDemoMode) { in assertHasStatsAndCount()
5889 && stats.isDemoMode == expectedStats.isDemoMode) { in assertHasStatsAndCount()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java1731 when(mMockInjector.isDemoMode()).thenReturn(true); in testCanShare_isDemoMode_returnsFalse()
1741 when(mMockInjector.isDemoMode()).thenReturn(true); in testCanEasyConnect_isDemoMode_returnsFalse()
1752 when(mMockInjector.isDemoMode()).thenReturn(false); in testCanShare_UserRestrictionSet_returnsFalse()
1769 when(mMockInjector.isDemoMode()).thenReturn(false); in testCanEasyConnect_UserRestrictionSet_returnsFalse()

12