Home
last modified time | relevance | path

Searched defs:receiver (Results 1 – 25 of 61) sorted by relevance

123

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DDpcReceivedSuccessReceiverTest.java71 final DpcReceivedSuccessReceiver receiver = new DpcReceivedSuccessReceiver( in testNoAccountMigration() local
97 final DpcReceivedSuccessReceiver receiver = new DpcReceivedSuccessReceiver(TEST_ACCOUNT, in testAccountMigration() local
116 final DpcReceivedSuccessReceiver receiver = new DpcReceivedSuccessReceiver(TEST_ACCOUNT, in testAccountCopy() local
128 private void invokeOnReceiveAndVerifyIntent(final DpcReceivedSuccessReceiver receiver, in invokeOnReceiveAndVerifyIntent()
/packages/services/Telephony/tests/src/com/android/
DTestContext.java73 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
78 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, int flags) { in registerReceiver()
83 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
89 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DCurrentWallpaperAssetV16.java43 BitmapReceiver receiver) { in decodeBitmapRegion()
49 BitmapReceiver receiver) { in decodeBitmap()
60 public void decodeRawDimensions(Activity unused, DimensionsReceiver receiver) { in decodeRawDimensions()
87 public DecodeBitmapAsyncTask(BitmapReceiver receiver, int width, int height) { in DecodeBitmapAsyncTask()
124 public DecodeDimensionsAsyncTask(DimensionsReceiver receiver) { in DecodeDimensionsAsyncTask()
DBuiltInWallpaperAsset.java70 BitmapReceiver receiver) { in decodeBitmapRegion()
76 public void decodeRawDimensions(Activity unused, DimensionsReceiver receiver) { in decodeRawDimensions()
83 BitmapReceiver receiver) { in decodeBitmap()
135 public DecodeBitmapAsyncTask(int width, int height, BitmapReceiver receiver) { in DecodeBitmapAsyncTask()
173 public DecodeBitmapRegionAsyncTask(Rect rect, BitmapReceiver receiver) { in DecodeBitmapRegionAsyncTask()
208 public DecodeDimensionsAsyncTask(DimensionsReceiver receiver) { in DecodeDimensionsAsyncTask()
DStreamableAsset.java77 BitmapReceiver receiver) { in decodeBitmap()
83 public void decodeRawDimensions(Activity unused, DimensionsReceiver receiver) { in decodeRawDimensions()
90 BitmapReceiver receiver) { in decodeBitmapRegion()
144 BitmapReceiver receiver) { in runDecodeBitmapRegionTask()
246 public DecodeBitmapAsyncTask(int targetWidth, int targetHeight, BitmapReceiver receiver) { in DecodeBitmapAsyncTask()
308 BitmapReceiver receiver) { in DecodeBitmapRegionAsyncTask()
377 public DecodeDimensionsAsyncTask(DimensionsReceiver receiver) { in DecodeDimensionsAsyncTask()
DBitmapCachingAsset.java82 public void decodeBitmap(int targetWidth, int targetHeight, BitmapReceiver receiver) { in decodeBitmap()
104 BitmapReceiver receiver) { in decodeBitmapRegion()
109 public void decodeRawDimensions(@Nullable Activity activity, DimensionsReceiver receiver) { in decodeRawDimensions()
DLiveWallpaperThumbAsset.java50 BitmapReceiver receiver) { in decodeBitmap()
58 BitmapReceiver receiver) { in decodeBitmapRegion()
63 public void decodeRawDimensions(Activity unused, DimensionsReceiver receiver) { in decodeRawDimensions()
157 BitmapReceiver receiver) { in LoadThumbnailTask()
/packages/apps/ThemePicker/src/com/google/android/apps/wallpaper/asset/
DThemeBundleThumbAsset.java45 public void decodeBitmap(int targetWidth, int targetHeight, BitmapReceiver receiver) { in decodeBitmap()
53 BitmapReceiver receiver) { in decodeBitmapRegion()
58 public void decodeRawDimensions(@Nullable Activity activity, DimensionsReceiver receiver) { in decodeRawDimensions()
78 BitmapReceiver receiver) { in LoadThumbnailTask()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcPreferenceControllerTest.java228 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_noExtra_sliceDoesntUpdate() local
239 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_turningOn_sliceDoesntUpdate() local
251 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_turningOff_sliceDoesntUpdate() local
263 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_nfcOn_sliceUpdates() local
275 final NfcUpdateReceiver receiver = worker.new NfcUpdateReceiver(worker); in ncfSliceWorker_nfcBroadcast_nfcOff_sliceUpdates() local
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestAsset.java59 public void decodeBitmap(int targetWidth, int targetHeight, BitmapReceiver receiver) { in decodeBitmap()
65 BitmapReceiver receiver) { in decodeBitmapRegion()
70 public void decodeRawDimensions(Activity unused, DimensionsReceiver receiver) { in decodeRawDimensions()
DTestLoggingOptInStatusProvider.java24 public void fetchOptInValue(OptInValueReceiver receiver) { in fetchOptInValue()
DTestExploreIntentChecker.java36 public void fetchValidActionViewIntent(Uri uri, IntentReceiver receiver) { in fetchValidActionViewIntent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java93 public static Object invoke(final Object receiver, final Object defaultValue, in invoke()
107 public static Object getFieldValue(final Object receiver, final Object defaultValue, in getFieldValue()
120 public static void setFieldValue(final Object receiver, final Field field, final Object value) { in setFieldValue()
178 public T invoke(final Object receiver, final Object... args) { in invoke()
190 public int invoke(final Object receiver, final Object... args) { in invoke()
202 public float invoke(final Object receiver, final Object... args) { in invoke()
214 public boolean invoke(final Object receiver, final Object... args) { in invoke()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocalBroadcastManager.java52 public void registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
57 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
78 final BroadcastReceiver receiver = wrapper.getBroadcastReceiver(); in sendBroadcast() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DAddDevicePreferenceControllerTest.java94 BroadcastReceiver receiver = ReflectionHelpers.getField( in addDevice_bt_resume_on_then_off() local
111 BroadcastReceiver receiver = ReflectionHelpers.getField( in addDevice_bt_resume_off_then_on() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DDownloadPackageTaskTest.java141 BroadcastReceiver receiver = verifyDownloadReceiver(); in testDownloadFailed() local
160 BroadcastReceiver receiver = verifyDownloadReceiver(); in testDownloadSucceeded() local
180 BroadcastReceiver receiver = verifyDownloadReceiver(); in testSendBroadcastTwice() local
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DTetherProvisioningActivityTest.java71 final WrappedReceiver receiver = new WrappedReceiver(); in testOnCreate_FinishWithNonActiveDataSubId() local
84 final WrappedReceiver receiver = new WrappedReceiver(); in testOnCreate_FinishWithUnavailableProvisioningApp() local
100 final WrappedReceiver receiver = new WrappedReceiver(); in testOnCreate_startActivityForResult() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkActivityTest.java170 MobileNetworkActivity.PhoneChangeReceiver receiver = in phoneChangeReceiver_ignoresStickyBroadcastFromBeforeRegistering() local
190 MobileNetworkActivity.PhoneChangeReceiver receiver = in phoneChangeReceiver_ignoresCarrierConfigChangeForWrongSubscriptionId() local
209 MobileNetworkActivity.PhoneChangeReceiver receiver = in phoneChangeReceiver_dispatchesCarrierConfigChangeForCorrectSubscriptionId() local
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultExploreIntentChecker.java46 public void fetchValidActionViewIntent(Uri uri, IntentReceiver receiver) { in fetchValidActionViewIntent()
60 public FetchActionViewIntentTask(Context appContext, Uri uri, IntentReceiver receiver) { in FetchActionViewIntentTask()
DLoggingOptInStatusProvider.java26 void fetchOptInValue(OptInValueReceiver receiver); in fetchOptInValue()
DExploreIntentChecker.java33 void fetchValidActionViewIntent(Uri uri, IntentReceiver receiver); in fetchValidActionViewIntent()
DDefaultCategoryProvider.java66 public void fetchCategories(CategoryReceiver receiver, boolean forceRefresh) { in fetchCategories()
106 protected void doFetch(final CategoryReceiver receiver, boolean forceRefresh) { in doFetch()
132 public FetchCategoriesTask(CategoryReceiver receiver, Context context) { in FetchCategoriesTask()
/packages/apps/Contacts/src/com/android/contacts/util/
DPermissionsUtil.java94 public static void registerPermissionReceiver(Context context, BroadcastReceiver receiver, in registerPermissionReceiver()
100 public static void unregisterPermissionReceiver(Context context, BroadcastReceiver receiver) { in unregisterPermissionReceiver()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java219 BroadcastReceiver receiver = captor.getValue(); in bluetoothTurnsOff_switchTurnsOff() local
242 BroadcastReceiver receiver = captor.getValue(); in bluetoothTurnsOn_switchTurnsOn() local
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperCategory.java38 public void fetchWallpapers(Context context, WallpaperReceiver receiver, boolean forceReload) { in fetchWallpapers()
77 @Nullable List<String> excludedPackages, @Nullable WallpaperReceiver receiver) { in FetchLiveWallpapersTask()

123