/frameworks/base/services/core/java/com/android/server/ |
H A D | ContextHubSystemService.java | 27 public ContextHubSystemService(Context context) { argument 28 super(context); 29 mContextHubService = new ContextHubService(context);
|
/frameworks/base/tools/aapt2/io/ |
H A D | Util.h | 32 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path, 35 bool CopyFileToArchive(IAaptContext* context, IFile* file, const std::string& out_path, 38 bool CopyProtoToArchive(IAaptContext* context, ::google::protobuf::MessageLite* proto_msg,
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
H A D | EthernetService.java | 28 public EthernetService(Context context) { argument 29 super(context); 30 mImpl = new EthernetServiceImpl(context);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | WifiP2pService.java | 34 public WifiP2pService(Context context) { argument 35 super(context); 36 mImpl = new WifiP2pServiceImpl(context);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | TestUtil.java | 36 Context context, NetworkInfo.DetailedState detailedState) { 41 broadcastReceiver.onReceive(context, intent); 48 Context context) { 50 broadcastReceiver.onReceive(context, intent); 57 Context context, int scanAvailable) { 60 broadcastReceiver.onReceive(context, intent); 67 Context context, int wifiState) { 70 broadcastReceiver.onReceive(context, intent); 77 Context context, int apState, int previousState, int error, String ifaceName, 89 broadcastReceiver.onReceive(context, inten 35 sendNetworkStateChanged(BroadcastReceiver broadcastReceiver, Context context, NetworkInfo.DetailedState detailedState) argument 47 sendScanResultsAvailable(BroadcastReceiver broadcastReceiver, Context context) argument 56 sendWifiScanAvailable(BroadcastReceiver broadcastReceiver, Context context, int scanAvailable) argument 66 sendWifiStateChanged(BroadcastReceiver broadcastReceiver, Context context, int wifiState) argument 76 sendWifiApStateChanged(BroadcastReceiver broadcastReceiver, Context context, int apState, int previousState, int error, String ifaceName, int mode) argument 95 sendTetherStateChanged(BroadcastReceiver broadcastReceiver, Context context, ArrayList<String> available, ArrayList<String> active) argument [all...] |
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/ |
H A D | SetupWizardRecyclerLayout.java | 46 public SetupWizardRecyclerLayout(Context context) { argument 47 this(context, 0, 0); 50 public SetupWizardRecyclerLayout(Context context, int template, int containerId) { argument 51 super(context, template, containerId); 52 init(context, null, 0); 55 public SetupWizardRecyclerLayout(Context context, AttributeSet attrs) { argument 56 super(context, attrs); 57 init(context, attrs, 0); 60 public SetupWizardRecyclerLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument 61 super(context, attr 65 init(Context context, AttributeSet attrs, int defStyleAttr) argument [all...] |
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/ |
H A D | GenImageAct.java | 60 public MyGLSurfaceView(Context context) { argument 61 super(context); 63 // Create an OpenGL ES 2.0 context. 67 setRenderer(new GenImage(context));
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
H A D | PermissionChecker.java | 83 * @param context Context for accessing resources. 92 public static int checkPermission(@NonNull Context context, @NonNull String permission, argument 94 if (context.checkPermission(permission, pid, uid) == PackageManager.PERMISSION_DENIED) { 104 String[] packageNames = context.getPackageManager().getPackagesForUid(uid); 111 if (AppOpsManagerCompat.noteProxyOp(context, op, packageName) 123 * @param context Context for accessing resources. 128 public static int checkSelfPermission(@NonNull Context context, argument 130 return checkPermission(context, permission, android.os.Process.myPid(), 131 android.os.Process.myUid(), context.getPackageName()); 138 * @param context Contex 145 checkCallingPermission(@onNull Context context, @NonNull String permission, String packageName) argument 163 checkCallingOrSelfPermission(@onNull Context context, @NonNull String permission) argument [all...] |
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
H A D | SimpleWakefulReceiver.java | 28 public void onReceive(Context context, Intent intent) { argument 30 Intent service = new Intent(context, SimpleWakefulService.class); 34 startWakefulService(context, service);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
H A D | SimpleWakefulReceiver.java | 28 public void onReceive(Context context, Intent intent) { argument 30 Intent service = new Intent(context, SimpleWakefulService.class); 34 startWakefulService(context, service);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDelegateImplV11.java | 28 AppCompatDelegateImplV11(Context context, Window window, AppCompatCallback callback) { argument 29 super(context, window, callback); 38 View callActivityOnCreateView(View parent, String name, Context context, AttributeSet attrs) { argument
|
/frameworks/base/tools/aapt2/cmd/ |
H A D | Dump.cpp | 35 const Source& source, IAaptContext* context) { 37 DeserializeCompiledFileFromPb(pb_file, source, context->GetDiagnostics()); 39 context->GetDiagnostics()->Warn(DiagMessage() << "failed to read compiled file"); 48 void TryDumpFile(IAaptContext* context, const std::string& file_path) { argument 58 context->GetDiagnostics()->Error(DiagMessage(file_path) 65 context->GetDiagnostics()->Error(DiagMessage(file_path) << "invalid resources.arsc.flat"); 69 table = DeserializeTableFromPb(pb_table, Source(file_path), context->GetDiagnostics()); 80 context->GetDiagnostics()->Error(DiagMessage(file_path) 86 BinaryResourceParser parser(context, table.get(), Source(file_path), data->data(), 98 context 34 DumpCompiledFile(const pb::CompiledFile& pb_file, const void* data, size_t len, const Source& source, IAaptContext* context) argument 202 DumpContext context; local [all...] |
H A D | Compile.cpp | 143 static bool LoadInputFilesFromDir(IAaptContext* context, const CompileOptions& options, argument 148 context->GetDiagnostics()->Error(DiagMessage() 167 context->GetDiagnostics()->Error(DiagMessage() 183 context->GetDiagnostics()->Error(DiagMessage() << err_str); 193 static bool CompileTable(IAaptContext* context, const CompileOptions& options, argument 200 context->GetDiagnostics()->Error(DiagMessage(path_data.source) 215 ResourceParser res_parser(context->GetDiagnostics(), &table, path_data.source, path_data.config, 230 if (!pseudolocale_generator.Consume(context, &table)) { 236 table.CreatePackage(context->GetCompilationPackage()); 243 pkg->id = context 348 FlattenXmlToOutStream(IAaptContext* context, const StringPiece& output_path, xml::XmlResource* xmlres, CompiledFileOutputStream* out) argument 369 IsValidFile(IAaptContext* context, const StringPiece& input_path) argument 386 CompileXml(IAaptContext* context, const CompileOptions& options, const ResourcePathData& path_data, IArchiveWriter* writer, const std::string& output_path) argument 466 CompilePng(IAaptContext* context, const CompileOptions& options, const ResourcePathData& path_data, IArchiveWriter* writer, const std::string& output_path) argument 575 CompileFile(IAaptContext* context, const CompileOptions& options, const ResourcePathData& path_data, IArchiveWriter* writer, const std::string& output_path) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | DetailsParallaxDrawable.java | 64 * @param context Context to get resource values. 74 public DetailsParallaxDrawable(Context context, DetailsParallax parallax, argument 77 init(context, parallax, coverDrawable, new ColorDrawable(), coverDrawableParallaxTarget); 82 * @param context Context to get resource values. 93 public DetailsParallaxDrawable(Context context, DetailsParallax parallax, argument 97 init(context, parallax, coverDrawable, bottomDrawable, coverDrawableParallaxTarget); 102 * @param context Context to get resource values. 105 public DetailsParallaxDrawable(Context context, DetailsParallax parallax) { argument 106 int verticalMovementMax = -context.getResources().getDimensionPixelSize( 112 init(context, paralla 115 init(Context context, DetailsParallax parallax, Drawable coverDrawable, Drawable bottomDrawable, ParallaxTarget coverDrawableParallaxTarget) argument 129 getDefaultBackgroundColor(Context context) argument 169 connect(Context context, DetailsParallax parallax, ParallaxTarget coverDrawableParallaxTarget) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | CategoryManager.java | 55 public static CategoryManager get(Context context) { argument 56 return get(context, null); 59 public static CategoryManager get(Context context, String action) { argument 61 sInstance = new CategoryManager(context, action); 66 CategoryManager(Context context, String action) { argument 70 mInterestingConfigChanges.applyNewConfig(context.getResources()); 74 public synchronized DashboardCategory getTilesByCategory(Context context, String categoryKey) { argument 75 return getTilesByCategory(context, categoryKey, TileUtils.SETTING_PKG); 78 public synchronized DashboardCategory getTilesByCategory(Context context, String categoryKey, argument 80 tryInitCategories(context, settingPk 85 getCategories(Context context) argument 89 getCategories(Context context, String settingPkg) argument 94 reloadAllCategories(Context context, String settingPkg) argument 116 tryInitCategories(Context context, String settingPkg) argument 122 tryInitCategories(Context context, boolean forceClearCache, String settingPkg) argument 198 sortCategories(Context context, Map<String, DashboardCategory> categoryByKeyMap) argument 235 sortCategoriesForExternalTiles(Context context, DashboardCategory dashboardCategory) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ImageSwitcher.java | 35 * @param context the application's environment 37 public ImageSwitcher(Context context) argument 39 super(context); 43 * Creates a new empty ImageSwitcher for the given context and with the 46 * @param context the application environment 49 public ImageSwitcher(Context context, AttributeSet attrs) { argument 50 super(context, attrs);
|
H A D | TextSwitcher.java | 37 * @param context the application's environment 39 public TextSwitcher(Context context) { argument 40 super(context); 44 * Creates a new empty TextSwitcher for the given context and with the 47 * @param context the application environment 50 public TextSwitcher(Context context, AttributeSet attrs) { argument 51 super(context, attrs);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearLayoutWithDefaultTouchRecepient.java | 39 public LinearLayoutWithDefaultTouchRecepient(Context context) { argument 40 super(context); 43 public LinearLayoutWithDefaultTouchRecepient(Context context, AttributeSet attrs) { argument 44 super(context, attrs);
|
/frameworks/base/packages/InputDevices/src/com/android/inputdevices/ |
H A D | InputDeviceReceiver.java | 25 public void onReceive(Context context, Intent intent) { argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/ |
H A D | LinkTextView.java | 32 public LinkTextView(Context context) { argument 33 this(context, null); 36 public LinkTextView(Context context, AttributeSet attrs) { argument 37 super(context, attrs);
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | EmergencyCarrierArea.java | 29 public EmergencyCarrierArea(Context context) { argument 30 super(context); 33 public EmergencyCarrierArea(Context context, AttributeSet attrs) { argument 34 super(context, attrs);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
H A D | GlobalActionsImpl.java | 32 public GlobalActionsImpl(Context context) { argument 33 mContext = context; 41 final ContextThemeWrapper context = new ContextThemeWrapper(mContext, 43 mGlobalActions = new GlobalActionsDialog(context, manager);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QuickTileLayout.java | 12 public QuickTileLayout(Context context) { argument 13 this(context, null); 16 public QuickTileLayout(Context context, AttributeSet attrs) { argument 17 super(context, attrs);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
H A D | WakeLock.java | 35 static WakeLock createPartial(Context context, String tag) { argument 36 return wrap(createPartialInner(context, tag)); 40 static PowerManager.WakeLock createPartialInner(Context context, String tag) { argument 41 return context.getSystemService(PowerManager.class)
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | FactoryErrorDialog.java | 26 public FactoryErrorDialog(Context context, CharSequence msg) { argument 27 super(context); 29 setTitle(context.getText(com.android.internal.R.string.factorytest_failed)); 32 context.getText(com.android.internal.R.string.factorytest_reboot),
|