Home
last modified time | relevance | path

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

123

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java233 eq(UserHandle.CURRENT)); in testBindToService_NoServicesFound_IncomingCall()
268 eq(UserHandle.CURRENT)); in testBindToService_NoServicesFound_OutgoingCall()
296 anyInt(), eq(UserHandle.CURRENT))).thenReturn(true); in testBindToService_DefaultDialer_NoEmergency()
321 eq(UserHandle.CURRENT)); in testBindToService_DefaultDialer_NoEmergency()
352 eq(UserHandle.CURRENT))).thenReturn(true); in testBindToService_SystemDialer_Emergency()
381 eq(UserHandle.CURRENT)); in testBindToService_SystemDialer_Emergency()
431 eq(UserHandle.CURRENT))).thenReturn(true); in testBindToService_SystemDialer_Crash()
460 eq(UserHandle.CURRENT)); in testBindToService_SystemDialer_Crash()
490 eq(UserHandle.CURRENT)); in testBindToService_SystemDialer_Crash()
545 eq(UserHandle.CURRENT)); in testBindToService_DefaultDialer_FallBackToSystem()
[all …]
DCallScreeningServiceFilterTest.java113 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
123 anyInt(), eq(UserHandle.CURRENT))).thenReturn(true); in setUp()
145 anyInt(), eq(UserHandle.CURRENT))).thenReturn(false); in testContextFailToBind()
190 anyInt(), eq(UserHandle.CURRENT))).thenThrow(new SecurityException()); in testNoBindingCondition()
328 eq(UserHandle.CURRENT)); in verifyBindingIntent()
DCallRedirectionProcessorTest.java127 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
142 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/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java241 getContextAsUser(mContext, UserHandle.CURRENT), in updateNotifications()
253 getContextAsUser(mContext, UserHandle.CURRENT), in updateNotifications()
/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/services/Telecomm/src/com/android/server/telecom/
DDialerCodeReceiver.java74 context.startActivityAsUser(confirmIntent, UserHandle.CURRENT); in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DTetherProvisioningActivity.java74 startActivityForResultAsUser(intent, PROVISION_REQUEST, UserHandle.CURRENT); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DInputMethodHelper.java76 context.sendBroadcastAsUser(intent, UserHandle.CURRENT); in setDefaultInputMethodId()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DBootUsbService.java115 context.startActivityAsUser(manageDevice, UserHandle.CURRENT); in handle()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java263 contentValues.put(Carriers.CURRENT, insertCurrent); in testBulkInsertCarriers()
273 contentValues2.put(Carriers.CURRENT, insertCurrent2); in testBulkInsertCarriers()
288 Carriers.CURRENT, in testBulkInsertCarriers()
634 contentValues.put(Carriers.CURRENT, current); in insertApnRecord()
762 Carriers.CURRENT, in queryFullTestApnRecord()

123