/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
Util.java | 3 import android.content.Context; 21 * Make an announcement which is related to some sort of a context change. Also see 37 final Context context = view.getContext().getApplicationContext(); local 39 accessibilityManager = (AccessibilityManager) context.getSystemService( 40 Context.ACCESSIBILITY_SERVICE); 55 event.setPackageName(context.getPackageName());
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
AccountFilterUtil.java | 19 import android.content.Context; 42 final Context context = filterContainer.getContext(); local 56 context.getString(R.string.listAllContactsInAccount, filter.accountName)); 70 context.getString(R.string.listAllContactsInAccount, filter.accountName));
|
/packages/apps/Dialer/java/com/android/incallui/ |
MotorolaInCallUiNotifier.java | 21 import android.content.Context; 46 private final Context context; field in class:MotorolaInCallUiNotifier 48 MotorolaInCallUiNotifier(Context context) { 49 this.context = context; 75 context.sendBroadcast(intent, PERMISSION_INCOMING_CALL_VISIBILITY_CHANGED);
|
/packages/apps/Settings/src/com/android/settings/deletionhelper/ |
AutomaticStorageManagerDescriptionPreferenceController.java | 17 import android.content.Context; 37 public AutomaticStorageManagerDescriptionPreferenceController(Context context) { 38 super(context); 54 final Context context = preference.getContext(); local 55 ContentResolver cr = context.getContentResolver(); 61 if (freedBytes == 0 || lastRunMillis == 0 || !Utils.isStorageManagerEnabled(context)) { 65 context.getString( 67 Formatter.formatFileSize(context, freedBytes) [all...] |
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
ThemableWidget.class | |
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
BridgeContextTest.java | 31 import android.content.Context; 57 BridgeContext context = new BridgeContext(params.getProjectKey(), metrics, params.getResources(), local 61 context.initResources(); 62 BridgeContext oldContext = RenderActionTestUtil.setBridgeContext(context); 64 Context themeContext = new ContextThemeWrapper(context, style.Theme_Material); 79 context.disposeResources(); 104 BridgeContext context = new BridgeContext(params.getProjectKey(), metrics, params.getResources(), local 108 context.initResources(); 109 BridgeContext oldContext = RenderActionTestUtil.setBridgeContext(context); [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/display/ |
DisplaySettingsFragment.java | 22 import android.content.Context; 61 Context context = getContext(); local 63 TextListItem adaptiveBrightnessItem = new TextListItem(context); 64 adaptiveBrightnessItem.setTitle(context.getString(R.string.auto_brightness_title)); 66 context.getString(R.string.auto_brightness_summary)); 71 Settings.System.putInt(context.getContentResolver(), 77 lineItems.add(new BrightnessLineItem(context));
|
/bionic/libc/system_properties/include/system_properties/ |
context_node.h | 37 ContextNode(const char* context, const char* filename) 38 : context_(context), pa_(nullptr), no_access_(false), filename_(filename) { 52 const char* context() const { function in class:ContextNode
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
NfcDialogs.java | 22 import android.content.Context; 30 static AlertDialog createNotEnabledDialog(final Context context) { 31 return new AlertDialog.Builder(context) 39 context.startActivity(intent); 45 static AlertDialog createNdefPushNotEnabledDialog(final Context context) { 46 return new AlertDialog.Builder(context) 54 context.startActivity(intent); 60 public static AlertDialog createHceTapReaderDialog(final Context context, String message) [all...] |
/cts/hostsidetests/appsecurity/test-apps/EscalateToRuntimePermissions/src/com/android/cts/escalatepermission/ |
PermissionEscalationTest.java | 19 import android.content.Context; 34 Context context = InstrumentationRegistry.getTargetContext(); local 37 PermissionInfo stealAudio1Permission1 = context.getPackageManager() 44 PermissionInfo stealAudio1Permission2 = context.getPackageManager()
|
/cts/hostsidetests/security/securityPatch/CVE-2017-0334/ |
poc.c | 28 void* context; member in struct:drm_tegra_open_channel 39 printf("Leaked ptr is %p\n", open_args.context);
|
/cts/tests/tests/selinux/selinuxTargetSdk25/src/android/security/ |
SELinuxTargetSdkTest.java | 28 * Verify that selinux context is the expected domain based on 32 String context = "u:r:untrusted_app_25:s0:c[0-9]+,c[0-9]+"; local 36 "to the app's selinux context.\n" + 39 appDomainContext(context, msg); 43 * Verify that selinux context is the expected type based on 47 String context = "u:object_r:app_data_file:s0:c[0-9]+,c[0-9]+"; local 49 "must use the app_data_file selinux context and use the levelFrom=all " + 51 "to the app_data_file context.\n" + 54 appDataContext(context, msg);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
QuickContactBadgeTest.java | 23 import android.content.Context; 52 final Context context = new ContextWrapper(InstrumentationRegistry.getTargetContext()) { local 76 QuickContactBadge badge = new QuickContactBadge(context);
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicIntentReceiver.java | 20 import android.content.Context; 34 public void onReceive(Context context, Intent intent) { 36 Toast.makeText(context, "Headphones disconnected.", Toast.LENGTH_SHORT).show(); 39 context.startService(new Intent(MusicService.ACTION_PAUSE)); 49 context.startService(new Intent(MusicService.ACTION_TOGGLE_PLAYBACK)); 52 context.startService(new Intent(MusicService.ACTION_PLAY)); 55 context.startService(new Intent(MusicService.ACTION_PAUSE)); 58 context.startService(new Intent(MusicService.ACTION_STOP)); 61 context.startService(new Intent(MusicService.ACTION_SKIP)) [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
UrlIntentListener.java | 19 import android.content.Context; 36 final Context context = parent.getContext(); local 37 context.startActivity(intent);
|
/device/linaro/bootloader/arm-trusted-firmware/bl31/ |
bl31_context_mgmt.c | 10 #include <context.h> 18 * for the calling CPU that was set as the context for the specified security 32 void cm_set_context(void *context, uint32_t security_state) 36 set_cpu_data(cpu_context[security_state], context); 41 * for the CPU identified by `cpu_idx` that was set as the context for the 57 void cm_set_context_by_index(unsigned int cpu_idx, void *context, 62 set_cpu_data_by_index(cpu_idx, cpu_context[security_state], context); 67 * These context management helpers are deprecated but are maintained for use 75 * for the CPU identified by MPIDR that was set as the context for the specified 89 void cm_set_context_by_mpidr(uint64_t mpidr, void *context, uint32_t security_state 94 context, security_state); local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
FuncLocalPart.java | 39 * @param xctxt The current execution context. 47 int context = getArg0AsNode(xctxt); local 48 if(DTM.NULL == context) 50 DTM dtm = xctxt.getDTM(context); 51 String s = (context != DTM.NULL) ? dtm.getLocalName(context) : "";
|
/external/compiler-rt/test/cfi/ |
base-derived-destructor.cpp | 67 T* context() { return static_cast<T*>(this); } function in class:A 70 break_optimization(context());
|
/external/dhcpcd-6.8.2/crypt/ |
hmac_md5.c | 55 MD5_CTX context; local 59 MD5Init(&context); 60 MD5Update(&context, key, (unsigned int)key_len); 61 MD5Final(tk, &context); 79 MD5Init(&context); 80 MD5Update(&context, k_ipad, HMAC_PAD_LEN); 81 MD5Update(&context, text, (unsigned int)text_len); 82 MD5Final(digest, &context); 85 MD5Init(&context); 86 MD5Update(&context, k_opad, HMAC_PAD_LEN) [all...] |
/external/droiddriver/src/io/appium/droiddriver/uiautomation/ |
UiAutomationUiDevice.java | 31 private final UiAutomationContext context; field in class:UiAutomationUiDevice 33 UiAutomationUiDevice(UiAutomationContext context) { 34 this.context = context; 40 return context.callUiAutomation(new UiAutomationCallable<Bitmap>() { 56 return context;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/ |
MediaStoreStreamLoader.java | 3 import android.content.Context; 21 private final Context context; field in class:MediaStoreStreamLoader 24 public MediaStoreStreamLoader(Context context, ModelLoader<Uri, InputStream> uriLoader) { 25 this.context = context; 31 return new MediaStoreThumbFetcher(context, model, uriLoader.getResourceFetcher(model, width, height), width,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
BidiClassifier.java | 51 protected Object context; field in class:BidiClassifier 54 * @param context Context for this classifier instance. 57 public BidiClassifier(Object context) { 58 this.context = context; 62 * Sets classifier context, which can be used either by a caller or 65 * @param context Context for this classifier instance. 68 public void setContext(Object context) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
BidiClassifier.java | 51 protected Object context; field in class:BidiClassifier 54 * @param context Context for this classifier instance. 58 public BidiClassifier(Object context) { 59 this.context = context; 63 * Sets classifier context, which can be used either by a caller or 66 * @param context Context for this classifier instance. 70 public void setContext(Object context) { [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/ |
UnsolvedSymbolException.java | 31 private String context; field in class:UnsolvedSymbolException 34 public UnsolvedSymbolException(String name, String context) { 35 super("Unsolved symbol in " + context + " : " + name); 36 this.context = context; 42 this.context = "unknown"; 49 "context='" + context + '\'' +
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/ |
UnsolvedSymbolException.java | 19 import com.github.javaparser.symbolsolver.core.resolution.Context; 31 private String context; field in class:UnsolvedSymbolException 43 public UnsolvedSymbolException(Context context, String name) { 44 super("Unsolved symbol in " + context + " : " + name); 45 this.context = context.toString(); 50 public UnsolvedSymbolException(String context, String name) { 51 super("Unsolved symbol in " + context + " : " + name); 52 this.context = context [all...] |