Home
last modified time | relevance | path

Searched refs:Client (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java56 private final Map<IBinder, Client> mClientMap = new ConcurrentHashMap<>();
60 private final Map<Integer, List<Client>> mPropIdClientMap = new ConcurrentHashMap<>();
72 private class Client implements IBinder.DeathRecipient { class in CarPropertyService
77 Client(ICarPropertyEventListener listener) { in Client() method in CarPropertyService.Client
150 for (Client c : mClientMap.values()) { in release()
183 Client client = mClientMap.get(listenerBinder); in registerListener()
185 client = new Client(listener); in registerListener()
189 List<Client> clients = mPropIdClientMap.get(propId); in registerListener()
191 clients = new CopyOnWriteArrayList<Client>(); in registerListener()
253 Client client = mClientMap.get(listenerBinder); in unregisterListenerBinderLocked()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionUiStateManager.java74 public enum Client { enum in PredictionUiStateManager
80 Client(String id) { in Client() method in PredictionUiStateManager.Client
94 private Client mActiveClient;
108 mActiveClient = Client.HOME; in PredictionUiStateManager()
114 mPredictionServicePredictions = new List[Client.values().length]; in PredictionUiStateManager()
130 public Client getClient() { in getClient()
134 public void switchClient(Client client) { in switchClient()
211 public AppPredictor.Callback appPredictorCallback(Client client) { in appPredictorCallback()
DPredictionAppTracker.java42 import com.android.launcher3.appprediction.PredictionUiStateManager.Client;
107 private AppPredictor createPredictor(Client client, int count) { in createPredictor()
131 public Bundle getAppPredictionContextExtras(Client client) { in getAppPredictionContextExtras()
144 mHomeAppPredictor = createPredictor(Client.HOME, count); in handleMessage()
145 mRecentsOverviewPredictor = createPredictor(Client.OVERVIEW, count); in handleMessage()
161 if (Client.HOME.id.equals(client)) { in handleMessage()
176 String client = Client.HOME.id; in onReturnedToHome()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkActivityTest.java168 MobileNetworkActivity.PhoneChangeReceiver.Client client = mock( in phoneChangeReceiver_ignoresStickyBroadcastFromBeforeRegistering()
169 MobileNetworkActivity.PhoneChangeReceiver.Client.class); in phoneChangeReceiver_ignoresStickyBroadcastFromBeforeRegistering()
186 MobileNetworkActivity.PhoneChangeReceiver.Client client = mock( in phoneChangeReceiver_ignoresCarrierConfigChangeForWrongSubscriptionId()
187 MobileNetworkActivity.PhoneChangeReceiver.Client.class); in phoneChangeReceiver_ignoresCarrierConfigChangeForWrongSubscriptionId()
205 MobileNetworkActivity.PhoneChangeReceiver.Client client = mock( in phoneChangeReceiver_dispatchesCarrierConfigChangeForCorrectSubscriptionId()
206 MobileNetworkActivity.PhoneChangeReceiver.Client.class); in phoneChangeReceiver_dispatchesCarrierConfigChangeForCorrectSubscriptionId()
/packages/apps/Settings/src/com/android/settings/network/
DMobileDataEnabledListener.java29 private Client mClient;
32 public interface Client { interface in MobileDataEnabledListener
36 public MobileDataEnabledListener(Context context, Client client) { in MobileDataEnabledListener()
DSubscriptionsPreferenceController.java65 MobileDataEnabledListener.Client, DataConnectivityListener.Client,
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDataConnectivityListener.java32 private Client mClient;
34 public interface Client { interface in DataConnectivityListener
38 public DataConnectivityListener(Context context, Client client) { in DataConnectivityListener()
DMobileNetworkActivity.java123 mPhoneChangeReceiver = new PhoneChangeReceiver(this, new PhoneChangeReceiver.Client() { in onCreate()
299 private Client mClient;
301 interface Client { interface in MobileNetworkActivity.PhoneChangeReceiver
306 public PhoneChangeReceiver(Context context, Client client) { in PhoneChangeReceiver()
/packages/modules/SdkExtensions/testing/impl-src/android/os/ext/test/
DTest.java34 @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
51 @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/
DLauncherInitListenerEx.java19 import com.android.launcher3.appprediction.PredictionUiStateManager.Client;
31 PredictionUiStateManager.INSTANCE.get(launcher).switchClient(Client.OVERVIEW); in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkActivity.java249 private Client mClient;
251 interface Client { interface in MobileNetworkActivity.PhoneChangeReceiver
255 public PhoneChangeReceiver(Context context, Client client) { in PhoneChangeReceiver()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DAppPredictionsUITests.java37 import com.android.launcher3.appprediction.PredictionUiStateManager.Client;
74 Client.HOME); in setUp()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java48 import com.android.launcher3.appprediction.PredictionUiStateManager.Client;
270 PredictionUiStateManager.INSTANCE.get(getContext()).switchClient(Client.HOME); in reset()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileDataEnabledListenerTest.java40 private MobileDataEnabledListener.Client mClient;
DDataConnectivityListenerTest.java47 private DataConnectivityListener.Client mClient;