Home
last modified time | relevance | path

Searched refs:ResultReceiver (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/tether/
DTetherService.java46 import android.os.ResultReceiver;
93 private ArrayMap<Integer, List<ResultReceiver>> mPendingCallbacks;
108 mPendingCallbacks.put(TETHERING_WIFI, new ArrayList<ResultReceiver>()); in onCreate()
109 mPendingCallbacks.put(TETHERING_USB, new ArrayList<ResultReceiver>()); in onCreate()
110 mPendingCallbacks.put(TETHERING_BLUETOOTH, new ArrayList<ResultReceiver>()); in onCreate()
111 mPendingCallbacks.put(TETHERING_ETHERNET, new ArrayList<ResultReceiver>()); in onCreate()
149 ResultReceiver callback = intent.getParcelableExtra(EXTRA_PROVISION_CALLBACK); in onStartCommand()
151 List<ResultReceiver> callbacksForType = mPendingCallbacks.get(type); in onStartCommand()
308 List<ResultReceiver> callbacksForType = mPendingCallbacks.get(type); in fireCallbacksForType()
314 for (ResultReceiver callback : callbacksForType) { in fireCallbacksForType()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DTetherService.java37 import android.os.ResultReceiver;
82 private ArrayMap<Integer, List<ResultReceiver>> mPendingCallbacks;
98 mPendingCallbacks.put(ConnectivityManager.TETHERING_WIFI, new ArrayList<ResultReceiver>()); in onCreate()
99 mPendingCallbacks.put(ConnectivityManager.TETHERING_USB, new ArrayList<ResultReceiver>()); in onCreate()
101 ConnectivityManager.TETHERING_BLUETOOTH, new ArrayList<ResultReceiver>()); in onCreate()
128 ResultReceiver callback = in onStartCommand()
131 List<ResultReceiver> callbacksForType = mPendingCallbacks.get(type); in onStartCommand()
356 List<ResultReceiver> callbacksForType = mPendingCallbacks.get(type); in fireCallbacksForType()
362 for (ResultReceiver callback : callbacksForType) { in fireCallbacksForType()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DProvisioningResultListener.java46 private final ResultReceiver mReceiver = new ResultReceiver();
49 private class ResultReceiver extends BroadcastReceiver { class in ProvisioningResultListener
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DTetherProvisioningActivity.java24 import android.os.ResultReceiver;
39 private ResultReceiver mResultReceiver;
47 mResultReceiver = (ResultReceiver)getIntent().getParcelableExtra( in onCreate()
/packages/apps/Settings/src/com/android/settings/network/
DTetherProvisioningActivity.java31 import android.os.ResultReceiver;
48 private ResultReceiver mResultReceiver;
60 mResultReceiver = (ResultReceiver) getIntent().getParcelableExtra(EXTRA_PROVISION_CALLBACK); in onCreate()
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/service/
DAnomalyService.java22 import android.os.ResultReceiver;
40 final ResultReceiver resultReceiver = intent.getParcelableExtra( in onHandleIntent()
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/
DAnomalyActivity.java21 import android.os.ResultReceiver;
116 private class AnomalyResultReceiver extends ResultReceiver {
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DTetherProvisioningActivityTest.java36 import android.os.ResultReceiver;
52 private static class WrappedReceiver extends ResultReceiver {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaController.java31 import android.os.ResultReceiver;
196 @Nullable ResultReceiver cb) { in sendCommand()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java43 import android.os.ResultReceiver;
286 final ResultReceiver resultReceiver = in handleMessage()
287 new ResultReceiver(this) { in handleMessage()
408 final ResultReceiver resultReceiver = in handleMessage()
409 new ResultReceiver(this) { in handleMessage()
DPhoneInterfaceManager.java53 import android.os.ResultReceiver;
442 Pair<String, ResultReceiver> ussdObject = (Pair) request.argument; in handleMessage()
444 ResultReceiver wrappedCallback = ussdObject.second; in handleMessage()
1026 ResultReceiver result = (ResultReceiver) request.argument; in handleMessage()
1037 ResultReceiver result = (ResultReceiver) request.argument; in handleMessage()
2207 public void handleUssdRequest(int subId, String ussdRequest, ResultReceiver wrappedCallback) { in handleUssdRequest()
2215 Pair<String, ResultReceiver> ussdObject = new Pair(ussdRequest, wrappedCallback); in handleUssdRequest()
6707 public void requestModemActivityInfo(ResultReceiver result) { in requestModemActivityInfo()
7237 String[] args, ShellCallback callback, ResultReceiver resultReceiver) in onShellCommand()
/packages/apps/Contacts/src/com/android/contacts/widget/
DSelectPhoneAccountDialogFragment.java26 import android.os.ResultReceiver;
115 public static class SelectPhoneAccountListener extends ResultReceiver {
/packages/apps/Dialer/java/com/android/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java27 import android.os.ResultReceiver;
194 public static class SelectPhoneAccountListener extends ResultReceiver {
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DTetherServiceTest.java56 import android.os.ResultReceiver;
333 private static final class Receiver extends ResultReceiver {
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java51 import android.support.v4.os.ResultReceiver;
1245 ResultReceiver receiver) { in createSplitContactIntent()
1269 final ResultReceiver receiver = intent.getParcelableExtra(EXTRA_RESULT_RECEIVER); in splitContact()
1363 ResultReceiver receiver) { in createJoinSeveralContactsIntent()
1410 final ResultReceiver receiver = intent.getParcelableExtra(EXTRA_RESULT_RECEIVER); in joinSeveralContacts()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java66 import android.os.ResultReceiver;
2111 public void requestActivityInfo(ResultReceiver result) { in requestActivityInfo()