Exploit databaseDownload repository ZIP
GH-50afc00e93ad474caf20584d2a24a90f
trinadh465/frameworks_base_aosp_10_r33_cve-2022-20338
Sources for CVE-2022-20338
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files95
trinadh465/frameworks_base_aosp_10_r33_cve-2022-20338Revision 72b9ea7e203c
- ↑..Parent directory
- aidl/
- compat/
- feature/
- stub/
- ImsCallForwardInfo.aidl
- ImsCallForwardInfo.java
- ImsCallProfile.aidl
- ImsCallProfile.java
- ImsCallSession.java
- ImsCallSessionListener.java
- ImsConferenceState.aidl
- ImsConferenceState.java
- ImsException.java
- ImsExternalCallState.aidl
- ImsExternalCallState.java
- ImsMmTelManager.java
- ImsReasonInfo.aidl
- ImsReasonInfo.java
- ImsService.java
- ImsSsData.aidl
- ImsSsData.java
- ImsSsInfo.aidl
- ImsSsInfo.java
- ImsStreamMediaProfile.aidl
- ImsStreamMediaProfile.java
- ImsSuppServiceNotification.aidl
- ImsSuppServiceNotification.java
- ImsUtListener.java
- ImsVideoCallProvider.java
- ProvisioningManager.java
- Rcs1To1Thread.java
- RcsControllerCall.java
- RcsEvent.java
- RcsEventDescriptor.aidl
- RcsEventDescriptor.java
- RcsEventQueryParams.aidl
- RcsEventQueryParams.java
- RcsEventQueryResult.java
- RcsEventQueryResultDescriptor.aidl
- RcsEventQueryResultDescriptor.java
- RcsFileTransferCreationParams.aidl
- RcsFileTransferCreationParams.java
- RcsFileTransferPart.java
- RcsGroupThread.java
- RcsGroupThreadEvent.java
- RcsGroupThreadEventDescriptor.aidl
- RcsGroupThreadEventDescriptor.java
- RcsGroupThreadIconChangedEvent.java
- RcsGroupThreadIconChangedEventDescriptor.aidl
- RcsGroupThreadIconChangedEventDescriptor.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
telephony/java/android/telephony/ims/RcsGroupThreadIconChangedEvent.java
Java · 2,797 bytes/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.telephony.ims;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.net.Uri;
/**
* An event that indicates an {@link RcsGroupThread}'s icon was changed. Please see R6-2-5 - GSMA
* RCC.71 (RCS Universal Profile Service Definition Document)
*
* @hide
*/
public final class RcsGroupThreadIconChangedEvent extends RcsGroupThreadEvent {
private final Uri mNewIcon;
/**
* Creates a new {@link RcsGroupThreadIconChangedEvent}. This event is not persisted into
* storage until {@link RcsMessageStore#persistRcsEvent(RcsEvent)} is called.
*
* @param timestamp The timestamp of when this event happened, in milliseconds passed after
* midnight, January 1st, 1970 UTC
* @param rcsGroupThread The {@link RcsGroupThread} that this event happened on
* @param originatingParticipant The {@link RcsParticipant} that changed the
* {@link RcsGroupThread}'s icon.
* @param newIcon {@link Uri} to the new icon of this {@link RcsGroupThread}
* @see RcsMessageStore#persistRcsEvent(RcsEvent)
*/
public RcsGroupThreadIconChangedEvent(long timestamp,
@NonNull RcsGroupThread rcsGroupThread, @NonNull RcsParticipant originatingParticipant,
@Nullable Uri newIcon) {
super(timestamp, rcsGroupThread, originatingParticipant);
mNewIcon = newIcon;
}
/**
* @return Returns the {@link Uri} to the icon of the {@link RcsGroupThread} after this
* {@link RcsGroupThreadIconChangedEvent} occured.
*/
@Nullable
public Uri getNewIcon() {
return mNewIcon;
}
/**
* Persists the event to the data store.
*
* @hide - not meant for public use.
*/
@Override
void persist(RcsControllerCall rcsControllerCall) throws RcsMessageStoreException {
// TODO ensure failure throws
rcsControllerCall.call((iRcs, callingPackage) -> iRcs.createGroupThreadIconChangedEvent(
getTimestamp(), getRcsGroupThread().getThreadId(),
getOriginatingParticipant().getId(), mNewIcon, callingPackage));
}
}