Home
last modified time | relevance | path

Searched refs:CURRENT (Results 1 – 25 of 69) sorted by relevance

123

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java192 eq(UserHandle.CURRENT)); in testBindToService_NoServicesFound_IncomingCall()
227 eq(UserHandle.CURRENT)); in testBindToService_NoServicesFound_OutgoingCall()
255 anyInt(), eq(UserHandle.CURRENT))).thenReturn(true); in testBindToService_DefaultDialer_NoEmergency()
279 eq(UserHandle.CURRENT)); in testBindToService_DefaultDialer_NoEmergency()
310 eq(UserHandle.CURRENT))).thenReturn(true); in testBindToService_SystemDialer_Emergency()
338 eq(UserHandle.CURRENT)); in testBindToService_SystemDialer_Emergency()
408 eq(UserHandle.CURRENT)); in testBindToService_DefaultDialer_FallBackToSystem()
441 eq(UserHandle.CURRENT)); in testBindToService_DefaultDialer_FallBackToSystem()
478 eq(UserHandle.CURRENT)); in testBindToService_IncludeExternal()
517 eq(UserHandle.CURRENT)); in testUnbindDueToCallDisconnect()
[all …]
DCallScreeningServiceControllerTest.java139 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
159 anyInt(), eq(UserHandle.CURRENT))).thenReturn(true); in setUp()
191 eq(UserHandle.CURRENT)); in testAllAllowCall()
217 eq(UserHandle.CURRENT)); in testCarrierAllowCallAndContactExists()
245 eq(UserHandle.CURRENT)); in testCarrierCallScreeningRejectCall()
291 eq(UserHandle.CURRENT)); in testDefaultDialerRejectCall()
339 eq(UserHandle.CURRENT)); in testUserChosenRejectCall()
DCallScreeningServiceFilterTest.java142 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
162 anyInt(), eq(UserHandle.CURRENT))).thenReturn(true); in setUp()
205 anyInt(), eq(UserHandle.CURRENT))).thenReturn(false); in testContextFailToBind()
353 eq(UserHandle.CURRENT)); in verifyBindingIntent()
DCallRedirectionProcessorTest.java111 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
126 anyInt(), eq(UserHandle.CURRENT))).thenReturn(true); in setUp()
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnDatabase.java79 Telephony.Carriers.CURRENT + " INTEGER," +
95 Telephony.Carriers.CURRENT, // 5
138 Telephony.Carriers.CURRENT,
142 private static final String CURRENT_SELECTION = Telephony.Carriers.CURRENT + " NOT NULL";
232 if (!Telephony.Carriers.CURRENT.equals(key)) { in saveUserDataFromOldTable()
DBugleApnSettingsLoader.java142 CURRENT_NULL_VALUE.putNull(Telephony.Carriers.CURRENT);
144 CURRENT_SET_VALUE.put(Telephony.Carriers.CURRENT, "1"); // 1 for auto selected APN in CURRENT_SET_VALUE.put() argument
146 private static final String CLEAR_UPDATE_SELECTION = Telephony.Carriers.CURRENT + " =?";
292 Telephony.Carriers.CURRENT,
303 private static final String SELECTION_CURRENT = Telephony.Carriers.CURRENT + " IS NOT NULL";
305 private static final String ORDER_BY = Telephony.Carriers.CURRENT + " DESC";
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiScanWorkerTest.java155 verify(mContext).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_isClickedWifi_shouldSendBroadcast()
169 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_isNotClickedWifi_shouldNotSendBroadcast()
181 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_neverClickWifi_shouldNotSendBroadcast()
198 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_sliceIsUnpinned_shouldNotSendBroadcast()
DContextualWifiScanWorkerTest.java88 verify(mContext).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_sliceIsUnpinned_shouldSendBroadcast()
103 verify(mContext, never()).sendBroadcastAsUser(any(Intent.class), eq(UserHandle.CURRENT)); in NetworkCallback_onCapabilitiesChanged_newSession_shouldNotSendBroadcast()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPairingRequest.java54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
58 context.startServiceAsUser(intent, UserHandle.CURRENT); in onReceive()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingRequest.java54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
58 context.startServiceAsUser(intent, UserHandle.CURRENT); in onReceive()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingRequest.java54 context.startActivityAsUser(pairingIntent, UserHandle.CURRENT); in onReceive()
58 context.startServiceAsUser(intent, UserHandle.CURRENT); in onReceive()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamManager.java93 context.startServiceAsUser(receiveIntent, UserHandle.CURRENT); in startBeamReceive()
142 context.sendBroadcastAsUser(intent, UserHandle.CURRENT); in whitelistOppDevice()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApnSettingsActivity.java135 sCurrentNullMap.putNull(Telephony.Carriers.CURRENT);
138 sCurrentSetMap.put(Telephony.Carriers.CURRENT, "2"); // 2 for user-selected APN, in sCurrentSetMap.put() argument
323 private static final String UPDATE_SELECTION = Telephony.Carriers.CURRENT + " =?";
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java267 mController.sendEvent(this, EventType.GO_TO, time, time, -1, ViewType.CURRENT); in onNewIntent()
485 mController.sendEvent(this, EventType.UPDATE_TITLE, t, t, -1, ViewType.CURRENT, in onResume()
542 mController.sendEvent(this, EventType.USER_HOME, null, null, -1, ViewType.CURRENT); in onUserLeaveHint()
678 int viewType = ViewType.CURRENT; in onOptionsItemSelected()
682 viewType = ViewType.CURRENT; in onOptionsItemSelected()
1005 mController.sendEvent(this, EventType.EVENTS_CHANGED, null, null, -1, ViewType.CURRENT); in eventsChanged()
DCalendarController.java120 final int CURRENT = 0; field
345 info.viewType = ViewType.CURRENT; in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
428 } else if (event.viewType == ViewType.CURRENT) { in sendEvent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountTypePreferenceLoaderTest.java79 final AuthenticatorHelper helper = new AuthenticatorHelper(mContext, UserHandle.CURRENT, in setUp()
82 UserHandle.CURRENT)); in setUp()
DAccountSyncSettingsTest.java55 ReflectionHelpers.setField(settings, "mUserHandle", UserHandle.CURRENT); in onPreferenceTreeClick_nullAuthority_shouldNotCrash()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostEmulationManager.java315 UserHandle.CURRENT)) { in bindServiceIfNeededLocked()
396 mContext.startActivityAsUser(dialogIntent, UserHandle.CURRENT); in launchTapAgain()
408 mContext.startActivityAsUser(intent, UserHandle.CURRENT); in launchResolver()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DEmailServiceVersion.java22 public static final int CURRENT = L_PLATFORM; field in EmailServiceVersion
/packages/apps/Nfc/src/com/android/nfc/
DNfcDispatcher.java243 context.startActivityAsUser(rootIntent, UserHandle.CURRENT); in tryStartActivity()
255 context.startActivityAsUser(rootIntent, UserHandle.CURRENT); in tryStartActivity()
682 mContext.startServiceAsUser(intent, UserHandle.CURRENT); in tryPeripheralHandover()
DNfcRootActivity.java38 startActivityAsUser(launchIntent, UserHandle.CURRENT); in onCreate()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java249 contentValues.put(Carriers.CURRENT, insertCurrent); in testBulkInsertCarriers()
259 contentValues2.put(Carriers.CURRENT, insertCurrent2); in testBulkInsertCarriers()
274 Carriers.CURRENT, in testBulkInsertCarriers()
610 contentValues.put(Carriers.CURRENT, current); in insertApnRecord()
736 Carriers.CURRENT, in queryFullTestApnRecord()
/packages/services/Telecomm/src/com/android/server/telecom/
DDialerCodeReceiver.java74 context.startActivityAsUser(confirmIntent, UserHandle.CURRENT); in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppFileProvider.java71 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.CURRENT, userFilter, in attachInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DTetherProvisioningActivity.java74 startActivityForResultAsUser(intent, PROVISION_REQUEST, UserHandle.CURRENT); in onCreate()

123