/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | BasicCallTests.java | 112 IdPair ids = startAndMakeActiveOutgoingCall("650-555-1212", in testSingleOutgoingCallLocalDisconnect() local 143 IdPair ids = startAndMakeActiveOutgoingCall("650-555-1212", in testSingleOutgoingCallRemoteDisconnect() local 180 .answer(eq(ids.mConnectionId), any()); in testTelecomManagerAcceptRingingCall() 240 .answer(eq(ids.mConnectionId), any()); in testTelecomManagerAcceptRingingVideoCallAsAudio() 318 IdPair ids = startAndMakeDialingEmergencyCall(phoneNumber, in testIncomingEmergencyCallback() local 542 IdPair ids = startAndMakeActiveIncomingCall( in testIncomingCallBlockCheckTimesoutIsAllowed() local 548 disconnectCall(ids.mCallId, ids.mConnectionId); in testIncomingCallBlockCheckTimesoutIsAllowed() 746 .pullExternalCall(eq(ids.mCallId), any()); in testPullNonExternalCall() 932 .pullExternalCall(eq(ids.mConnectionId), any()); in testPullExternalCall() 958 .pullExternalCall(eq(ids.mConnectionId), any()); in testPullNonPullableExternalCall() [all …]
|
H A D | CallExtrasTest.java | 80 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testCsPutExtras() local 107 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testCsPutBooleanExtra() local 132 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testCsPutIntExtra() local 156 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testCsPutStringExtra() local 181 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testCsRemoveExtra() local 214 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testCsUpdateExisting() local 253 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testCsSetExtras() local 279 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras() in testCsSetExtras() 297 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testICSPutExtras() local 321 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testExtrasBidirectional() local [all …]
|
H A D | VideoCallTests.java | 74 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testAutoSpeakerphoneIncomingBidirectional() local 91 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testAutoSpeakerphoneIncomingReceiveOnly() local 106 IdPair ids = startAndMakeActiveOutgoingCall("650-555-1212", in testAutoSpeakerphoneOutgoingBidirectional() local 122 IdPair ids = startAndMakeActiveOutgoingCall("650-555-1212", in testAutoSpeakerphoneOutgoingTransmitOnly() local 138 IdPair ids = startAndMakeActiveOutgoingCall("650-555-1212", in testNoAutoSpeakerphoneOnOutgoing() local 153 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", in testNoAutoSpeakerphoneOnIncoming() local 167 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testIncomingVideoCallMissedCheckVideoHistory() local 184 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), in testIncomingVideoCallRejectedCheckVideoHistory() local 244 mConnectionServiceFixtureA.mConnectionById.get(ids.mConnectionId).videoState in testOutgoingVideoCallAnsweredAsAudio() 246 mConnectionServiceFixtureA.sendSetVideoState(ids.mConnectionId); in testOutgoingVideoCallAnsweredAsAudio() [all …]
|
/aosp12/frameworks/wilhelm/tests/sandbox/ |
H A D | srcsink.c | 67 &audioSnk, 1, ids, req); in main() 74 &audioSnk, 1, ids, req); in main() 86 &audioSnk, 1, ids, req); in main() 98 &audioSnk, 1, ids, req); in main() 111 &audioSnk, 1, ids, req); in main() 116 &audioSnk, 1, ids, req); in main() 124 &audioSnk, 1, ids, req); in main() 129 &audioSnk, 1, ids, req); in main() 137 &audioSnk, 1, ids, req); in main() 142 &audioSnk, 1, ids, req); in main() [all …]
|
/aosp12/hardware/qcom/sm8150p/gps/geofence/ |
H A D | location_geofence.cpp | 42 static void removeGeofences(LocationAPI* client, size_t count, uint32_t* ids); 43 static void modifyGeofences(LocationAPI* client, size_t count, uint32_t* ids, 45 static void pauseGeofences(LocationAPI* client, size_t count, uint32_t* ids); 46 static void resumeGeofences(LocationAPI* client, size_t count, uint32_t* ids); 117 static void removeGeofences(LocationAPI* client, size_t count, uint32_t* ids) in removeGeofences() argument 120 return gGeofenceAdapter->removeGeofencesCommand(client, count, ids); in removeGeofences() 124 static void modifyGeofences(LocationAPI* client, size_t count, uint32_t* ids, in modifyGeofences() argument 132 static void pauseGeofences(LocationAPI* client, size_t count, uint32_t* ids) in pauseGeofences() argument 135 return gGeofenceAdapter->pauseGeofencesCommand(client, count, ids); in pauseGeofences() 139 static void resumeGeofences(LocationAPI* client, size_t count, uint32_t* ids) in resumeGeofences() argument [all …]
|
/aosp12/hardware/qcom/sm7250/gps/geofence/ |
H A D | location_geofence.cpp | 42 static void removeGeofences(LocationAPI* client, size_t count, uint32_t* ids); 43 static void modifyGeofences(LocationAPI* client, size_t count, uint32_t* ids, 45 static void pauseGeofences(LocationAPI* client, size_t count, uint32_t* ids); 46 static void resumeGeofences(LocationAPI* client, size_t count, uint32_t* ids); 117 static void removeGeofences(LocationAPI* client, size_t count, uint32_t* ids) in removeGeofences() argument 120 return gGeofenceAdapter->removeGeofencesCommand(client, count, ids); in removeGeofences() 124 static void modifyGeofences(LocationAPI* client, size_t count, uint32_t* ids, in modifyGeofences() argument 132 static void pauseGeofences(LocationAPI* client, size_t count, uint32_t* ids) in pauseGeofences() argument 135 return gGeofenceAdapter->pauseGeofencesCommand(client, count, ids); in pauseGeofences() 139 static void resumeGeofences(LocationAPI* client, size_t count, uint32_t* ids) in resumeGeofences() argument [all …]
|
/aosp12/hardware/qcom/sm7150/gps/geofence/ |
H A D | location_geofence.cpp | 42 static void removeGeofences(LocationAPI* client, size_t count, uint32_t* ids); 43 static void modifyGeofences(LocationAPI* client, size_t count, uint32_t* ids, 45 static void pauseGeofences(LocationAPI* client, size_t count, uint32_t* ids); 46 static void resumeGeofences(LocationAPI* client, size_t count, uint32_t* ids); 117 static void removeGeofences(LocationAPI* client, size_t count, uint32_t* ids) in removeGeofences() argument 120 return gGeofenceAdapter->removeGeofencesCommand(client, count, ids); in removeGeofences() 124 static void modifyGeofences(LocationAPI* client, size_t count, uint32_t* ids, in modifyGeofences() argument 132 static void pauseGeofences(LocationAPI* client, size_t count, uint32_t* ids) in pauseGeofences() argument 135 return gGeofenceAdapter->pauseGeofencesCommand(client, count, ids); in pauseGeofences() 139 static void resumeGeofences(LocationAPI* client, size_t count, uint32_t* ids) in resumeGeofences() argument [all …]
|
/aosp12/hardware/qcom/sm8150/gps/geofence/ |
H A D | location_geofence.cpp | 42 static void removeGeofences(LocationAPI* client, size_t count, uint32_t* ids); 43 static void modifyGeofences(LocationAPI* client, size_t count, uint32_t* ids, 45 static void pauseGeofences(LocationAPI* client, size_t count, uint32_t* ids); 46 static void resumeGeofences(LocationAPI* client, size_t count, uint32_t* ids); 117 static void removeGeofences(LocationAPI* client, size_t count, uint32_t* ids) in removeGeofences() argument 120 return gGeofenceAdapter->removeGeofencesCommand(client, count, ids); in removeGeofences() 124 static void modifyGeofences(LocationAPI* client, size_t count, uint32_t* ids, in modifyGeofences() argument 132 static void pauseGeofences(LocationAPI* client, size_t count, uint32_t* ids) in pauseGeofences() argument 135 return gGeofenceAdapter->pauseGeofencesCommand(client, count, ids); in pauseGeofences() 139 static void resumeGeofences(LocationAPI* client, size_t count, uint32_t* ids) in resumeGeofences() argument [all …]
|
/aosp12/hardware/qcom/gps/msm8998/location/ |
H A D | LocationAPIClientBase.h | 80 uint32_t locAPIAddGeofences(size_t count, uint32_t* ids, 82 void locAPIRemoveGeofences(size_t count, uint32_t* ids); 84 void locAPIPauseGeofences(size_t count, uint32_t* ids); 322 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse() 323 free(ids); in onCollectiveResponse() 336 mAPI.onRemoveGeofencesCb(count, errors, ids); in onCollectiveResponse() 337 free(ids); in onCollectiveResponse() 350 free(ids); in onCollectiveResponse() 362 mAPI.onPauseGeofencesCb(count, errors, ids); in onCollectiveResponse() 363 free(ids); in onCollectiveResponse() [all …]
|
/aosp12/hardware/qcom/sdm845/gps/msm8998/location/ |
H A D | LocationAPIClientBase.h | 80 uint32_t locAPIAddGeofences(size_t count, uint32_t* ids, 82 void locAPIRemoveGeofences(size_t count, uint32_t* ids); 84 void locAPIPauseGeofences(size_t count, uint32_t* ids); 322 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse() 323 free(ids); in onCollectiveResponse() 336 mAPI.onRemoveGeofencesCb(count, errors, ids); in onCollectiveResponse() 337 free(ids); in onCollectiveResponse() 350 free(ids); in onCollectiveResponse() 362 mAPI.onPauseGeofencesCb(count, errors, ids); in onCollectiveResponse() 363 free(ids); in onCollectiveResponse() [all …]
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/data/ |
H A D | CustomRingtoneDAO.kt | 46 val ids = getRingtoneIds(prefs) regex 47 ids.add(id.toString()) 53 .putStringSet(RINGTONE_IDS, ids) 63 val ids = getRingtoneIds(prefs) regex 64 ids.remove(id.toString()) 70 if (ids.isEmpty()) { 74 putStringSet(RINGTONE_IDS, ids) 84 val ids: Set<String> = prefs.getStringSet(RINGTONE_IDS, emptySet<String>())!! 85 val ringtones: MutableList<CustomRingtone> = ArrayList(ids.size) 87 for (id in ids) {
|
/aosp12/hardware/qcom/sm7150/gps/location/ |
H A D | LocationAPIClientBase.h | 178 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse() 187 mAPI.onGnssGetConfigCb(count, errors, ids); in onCollectiveResponse() 492 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse() 493 free(ids); in onCollectiveResponse() 511 free(ids); in onCollectiveResponse() 529 mAPI.onModifyGeofencesCb(count, errors, ids); in onCollectiveResponse() 530 free(ids); in onCollectiveResponse() 543 mAPI.onPauseGeofencesCb(count, errors, ids); in onCollectiveResponse() 544 free(ids); in onCollectiveResponse() 557 mAPI.onResumeGeofencesCb(count, errors, ids); in onCollectiveResponse() [all …]
|
H A D | LocationAPIClientBase.cpp | 62 onCtrlCollectiveResponseCb(count, errors, ids); in LocationAPIControlClient() 204 size_t count, LocationError* errors, uint32_t* ids) in onCtrlCollectiveResponseCb() argument 215 request->onCollectiveResponse(count, errors, ids); in onCtrlCollectiveResponseCb() 293 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 822 uint32_t* backup = geofenceBreachNotification.ids; in beforeGeofenceBreachCb() 826 if (ids == NULL) { in beforeGeofenceBreachCb() 847 ids[count] = id; in beforeGeofenceBreachCb() 852 geofenceBreachNotification.ids = ids; in beforeGeofenceBreachCb() 863 geofenceBreachNotification.ids = backup; in beforeGeofenceBreachCb() 865 free(ids); in beforeGeofenceBreachCb() [all …]
|
/aosp12/hardware/qcom/sm8150p/gps/location/ |
H A D | LocationAPIClientBase.h | 178 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse() 187 mAPI.onGnssGetConfigCb(count, errors, ids); in onCollectiveResponse() 492 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse() 493 free(ids); in onCollectiveResponse() 511 free(ids); in onCollectiveResponse() 529 mAPI.onModifyGeofencesCb(count, errors, ids); in onCollectiveResponse() 530 free(ids); in onCollectiveResponse() 543 mAPI.onPauseGeofencesCb(count, errors, ids); in onCollectiveResponse() 544 free(ids); in onCollectiveResponse() 557 mAPI.onResumeGeofencesCb(count, errors, ids); in onCollectiveResponse() [all …]
|
H A D | LocationAPIClientBase.cpp | 62 onCtrlCollectiveResponseCb(count, errors, ids); in LocationAPIControlClient() 204 size_t count, LocationError* errors, uint32_t* ids) in onCtrlCollectiveResponseCb() argument 215 request->onCollectiveResponse(count, errors, ids); in onCtrlCollectiveResponseCb() 293 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 822 uint32_t* backup = geofenceBreachNotification.ids; in beforeGeofenceBreachCb() 826 if (ids == NULL) { in beforeGeofenceBreachCb() 847 ids[count] = id; in beforeGeofenceBreachCb() 852 geofenceBreachNotification.ids = ids; in beforeGeofenceBreachCb() 863 geofenceBreachNotification.ids = backup; in beforeGeofenceBreachCb() 865 free(ids); in beforeGeofenceBreachCb() [all …]
|
/aosp12/hardware/qcom/sm7250/gps/location/ |
H A D | LocationAPIClientBase.h | 178 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse() 187 mAPI.onGnssGetConfigCb(count, errors, ids); in onCollectiveResponse() 497 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse() 498 free(ids); in onCollectiveResponse() 516 free(ids); in onCollectiveResponse() 534 mAPI.onModifyGeofencesCb(count, errors, ids); in onCollectiveResponse() 535 free(ids); in onCollectiveResponse() 548 mAPI.onPauseGeofencesCb(count, errors, ids); in onCollectiveResponse() 549 free(ids); in onCollectiveResponse() 562 mAPI.onResumeGeofencesCb(count, errors, ids); in onCollectiveResponse() [all …]
|
H A D | LocationAPIClientBase.cpp | 62 onCtrlCollectiveResponseCb(count, errors, ids); in LocationAPIControlClient() 206 size_t count, LocationError* errors, uint32_t* ids) in onCtrlCollectiveResponseCb() argument 217 request->onCollectiveResponse(count, errors, ids); in onCtrlCollectiveResponseCb() 295 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 845 uint32_t* backup = geofenceBreachNotification.ids; in beforeGeofenceBreachCb() 849 if (ids == NULL) { in beforeGeofenceBreachCb() 870 ids[count] = id; in beforeGeofenceBreachCb() 875 geofenceBreachNotification.ids = ids; in beforeGeofenceBreachCb() 886 geofenceBreachNotification.ids = backup; in beforeGeofenceBreachCb() 888 free(ids); in beforeGeofenceBreachCb() [all …]
|
/aosp12/hardware/qcom/sm8150/gps/location/ |
H A D | LocationAPIClientBase.h | 178 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse() 187 mAPI.onGnssGetConfigCb(count, errors, ids); in onCollectiveResponse() 497 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse() 498 free(ids); in onCollectiveResponse() 516 free(ids); in onCollectiveResponse() 534 mAPI.onModifyGeofencesCb(count, errors, ids); in onCollectiveResponse() 535 free(ids); in onCollectiveResponse() 548 mAPI.onPauseGeofencesCb(count, errors, ids); in onCollectiveResponse() 549 free(ids); in onCollectiveResponse() 562 mAPI.onResumeGeofencesCb(count, errors, ids); in onCollectiveResponse() [all …]
|
H A D | LocationAPIClientBase.cpp | 62 onCtrlCollectiveResponseCb(count, errors, ids); in LocationAPIControlClient() 206 size_t count, LocationError* errors, uint32_t* ids) in onCtrlCollectiveResponseCb() argument 217 request->onCollectiveResponse(count, errors, ids); in onCtrlCollectiveResponseCb() 295 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 845 uint32_t* backup = geofenceBreachNotification.ids; in beforeGeofenceBreachCb() 849 if (ids == NULL) { in beforeGeofenceBreachCb() 870 ids[count] = id; in beforeGeofenceBreachCb() 875 geofenceBreachNotification.ids = ids; in beforeGeofenceBreachCb() 886 geofenceBreachNotification.ids = backup; in beforeGeofenceBreachCb() 888 free(ids); in beforeGeofenceBreachCb() [all …]
|
/aosp12/packages/services/Mtp/src/com/android/mtp/ |
H A D | MtpDocumentsService.java | 61 final int[] ids = intent.hasExtra(EXTRA_DEVICE_IDS) ? in onStartCommand() local 66 return updateForegroundState(ids, notifications) ? START_STICKY : START_NOT_STICKY; in onStartCommand() 76 @Nullable int[] ids, @Nullable Notification[] notifications) { in updateForegroundState() 78 final int size = ids != null ? ids.length : 0; in updateForegroundState() 80 Preconditions.checkArgument(ids != null); in updateForegroundState() 82 Preconditions.checkArgument(ids.length == notifications.length); in updateForegroundState() 89 startForeground(ids[i], notifications[i]); in updateForegroundState() 93 mNotificationManager.notify(ids[i], notifications[i]); in updateForegroundState() 95 openedNotification.add(ids[i]); in updateForegroundState()
|
/aosp12/hardware/qcom/gps/msm8909w_3100/location/ |
H A D | LocationAPIClientBase.h | 163 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse() 458 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse() 459 free(ids); in onCollectiveResponse() 473 mAPI.onRemoveGeofencesCb(count, errors, ids); in onCollectiveResponse() 474 free(ids); in onCollectiveResponse() 487 mAPI.onModifyGeofencesCb(count, errors, ids); in onCollectiveResponse() 488 free(ids); in onCollectiveResponse() 501 mAPI.onPauseGeofencesCb(count, errors, ids); in onCollectiveResponse() 502 free(ids); in onCollectiveResponse() 515 mAPI.onResumeGeofencesCb(count, errors, ids); in onCollectiveResponse() [all …]
|
/aosp12/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/ |
H A D | RemoveByDocumentIdRequest.java | 38 RemoveByDocumentIdRequest(String namespace, Set<String> ids) { in RemoveByDocumentIdRequest() argument 40 mIds = ids; in RemoveByDocumentIdRequest() 68 public Builder addIds(@NonNull String... ids) { in addIds() argument 69 Objects.requireNonNull(ids); in addIds() 71 return addIds(Arrays.asList(ids)); in addIds() 76 public Builder addIds(@NonNull Collection<String> ids) { in addIds() argument 77 Objects.requireNonNull(ids); in addIds() 79 mIds.addAll(ids); in addIds()
|
/aosp12/hardware/qcom/sdm845/gps/sdm845/location/ |
H A D | LocationAPIClientBase.h | 178 mAPI.onGnssUpdateConfigCb(count, errors, ids); in onCollectiveResponse() 187 mAPI.onGnssGetConfigCb(count, errors, ids); in onCollectiveResponse() 488 mAPI.onAddGeofencesCb(count, errors, ids); in onCollectiveResponse() 489 free(ids); in onCollectiveResponse() 506 free(ids); in onCollectiveResponse() 524 mAPI.onModifyGeofencesCb(count, errors, ids); in onCollectiveResponse() 525 free(ids); in onCollectiveResponse() 538 mAPI.onPauseGeofencesCb(count, errors, ids); in onCollectiveResponse() 539 free(ids); in onCollectiveResponse() 552 mAPI.onResumeGeofencesCb(count, errors, ids); in onCollectiveResponse() [all …]
|
H A D | LocationAPIClientBase.cpp | 62 onCtrlCollectiveResponseCb(count, errors, ids); in LocationAPIControlClient() 204 size_t count, LocationError* errors, uint32_t* ids) in onCtrlCollectiveResponseCb() argument 215 request->onCollectiveResponse(count, errors, ids); in onCtrlCollectiveResponseCb() 293 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks() 822 uint32_t* backup = geofenceBreachNotification.ids; in beforeGeofenceBreachCb() 826 if (ids == NULL) { in beforeGeofenceBreachCb() 847 ids[count] = id; in beforeGeofenceBreachCb() 852 geofenceBreachNotification.ids = ids; in beforeGeofenceBreachCb() 863 geofenceBreachNotification.ids = backup; in beforeGeofenceBreachCb() 865 free(ids); in beforeGeofenceBreachCb() [all …]
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
H A D | SortingCursorWrapper.java | 50 String[] ids = new String[count]; in SortingCursorWrapper() local 199 String[] ids, in binarySort() argument 206 final String pivotId = ids[start]; in binarySort() 239 compare = pivotId.compareTo(ids[mid]); in binarySort() 280 String[] ids, in binarySort() argument 287 final String pivotId = ids[start]; in binarySort() 323 compare = pivotId.compareTo(ids[mid]); in binarySort() 339 ids[left + 2] = ids[left + 1]; in binarySort() 344 ids[left + 1] = ids[left]; in binarySort() 350 System.arraycopy(ids, left, ids, left + 1, n); in binarySort() [all …]
|