This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package p000; | |
import android.content.Context; | |
import android.content.pm.ApplicationInfo; | |
import android.content.pm.PackageInfo; | |
import android.content.pm.PackageManager; | |
import android.os.Parcel; | |
import android.os.RemoteException; | |
import android.os.StrictMode; | |
import android.util.Log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final Bundle mo10213a(ury uryVar) { | |
if (((amnn) lcr.f119362bx).mo44601a().booleanValue()) { | |
Object obj = uryVar.f150338c; | |
String[] strArr = f136215d; | |
for (int i = 0; i < 5; i++) { | |
if (!strArr[i].equals(obj)) { | |
} | |
} | |
return null; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.google.android.finsky.installapi; | |
import android.app.Service; | |
import android.content.Intent; | |
import android.os.IBinder; | |
public class PlayInstallService extends Service { | |
public jav f83281a; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class w71 implements y71 { | |
/* renamed from: u */ | |
public final IBinder f26939u; | |
public w71(IBinder iBinder) { | |
this.f26939u = iBinder; | |
} | |
@Override // android.os.IInterface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class playServiceConnection implements ServiceConnection { | |
/* renamed from: u */ | |
public final /* synthetic */ GooglePlayWebApkInstallDelegate f16160u; | |
public playServiceConnection(GooglePlayWebApkInstallDelegate googlePlayWebApkInstallDelegate) { | |
this.f16160u = googlePlayWebApkInstallDelegate; | |
} | |
@Override // android.content.ServiceConnection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final void installWebApk(String packageName, int version, String title, String token, Callback callback, boolean z) { | |
boolean z2; | |
Object obj = ThreadUtils.a; | |
Bundle bundle = new Bundle(); | |
bundle.putInt("version_number", version); | |
bundle.putString("title", title); | |
bundle.putParcelable("notification_intent", new Intent()); | |
bundle.putString("wam_token", token); | |
processor processorVar = new processor(new token_process(this, packageName, bundle), new callback_func(this, packageName, callback), packageName, z); | |
this.hashmap.put(packageName, processorVar); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@CalledByNative | |
private void installWebApkAsync(final String packageName, int version, final String title, | |
String token, final int source, final Bitmap icon) { | |
// Check whether the WebAPK package is already installed. The WebAPK may have been installed | |
// by another Chrome version (e.g. Chrome Dev). We have to do this check because the Play | |
// install API fails silently if the package is already installed. | |
if (isWebApkInstalled(packageName)) { | |
notify(WebApkInstallResult.SUCCESS); | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void WebApkInstaller::OnURLLoaderComplete( | |
std::unique_ptr<std::string> response_body) { | |
timer_.Stop(); | |
int response_code = -1; | |
if (loader_->ResponseInfo() && loader_->ResponseInfo()->headers) | |
response_code = loader_->ResponseInfo()->headers->response_code(); | |
if (!response_body || response_code != net::HTTP_OK) { | |
LOG(WARNING) << base::StringPrintf( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void WebApkInstaller::InstallOrUpdateWebApk(const std::string& package_name, | |
const std::string& token) { | |
webapk_package_ = package_name; | |
JNIEnv* env = base::android::AttachCurrentThread(); | |
base::android::ScopedJavaLocalRef<jstring> java_webapk_package = | |
base::android::ConvertUTF8ToJavaString(env, webapk_package_); | |
base::android::ScopedJavaLocalRef<jstring> java_title = | |
base::android::ConvertUTF16ToJavaString(env, short_name_); | |
base::android::ScopedJavaLocalRef<jstring> java_token = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void WebApkInstaller::SendRequest( | |
const net::NetworkTrafficAnnotationTag& traffic_annotation, | |
const std::string& serialized_proto) { | |
DCHECK(server_url_.is_valid()); | |
timer_.Start( | |
FROM_HERE, base::Milliseconds(webapk_server_timeout_ms_), | |
base::BindOnce(&WebApkInstaller::OnResult, weak_ptr_factory_.GetWeakPtr(), | |
webapps::WebApkInstallResult::REQUEST_TIMEOUT)); |
NewerOlder