/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
ServiceManagerTest.java | 74 new Thread() { 83 new Thread() { 94 notifyFailed(new IllegalStateException("failed")); 101 notifyFailed(new IllegalStateException("failed")); 107 notifyFailed(new IllegalStateException("failed")); 112 Service a = new NoOpDelayedService(150); 113 Service b = new NoOpDelayedService(353); 114 ServiceManager serviceManager = new ServiceManager(asList(a, b)); 127 final Service b = new NoOpDelayedService(353) { 134 Service a = new NoOpDelayedService(150) [all...] |
AbstractServiceTest.java | 52 NoOpService service = new NoOpService(); 55 assertEquals(State.NEW, service.state()); 78 NoOpService service = new NoOpService(); 88 NoOpService service = new NoOpService(); 98 NoOpService service = new NoOpService(); 116 NoOpService service = new NoOpService(); 126 NoOpService service = new NoOpService(); 138 NoOpService service = new NoOpService(); 171 ManualSwitchedService service = new ManualSwitchedService(); 202 ManualSwitchedService service = new ManualSwitchedService() [all...] |
ThreadFactoryBuilderTest.java | 36 private final Runnable monitoredRunnable = new Runnable() { 43 new UncaughtExceptionHandler() { 53 builder = new ThreadFactoryBuilder(); 74 // Creating a new thread from the same ThreadFactory will have the same 182 ThreadFactory backingThreadFactory = new ThreadFactory() { 184 Thread thread = new Thread(r); 201 assertSame(Thread.State.NEW, thread.getState()); 210 NullPointerTester npTester = new NullPointerTester();
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
Call.java | 186 new CallerInfoLookupHelper.OnQueryCompleteListener() { 243 private final Handler mHandler = new Handler(Looper.getMainLooper()); 245 private final List<Call> mConferenceableCalls = new ArrayList<>(); 290 private DisconnectCause mDisconnectCause = new DisconnectCause(DisconnectCause.UNKNOWN); 292 private Bundle mIntentExtras = new Bundle(); 301 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1)); 327 private List<Call> mChildCalls = new LinkedList<>(); 386 * Persists the specified parameters and initializes the new instance. 420 mState = isConference ? CallState.ACTIVE : CallState.NEW; 437 mAnalytics = new Analytics.CallInfo() [all...] |
/external/v8/test/webkit/ |
string-trim.js | 39 {s : '\u000A', t : 'LINE FEED OR NEW LINE'},
|
/frameworks/base/core/java/android/provider/ |
CallLog.java | 133 * Intent intent = new Intent(Intent.ACTION_VIEW); 283 public static final String NEW = "new"; 326 * Unlike the {@link #NEW} field, which requires the user to have acknowledged the 629 ContentValues values = new ContentValues(6); 645 values.put(NEW, Integer.valueOf(1)); 664 new String[] { Phone._ID }, 666 new String[] { String.valueOf(ci.contactIdOrZero), 674 new String[] { Phone._ID }, 676 new String[] { String.valueOf(ci.contactIdOrZero) } [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DbModifierWithNotification.java | 60 private static final String[] PROJECTION = new String[] { 94 mVoicemailPermissions = new VoicemailPermissions(mContext); 134 Intent intent = new Intent("android.intent.action.CALL_LOG_CHANGE"); 135 intent.setComponent(new ComponentName("com.android.calllogbackup", 175 // If the server has set the IS_READ, it should also unset the new flag 176 if (!values.containsKey(Calls.NEW)) { 177 values.put(Calls.NEW, 0); 192 // A "New" voicemail has been marked as read by the server. This voicemail is no longer 193 // new but the content consumer might still think it is. ACTION_NEW_VOICEMAIL should 194 // trigger a rescan of new voicemails [all...] |
CallLogDatabaseHelper.java | 130 Calls.NEW + " INTEGER," + 194 mOpenHelper = new OpenHelper(mContext, databaseName, /* factory=*/ null, DATABASE_VERSION); 199 sInstance = new CallLogDatabaseHelper(context, DATABASE_NAME); 207 sInstanceForShadow = new CallLogDatabaseHelper( 270 // This is fine on new devices. (or after a "clear data".) 277 final ContentValues cv = new ContentValues(); 330 new String[] {table}) > 0;
|
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/compile/internal/gc/ |
opnames.go | 95 ONEW: "NEW",
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
opnames.go | 92 ONEW: "NEW",
|
/prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/compile/internal/gc/ |
opnames.go | 95 ONEW: "NEW",
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
opnames.go | 92 ONEW: "NEW",
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
eventlib_p.h | 54 #define NEW(p) if (((p) = memget(sizeof *(p))) != NULL) \
|
/development/scripts/ |
reverse_tether.sh | 166 sudo iptables -A FORWARD -m state --state NEW -i $HOST_DEV -j ACCEPT
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
FuturesCombineBenchmark.java | 44 return Futures.transform(trigger, new AsyncFunction<Object, V>() { 57 NEW { 70 private static final Executor INLINE_EXECUTOR = new Executor() { 97 futuresBuilder.add(Futures.immediateFailedFuture(new Exception("boom"))); 128 Exception throwable = new Exception("boom");
|
/external/javassist/src/main/javassist/bytecode/ |
InstructionPrinter.java | 36 (new InstructionPrinter(stream)).print(method); 52 throw new RuntimeException(e); 63 throw new IllegalArgumentException("Invalid opcode, opcode: " + opcode + " pos: "+ pos); 127 throw new RuntimeException("Bad opcode 186"); 128 case NEW: 166 throw new RuntimeException("Invalid WIDE operand"); 190 throw new RuntimeException("Invalid array type"); 224 StringBuffer buffer = new StringBuffer("lookupswitch {\n"); 243 StringBuffer buffer = new StringBuffer("tableswitch {\n"); 278 throw new RuntimeException("bad LDC: " + tag) [all...] |
/external/javassist/src/main/javassist/expr/ |
ExprEditor.java | 32 * Whenever an expression, such as a method call and a <tt>new</tt> 44 * cm.instrument(new ExprEditor() { 87 LoopContext context = new LoopContext(codeAttr.getMaxLocals()); 96 Handler h = new Handler(et, i, iterator, clazz, minfo); 116 throw new CannotCompileException(b.getMessage(), b); 190 expr = new MethodCall(pos, iterator, clazz, minfo); 196 expr = new FieldAccess(pos, iterator, clazz, minfo, c); 199 else if (c == Opcode.NEW) { 201 context.newList = new NewOp(context.newList, pos, 209 expr = new NewExpr(pos, iterator, clazz, minfo [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/ |
BasicInterpreter.java | 75 throw new Error("Internal error");
123 case NEW:
126 throw new Error("Internal error.");
200 throw new AnalyzerException("Invalid array type");
220 throw new Error("Internal error.");
292 throw new Error("Internal error.");
|
/external/v8/src/parsing/ |
token.h | 125 K(NEW, "new", 0) \
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CallLogInteraction.java | 63 return number == null ? null : new Intent(Intent.ACTION_CALL).setData( 162 return mValues.getAsBoolean(Calls.NEW);
|
/prebuilts/go/darwin-x86/src/crypto/rsa/ |
pss_test.go | 60 hash := sha1.New() 64 encoded, err := emsaPSSEncode(hashed, 1023, salt, sha1.New()) 72 if err = emsaPSSVerify(hashed, encoded, 1023, len(salt), sha1.New()); err != nil { 89 // new keys and signature blocks. 90 const newKeyMarker = "START NEW KEY" 91 const newSignatureMarker = "START NEW SIGNATURE" 131 h := hash.New() 139 key = new(PublicKey) 172 h := hash.New() 194 h := hash.New() [all...] |
/prebuilts/go/linux-x86/src/crypto/rsa/ |
pss_test.go | 60 hash := sha1.New() 64 encoded, err := emsaPSSEncode(hashed, 1023, salt, sha1.New()) 72 if err = emsaPSSVerify(hashed, encoded, 1023, len(salt), sha1.New()); err != nil { 89 // new keys and signature blocks. 90 const newKeyMarker = "START NEW KEY" 91 const newSignatureMarker = "START NEW SIGNATURE" 131 h := hash.New() 139 key = new(PublicKey) 172 h := hash.New() 194 h := hash.New() [all...] |
/prebuilts/misc/common/swig/include/2.0.11/modula3/ |
modula3.swg | 455 %{*($&1_ltype*)&$result = new $1_ltype((const $1_ltype &)$1); %} 634 RETURN NEW(REF $1_basetype, $imcall); 637 RETURN NEW($1_basetype, $imcall, $owner); 641 RETURN (cPtr = IntPtr.Zero) ? null : NEW($1_basetype, cPtr, $owner); 681 RETURN new $&*1_mangle($imcall, true); 685 RETURN new $1_basetype($imcall, $owner); 690 RETURN (cPtr == IntPtr.Zero) ? null : new $1_basetype(cPtr, $owner); [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
Call.java | 57 public static final int NEW = 1; /* The call is new. */ 97 case NEW: 98 return "NEW"; 295 new android.telecom.Call.Callback() { 369 private final List<String> mChildCallIds = new ArrayList<>(); 370 private final VideoSettings mVideoSettings = new VideoSettings(); 393 private LogState mLogState = new LogState(); 406 * Creates a new instance of a {@link Call}. Registers a callback for 414 * Creates a new instance of a {@link Call}. Optionally registers a callback fo [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
MissedCallNotifierImpl.java | 88 * TODO: Reduce dependencies in this implementation; remove the need to create a new Call 110 return new Notification.Builder(context); 114 private static final String[] CALL_LOG_PROJECTION = new String[] { 146 new DefaultNotificationBuilderFactory()); 163 mMissedCallCounts = new ConcurrentHashMap<>(); 178 AsyncTask.execute(new Runnable("MCNI.mMCAR", null /*lock*/) { 181 // Clear the list of new missed calls from the call log. 182 ContentValues values = new ContentValues(); 183 values.put(Calls.NEW, 0); 185 StringBuilder where = new StringBuilder() [all...] |