/packages/providers/MediaProvider/jni/ |
D | FuseDaemon.cpp | 81 << "] (uid=" << __req->ctx.uid << ") " 405 const struct fuse_ctx* ctx = fuse_req_ctx(req); in make_node_entry() local 531 … if (!fuse->IsRoot(parent_node) && !is_app_accessible_path(fuse->mp, parent_path, req->ctx.uid)) { in do_lookup() 607 if (!is_app_accessible_path(fuse->mp, path, req->ctx.uid)) { in pf_getattr() 636 if (!is_app_accessible_path(fuse->mp, path, req->ctx.uid)) { in pf_setattr() 647 const struct fuse_ctx* ctx = fuse_req_ctx(req); in pf_setattr() local 648 int status = fuse->mp->IsOpenAllowed(path, ctx->uid, true); in pf_setattr() 724 if (node && is_app_accessible_path(fuse->mp, path, req->ctx.uid)) { in pf_canonical_path() 745 if (!is_app_accessible_path(fuse->mp, parent_path, req->ctx.uid)) { in pf_mknod() 781 const struct fuse_ctx* ctx = fuse_req_ctx(req); in pf_mkdir() local [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | LinkablePreference.java | 44 public LinkablePreference(Context ctx, AttributeSet attrs, int defStyle) { in LinkablePreference() argument 45 super(ctx, attrs, defStyle); in LinkablePreference() 50 public LinkablePreference(Context ctx, AttributeSet attrs) { in LinkablePreference() argument 51 this(ctx, attrs, TypedArrayUtils.getAttr( in LinkablePreference() 52 ctx, R.attr.footerPreferenceStyle, android.R.attr.preferenceStyle)); in LinkablePreference() 55 public LinkablePreference(Context ctx) { in LinkablePreference() argument 56 this(ctx, null); in LinkablePreference()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | LinkablePreference.java | 44 public LinkablePreference(Context ctx, AttributeSet attrs, int defStyle) { in LinkablePreference() argument 45 super(ctx, attrs, defStyle); in LinkablePreference() 50 public LinkablePreference(Context ctx, AttributeSet attrs) { in LinkablePreference() argument 51 this(ctx, attrs, TypedArrayUtils.getAttr( in LinkablePreference() 52 ctx, R.attr.footerPreferenceStyle, android.R.attr.preferenceStyle)); in LinkablePreference() 55 public LinkablePreference(Context ctx) { in LinkablePreference() argument 56 this(ctx, null); in LinkablePreference()
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/ |
D | AnomalyActions.java | 43 public static void doAction(Context ctx, String actionCode, long durationMs) { in doAction() argument 50 doUnoptimizedBleScan(ctx, durationMs); in doAction() 53 doHoldWakelock(ctx, durationMs); in doAction() 59 private static void doUnoptimizedBleScan(Context ctx, long durationMs) { in doUnoptimizedBleScan() argument 101 private static void doHoldWakelock(Context ctx, long durationMs) { in doHoldWakelock() argument 102 PowerManager powerManager = ctx.getSystemService(PowerManager.class); in doHoldWakelock()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | Config.java | 114 static void init(Context ctx) { in init() argument 115 if (ctx == null) { in init() 118 Resources resources = ctx.getResources(); in init() 123 getSystemConfigEnabledProfilesForPackage(ctx.getPackageName()); in init() 129 …if (!supported && (config.mClass == HearingAidService.class) && isHearingAidSettingsEnabled(ctx)) { in init() 140 if (supported && !isProfileDisabled(ctx, config.mMask)) { in init()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
D | ColorValueView.java | 57 public ColorValueView(Context ctx, AttributeSet attrs) { in ColorValueView() argument 58 super(ctx, attrs); in ColorValueView() 59 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorValueView() 69 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorValueView() 76 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorValueView()
|
D | ColorBrightnessView.java | 63 public ColorBrightnessView(Context ctx, AttributeSet attrs) { in ColorBrightnessView() argument 64 super(ctx, attrs); in ColorBrightnessView() 65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorBrightnessView() 74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorBrightnessView() 75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorBrightnessView()
|
D | ColorSaturationView.java | 63 public ColorSaturationView(Context ctx, AttributeSet attrs) { in ColorSaturationView() argument 64 super(ctx, attrs); in ColorSaturationView() 65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorSaturationView() 74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorSaturationView() 75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorSaturationView()
|
D | ColorSVRectView.java | 62 public ColorSVRectView(Context ctx, AttributeSet attrs) { in ColorSVRectView() argument 63 super(ctx, attrs); in ColorSVRectView() 65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorSVRectView() 78 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorSVRectView() 79 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorSVRectView()
|
D | ColorHueView.java | 64 public ColorHueView(Context ctx, AttributeSet attrs) { in ColorHueView() argument 65 super(ctx, attrs); in ColorHueView() 66 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorHueView() 74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorHueView() 75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorHueView()
|
D | ColorRectView.java | 67 public ColorRectView(Context ctx, AttributeSet attrs) { in ColorRectView() argument 68 super(ctx, attrs); in ColorRectView() 70 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorRectView() 81 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorRectView() 82 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorRectView()
|
D | ColorCompareView.java | 59 public ColorCompareView(Context ctx, AttributeSet attrs) { in ColorCompareView() argument 60 super(ctx, attrs); in ColorCompareView() 61 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorCompareView() 66 Resources res = ctx.getResources(); in ColorCompareView()
|
D | ColorOpacityView.java | 61 public ColorOpacityView(Context ctx, AttributeSet attrs) { in ColorOpacityView() argument 62 super(ctx, attrs); in ColorOpacityView() 63 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorOpacityView() 72 Resources res = ctx.getResources(); in ColorOpacityView()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapUtils.java | 113 static VCardComposer createFilteredVCardComposer(final Context ctx, final int vcardType, in createFilteredVCardComposer() argument 125 return new VCardComposer(ctx, vType, true); in createFilteredVCardComposer() 141 static String createProfileVCard(Context ctx, final int vcardType, final byte[] filter) { in createProfileVCard() argument 145 composer = createFilteredVCardComposer(ctx, vcardType, filter); in createProfileVCard() 163 static void savePbapParams(Context ctx) { in savePbapParams() argument 164 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(ctx); in savePbapParams() 187 static void fetchPbapParams(Context ctx) { in fetchPbapParams() argument 188 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(ctx); in fetchPbapParams()
|
D | BluetoothPbapConfig.java | 30 public static void init(Context ctx) { in init() argument 31 Resources r = ctx.getResources(); in init()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SetupEncryptionInterstitial.java | 31 public static Intent createStartIntent(Context ctx, int quality, in createStartIntent() argument 33 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality, in createStartIntent() 35 startIntent.setClass(ctx, SetupEncryptionInterstitial.class); in createStartIntent()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/ |
D | ContextSingleton.java | 64 public void grantFullAccess(Context ctx, Uri uri) { in grantFullAccess() argument 66 String currentPackageName = ctx.getApplicationContext().getPackageName(); in grantFullAccess() 69 ctx.getSystemService(SliceManager.class).grantPermissionFromUser( in grantFullAccess()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | SetupEncryptionInterstitial.java | 33 public static Intent createStartIntent(Context ctx, int quality, in createStartIntent() argument 35 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality, in createStartIntent() 37 startIntent.setClass(ctx, SetupEncryptionInterstitial.class); in createStartIntent()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | PlaybackErrorsHelper.java | 117 private String getDisplayedMessage(Context ctx, @Nullable PlaybackStateWrapper state) { in getDisplayedMessage() argument 127 return messageId != null ? ctx.getString(messageId) : ctx.getString( in getDisplayedMessage() 131 return ctx.getString(R.string.default_error_message); in getDisplayedMessage()
|
/packages/apps/Car/Radio/src/com/android/car/radio/widget/ |
D | BandSelectorFlat.java | 105 Context ctx = getContext(); in setType() local 108 btn.setTextColor(ctx.getColor(active in setType() 111 btn.setBackground(ctx.getDrawable(active in setType()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | RealSystemFacade.java | 108 SSLContext ctx = SSLContext.getInstance("TLS"); in getSSLContextForPackage() local 109 ctx.init(null, new TrustManager[] {appConfig.getTrustManager()}, null); in getSSLContextForPackage() 110 return ctx; in getSSLContextForPackage()
|
/packages/apps/Car/Radio/src/com/android/car/radio/platform/ |
D | RadioManagerExt.java | 61 public RadioManagerExt(@NonNull Context ctx) { in RadioManagerExt() argument 62 mContext = Objects.requireNonNull(ctx); in RadioManagerExt() 63 mRadioManager = (RadioManager)ctx.getSystemService(Context.RADIO_SERVICE); in RadioManagerExt()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 577 Context ctx = getContext(); in createWorkspaceLoaderFromAppRestriction() local 582 authority = Settings.Secure.getString(ctx.getContentResolver(), in createWorkspaceLoaderFromAppRestriction() 589 ProviderInfo pi = ctx.getPackageManager().resolveContentProvider(authority, 0); in createWorkspaceLoaderFromAppRestriction() 594 Uri uri = getLayoutUri(authority, ctx); in createWorkspaceLoaderFromAppRestriction() 595 try (InputStream in = ctx.getContentResolver().openInputStream(uri)) { in createWorkspaceLoaderFromAppRestriction() 602 return new AutoInstallsLayout(ctx, widgetHost, mOpenHelper, in createWorkspaceLoaderFromAppRestriction() 603 ctx.getPackageManager().getResourcesForApplication(pi.applicationInfo), in createWorkspaceLoaderFromAppRestriction() 611 public static Uri getLayoutUri(String authority, Context ctx) { in getLayoutUri() argument 612 InvariantDeviceProfile grid = LauncherAppState.getIDP(ctx); in getLayoutUri()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/ |
D | FlingAnimationUtils.java | 46 public FlingAnimationUtils(Context ctx, float maxLengthSeconds) { in FlingAnimationUtils() argument 50 MIN_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density; in FlingAnimationUtils() 52 HIGH_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density; in FlingAnimationUtils()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationAccessSettings.java | 69 final Context ctx = getContext(); in onCreate() local 70 if (UserManager.get(ctx).isManagedProfile()) { in onCreate() 72 Toast.makeText(ctx, R.string.notification_settings_work_profile, Toast.LENGTH_SHORT) in onCreate()
|