Home
last modified time | relevance | path

Searched refs:internalListener (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DMbmsDownloadSession.java707 InternalDownloadStatusListener internalListener = in addStatusListener() local
711 int result = downloadService.addStatusListener(request, internalListener); in addStatusListener()
730 mInternalDownloadStatusListeners.put(listener, internalListener); in addStatusListener()
756 InternalDownloadStatusListener internalListener = in removeStatusListener() local
758 if (internalListener == null) { in removeStatusListener()
763 int result = downloadService.removeStatusListener(request, internalListener); in removeStatusListener()
819 InternalDownloadProgressListener internalListener = in addProgressListener() local
823 int result = downloadService.addProgressListener(request, internalListener); in addProgressListener()
842 mInternalDownloadProgressListeners.put(listener, internalListener); in addProgressListener()
868 InternalDownloadProgressListener internalListener = in removeProgressListener() local
[all …]
/frameworks/base/core/java/android/app/
DKeyguardManager.java1074 IWeakEscrowTokenActivatedListener internalListener = in addWeakEscrowToken() local
1088 return mLockPatternUtils.addWeakEscrowToken(token, userId, internalListener); in addWeakEscrowToken()
1148 IWeakEscrowTokenRemovedListener internalListener = in registerWeakEscrowTokenRemovedListener() local
1161 if (mLockPatternUtils.registerWeakEscrowTokenRemovedListener(internalListener)) { in registerWeakEscrowTokenRemovedListener()
1162 mListeners.put(listener, internalListener); in registerWeakEscrowTokenRemovedListener()
1182 IWeakEscrowTokenRemovedListener internalListener = mListeners.get(listener); in unregisterWeakEscrowTokenRemovedListener() local
1183 Preconditions.checkArgument(internalListener != null, "Listener was not registered"); in unregisterWeakEscrowTokenRemovedListener()
1184 if (mLockPatternUtils.unregisterWeakEscrowTokenRemovedListener(internalListener)) { in unregisterWeakEscrowTokenRemovedListener()
/frameworks/libs/gsma_services/satellite_client/src/android/telephony/satellite/wrapper/
DSatelliteManagerWrapper.java847 CarrierRoamingNtnModeListener internalListener = new CarrierRoamingNtnModeListener(listener); in registerForCarrierRoamingNtnModeChanged() local
848 sCarrierRoamingNtnModeListenerWrapperMap.put(listener, internalListener); in registerForCarrierRoamingNtnModeChanged()
851 tm.registerTelephonyCallback(executor, internalListener); in registerForCarrierRoamingNtnModeChanged()
858 CarrierRoamingNtnModeListener internalListener = in unregisterForCarrierRoamingNtnModeChanged() local
860 if (internalListener != null) { in unregisterForCarrierRoamingNtnModeChanged()
862 tm.unregisterTelephonyCallback(internalListener); in unregisterForCarrierRoamingNtnModeChanged()
/frameworks/base/core/java/android/os/
DPowerManager.java2727 IThermalStatusListener internalListener = new IThermalStatusListener.Stub() { in addThermalStatusListener() local
2739 if (mThermalService.registerThermalStatusListener(internalListener)) { in addThermalStatusListener()
2740 mListenerMap.put(listener, internalListener); in addThermalStatusListener()
2756 IThermalStatusListener internalListener = mListenerMap.get(listener); in removeThermalStatusListener() local
2757 Preconditions.checkArgument(internalListener != null, "Listener was not added"); in removeThermalStatusListener()
2759 if (mThermalService.unregisterThermalStatusListener(internalListener)) { in removeThermalStatusListener()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java2052 EscrowTokenStateChangeCallback internalListener = (handle, userId1) -> { in addWeakEscrowToken() local
2061 return addEscrowToken(token, TOKEN_TYPE_WEAK, userId, internalListener); in addWeakEscrowToken()