HomeSort by relevance Sort by last modified time
    Searched full:newcontext (Results 1 - 25 of 75) sorted by null

1 2 3

  /system/core/toolbox/
restorecon.c 25 char *oldcontext, *newcontext; local
32 if (selabel_lookup(sehandle, &newcontext, pathname, sb->st_mode) < 0) {
37 if (strcmp(newcontext, "<<none>>") &&
38 strcmp(oldcontext, newcontext)) {
40 printf("Relabeling %s from %s to %s.\n", pathname, oldcontext, newcontext);
42 if (lsetfilecon(pathname, newcontext) < 0) {
44 pathname, newcontext, strerror(errno));
50 freecon(newcontext);
  /external/chromium_org/webkit/browser/fileapi/
obfuscated_file_util_unittest.cc 174 FileSystemOperationContext* NewContext(
258 scoped_ptr<FileSystemOperationContext> context(NewContext(NULL));
289 scoped_ptr<FileSystemOperationContext> context(NewContext(NULL));
322 context.reset(NewContext(NULL));
335 context.reset(NewContext(NULL));
340 context.reset(NewContext(NULL));
354 context.reset(NewContext(NULL));
362 context.reset(NewContext(NULL));
432 context.reset(NewContext(NULL));
443 context.reset(NewContext(NULL))
    [all...]
local_file_util_unittest.cc 50 FileSystemOperationContext* NewContext() {
71 scoped_ptr<FileSystemOperationContext> context(NewContext());
97 scoped_ptr<FileSystemOperationContext> context(NewContext());
106 scoped_ptr<FileSystemOperationContext> context(NewContext());
135 scoped_ptr<FileSystemOperationContext> context(NewContext());
159 scoped_ptr<FileSystemOperationContext> context(NewContext());
191 scoped_ptr<FileSystemOperationContext> context(NewContext());
214 scoped_ptr<FileSystemOperationContext> context(NewContext());
245 context.reset(NewContext());
262 context.reset(NewContext());
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
PhoneLayoutInflater.java 45 protected PhoneLayoutInflater(LayoutInflater original, Context newContext) {
46 super(original, newContext);
69 public LayoutInflater cloneInContext(Context newContext) {
70 return new PhoneLayoutInflater(this, newContext);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLayoutInflater.java 77 @Override public LayoutInflater cloneInContext(Context newContext) {
78 return bind(new MyLayoutInflater(newContext), newContext);
  /frameworks/base/core/java/android/preference/
PreferenceInflater.java 53 PreferenceInflater(GenericInflater<Preference, PreferenceGroup> original, PreferenceManager preferenceManager, Context newContext) {
54 super(original, newContext);
59 public GenericInflater<Preference, PreferenceGroup> cloneInContext(Context newContext) {
60 return new PreferenceInflater(this, mPreferenceManager, newContext);
GenericInflater.java 118 * @param newContext The new Context to use.
120 protected GenericInflater(GenericInflater<T,P> original, Context newContext) {
121 mContext = newContext;
131 * @param newContext The new Context to associate with the new inflater.
137 public abstract GenericInflater cloneInContext(Context newContext);
  /external/chromium_org/third_party/WebKit/Source/core/platform/mac/
LocalCurrentGraphicsContext.mm 43 NSGraphicsContext* newContext = [NSGraphicsContext graphicsContextWithGraphicsPort:cgContext flipped:YES];
44 [NSGraphicsContext setCurrentContext:newContext];
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLContextTest.java 53 SSLContext newContext = SSLContext.getInstance(protocol);
54 assertNotNull(newContext);
55 assertNotSame(oldContext, newContext);
56 SSLContext.setDefault(newContext);
57 assertSame(newContext, SSLContext.getDefault());
  /external/libsepol/src/
services.c 578 newcontext)
588 context_to_string(NULL, policydb, newcontext, &n, &nlen);
604 context_struct_t *scontext = 0, *tcontext = 0, newcontext; local
624 context_init(&newcontext);
631 newcontext.user = scontext->user;
635 newcontext.user = tcontext->user;
643 newcontext.role = scontext->role;
644 newcontext.type = scontext->type;
648 newcontext.role = OBJECT_R_VAL;
650 newcontext.type = tcontext->type
    [all...]
mls.h 62 uint32_t specified, context_struct_t * newcontext);
mls.c 609 uint32_t specified, context_struct_t * newcontext)
623 return mls_range_set(newcontext,
631 return mls_copy_context(newcontext, scontext);
634 return mls_scopy_context(newcontext, scontext);
638 if (newcontext->type != tcontext->type) {
640 return mls_scopy_context(newcontext, scontext);
643 return mls_copy_context(newcontext, tcontext);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
PaintInfo.h 53 PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase newPhase, PaintBehavior newPaintBehavior,
56 : context(newContext)
  /external/jmonkeyengine/engine/src/core/com/jme3/system/
JmeSystem.java 116 public static JmeContext newContext(AppSettings settings, JmeContext.Type contextType) {
118 return systemDelegate.newContext(settings, contextType);
  /external/chromium_org/third_party/mesa/src/src/glx/apple/
apple_glx_pbuffer.c 203 CGLContextObj newcontext; local
220 err = apple_cgl.create_context(pfobj, NULL, &newcontext);
233 err = apple_cgl.set_current_context(newcontext);
245 apple_cgl.destroy_context(newcontext);
  /external/mesa3d/src/glx/apple/
apple_glx_pbuffer.c 203 CGLContextObj newcontext; local
220 err = apple_cgl.create_context(pfobj, NULL, &newcontext);
233 err = apple_cgl.set_current_context(newcontext);
245 apple_cgl.destroy_context(newcontext);
  /frameworks/base/tools/layoutlib/bridge/src/android/view/
BridgeInflater.java 61 protected BridgeInflater(LayoutInflater original, Context newContext) {
62 super(original, newContext);
269 public LayoutInflater cloneInContext(Context newContext) {
270 return new BridgeInflater(this, newContext);
  /external/chromium_org/third_party/WebKit/Source/core/platform/text/
TextBreakIteratorICU.cpp 239 TextContext newContext = textGetContext(text, nativeIndex, forward);
240 ASSERT(newContext != NoContext);
241 if (newContext == currentContext) {
247 } else if (newContext == PrimaryContext) {
250 ASSERT(newContext == PriorContext);
362 TextContext newContext = textGetContext(text, nativeIndex, forward);
363 ASSERT(newContext != NoContext);
364 if (newContext == currentContext) {
370 } else if (newContext == PrimaryContext) {
373 ASSERT(newContext == PriorContext)
    [all...]
  /external/libselinux/src/
android.c 660 char* newcontext = NULL; local
678 if (selabel_lookup(sehandle, &newcontext, pathname, sb.st_mode) < 0)
681 if (strcmp(newcontext, "<<none>>") && strcmp(oldcontext, newcontext))
682 if (lsetfilecon(pathname, newcontext) < 0)
689 if (newcontext)
690 freecon(newcontext);
  /cts/tests/tests/view/src/android/view/cts/
LayoutInflaterTest.java 371 public MockLayoutInflater(LayoutInflater original, Context newContext) {
372 super(original, newContext);
382 public LayoutInflater cloneInContext(Context newContext) {
  /external/chromium_org/third_party/icu/source/test/cintltst/
tracetst.c 224 const void *newContext = (const char *)originalTContext + 1;
230 utrace_setFunctions(newContext, testTraceEntry, testTraceExit, testTraceData);
235 TEST_ASSERT(context == newContext);
  /external/icu4c/test/cintltst/
tracetst.c 224 const void *newContext = (const char *)originalTContext + 1;
230 utrace_setFunctions(newContext, testTraceEntry, testTraceExit, testTraceData);
235 TEST_ASSERT(context == newContext);
  /external/jmonkeyengine/engine/src/android/com/jme3/system/android/
JmeAndroidSystem.java 45 public JmeContext newContext(AppSettings settings, Type contextType) {
  /external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
AwtPanelsContext.java 177 actualContext = JmeSystem.newContext(settings, Type.OffscreenSurface);
  /libcore/luni/src/test/java/libcore/xml/
JaxenXPathTestSuite.java 175 Node newContext = (Node) xpath.evaluate(
178 xpath.evaluate(valueOfSelect, newContext, XPathConstants.STRING));

Completed in 3912 milliseconds

1 2 3