Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 906) sorted by relevance

12345678910>>...37

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DDebugReportApi.java163 Source source, in scheduleSourceSuccessDebugReport() argument
169 if (isAdTechNotOptIn(source.isDebugReporting(), Type.SOURCE_SUCCESS)) { in scheduleSourceSuccessDebugReport()
172 if (!isSourcePermissionGranted(source)) { in scheduleSourceSuccessDebugReport()
178 generateSourceDebugReportBody(source, additionalBodyParams), in scheduleSourceSuccessDebugReport()
179 source.getEnrollmentId(), in scheduleSourceSuccessDebugReport()
180 source.getRegistrationOrigin(), in scheduleSourceSuccessDebugReport()
181 source.getRegistrant(), in scheduleSourceSuccessDebugReport()
187 Source source, String limit, IMeasurementDao dao) { in scheduleSourceDestinationLimitDebugReport() argument
189 source, limit, Type.SOURCE_DESTINATION_LIMIT, dao); in scheduleSourceDestinationLimitDebugReport()
194 Source source, String limit, IMeasurementDao dao) { in scheduleSourceDestinationRateLimitDebugReport() argument
[all …]
DDebugKeyAccessor.java93 public Pair<UnsignedLong, UnsignedLong> getDebugKeys(Source source, Trigger trigger) in getDebugKeys() argument
106 @AttributionType int attributionType = getAttributionType(source, trigger); in getDebugKeys()
111 if (source.hasAdIdPermission()) { in getDebugKeys()
112 sourceDebugKey = source.getDebugKey(); in getDebugKeys()
120 if (trigger.getRegistrant().equals(source.getRegistrant())) { in getDebugKeys()
121 if (source.hasArDebugPermission()) { in getDebugKeys()
122 sourceDebugKey = source.getDebugKey(); in getDebugKeys()
127 } else if (canMatchJoinKeys(source, trigger, allowedEnrollmentsString)) { in getDebugKeys()
130 if (source.getDebugJoinKey().equals(trigger.getDebugJoinKey())) { in getDebugKeys()
131 sourceDebugKey = source.getDebugKey(); in getDebugKeys()
[all …]
DEventReportWindowCalcDelegate.java62 public int getMaxReportCount(Source source) { in getMaxReportCount() argument
63 return getMaxReportCount(source, source.isInstallDetectionEnabled()); in getMaxReportCount()
73 public int getMaxReportCount(@NonNull Source source, @EventSurfaceType int destinationType) { in getMaxReportCount() argument
74 return getMaxReportCount(source, isInstallCase(source, destinationType)); in getMaxReportCount()
77 private int getMaxReportCount(@NonNull Source source, boolean isInstallCase) { in getMaxReportCount() argument
78 if (source.getMaxEventLevelReports() != null) { in getMaxReportCount()
79 return source.getMaxEventLevelReports(); in getMaxReportCount()
82 if (source.getSourceType() == Source.SourceType.EVENT) { in getMaxReportCount()
85 if (isInstallCase && !source.hasWebDestinations() && isDefaultConfiguredVtc()) { in getMaxReportCount()
101 @NonNull Source source, long triggerTime, @EventSurfaceType int destinationType) { in getReportingTime()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioBinderTest.java113 AttributionSource source = new AttributionSource.Builder(0).build(); in connect() local
115 mBinder.connect(device, source); in connect()
122 AttributionSource source = new AttributionSource.Builder(0).build(); in disconnect() local
124 mBinder.disconnect(device, source); in disconnect()
130 AttributionSource source = new AttributionSource.Builder(0).build(); in getConnectedDevices() local
132 mBinder.getConnectedDevices(source); in getConnectedDevices()
139 AttributionSource source = new AttributionSource.Builder(0).build(); in getConnectedGroupLeadDevice() local
141 mBinder.getConnectedGroupLeadDevice(groupId, source); in getConnectedGroupLeadDevice()
148 AttributionSource source = new AttributionSource.Builder(0).build(); in getDevicesMatchingConnectionStates() local
150 mBinder.getDevicesMatchingConnectionStates(states, source); in getDevicesMatchingConnectionStates()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/attribution/
DAttributionJobHandler.java250 Source source = sourceOpt.get().first; in performAttribution() local
255 && source.getTriggerSpecsString() != null in performAttribution()
256 && !source.getTriggerSpecsString().isEmpty()) { in performAttribution()
258 source.buildTriggerSpecs(); in performAttribution()
272 attributionStatus.setSourceType(source.getSourceType()); in performAttribution()
273 attributionStatus.setSurfaceTypeFromSourceAndTrigger(source, trigger); in performAttribution()
274 attributionStatus.setSourceRegistrant(source.getRegistrant().toString()); in performAttribution()
276 if (source.isInstallAttributed()) { in performAttribution()
280 if (!doTopLevelFiltersMatch(source, trigger, measurementDao)) { in performAttribution()
304 Attribution.Scope.EVENT, source, trigger); in performAttribution()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java238 @NonNull Source source, IMeasurementDao dao, Flags flags) throws DatastoreException { in isNavigationOriginAlreadyRegisteredForRegistration()
240 || source.getSourceType() != Source.SourceType.NAVIGATION) { in isNavigationOriginAlreadyRegisteredForRegistration()
244 source.getRegistrationOrigin(), source.getRegistrationId()) in isNavigationOriginAlreadyRegisteredForRegistration()
289 Source source, AsyncRegistration asyncRegistration, IMeasurementDao dao) in storeSource() argument
302 isSourceAllowedToInsert(source, topOrigin, publisherType, dao, mDebugReportApi); in storeSource()
309 && source.shouldDropSourceIfInstalled() in storeSource()
310 && Applications.anyAppsInstalled(mContext, source.getAppDestinations())) { in storeSource()
311 source.setStatus(Source.Status.MARKED_TO_DELETE); in storeSource()
320 insertSourceFromTransaction(source, dao, additionalDebugReportParams); in storeSource()
322 source, dao, additionalDebugReportParams); in storeSource()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DSourceNoiseHandler.java76 @NonNull Source source) { in assignAttributionModeAndGenerateFakeReports()
79 if (value >= getRandomizedSourceResponsePickRate(source)) { in assignAttributionModeAndGenerateFakeReports()
80 source.setAttributionMode(Source.AttributionMode.TRUTHFULLY); in assignAttributionModeAndGenerateFakeReports()
85 TriggerSpecs triggerSpecs = source.getTriggerSpecs(); in assignAttributionModeAndGenerateFakeReports()
89 ImpressionNoiseParams noiseParams = getImpressionNoiseParams(source); in assignAttributionModeAndGenerateFakeReports()
95 long triggerTime = source.getEventTime(); in assignAttributionModeAndGenerateFakeReports()
99 source, reportConfig[1]); in assignAttributionModeAndGenerateFakeReports()
104 source, reportConfig[1]); in assignAttributionModeAndGenerateFakeReports()
113 source, reportConfig[2]), in assignAttributionModeAndGenerateFakeReports()
118 int destinationTypeMultiplier = source.getDestinationTypeMultiplier(mFlags); in assignAttributionModeAndGenerateFakeReports()
[all …]
/packages/modules/Bluetooth/service/src/
DAdapterBinder.kt34 fun disable(source: AttributionSource) { in toString()
35 adapterBinder.disable(source) in toString()
39 fun enable(quietMode: Boolean, source: AttributionSource) { in enable()
40 adapterBinder.enable(quietMode, source) in enable()
44 fun getAddress(source: AttributionSource): String? { in getAddress()
45 return adapterBinder.getAddress(source) in getAddress()
49 fun getName(source: AttributionSource): String? { in getName()
50 return adapterBinder.getName(source) in getName()
54 fun stopBle(source: AttributionSource) { in stopBle()
55 adapterBinder.stopBle(source) in stopBle()
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DLinkPropertiesUtilsTest.java88 final LinkProperties source = createTestObject(); in testLinkPropertiesIdenticalEqual() local
89 final LinkProperties target = new LinkProperties(source); in testLinkPropertiesIdenticalEqual()
91 assertTrue(LinkPropertiesUtils.isIdenticalInterfaceName(source, target)); in testLinkPropertiesIdenticalEqual()
92 assertTrue(LinkPropertiesUtils.isIdenticalInterfaceName(target, source)); in testLinkPropertiesIdenticalEqual()
94 assertTrue(LinkPropertiesUtils.isIdenticalAddresses(source, target)); in testLinkPropertiesIdenticalEqual()
95 assertTrue(LinkPropertiesUtils.isIdenticalAddresses(target, source)); in testLinkPropertiesIdenticalEqual()
97 assertTrue(LinkPropertiesUtils.isIdenticalAllLinkAddresses(source, target)); in testLinkPropertiesIdenticalEqual()
98 assertTrue(LinkPropertiesUtils.isIdenticalAllLinkAddresses(target, source)); in testLinkPropertiesIdenticalEqual()
100 assertTrue(LinkPropertiesUtils.isIdenticalDnses(source, target)); in testLinkPropertiesIdenticalEqual()
101 assertTrue(LinkPropertiesUtils.isIdenticalDnses(target, source)); in testLinkPropertiesIdenticalEqual()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DUtf8ByteLengthFilterTest.java34 CharSequence source = "1"; // 1 byte. in filter_belowMaxBytes_returnsNull() local
39 CharSequence filtered = lengthFilter.filter(source, /* start= */ 0, source.length(), dest, in filter_belowMaxBytes_returnsNull()
48 CharSequence source = "1"; // 1 byte. in filter_maxBytes_returnsNull() local
53 CharSequence filtered = lengthFilter.filter(source, /* start= */ 0, source.length(), dest, in filter_maxBytes_returnsNull()
62 CharSequence source = "12"; // 2 bytes. in filter_aboveMaxBytes_returnsFilteredSource() local
67 CharSequence filtered = lengthFilter.filter(source, /* start= */ 0, source.length(), dest, in filter_aboveMaxBytes_returnsFilteredSource()
77 CharSequence source; in exerciseFilter() local
82 source = "abc"; in exerciseFilter()
86 dest.insert(1, source); in exerciseFilter()
90 dest.replace(5, 8, source); in exerciseFilter()
[all …]
/packages/apps/Gallery2/jni/filters/
Dgeometry.c22 static __inline__ void flipVertical(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destin… in flipVertical() argument
33 memcpy(destination + temp - i, source + i, bytes_to_copy); in flipVertical()
37 static __inline__ void flipHorizontal(uint8_t * source, int srcWidth, int srcHeight, in flipHorizontal() argument
50 memcpy(destination + temp - j, source + i + j, cpy_bytes); in flipHorizontal()
55 static __inline__ void flip_fun(int flip, uint8_t * source, int srcWidth, int srcHeight, uint8_t * … in flip_fun() argument
61 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight); in flip_fun()
67 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); in flip_fun()
71 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); in flip_fun()
77 static __inline__ void rotate90(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destinatio… in rotate90() argument
86 memcpy(destination + column_disp + row_disp , source + j * srcWidth + i, cpy_bytes); in rotate90()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DDebugReportApiTest.java120 Source source = in testScheduleAppToAppSourceSuccessDebugReport_success() local
133 mDebugReportApi.scheduleSourceSuccessDebugReport(source, mMeasurementDao, Map.of()); in testScheduleAppToAppSourceSuccessDebugReport_success()
147 Source source = in testScheduleWebToWebSourceSuccessDebugReport_success() local
160 mDebugReportApi.scheduleSourceSuccessDebugReport(source, mMeasurementDao, Map.of()); in testScheduleWebToWebSourceSuccessDebugReport_success()
174 Source source = in testScheduleAppToWebSourceSuccessDebugReport_success() local
187 mDebugReportApi.scheduleSourceSuccessDebugReport(source, mMeasurementDao, Map.of()); in testScheduleAppToWebSourceSuccessDebugReport_success()
202 Source source = in testScheduleWebToAppSourceSuccessDebugReport_success() local
216 mDebugReportApi.scheduleSourceSuccessDebugReport(source, mMeasurementDao, Map.of()); in testScheduleWebToAppSourceSuccessDebugReport_success()
231 Source source = in testScheduleAppToAppAndWebSourceSuccessDebugReport_success() local
245 mDebugReportApi.scheduleSourceSuccessDebugReport(source, mMeasurementDao, Map.of()); in testScheduleAppToAppAndWebSourceSuccessDebugReport_success()
[all …]
DDebugKeyAccessorTest.java107 Source source = in getDebugKeys_appToAppWithAdIdPermission_debugKeysPresent() local
117 mDebugKeyAccessor.getDebugKeys(source, trigger); in getDebugKeys_appToAppWithAdIdPermission_debugKeysPresent()
134 Source source = in getDebugKeys_appToAppNoAdIdPermission_debugKeysAbsent() local
144 mDebugKeyAccessor.getDebugKeys(source, trigger); in getDebugKeys_appToAppNoAdIdPermission_debugKeysAbsent()
162 Source source = in getDebugKeys_appToAppNoAdIdPermissionWithJoinKeys_debugKeysAbsent() local
172 mDebugKeyAccessor.getDebugKeys(source, trigger); in getDebugKeys_appToAppNoAdIdPermissionWithJoinKeys_debugKeysAbsent()
190 Source source = in getDebugKeys_appToAppWithSourceAdId_sourceDebugKeyPresent() local
200 mDebugKeyAccessor.getDebugKeys(source, trigger); in getDebugKeys_appToAppWithSourceAdId_sourceDebugKeyPresent()
218 Source source = in getDebugKeys_appToAppWithTriggerAdId_triggerDebugKeyPresent() local
228 mDebugKeyAccessor.getDebugKeys(source, trigger); in getDebugKeys_appToAppWithTriggerAdId_triggerDebugKeyPresent()
[all …]
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DFocusFinder.java162 static boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) { in isBetterCandidate() argument
164 if (beamBeats(direction, source, rect1, rect2)) { in isBetterCandidate()
169 if (beamBeats(direction, source, rect2, rect1)) { in isBetterCandidate()
175 majorAxisDistance(direction, source, rect1), in isBetterCandidate()
176 minorAxisDistance(direction, source, rect1)) in isBetterCandidate()
178 majorAxisDistance(direction, source, rect2), in isBetterCandidate()
179 minorAxisDistance(direction, source, rect2)); in isBetterCandidate()
191 private static int minorAxisDistance(int direction, Rect source, Rect dest) { in minorAxisDistance() argument
197 ((source.top + source.height() / 2) - ((dest.top + dest.height() / 2)))); in minorAxisDistance()
202 ((source.left + source.width() / 2) - ((dest.left + dest.width() / 2)))); in minorAxisDistance()
[all …]
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/
DBluetoothServiceBinder.java99 public boolean enable(@NonNull AttributionSource source) { in enable() argument
100 requireNonNull(source, "AttributionSource cannot be null in enable"); in enable()
105 source, in enable()
116 return mBluetoothManagerService.enable(source.getPackageName()); in enable()
120 public boolean enableNoAutoConnect(AttributionSource source) { in enableNoAutoConnect() argument
121 requireNonNull(source, "AttributionSource cannot be null in enableNoAutoConnect"); in enableNoAutoConnect()
126 source, in enableNoAutoConnect()
141 return mBluetoothManagerService.enableNoAutoConnect(source.getPackageName()); in enableNoAutoConnect()
145 public boolean disable(AttributionSource source, boolean persist) { in disable() argument
146 requireNonNull(source, "AttributionSource cannot be null in disable"); in disable()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactDeltaTests.java88 final RawContactDelta source = RawContactDelta.fromBefore(before); in testParcelChangesNone() local
92 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); in testParcelChangesNone()
93 assertEquals("Unexpected change when merging", source, merged); in testParcelChangesNone()
98 final RawContactDelta source = RawContactDelta.fromBefore(before); in testParcelChangesInsert() local
106 source.addEntry(ValuesDelta.fromAfter(phone)); in testParcelChangesInsert()
109 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); in testParcelChangesInsert()
110 assertEquals("Unexpected change when merging", source, merged); in testParcelChangesInsert()
116 final RawContactDelta source = RawContactDelta.fromBefore(before); in testParcelChangesUpdate() local
119 final ValuesDelta child = source.getEntry(TEST_PHONE_ID); in testParcelChangesUpdate()
123 final RawContactDelta merged = RawContactDelta.mergeAfter(dest, source); in testParcelChangesUpdate()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkServiceBinderTest.java57 AttributionSource source = new AttributionSource.Builder(0).build(); in connect() local
59 mBinder.connect(device, source); in connect()
66 AttributionSource source = new AttributionSource.Builder(0).build(); in disconnect() local
68 mBinder.disconnect(device, source); in disconnect()
74 AttributionSource source = new AttributionSource.Builder(0).build(); in getConnectedDevices() local
76 mBinder.getConnectedDevices(source); in getConnectedDevices()
83 AttributionSource source = new AttributionSource.Builder(0).build(); in getDevicesMatchingConnectionStates() local
85 mBinder.getDevicesMatchingConnectionStates(states, source); in getDevicesMatchingConnectionStates()
92 AttributionSource source = new AttributionSource.Builder(0).build(); in getConnectionState() local
94 mBinder.getConnectionState(device, source); in getConnectionState()
[all …]
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DParcelling.java53 T unparcel(Parcel source); in unparcel() argument
113 public String unparcel(Parcel source) { in unparcel() argument
114 return TextUtils.safeIntern(source.readString()); in unparcel()
126 public String[] unparcel(Parcel source) { in unparcel() argument
127 String[] array = ParcelHelper.readStringArray(source); in unparcel()
145 public List<String> unparcel(Parcel source) { in unparcel() argument
146 ArrayList<String> list = source.createStringArrayList(); in unparcel()
164 public Map<String, String> unparcel(Parcel source) { in unparcel() argument
166 source.readMap(map, String.class.getClassLoader()); in unparcel()
188 public Set<String> unparcel(Parcel source) { in unparcel() argument
[all …]
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/
DParcelling.java52 T unparcel(Parcel source); in unparcel() argument
112 public String unparcel(Parcel source) { in unparcel() argument
113 return TextUtils.safeIntern(source.readString()); in unparcel()
125 public String[] unparcel(Parcel source) { in unparcel() argument
126 String[] array = source.createStringArray(); in unparcel()
144 public List<String> unparcel(Parcel source) { in unparcel() argument
145 ArrayList<String> list = source.createStringArrayList(); in unparcel()
163 public Map<String, String> unparcel(Parcel source) { in unparcel() argument
165 source.readMap(map, String.class.getClassLoader()); in unparcel()
187 public Set<String> unparcel(Parcel source) { in unparcel() argument
[all …]
/packages/modules/Connectivity/tests/common/java/android/net/
DLinkPropertiesTest.java169 public void assertLinkPropertiesEqual(LinkProperties source, LinkProperties target) { in assertLinkPropertiesEqual() argument
171 assertTrue(source.isIdenticalInterfaceName(target)); in assertLinkPropertiesEqual()
172 assertTrue(target.isIdenticalInterfaceName(source)); in assertLinkPropertiesEqual()
174 assertTrue(source.isIdenticalAddresses(target)); in assertLinkPropertiesEqual()
175 assertTrue(target.isIdenticalAddresses(source)); in assertLinkPropertiesEqual()
177 assertTrue(source.isIdenticalDnses(target)); in assertLinkPropertiesEqual()
178 assertTrue(target.isIdenticalDnses(source)); in assertLinkPropertiesEqual()
180 assertTrue(source.isIdenticalPrivateDns(target)); in assertLinkPropertiesEqual()
181 assertTrue(target.isIdenticalPrivateDns(source)); in assertLinkPropertiesEqual()
183 assertTrue(source.isIdenticalValidatedPrivateDnses(target)); in assertLinkPropertiesEqual()
[all …]
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilterTest.java30 CharSequence source; in testFilter() local
38 source = "abc"; in testFilter()
42 dest.insert(1, source); in testFilter()
46 dest.replace(5, 8, source); in testFilter()
50 dest.insert(2, source); in testFilter()
61 source = "\u60a8\u597d"; // 2 Chinese chars == 6 bytes in UTF-8 in testFilter()
62 dest.replace(8, 10, source); in testFilter()
65 dest.replace(0, 1, source); in testFilter()
69 dest.replace(0, 4, source); in testFilter()
73 source = "\u00a3\u00a5"; // 2 Latin-1 chars == 4 bytes in UTF-8 in testFilter()
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.cpp36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,lo… in db_LeanPartitionOnPivot() argument
44 s_point=source+first; in db_LeanPartitionOnPivot()
45 s_top=source+last; in db_LeanPartitionOnPivot()
68 const double *source; in db_LeanQuickSelect() local
73 source=s; in db_LeanQuickSelect()
78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); in db_LeanQuickSelect()
92 source=tempB; in db_LeanQuickSelect()
95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DEventReportTest.java259 Source source = in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution() local
269 source, in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution()
275 source.getAttributionDestinations(trigger.getDestinationType())) in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution()
284 assertEquals(source.getEventId(), report.getSourceEventId()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution()
285 assertEquals(source.getEnrollmentId(), report.getEnrollmentId()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution()
288 assertEquals(source.getEventReportWindow().longValue(), report.getReportTime()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution()
289 assertEquals(source.getSourceType(), report.getSourceType()); in populateFromSourceAndTrigger_eventSourceAppDestWithoutInstallAttribution()
308 Source source = in populate_eventSourceAppDestWithoutInstallConfigured() local
321 source, in populate_eventSourceAppDestWithoutInstallConfigured()
327 source.getAttributionDestinations(trigger.getDestinationType())) in populate_eventSourceAppDestWithoutInstallConfigured()
[all …]
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/util/unfold/
DPreemptiveUnfoldTransitionProgressProviderTest.kt42 private lateinit var source: TransitionProgressListener variable in com.android.quickstep.util.unfold.PreemptiveUnfoldTransitionProgressProviderTest
56 source = testSource as TransitionProgressListener in before()
100 source.onTransitionStarted() in preemptiveStartAndThenSourceStartsTransition_transitionStarts()
109 source.onTransitionStarted() in preemptiveStartAndThenSourceStartsAndFinishesTransition_transitionFinishes()
110 source.onTransitionFinished() in preemptiveStartAndThenSourceStartsAndFinishesTransition_transitionFinishes()
122 source.onTransitionStarted() in preemptiveStartAndThenSourceStartsAnimationAndSendsProgress_sendsProgress()
123 source.onTransitionProgress(0.4f) in preemptiveStartAndThenSourceStartsAnimationAndSendsProgress_sendsProgress()
132 source.onTransitionProgress(0.4f) in preemptiveStartAndThenSourceSendsProgress_sendsProgress()
139 source.onTransitionStarted() in preemptiveStartAfterTransitionRunning_transitionStarted()
148 source.onTransitionStarted() in preemptiveStartAfterTransitionRunningAndThenFinished_transitionFinishes()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java1227 private HapClientService getService(AttributionSource source) { in getService() argument
1233 || !Utils.checkConnectPermissionForDataDelivery(mService, source, TAG)) { in getService()
1250 public List<BluetoothDevice> getConnectedDevices(AttributionSource source) { in getConnectedDevices() argument
1251 Objects.requireNonNull(source, "source cannot be null"); in getConnectedDevices()
1253 HapClientService service = getService(source); in getConnectedDevices()
1264 int[] states, AttributionSource source) { in getDevicesMatchingConnectionStates() argument
1265 Objects.requireNonNull(source, "source cannot be null"); in getDevicesMatchingConnectionStates()
1267 HapClientService service = getService(source); in getDevicesMatchingConnectionStates()
1277 public int getConnectionState(BluetoothDevice device, AttributionSource source) { in getConnectionState() argument
1279 Objects.requireNonNull(source, "source cannot be null"); in getConnectionState()
[all …]

12345678910>>...37