/external/chromium_org/remoting/host/ |
chromoting_host_context_unittest.cc | 13 // A simple test that starts and stop the context. This tests the context 19 scoped_ptr<ChromotingHostContext> context = local 23 EXPECT_TRUE(context); 24 if (!context) 26 EXPECT_TRUE(context->audio_task_runner().get()); 27 EXPECT_TRUE(context->video_capture_task_runner().get()); 28 EXPECT_TRUE(context->video_encode_task_runner().get()); 29 EXPECT_TRUE(context->file_task_runner().get()); 30 EXPECT_TRUE(context->input_task_runner().get()) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowProgressDialog.java | 5 import android.content.Context; 18 public static ProgressDialog show(Context context, CharSequence title, CharSequence message) { 19 return show(context, title, message, false); 23 public static ProgressDialog show(Context context, CharSequence title, CharSequence message, boolean indeterminate) { 24 return show(context, title, message, indeterminate, false, null); 28 public static ProgressDialog show(Context context, CharSequence title, CharSequence message, boolean indeterminate, boolean cancelable) { 29 return show(context, title, message, indeterminate, cancelable, null) [all...] |
ShadowArrayAdapter.java | 3 import android.content.Context; 35 private Context context; field in class:ShadowArrayAdapter 50 public void __constructor__(Context context, int textViewResourceId) { 51 init(context, textViewResourceId, 0, new ArrayList<T>()); 54 public void __constructor__(Context context, int resource, int textViewResourceId) { 55 init(context, resource, textViewResourceId, new ArrayList<T>()); 58 public void __constructor__(Context context, int textViewResourceId, T[] objects) [all...] |
/packages/apps/Dialer/src/com/android/dialer/service/ |
CachedNumberLookupService.java | 4 import android.content.Context; 24 * @param context Valid context 30 public CachedContactInfo lookupCachedContactFromNumber(Context context, String number); 32 public void addContact(Context context, CachedContactInfo info); 36 public boolean addPhoto(Context context, String number, byte[] photo); 42 * @param context Valid contex [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
Recycler.java | 21 import android.content.Context; 65 public static boolean checkForThreadsOverLimit(Context context) { 69 return smsRecycler.anyThreadOverLimit(context) || mmsRecycler.anyThreadOverLimit(context); 72 public void deleteOldMessages(Context context) { 76 if (!isAutoDeleteEnabled(context)) { 80 Cursor cursor = getAllThreads(context); 82 int limit = getMessageLimit(context); [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
manifest.json | 2 "name": "Context Menus Sample",
3 "description": "Shows some of the features of the Context Menus API",
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_open/_locales/en/ |
messages.json | 5 "message": "Download and Open Context Menu Button", 9 "description": "context menu button text"}}
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
VibrationMessageFilter.java | 7 import android.content.Context; 22 private static VibrationMessageFilter create(Context context) { 23 return new VibrationMessageFilter(context); 36 private VibrationMessageFilter(Context context) { 37 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
Cryptlib_AES.py | 15 self.context = cryptlib_py.cryptCreateContext(cryptlib_py.CRYPT_UNUSED, cryptlib_py.CRYPT_ALGO_AES) 16 cryptlib_py.cryptSetAttribute(self.context, cryptlib_py.CRYPT_CTXINFO_MODE, cryptlib_py.CRYPT_MODE_CBC) 17 cryptlib_py.cryptSetAttribute(self.context, cryptlib_py.CRYPT_CTXINFO_KEYSIZE, len(key)) 18 cryptlib_py.cryptSetAttributeString(self.context, cryptlib_py.CRYPT_CTXINFO_KEY, key) 19 cryptlib_py.cryptSetAttributeString(self.context, cryptlib_py.CRYPT_CTXINFO_IV, IV) 22 cryptlib_py.cryptDestroyContext(self.context) 27 cryptlib_py.cryptEncrypt(self.context, bytes) 33 cryptlib_py.cryptDecrypt(self.context, bytes)
|
Cryptlib_TripleDES.py | 16 self.context = cryptlib_py.cryptCreateContext(cryptlib_py.CRYPT_UNUSED, cryptlib_py.CRYPT_ALGO_3DES) 17 cryptlib_py.cryptSetAttribute(self.context, cryptlib_py.CRYPT_CTXINFO_MODE, cryptlib_py.CRYPT_MODE_CBC) 18 cryptlib_py.cryptSetAttribute(self.context, cryptlib_py.CRYPT_CTXINFO_KEYSIZE, len(key)) 19 cryptlib_py.cryptSetAttributeString(self.context, cryptlib_py.CRYPT_CTXINFO_KEY, key) 20 cryptlib_py.cryptSetAttributeString(self.context, cryptlib_py.CRYPT_CTXINFO_IV, IV) 23 cryptlib_py.cryptDestroyContext(self.context) 28 cryptlib_py.cryptEncrypt(self.context, bytes) 34 cryptlib_py.cryptDecrypt(self.context, bytes)
|
/external/libsepol/src/ |
context.h | 6 #include <sepol/policydb/context.h> 10 /* Create a context structure from high level representation */ 18 const context_struct_t * context, 21 /* Create a context structure from string representation */ 27 /* Check if the provided context is valid for this policy */ 29 const context_struct_t * context); 31 /* Extract the context as string */ 34 const context_struct_t * context,
|
/external/chromium_org/cc/output/ |
program_binding.h | 22 void Init(WebKit::WebGraphicsContext3D* context, 25 void Link(WebKit::WebGraphicsContext3D* context); 26 void Cleanup(WebKit::WebGraphicsContext3D* context); 32 unsigned LoadShader(WebKit::WebGraphicsContext3D* context, 35 unsigned CreateShaderProgram(WebKit::WebGraphicsContext3D* context, 38 void CleanupShaders(WebKit::WebGraphicsContext3D* context); 39 bool IsContextLost(WebKit::WebGraphicsContext3D* context); 53 explicit ProgramBinding(WebKit::WebGraphicsContext3D* context, 56 context, 61 void Initialize(WebKit::WebGraphicsContext3D* context, [all...] |
/external/chromium_org/chrome/browser/profiles/ |
incognito_helpers.cc | 12 content::BrowserContext* context) { 13 return static_cast<Profile*>(context)->GetOriginalProfile(); 17 content::BrowserContext* context) { 18 return context;
|
/external/chromium_org/third_party/angle_dx11/src/compiler/ |
glslang.h | 8 extern int glslang_initialize(TParseContext* context); 9 extern int glslang_finalize(TParseContext* context); 14 TParseContext* context); 15 extern int glslang_parse(TParseContext* context);
|
/external/sepolicy/ |
servicemanager.te | 1 # servicemanager - the Binder context manager
|
/packages/apps/Browser/src/com/android/browser/search/ |
SearchEngines.java | 20 import android.content.Context; 32 public static SearchEngine getDefaultSearchEngine(Context context) { 33 return DefaultSearchEngine.create(context); 36 public static List<SearchEngineInfo> getSearchEngineInfos(Context context) { 38 Resources res = context.getResources(); 42 SearchEngineInfo info = new SearchEngineInfo(context, name); 48 public static SearchEngine get(Context context, String name) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AnalyticsLogger.java | 3 import android.content.Context; 13 * @param context need to open backend of logger. 16 public boolean initialize(Context context);
|
/packages/apps/Email/src/com/android/email/service/ |
EmailUpgradeBroadcastReceiver.java | 4 import android.content.Context; 14 public void onReceive(final Context context, final Intent intent) { 15 EmailBroadcastProcessorService.processUpgradeBroadcastIntent(context);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PackageChangedReceiver.java | 4 import android.content.Context; 9 public void onReceive(final Context context, Intent intent) { 16 LauncherApplication app = (LauncherApplication) context.getApplicationContext();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
Version.java | 19 import android.content.Context; 26 static String getVersionName(Context context) { 27 return getPackageInfo(context).versionName; 30 static int getVersionCode(Context context) { 31 return getPackageInfo(context).versionCode; 34 static PackageInfo getPackageInfo(Context context) { 36 PackageManager packageManager = context.getPackageManager() [all...] |
/cts/suite/pts/deviceTests/ptsutil/src/com/android/pts/util/ |
SystemUtil.java | 21 import android.content.Context; 25 public static long getFreeDiskSize(Context context) { 26 StatFs statFs = new StatFs(context.getFilesDir().getAbsolutePath()); 30 public static long getFreeMemory(Context context) { 32 ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 37 public static long getTotalMemory(Context context) { [all...] |
/dalvik/libdex/ |
sha1.h | 15 void SHA1Init(SHA1_CTX* context); 16 void SHA1Update(SHA1_CTX* context, const unsigned char* data, 18 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
|
/external/chromium_org/content/browser/dom_storage/ |
session_storage_namespace_impl.cc | 13 DOMStorageContextWrapper* context) 14 : session_(new DOMStorageSession(context->context())) { 18 DOMStorageContextWrapper* context, int64 namepace_id_to_clone) 19 : session_(DOMStorageSession::CloneFrom(context->context(), 24 DOMStorageContextWrapper* context, const std::string& persistent_id) 25 : session_(new DOMStorageSession(context->context(), persistent_id)) { 49 DOMStorageContextWrapper* context) { [all...] |
/external/libselinux/src/ |
fsetfilecon.c | 10 int fsetfilecon(int fd, const security_context_t context) 12 return fsetxattr(fd, XATTR_NAME_SELINUX, context, strlen(context) + 1,
|
lsetfilecon.c | 10 int lsetfilecon(const char *path, const security_context_t context) 12 return lsetxattr(path, XATTR_NAME_SELINUX, context, strlen(context) + 1,
|