/external/libmojo/base/android/java/src/org/chromium/base/ |
D | BuildInfo.java | 10 import android.content.pm.PackageManager; 11 import android.content.pm.PackageManager.NameNotFoundException; 71 PackageManager packageManager = context.getPackageManager(); in getGMSVersionCode() 84 PackageManager pm = context.getPackageManager(); in getPackageVersionCode() 100 PackageManager pm = context.getPackageManager(); in getPackageVersionName() 117 PackageManager packageManager = context.getPackageManager(); in getPackageLabel() 119 PackageManager.GET_META_DATA); in getPackageLabel()
|
D | PackageUtils.java | 9 import android.content.pm.PackageManager; 24 PackageManager pm = context.getPackageManager(); in getPackageVersion() 28 } catch (PackageManager.NameNotFoundException e) { in getPackageVersion()
|
D | ResourceExtractor.java | 11 import android.content.pm.PackageManager; 176 PackageManager pm = mContext.getPackageManager(); in getApkVersion() 181 } catch (PackageManager.NameNotFoundException e) { in getApkVersion()
|
D | ApiCompatibilityUtils.java | 14 import android.content.pm.PackageManager; 449 PackageManager packageManager = context.getPackageManager(); in getUserBadgedIcon() 462 PackageManager packageManager = context.getPackageManager(); in getUserBadgedDrawableForDensity()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowContextWrapper.java | 13 import android.content.pm.PackageManager; 26 import static android.content.pm.PackageManager.PERMISSION_DENIED; 27 import static android.content.pm.PackageManager.PERMISSION_GRANTED; 36 private PackageManager packageManager; 124 public PackageManager getPackageManager() { in getPackageManager() 224 public void setPackageManager(PackageManager packageManager) { in setPackageManager()
|
D | ShadowResolveInfo.java | 4 import android.content.pm.PackageManager; 17 public String loadLabel( PackageManager mgr ) { return label; } in loadLabel()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
D | RobolectricPackageManagerTest.java | 17 import android.content.pm.PackageManager; 163 assertThat(rpm.hasSystemFeature(PackageManager.FEATURE_CAMERA), equalTo(false)); in hasSystemFeature() 166 rpm.setSystemFeature(PackageManager.FEATURE_CAMERA, true); in hasSystemFeature() 167 assertThat(rpm.hasSystemFeature(PackageManager.FEATURE_CAMERA), equalTo(true)); in hasSystemFeature() 170 rpm.setSystemFeature(PackageManager.FEATURE_CAMERA, false); in hasSystemFeature() 171 assertThat(rpm.hasSystemFeature(PackageManager.FEATURE_CAMERA), equalTo(false)); in hasSystemFeature()
|
/external/devlib/src/netstats/src/com/arm/devlib/trafficcatcher/ |
D | TrafficMetricsService.java | 16 import android.content.pm.PackageManager; 25 private PackageManager pm; 30 public TrafficPoller(String tag, PackageManager pm, int period, List<String> packages) { in TrafficPoller() 63 } catch (PackageManager.NameNotFoundException e) { in getPakagesInfo()
|
/external/glide/library/src/main/java/com/bumptech/glide/manager/ |
D | ConnectivityMonitorFactory.java | 4 import android.content.pm.PackageManager; 14 final boolean hasPermission = res == PackageManager.PERMISSION_GRANTED; in build()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/ |
D | Version.java | 21 import android.content.pm.PackageManager; 33 } catch (PackageManager.NameNotFoundException e) { in getVersion()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | MultiTouchFilter.java | 4 import android.content.pm.PackageManager; 36 PackageManager packageManager = context.getPackageManager(); in supportsMultitouch()
|
/external/glide/library/src/main/java/com/bumptech/glide/signature/ |
D | ApplicationVersionSignature.java | 5 import android.content.pm.PackageManager; 47 } catch (PackageManager.NameNotFoundException e) { in obtainVersionSignature()
|
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioManager.java | 15 import android.content.pm.PackageManager; 155 PackageManager.FEATURE_TELEPHONY); in hasEarpiece() 162 PackageManager.FEATURE_AUDIO_LOW_LATENCY); in isLowLatencyOutputSupported()
|
D | WebRtcAudioUtils.java | 14 import android.content.pm.PackageManager; 200 Process.myUid()) == PackageManager.PERMISSION_GRANTED; in hasPermission()
|
/external/vogar/src/vogar/target/ |
D | TestActivity.java | 21 import android.content.pm.PackageManager; 57 } catch (PackageManager.NameNotFoundException nfe) { in onCreate()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/interpreter/ |
D | InterpreterConfiguration.java | 25 import android.content.pm.PackageManager; 28 import android.content.pm.PackageManager.NameNotFoundException; 62 private final PackageManager mmPackageManager; 151 packInfo = mmPackageManager.getPackageInfo(packageName, PackageManager.GET_PROVIDERS); in buildInterpreter()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | MainActivity.java | 23 import android.content.pm.PackageManager; 423 if (currentPermission == PackageManager.PERMISSION_GRANTED) { in attemptSaveAndShareLog() 436 if (currentPermission == PackageManager.PERMISSION_GRANTED) { in attemptSaveLog() 448 if (currentPermission == PackageManager.PERMISSION_GRANTED) { in attemptClearLog() 460 … isPermissionGranted = grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRA… in onRequestPermissionsResult() 607 if (currentPermission != PackageManager.PERMISSION_GRANTED) { in requestSystraceWritePermission()
|
D | AudioFragment.java | 23 import android.content.pm.PackageManager; 216 if (currentPermission == PackageManager.PERMISSION_GRANTED) { in attemptRecordingTest() 229 … if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { in onRequestPermissionsResult()
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/ |
D | MockContext.java | 21 import android.content.pm.PackageManager; 59 public PackageManager getPackageManager() { in getPackageManager() 424 … public Context createPackageContext(String s, int i) throws PackageManager.NameNotFoundException { in createPackageContext()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | ApplicationManagerFacade.java | 24 import android.content.pm.PackageManager; 49 private final PackageManager mPackageManager;
|
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | AppRTCAudioManager.java | 19 import android.content.pm.PackageManager; 290 PackageManager.FEATURE_TELEPHONY); in hasEarpiece()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ContextWrapperTest.java | 19 import static android.content.pm.PackageManager.PERMISSION_DENIED; 20 import static android.content.pm.PackageManager.PERMISSION_GRANTED;
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | Volley.java | 21 import android.content.pm.PackageManager.NameNotFoundException;
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | LoopbackApplication.java | 21 import android.content.pm.PackageManager; 386 } catch (PackageManager.NameNotFoundException e) { in getSystemInfo()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | NetworkMonitorAutoDetect.java | 38 import android.content.pm.PackageManager; 227 == PackageManager.PERMISSION_GRANTED; in WifiManagerDelegate()
|